High Traffic Wordpress Site, 2000+ user online need help to find right server.

Posted April 25, 2016 2.8k views
Server OptimizationWordPress

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.

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.

Submit an Answer
2 answers

which webserver you are using?

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)