ASP.NET HTTP Connection Limit

I know this was required in ASP.NET 1.1 because by default it will restrict http connections 2.

<system.net> <connectionManagement> <add address="*" maxconnection="8"/> </connectionManagement> </system.net> 

However, I believe in environment 2.0, by default it is 12n, where n is the number of processors?

Can anyone confirm that this is correct?

+3
source share
2 answers

Yes, the default is 12 * #CPUs (12n) in ASP.NET 2.0.

+4
source

Take a look at this article ASP.NET 2.0 Performance Guide - Threading

According to Microsoft: β€œThe recommendation to limit the number of ASP.NET requests to 12 per processor is a bit arbitrary. However, this limit has proven effective for most applications.”

+1
source

Source: https://habr.com/ru/post/893725/


All Articles