3 ms·
I just finished pushing out an application to Heroku. I plan on the traffic ramping up sharply along with a couple of slashdottings, HN's and reddits along the
by dholowiski 16y ago
I just finished pushing out an application to Heroku. I plan on the traffic ramping up sharply along with a couple of slashdottings, HN's and reddits along the way. It gives me a warm fuzzy feeling when I realize I can just "Crank up the dynos" and go have a beer.
- zrail 16y agoDon't forget to crank them down when the traffic is over. There's no refunds for accidentally leaving 1000 dynos running for a few hours longer than necessary. If/when I actually deploy something worthy of traffic I plan on incorporating something that automatically scales my app, both dynos [1] and workers [2] (up to pre-defined limits, of course) [1]: https://github.com/ddollar/heroku-autoscale https://github.com/ddollar/heroku-autoscale [2]: http://blog.darkhax.com/2010/07/30/auto-scale-your-resque-workers-on-heroku http://blog.darkhax.com/2010/07/30/auto-scale-your-resque-wo...
- rahoulb 16y agoDon't forget to set your headers - Heroku uses Varnish on the front end so you your app may not even be touched (and hence no extra dynos needed) in a lot of cases.