-
Notifications
You must be signed in to change notification settings - Fork 6
Fails to regulate if needing more than 10 PX workers #16
Comments
Maybe what we should do is try a larger number until we hit limit, for instance binary-search upwards between current and target. |
Same case happens for |
Looks like the error response now contains the limit value, which is nice. 2017-01-12T22:25:23.030277+00:00 app[scale.1]: body: |
What is trickier in the Free case is that the limit is for the entire formation - not per individual dyno. And this includes the To scale such an app in general, one would have to round-robin which role gets that one worker. Will be interesting to see if Hobby has similar limitations. |
Heroku has a limit of 10 PX workers.
When input rate increases rapidly, the scaling algorithm may request more than 10 workers. When this happens, Heroku gives a 422, leaving the actual number of workers << 10.
On next cycle, the same happens again and again - as long as input queue stays quite full - causing degraded quality-of-service.
Workaround: Configure
maximum: 10
when using PX workers.The text was updated successfully, but these errors were encountered: