Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't Heroku supposed to auto-scale EC2?

So we have Heroscale autoscaling Heroku which autoscales EC2??

Am I missing something?



Yes and no. Right now, if you're running at one dyno then you're pulled from the heroku "mesh" if you run idle. However, this is a free account so it's not really saving you any money.

Heroku doesn't auto manage your dyno and workers based on usage. You set dynos at 10, you're running 10 throughout the month. Likewise with workers.

Heroscale ramps your dynos and workers up/down based on necessity.


Since the site doesn't describe this in any detail: can you define 'necessity'? In other words, can you tell us anything about how and when your service decides to scale up or down, for dynos and for workers? And what have you done to avoid porpoising (to borrow an aviation term for lack of a better option coming to mind at the moment.)

Also, can your service scale workers all the way down to zero and then spark up the first worker upon the next job submission? Or can it only scale workers as low as one?


Good feedback, will put together a "wtf is it doing" page.

I'm familiar with the "pilot induced oscillations" from a first hand basis, scared the crap out of me. The desired scaling quality is quick ramp ups and then gradual, minute based ramp downs. This is to handle a sudden influx of traffic to the site. We don't just peg your dynos anytime something comes in. And the free accounts are set at 3 max, so don't worry about it blowing up your bill.

Dynos are ramped up fast as a response to incoming traffic and average wait times per request. I'm still refining this algorithm so feedback during beta would be awesome.

The algorithms for workers are slightly different than dynos since they feed of different info. The answer to your question is yes, it will scale down to zero if you have nothing in the queue. You can override this by setting server min and max thresholds for workers.

Drop us a line at contact AT heroscale DOT com and happy to talk more.


Thanks for the details. I will have a think about what other questions I might like to ask you and will try to fire them over to your contact email in the next day or so.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: