Question

One $10 server or two $5 servers?

  • Posted 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!

Subscribe
Share

Submit an 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

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

  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)