WebSocketListener icon indicating copy to clipboard operation
WebSocketListener copied to clipboard

question: max concurrent connections?

Open reuzel opened this issue 9 years ago • 3 comments

Hi,

Thanks for this library. For our use-case we have hundreds of thousands of devices connecting to our service. The amount of messages per device is very low: a few per day. This makes that we are more interested in the maximum amount of concurrent connections that can be reached per typical VM (e.g. AWS m3.large running Linux), than how much messages can be send. Your performance wiki page did not mention this. Have you ever done such a test? And if so, would you be so kind to share the results?

With kind regards, Joost

reuzel avatar Jan 28 '16 08:01 reuzel

:+1:

It should allow you to open connections as long the machine allow you too. My performance tests tried to demonstrate that the component scales up to the max machine's resources, but I have never tried that test. However if you find any issue or limitation let me know, it would be interesting.

Cheers.

vtortola avatar Jan 28 '16 08:01 vtortola

I have a similar use case. We want to use this library for a long-time connection environment, for pushing messages to mobile devices. Typically the data is not big and many devices will connect to server(may about 10K-100K) in Linux VM (mono). Any data or benchmark about this? thanks.

ceeji avatar Mar 17 '16 17:03 ceeji

Hi!

I did some benchmarking, but in Windows.

https://github.com/vtortola/WebSocketListener/wiki/WebSocketListener-performance-tests

Anyway, if you find any issue let me know. I would be interested in improve it, and I would be happy to help. To be honest, I did similar tests with other .NET components and this was way faster, getting close to the built-in WebSocket.

Cheers.

vtortola avatar Mar 17 '16 22:03 vtortola