I am running a local dotnet SignalR (using websockets) and on load testing my target is to keep a messages delay under 1 second. So far I can only run the server for up to 1000 clients.
Does anyone got better results?
I found this video showing a load test with over 24 K clients, but I can’t find the code they used for demo.
In my scenario the 1000 clients are sending 1 message every second.
Each user will receive the updates from every other user.
This means there are every second 1 K incoming messages and 1000 K outgoing messages.
So a total of 1001000 messages a second is about 50 mb.
My messages are under 50 bytes and I have plenty of resource (CPU and RAM)
I tried to tune Http2 limits, without noticeable improvement.
groups = Clients.Group(operationNames);
var bytes = ObjectToByteArray(locationPacket2);
await groups.BinaryAssetLocationUpdate(bytes);