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
So for my project I was implementing rate limiters on specific workers, but I wanted the rate limiting to happen in a sort of dynamic way, as in
the job which the worker would be doing makes an api call to another service, and depending on the response time of that service, I want to increase/decrease the rate limit, but that would require me to kill the current worker and make a new one.
This is also a very high throughput scenario, so that's not an option since killing it would make me possibly lose running jobs and cause discrepancies.
But if it was possible to simply change the rate limit of a worker without having to restart it, that would be great. If anyone knows a workaround for this, that would be appreciated too.
The text was updated successfully, but these errors were encountered:
So for my project I was implementing rate limiters on specific workers, but I wanted the rate limiting to happen in a sort of dynamic way, as in
the job which the worker would be doing makes an api call to another service, and depending on the response time of that service, I want to increase/decrease the rate limit, but that would require me to kill the current worker and make a new one.
This is also a very high throughput scenario, so that's not an option since killing it would make me possibly lose running jobs and cause discrepancies.
But if it was possible to simply change the rate limit of a worker without having to restart it, that would be great. If anyone knows a workaround for this, that would be appreciated too.
The text was updated successfully, but these errors were encountered: