SignalR Connection Limitation for .NET Client

蹲街弑〆低调 提交于 2021-02-11 06:30:51

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!