How do you scale a nodejs real-time API to concurrently serve a million users?

Priyansh Jain - Aug 5 '18 - - Dev Community

So I recently got a project that requires real-time location + chat data streaming, and I wanted to know the right steps to take.

Most articles I've read online state to spawn up multiple servers and set up a load balancer like nginx+pm2.

However, I wanted to make this thing DevOps ready, with CI/CD and best practices, which I am not able to judge from the articles. Containerisation, database optimisation, and everything.

Would love to learn the right way!

. . . . . . . . . . . . . .
Terabox Video Player