p2p: answer concurrent inbound ping streams
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
Start with libp2p-ping 0.47 at src/handler.rs:349 and trace how Pluto’s pluto_p2p wiring handles inbound /ipfs/ping/1.0.0 streams. Compare the behavior with the concurrent streams described by the alpha test peers PingLoad scenario. Done means inbound ping streams are independently echoed with bounded concurrency while libp2p::ping continues providing outbound keepalive.
索引モデルが issue の本文から書いたものです。
説明
rust-libp2p's ping handler (libp2p-ping 0.47, src/handler.rs:349) holds a single inbound stream: each new /ipfs/ping/1.0.0 stream replaces it and drops the one in flight. go-libp2p serves each inbound ping stream in its own goroutine.
Impact: alpha test peers PingLoad (Charon and Pluto alike) opens one stream per ping from several concurrent pingers. Against a Pluto node most of those pings fail (recorded as zero RTTs), so the load test barely measures latency under load. Probe streams can also evict the remote's slot holding our own keepalive ping stream.
Possible fix: an inbound-only ping responder in pluto_p2p that echoes every negotiated /ipfs/ping/1.0.0 stream independently (bounded concurrency), with libp2p::ping kept for outbound keepalive.
Found while reviewing #718.
🤖 Generated with Claude Code
- 主要言語
- Rust
- スター
- 8
- フォーク
- 5
- 平均マージ
- 3日 1時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NethermindEth/pluto のほかの issue
-
enhancement rust
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
NethermindEth/pluto#640 ·
-
rust
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
NethermindEth/pluto#638 · コメント 1 件 ·
-
enhancement rust
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
NethermindEth/pluto#635 ·
-
Improve `alpha test peers`: match Charon's probes; reduce timeouts対応中かも @varex83agent が 28 日前に担当しました。 オープンbug track:orchestration-cli
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
NethermindEth/pluto#632 ·
-
enhancement rust
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
NethermindEth/pluto#631 ·
NethermindEth/pluto の issue をすべて見る
似ている issue
-
area:cli bug dotnet good first issue priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
delta-io/delta-kernel-rs#3757 ·
メンテナーはふだん 3 日以内に返信
-
area: library data-loss type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
alplabai/signex#1740 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
test(fslc): the unreadable mutate catalog test pins the Unix I/O error text and fails on Windows対応中かも @rizumita が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信