workerman icon indicating copy to clipboard operation
workerman copied to clipboard

On WebSocket server, can't cross a certain number of concurrent connections

Open cayolblake opened this issue 2 years ago • 1 comments

Hello @walkor

On the same machine I can get up to 200k req/s for workerman HTTP server, however I cannot get more than 28,232 for WebSocket simple echo server! 🤔

I tested with normal event loop, and libevent, no difference except for errors when using Select.

What might be the problem! 🤔

cayolblake avatar Mar 11 '22 02:03 cayolblake

I don't know your pressure test logic. Maybe the problem is there.

walkor avatar Mar 11 '22 03:03 walkor