moq-bench: catch-up groups on join count as delivery latency
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- performance, testing
Hướng nghiên cứu
Start in rs/moq-bench/src/connection.rs, especially read_group, and trace how subscription setup relates to the timestamp_ms used for latency samples. Decide how to separate groups published before subscription establishment from live delivery, then check the interval percentiles during a ramp; done means catch-up groups no longer inflate live delivery latency, with an optional separate catch-up histogram.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
moq-bench times every group it reads from the publisher's timestamp_ms in the group's keyframe header (rs/moq-bench/src/connection.rs, read_group). A new subscription's first groups are whatever the relay serves on join, published before the subscriber existed, so their "latency" is their age plus the join time. While connections are still ramping, those catch-up samples set the p99.
Measurement
--fanout chat --fps 1 --frame-size 200, two generators ramping linearly to 1,500 connections each at 8.3 connections/s, against one relay (moq 62c0ec81):
- Interval p99 at 41 connections was 2.9 s against a p50 of 34-45 ms, and fell steadily as the joiners' share of the samples shrank.
- In the first report after the ramp reached 1,500 per generator, at the same connection count, p99 fell from 791 ms to 177 ms on one generator and from 758 ms to 239 ms on the other. Through the following minute's hold it stayed at 172-289 ms.
So a ceiling run, which only measures during a ramp, reports join catch-up as delivery latency (576-814 ms p99 at ~3,800 connections in our runs, where the steady figure is likely close to 300 ms).
Ask
Count a subscription's groups published before it was established separately, or leave them out of the latency histogram, so interval percentiles measure live delivery during a ramp. A separate catch-up histogram would also make the join path's latency measurable.
(Written by Claude Opus 5.5 with medium)
- Ngôn ngữ chính
- Rust
- Star
- 1.6k
- Fork
- 251
- Merge trung bình
- 10 giờ 10 phút
- Pull request đã merge (30 ngày)
- 832
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 moq-dev/moq
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
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 72/100
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 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Bump the quest flake input past kixel-ai/quest#1202 (Codex reviews use the config's gateway)Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
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
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