Hello,
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?
thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello there,
Page load should be daily or twice a day (on average).
Users will visit almost from the same timezone, they won’t be distributed equally during the day, I expect peaks during the early morning, lanchtime and in the early evening.
My issue is not only about how many user I can handle with the settings I proposed but even to do not overcome my budget. That’s why I was thinking about a dedicated low-end server for DB which is in my opinion the weak point.
thank you for your help! bye
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.