Set limit concurrent connections for websocket on iis 8

前端 未结 1 1433
梦谈多话
梦谈多话 2021-01-24 08:38

I created asp.net app for work with websockets
I published my app on IIS8 (server RAM 64GB, processor i7)
When I testing I can open 5000 concurrent connections
and t

1条回答
  •  梦谈多话
    2021-01-24 09:23

    I found decision
    For open 50k connections for 1 core
    Need set next parametrs

    cd %windir%\System32\inetsrv\ appcmd.exe set config /section:system.webserver/serverRuntime /appConcurrentRequestLimit:50000

    in files:
    %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet.config
    %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
    need add

    
    
        
            
        
    
    

    0 讨论(0)
提交回复
热议问题