Hacker News new | ask | show | jobs
by thetrumanshow 5755 days 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

3 comments

Even 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.

an addon might be overkilled. try the heroku gem.

you can check out the example here: 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.

This 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.)