Question
Can anyone suggest Droplet setup for Wordpress news site with high traffic?
Hello all,
First off, You’re amazing and awesome for helping the community! Thanks.
I don’t have much knowledge with servers and i’ve only learned the setup and how things work by myself using the community and guides here. Hope you can help and guide me on this next venture!
Currently I have an old droplet on DO that was set up about 2 years ago.
It was orignally set up with Ubuntu 14.04 and LAMP.
versions for everything are not up to date.
Lately I’ve been testing out one of the sites on the droplet and growing the traffic massively.
This was $5 droplet and when it started growing with few hundreds concurrent users I have resized it to $15.
Reaching to 1000~1500 concurrent users I kept resizing to a $40 server.
The site kept getting chuked/slow/crash when it reached to about 3,000 concurrent users so I thought I might need some better configuration.
A lot of mess started at this point when a friend tried to help optimize - installed cloudflare, adjusted some settings and caching in various places (server down/ fixing problems/ big mess) until it got back working I noticed its not capable to hold even 3,000 concurrent as before.
I’ve read more guides and tips and installed ngnix and php7 (was php5) instead of apache which I deleted at that point.
Played out with copy pastting of many configurations file for ngnix, php-fpm5 (which I kept seeing in processes), php 7 and more…
The site is more stable now but still crashes from time to time, the php-fpm is showing 300~500% usage over cpu and memory is reaching max as well. sometimes I even get database connection fails and mysql drops down.
*TOO LONG DIDNT READ - start here *
If it was too much to read my previous path with old server this is in short what I need:
I am looking to setup a fresh droplet/setup for a wordpress website and plan it well to hold 10,000 concurrent users and later even more.
Please advise what are the steps to take in order to get this mission going well, if possible please attach guides as i’m not very experience with servers yet.
I thought to follow this guide - How To Configure Nginx as a Web Server and Reverse Proxy for Apache on One Ubuntu 18.04 Server
and hope that from there it’s easier to tweak just few settings along with cdn, cache plugin (wp-rocket) and maybe cloudflare (any value to that?)
Hope you can help!
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.
×