Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SignalR cpu and memory efficiency

Tags:

.net

signalr

How many concurrent users can a server with 8GB of memory and 3GHz of CPU handle if they are using SignalR to chat each other in a single chat room?

like image 254
John Dow Avatar asked Feb 09 '26 20:02

John Dow


1 Answers

You should probably use a testing tool like "crank" to see how your particular setup performs. There are too many variables to give any finite answer as pointed out.

I believe Damian Edwards and David Fowler have done testing to get up to 150k plus connections on a single VM, but that's just a stress test and may not provide your answers. As I recall it was a very tweaked setup to do that.

(posting links for reference only) https://learn.microsoft.com/en-us/aspnet/signalr/overview/performance/signalr-connection-density-testing-with-crank

https://github.com/SignalR/SignalR/tree/master/src/Microsoft.AspNet.SignalR.Crank

like image 130
Frank M Avatar answered Feb 12 '26 14:02

Frank M



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!