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

More robust runner autoscaling #5840

Open
ZainRizvi opened this issue Oct 29, 2024 · 0 comments
Open

More robust runner autoscaling #5840

ZainRizvi opened this issue Oct 29, 2024 · 0 comments

Comments

@ZainRizvi
Copy link
Contributor

Goal: Reduce job queuing by increase self hosted runner fleet's autoscaling reliability in the face of failed/dropped scale up requests

The approach

Create a new scheduled lambda function that:

  1. Runs every 15 mins
  2. Queries ClickHouse for jobs that have been queued for over half an hour
  3. Checks the runner types for those jobs to see which ones are self-hosted
  4. Invokes the scale up function to scale up the appropriate number of runners of each type to handle the outstanding jobs
@ZainRizvi ZainRizvi converted this from a draft issue Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Cold Storage
Development

No branches or pull requests

1 participant