adjust live spam metrics inputs (txs_sent)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- rust
調査の方向性
crates/core/src/util.rs の contender_core::util::print_progress_report から始め、次に run_txs で txs_sent が現在 confirmed_txs と failed_txs から導出されている箇所を追跡します。トランザクション送信経路を特定し、スレッドセーフな読み取り専用カウントをレポート関数に渡す方法を判断します。短時間のスパム実行で、確認済みまたは失敗したデータベースレコードだけでなく、送信済みトランザクションが報告されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
When transactions are sent, the metrics collected by print_progress_report only reflect what's eventually confirmed on chain and saved to the DB. This gives the averaging algorithm a skewed input, which makes the metrics inaccurate, especially in short-duration spam runs.
Describe the solution you'd like
We need a new way of getting txs_sent -- it's currently defined as confirmed_txs + failed_txs which is derived from the DB (run_txs).
We need to internally track the number of txs sent as we send them, and pass a thread-safe (read-only) reference to that number to print_progress_report.
Additional context
- 主要言語
- Rust
- スター
- 144
- フォーク
- 58
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
flashbots/contender のほかの issue
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
server: export DB from session再び着手できるかも @zeroXbrock が 203 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement help wanted question
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 62/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
flashbots/contender の issue をすべて見る
似ている issue
-
priority middle
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
KATO-Hiro/AtCoderClans#13029 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
RustCrypto/formats#2544 ·
メンテナーはふだん 1 日以内に返信
-
bug ui
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
userFRM/egui-charts#3363 ·
メンテナーはふだん 1 日以内に返信
-
ada documentation mobile report
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
physicsdolphin/nv-uefi-unlocker#254 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
kindraywind/rustnarok-client#1382 ·
メンテナーはふだん 1 日以内に返信