Report this

What is the reason for this report?

One $10 server or two $5 servers?

Posted on June 13, 2013

Hi everyone,

I was wondering what is the fastest setup for a typical LAMP (or LANMP) application on DO. I’m rather underwhelmed by the performance of my Drupal (Pressflow) site running on Nginx on DO. I suspect it might be because of poor DB performance. Would I gain anything by using two $5 servers instead of my current single $10 server? That way I could distribute Nginx + PHP on one VPS and MariaDB on the other one.

Thanks for your help!



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!

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.

upgrade to two cpu’s

  1. Turn cache on <br>2. Inspect your slow-query.log and make proper indexing in DB <br> <br>If you don’t have proper indexing the HDD I/O slows down your site. If you migrate DB to another machine it will have minimal effect depending on how I/O heavy is your code, because the HDD is the same. <br> <br>How to check if I/O is the problem: <br>1. A lot of records in slow-query.log most of them SELECTs <br>2. Low CPU usage and High load averages (you can use newrelic.com for monitoring)

To monitor the I/O activity, you can install iotop ;-)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.