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

feat: scheduling extensions #1131

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

abelanger5
Copy link
Contributor

Description

Adds support for scheduling extensions, which are needed to implement autoscalers. Currently, the only information passed to the extension is the list of workers, their labels, and the actions and slots on the scheduler. This allows for computing the percentage of slots on workers which are utilized.

Note that this data is sent pre-flush, so there are rare cases where there will be an inconsistency between the extension and the data flushed to the database. Considering these cases should be rare and autoscaling is done on a rolling average anyway, this currently seems acceptable.

Type of change

  • New feature (non-breaking change which adds functionality)

Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hatchet-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 20, 2024 9:06pm

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

Successfully merging this pull request may close these issues.

1 participant