Hello.
The number of accepted simultaneous connections will depend on how TCP/IP is configured in "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" registry key. If MaxUserPort and TcpTimedWaitDelay values are omitted or set to their default values of 5000 and 240 respectively, then Cassini 2 will run out of ports in a matter of one minute or so under the stress load. Cassini 1 will last a few minutes. Cassini server will regain its ability to connect after the TcpTimedWaitDelay (240 seconds = 4 minutes) is over.
If MaxUserPort is set to 65534 (OxFFFE) and TcpTimedWaitDelay is set to 30, then both Cassini 1 and 2 will most likely work without ever refusing a connection. In our tests Cassini 2 does about 145 requests per seconds under stress.
The new version of Cassini, the Release Candidate 1 (RC1) is due in a few days and it will contain Registry update that adjusts TCP settings for the best performance.
Regards,
UltiDev Team.
Please donate at
http://www.ultidev.com/products/Donate.aspx to help us improve our products.