How to scale Node.js Socket.IO servers with load balancing & reverse proxy using Pm2, NGINX & Redis?
Imagine that you are building an app with chat rooms (or any realtime app) and it will have thousands of users how do you think a server could handle this load ?!
Before starting, I want you to be familiar with two concepts.
Reverse Proxy A reverse p...
amrelmohamady.hashnode.dev4 min read
Cedrick AHOUANGANSI
How to set the servers in upstream when it is pm2?