问题
I made an experimental solution which includes WebMvc (SignalR Client) -> (SignalR Hub) WebApi.
Each time new user connects to WebMvc web site then it creates new Hub connection to WebApi. It means that if 10K users connect to web site then WebMvc will create 10K connections to SignalR Hub.
Are there any connection limitations for WebMvc application?
回答1:
The maximum number of concurrent connections depends on your settings.
For SignalR, the limitation depends on your IIS Configuration for:
Max concurrent requests per application
Increasing the number of concurrent IIS requests will increase server resources available for serving requests. The default value is 5000;
ApplicationPool QueueLength
This is the maximum number of requests that Http.sys queues for the application pool. When the queue is full, new requests receive a 503 “Service Unavailable” response. The default value is 1000;
SignalR Performance
Optimizing IIS Performance
来源:https://stackoverflow.com/questions/37571002/signalr-connection-limitation-for-net-client