Replies: 1 comment 1 reply
-
Hi! Thanks for opening this, that's indeed an important subject and the documentation is clearly lacking 👍 First, regarding the links that you provided, please note that:
The difference in memory consumption can be seen here: https://socket.io/docs/v4/memory-usage/ We already have some documentation about:
That being said, we could indeed create some performance tests, for different values of the following parameters:
Output metrics:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It is very hard to find the performance data about socket.io, e.g. the peak number of connection, the memory usage, etc. The only article I find, which published later than 2021 is this one, https://ably.com/topic/scaling-socketio
The articles published earlier than 2021 are also very limited, actually I can only find four articles, 2 from µWebSockets.js in 2019 & 2020, claiming their performance were better, Moving from Socket.IO to µWebSockets.js and 100k secure WebSockets with Raspberry Pi 4, one from a guy called Ferit Özcan (but this article is not necessarily about the performance data), one from nginx in 2014 but it focused on raw ws connection I believe.
Of course we all know it is very hard to do performance test and what parameters we benchmark against is a tricky business. But still, I believe some ballpark numbers should serve many people.
For me I have done 2 type of performance tests,
So I would like to make some suggestion,
So is this a doable idea ?
Beta Was this translation helpful? Give feedback.
All reactions