channable / channable/opsqueue

Strategies don't allow preferring certain submissions over others except for their age

Offen
#95 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Rust
Sterne
96
Forks
2
Ø Merge
1 Std. 2 Min.
Gemergte PRs (30 T.)
2

Beschreibung

https://github.com/channable/opsqueue/blob/78f1cc11fe0905d332a3f2fb47ef29f88afa034f/libs/opsqueue_python/src/common.rs#L102-L115

`Highest(meta_key)`/`Lowest(meta_key)`: Would make sense as this allows eating from one side of the key space

* We already have `Oldest`/`Newest`: effectively `Highest`/`Lowest` with `submission_time` as `meta_key`
* Priority based scheduling could be implemented using these strategies
* Underlying strategies could be used to move the needle further
* For high priority submissions you would prefer newest if latency is important
* For low priority submission you could prefer oldest, i.e. preferring finishing submitted work

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.