3 ms·
Free idea here. Create an add-on that monitors your load and tells you when you've probably got too many workers and dynos. Credit goes to the guy who got stuc
by thetrumanshow 16y ago
Free idea here. Create an add-on that monitors your load and tells you when you've probably got too many workers and dynos.
Credit goes to the guy who got stuck with the $1300 Heroku bill... he inspired this idea.
link: http://news.ycombinator.com/item?id=1688904 http://news.ycombinator.com/item?id=1688904
- sabat 16y agoThis is such a good and obviously needed idea that it makes me want to run out and implement it tonight. (No guarantees that I'll do it, but I'm 100% sure someone will.)
- siong1987 16y agoan addon might be overkilled. try the heroku gem. you can check out the example here: http://github.com/pedro/delayed_job/tree/autoscaling http://github.com/pedro/delayed_job/tree/autoscaling for worker, you might have to track the number of jobs in your queue. for dyno, you might have to track the number of requests you get within a time period.
- zach 16y agoEven easier would be an add-on that allows you to bump up your resources for a pre-determined time period, after which they return to baseline values. That way there would be no need for further user intervention at all.