Question

I have signalR application which has 5000 clients are connected to server. My client doesn't have any control to send a message or anything. my client is sending a 5 digit message to clients.

my question is if 5000 clients are connected to SignalR server what would be throughput bandwidth is required for my server.

No correct solution

OTHER TIPS

This can be calculated like so :

(Max Size of message) * (Max frequency of message) * (Max Number of clients)

For example, let's say a message size is 1 Kb. With 1 message per second and 5000 clients, this will result in a required bandwidth of 5 megabytes/second (~40 megabits per second network speed). This is the maximum bandwidth needed for peak processing.

You needed to create a load scenario in your application to see the exact numbers.

In addition to @Schachaf.Gortler's great answer, consider that there may be additional HTTP overhead for SignalR communications that will vary depending on what method it uses to communicate (WebSockets or a fallback technology).

See Using Fiddler with SignalR to see how to get the actual size of a raw message for your application.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top