ocurrent / ocurrent/ocluster

Allow clients to estimate job sizes

Open
#90 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
OCaml
Stars
42
Forks
20
PR merge metrics
No merged PRs in 30d

Description

At the moment, the scheduler hard-codes time estimates for cached and non-cached jobs based on ocaml-ci's usage patterns:

https://github.com/ocurrent/ocluster/blob/6e6e2b283e57165dee484519c368c334a00a6e59/scheduler/cluster_scheduler.ml#L33-L38

We should let the client pass its own estimates.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with scheduler/cluster_scheduler.ml at lines 33-38, then trace how clients submit jobs to identify the scheduling API involved. Done means clients can provide cached and non-cached job estimates and the scheduler uses those values instead of fixed estimates.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
ci-cd, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.