channable / channable/opsqueue
Strategies don't allow preferring certain submissions over others except for their age
- Lingua principale
- Rust
- Stelle
- 96
- Fork
- 2
- Merge medio
- 1h 2m
- PR unite (30g)
- 2
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.