When using memory cache on ASP.net, note that if the user's concurrency is high
The configuration cachemaxpoolsize and cacheminpoolsize are set to an appropriate value. In my project, the original configuration is too small.
As a result, the website is directly suspended during the load test. The problem is that if the cachemaxpoolsize is set too small, it will occur whenever the user's concurrency comes up.
Enable and disable network connections frequently. in this way, the CPU workload of the Web server is large. while mm can actually maintain socket, so after increasing this value, you can avoid opening and closing mm connections too frequently.
Note the following points when using mm.
One is to try to save some simple data structures, such as byte and string. If you must store objects, try to use simple objects.
It also needs to be sequenced. Compress the packets transmitted from the network.