My app uses php, node.js, mysql and all the front-end trends. I am hosted on the Linode 4GB plan, 8 CPU (4x priority) and 8TB Transfer for the entire static website, api's etc, a cdn for static files and another smaller Linode server for my database. Yes, I have a different server for my database. I am using for both server Linux Debian 7.4.
Just in case, in my wildest dreams, my app goes viral:
- How do I know if my app can handle 20000 connections with all their sessions and users working with all these data simultaneously?
- Where should I start reading?
- What do other founders do?
I am not asking whether my current server is capable of handling all these, but if there is something I should do prior going live so that I should be ready in case of max-out, to deploy other servers and connect them probably with load balancers etc.
My app is purely on PHP and MySQL and just a tiny bit of node.js.