I have a webservice(version 4.0) on server. I didn't change anything in its application pool settings. I would like to know the maximum number of concurrent connections it can handle. I have windows server 2012 with 64 GB memory and dual processor 2.3 GHz The server runs SQL and other websites and webservices
Asked
Active
Viewed 1,315 times
1 Answers
1
- The number of simultaneous connection depends on your hardware as well as current state of resource utilisation.
Under the hood, based on your application pool settings and underlying hardware resources, worker threads are created to honour the incoming requests. This is created from the thread pool and you dont have to worry about managing it.
To my understanding, the IIS handles the incoming requests on the best effort basis. To really calculate the number of request it can handle, I would write a small program and count the number of simulataneous connection in global.aspx as below.
void Session_Start(object sender, EventArgs e)
{
// Code that runs when a new session is started
Application.Lock();
Application["ActiveConnections"] = (int)Application["ActiveConnections"] + 1;
Application.UnLock();
}
Also do refer to this link
As per this link, IIS 8 on Windows Server 2012 doesn’t have any fixed concurrent request limit, apart from whatever limit would be reached when resources are maxed.

Hunter
- 2,370
- 2
- 20
- 24
-
I have dual processor 2.3 Ghz. Do u mean that when cpu is 100% webservice will not be able to accept any new connections – Mahag Mar 26 '14 at 11:26