Deprecate queue_stripe_count in 0.7 in favour of enqueue shards and partitioned queues
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by reading the Rust builder and Python kwargs for queue_stripe_count, the configuration docs, and the queue concepts page. Compare stripes with enqueue_shards at equal lane counts, including claim fan-out at high worker counts. Done means the benchmark answers whether stripes provide a distinct benefit and the deprecation and migration proposal can proceed on that evidence.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
queue_stripe_count splits a logical queue into physical queues q#0 … q#N-1. It overlaps with enqueue_shards, which also adds lanes to spread enqueue and claim lock contention and keeps per-key FIFO through ordering_key, and with PartitionedQueue where separate policy domains are wanted.
The stripe knob is fleet-wide configuration that producers and workers must agree on, and #749 showed how easily the paths drift: the SQL compat insert path wrote the unstriped queue that striped workers never read, routing ignored ordering_key, single-job inserts all landed on stripe 0, and routing used DefaultHasher. #750 fixed these for 0.6.18 and main is getting the same fix.
Proposal for 0.7:
- Mark
queue_stripe_countdeprecated in the Rust builder and Python kwargs, with a warning at client start when it is above 1. - Document the migration: drop to one stripe on producers first, keep workers striped until
q#*drains (workers already readqafter #750), then drop to one stripe on workers. - Point the configuration docs and the new queue concepts page at
enqueue_shardsandPartitionedQueue. - Keep the stripe read path (claiming and counting
q#*) for at least one minor so leftover jobs drain. - Remove the knob in a later minor, tracked separately.
Open question: whether any workload gets something from stripes that shards do not give, for example claim fan-out across physical queues under very high worker counts. A benchmark of stripes against shards at equal lane counts would settle it before the deprecation lands.
- Lingua principale
- Rust
- Stelle
- 37
- Fork
- 8
- Merge medio
- 14h 16m
- PR unite (30g)
- 244
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hardbyte/awa
-
feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
0.6.19 release checklistApertaoperational
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
hardbyte/awa#861 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
hardbyte/awa#841 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di hardbyte/awa
Issue simili
-
Mobile release verification reports missing build inputs with a custom Cargo target directoryApertabug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsotto/sotto-authenticator#139 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
registrystack/registry-stack#2924 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
foundry-rs/starknet-foundry#4733 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100