By DarkWolf
Hello,
Right now my site hosted on a dedicated server CPU:- 8 core 3.3Ghz , 16gb RAM.
However, once I reach 1k+ user online the CPU gets full. Which means site start slow loading.
The site has Wp super cache installed, and for cdn I am using keycdn which is great.
Also I am using only few necessary plugin. Now I am looking for a server which can take at least 2k + user without any problem, Please advice.
Thanks
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!
You can do it a few ways. You can use HA-Proxy on the front end with multiple servers on the back, going to a master/slave replicated solution, or you can go with another provider to get a load balancer in place (basically, it’s just an easier way to set up the same thing as an HA Proxy). With the number of connections you’re receiving, you’ll want to split services up, and move to NGINX/HHVM/Percona (or MariaDB).
So, it would look like this:
LB --> Nginx Proxy (2-3 to handle more incoming requests) NGINX Proxy --> HHVM instances (4-6 on the back-end to process your PHP code) HHVM --> MySQL/Percona/MariaDB master/slave or cluster that resides behind a load balancer, so you can fail over more easily.
This would allow you to scale out at need, with no down-time on the front end (after you get it set up)
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.