Question

What are my options for scaling a live wordpress website on a single droplet?

Posted August 27, 2020 174 views
WordPress

I have a WordPress website running on a single droplet (CPU-Optimized / 8 GB / 4 vCPUs).

It currently has over 1.5k visitors and is running very slowly, so I need to very quickly increase resources. However the droplet I’m using is already at the top end.

What are my options for quickly increasing resources?

Do I need to add an additional droplet and a load balancer?

I’m looking for both a quick win and a longer term solution!

Any help or advice will be gratefully received.

All the best,

FishFash

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.

×
1 answer

Hi @FishFash:

I participated in the development and management of a large website based on WordPress. It used to serve 6,000 concurrent visitors and reach 1 million page views per day. To make the website run fast, we had to optimize the source code of the website and the architecture of the server system. That work requires a lot of programming and system administration experience. On the system side, at least we used a separate server for the database, three servers for the WordPress source code, and a load balancer. Because your site served 1500 concurrent visitors, a sizable number, a server like you have is not enough. So you see your site is running very slowly. Since you do not have the technical experience required for optimization, I suggest a quick and temporary solution is to upgrade hardware resources. DigitalOcean has many higher Droplets to choose from.

First, let’s answer this question: What kind of resources is your server lacking? Please read this article to learn how to get performance metrics of essential hardware components such as CPU, RAM, and Disk: https://www.digitalocean.com/docs/droplets/how-to/graphs/

Then let’s analyze the last 24 hours. Any part that uses 80% or more on average then upgrades it one level. After knowing the components to upgrade, choose an appropriate Droplet. Please refer to the following article to learn how to upgrade: https://www.digitalocean.com/docs/droplets/how-to/resize/

Note: if you only need to upgrade the RAM, you can select a Droplet from the General Purpose or Memory-Optimized category; if you need to upgrade the CPU, then you can choose a Droplet from the CPU-Optimized category. However, if you do not need to upgrade the Disk, please select “CPU and RAM only.” Because if you choose to do that, then once you have optimized the source code, you can downgrade it back to a lower Droplet.

Anyway, this is just a quick and temporary solution. In a long-term, you should hire someone who has enough experience to optimize the source code and server system.

All the best,

Tom Nguyen

Submit an Answer