S Fair Scheduling Algorithm for cells
Problem
Today, the fair scheduling algorithm reaches across projects and organizations. The shared runners are shared across all of gitlab.com. To support the algorithm we have a query where we fetch the jobs from projects with the fewest jobs. If each cell/organization has it's own database with the running builds information we will no longer be able to perform this query across a single database.
Draft: Proposal
- Shared Runners are only shared across a cell. Will require a size S adjustment to fair scheduling queries.
2. Devise a performant solution to fetch the data for the existing algorithm3. Use this as an opportunity to re-work the algorithm with cells in mind #354343
Added a strike through to bullets 2 and 3 since it looks like the plan is for shared runners for cells to be contained to a cell.
Edited by Allison Browne