News for hackers. Stuff that matters.

RekarBotany

Help: Scaling Node.js Socket.io on EC2 Disconnect Post 11K Concurrent Users

We have an API server developed using NodeJS for a game, and we use Socket.IO to connect to the client side (React Native), Users connect daily for 3 minutes at a specific time, But the servers start to disconnect users when we reach around 11,000 concurrent users.Here's a brief on our setup:Server: AWS EC2 (c5n.xlarge) with 4 vCPU and 10GB memory. Process Management: Utilizing PM2,...

( Read More... | 1 comment | on HN )