moq-bench: catch-up groups on join count as delivery latency
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
- 領域
- performance, testing
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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)
- 主要言語
- Rust
- スター
- 1.6k
- フォーク
- 251
- 平均マージ
- 10時間 10分
- マージ済み PR(30日)
- 832
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
moq-dev/moq のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsotto/sotto-authenticator#139 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
registrystack/registry-stack#2924 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
foundry-rs/starknet-foundry#4733 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100