Migrating from Heroku to Ninefold
MoodApp.mobi is a product that helps companies track the pulse of their staff (or customers). Throughout 2013 as I developed MoodApp.mobi I used Heroku. As the product has recently seen a surge in traffic and usage I decided to reevaluate hosting options with two goals in mind:
- Performance
- Cost
How does the free tier work?
- Sign-up to Ninefold
- Deploy a Rails app
- Enter your billing details within 30 days
- They waive the first $50 of your monthly invoice - forever
Switch from Heroku to Ninefold
Once you have set up an account and deployed the latest revision of your app a migration is not too hard. Here are the steps:- Put the Heroku app in maintenance mode
- Take a database dump from Heroku
- Import the database dump into Ninefold Postgres
- Change the CNAME to point to the Ninefold host
Ninefold Performance
The two most common actions on MoodApp.mobi according to analytics are the iPad voting page and the actual votes results page for a survey/location combo:- 1s off the load time for the admin analytics page
- ~100ms off the iPad voting page load time
- ~200ms off the voting results page load time
Gold!