Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build autoscaler integration for taskbroker and workers #127

Open
markstory opened this issue Jan 17, 2025 · 0 comments
Open

Build autoscaler integration for taskbroker and workers #127

markstory opened this issue Jan 17, 2025 · 0 comments

Comments

@markstory
Copy link
Member

We're unlikely to get good resource utilization with CPU based autoscaling for workers, as it has not been overly effective for celery workers.

We'll need a way to have taskbrokers inform worker autoscaling. Ideally, as a broker instances's processing lag increases we scale up the worker pool. Conversely, when processing lag is low and task fetches start to miss we can scale worker pools down.

A potential solution is to build a prometheus style health/metrics endpoint into taskbroker that can be consumed by keda or k8s. We might be able to use the rabbitmq keda scaler integration as prior art as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant