Deprecate queue_stripe_count in 0.7 in favour of enqueue shards and partitioned queues
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 37
- Fork
- 8
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 244
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của hardbyte/awa
-
feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
-
0.6.19 release checklistĐang mởoperational
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
hardbyte/awa#861 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
hardbyte/awa#841 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Mobile release verification reports missing build inputs with a custom Cargo target directoryĐang mởbug good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getsotto/sotto-authenticator#139 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
registrystack/registry-stack#2924 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
foundry-rs/starknet-foundry#4733 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100