User-1802510858 posted
Hi,
We are implementing a service which transfers data of range 256KB-1048KB(1MB) to connected client. Service should be able to send in a rate of 20 messages per second. We don't have broadcast scenario where we are sending the same data to multiple clients.
SignalR documentation says 'High frequency' load pattern supports fixed high rate with unique messages(max 25 Hz).
I checked above mentioned scenario with load test harness provided along with SignalR. (https://github.com/SignalR/SignalR/tree/dev/samples/Microsoft.AspNet.SignalR.LoadTestHarness)
I modified the harness to send data of range 256KB - 1MB. One observation is as internally messages are stored in ring buffer of default size 1000. I got high memory usage when started sending 1MB data in 20 FPS. I had to make DefaultBufferSize to
32 otherwise server stops responding after sometime because of high memory usage.
My question is:
Whether SignalR is a right choice where we have data of size 256KB - 1024KB and maximum send rate 20 messages per second?
Thanks
Basanth