You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.
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:
What is trickier in the Free case is that the limit is for the entire formation - not per individual dyno. And this includes the web role, so in practice there is 0 or 1 background workers.
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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: