dwyl/phoenix-todo-list-tutorial

Pay for Heroku Dyno?

nelsonic opened this issue · 3 comments

Given that Heroku's (free) dynos go to sleep mode after a minute of inactivity and then take a few seconds to boot we should consider paying for a non-sleeping dyno for the API so there's no lag (start up time) for people visiting the app.

Thankfully, Heroku recently updated their prices: https://blog.heroku.com/archives/2015/6/15/dynos-pricing-ga

"Hobby dynos have 512MB of RAM, never sleep, and are only $7 per dyno per month"

What do you think?

It seems like we'll only need 1 hobby dyno for the next couple of months and that we'll have to pay for non-free dynos when we start to scale anyway.

At $7 a month I think it makes sense to keep us from having to decipher whether the lag is in our code or the dyno waking up (or worse, assuming the issue is the dyno when actually it's in the code) this summer.

@nelsonic What do you think?

Seems like a no-brainer. 👍