Home > Net >  C # websocket framework Fleck biggest can support many concurrent
C # websocket framework Fleck biggest can support many concurrent

Time:11-27

I use a Fleck as c # the backend websocket service, when users is larger, the number of connections is large, will express to collapse, CPU usage is higher, at the same time can no longer and front-end connection is established, what reason be excuse me? Is there any solution?

CodePudding user response:

There is no need to insist on a Fleck,

DotNet libraries Websocket support is very good, the performance is very good also, not reasonable use it,
Also, Websocket Dotnet class libraries is easy to support server cluster (made backbone support Redis or SQL and so on),

If a server supports 10000 connections at the same time, 10 server can support nearly 100000 connections,
This extension is called parallel extensions (Scale out), can be parallel extensions can support 1 million, 10 million, as long as you throw a sufficient number of servers,

CodePudding user response:

Test your business process framework design, if you remove your own code, Fleck connection can easily connect a large number of users for certain,
  • Related