I was just wondering how can I correctly estimate my servers needs. I have a website done with PHP and MySQL ( replaceble with mariaDB ).
Each page is on average around 300-400Kb
I have 3 user types:
1) Simple user
2) Average user
3) Heavy user
In our beta-testing period we estimate to have around 200 users the first 2weeks and around 1000users in the first 2 months, most of them coming from USA (same timezone).
The question is:
A) how can I start ? B) how can I scale ?
This is my idea, please comment:
A) DB srv => 1Mb droplet (if needed I can scale to 2Mb droplet) Automatic daily DB backup on other FTP server. webserver => 512Mb droplet (if needed I can scale to 1Mb droplet)
How much traffic will this setup handles ? My BADGET: $30/mo
B) DB srv => 2Mb droplet Automatic DB backup every day, live replica on a smaller droplet? LoadBalancer => 512Mb droplet web1 => 512Mb droplet web2 => 512Mb droplet web3 => 512Mb droplet
My BADGET: $50/mo
Will this architecture handle 10.000 users? what about 20.000 ? My concern is about the DB srv, is that enought? should I go on a dedicated machine (master) with a slave on a 1Mb/2Mb droplet ? Should I keep everything whitin DO infrastraction?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.