Over the past couple of evenings I have been looking at a new hosting company for hosting this blog (as well as a few other websites). I decided to move to a Digital Ocean SSD server. The beauty is that you can resize the server as needed to support more hosting (or reduce it if the larger plan isn’t needed).

This blog runs WordPress. Previously I had run a CentOS server with an Apache web server. I decided to switch to Nginx from Apache based on some reports of better performance on Nginx. I ran a load test on the site before migrating to the new server and one after moving to a new server. the Nginx server handles a higher load without slowing down. Not that this site ever gets that much traffic, but it may allow for a smaller (cheaper) server to handle the website.

The website load test before moving. The green is the load, and the blue is the response time.
The website load test before moving. The green is the load, and the blue is the response time.

Note that the response time on the post-migration server stays flat for the entire load. The time scale on the left is different from the scale in the first graph.

Website after migrating to the new hosting server (Nginx instead of apache)
Website after migrating to the new hosting server (Nginx instead of apache)

So far the migration was reasonably straight forward. I need to work on the Nginx script to allow better permalinks for WordPress.  That will be my project one of these evenings.

Leave a Reply