Decision#d1
Move from Heroku to dedicated servers once the largest Heroku Postgres plan was in use
- Chosen
The author looked for dedicated hosting with some flexibility in hardware and settled on SoftLayer. The move was made on a weekday.
Near: I started to look into dedicated hosting | Near: why Feedbin had to move on a weekday
- What forced it
Feedbin had reached the highest-end Heroku PostgreSQL plan, at $6,400 a month, and had nowhere further to go on Heroku. Looking at response-time graphs on the day of the move, the author was fairly sure the service was about to fall over.
Near: the highest-end $6,400/month PostgreSQL plan | Near: pretty sure that Feedbin was about to fall
- Reasoning
With a copy of the production database on an 11-inch MacBook Air, pages loaded in a fraction of the time. The biggest difference from production was a solid-state drive, and Amazon offered no SSD options then, so the author suspected that spinning disks were holding Heroku Postgres back. He did not confirm it: he had a full-time job and no time to diagnose.
Section: Scaling
- What worked before
Feedbin was hosted on Heroku for its first four months. Interest grew quickly after Google Reader's closure was announced two days after launch, and the author often added front-end dynos and raised the database plan.
Near: hosted on Heroku for the first four | Near: I was frequently turning on more front-end servers | Near: two days after Feedbin launched
- Outcome
The last Heroku bill was $7,997 and the first month's bill at SoftLayer was $3,932. The post shows response times for critical pages before and after the move as a chart. The author's general verdict on dedicated servers is that the noisy neighbours, poor I/O and odd network latency of AWS or a VPS go away.
Near: last bill on Heroku was for $7,997 | Near: Response time for critical pages | Near: All those problems of noisy neighbors