How many WebSocket connections can a $6 server hold? 99,770, and memory is the wall
DEV Community·6 points·remdore·10 days ago·dev.to
A plain Node WebSocket server on one shared vCPU held 99,770 live connections. Holding them cost 0-1% CPU; the real cost was 6.6KB of system memory each, half of it invisible to the process. The comfortable number is around 80,000.
Read the full article at dev.to →
Related stories
- Hacker News · 1 points · about 13 hours ago
- Hacker News · 1 points · 8 days ago
- Hacker News · 4 points · 11 days ago
- DEV Community · 3 points · 4 days ago
- Hacker News · 67 points · 10 days ago
- Hacker News · 1 points · 6 days ago