Consider CAR-first reading
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with src/db/car/many.rs at lines 226-239, where ParityDb is checked before the CAR files. Measure both lookup orders on snapshot export and RPC-serving workloads, including lock contention and relevant performance metrics. Done means deciding which approach should be the default, with any option to reverse it supported if the measurements warrant that.
索引モデルが issue の本文から書いたものです。
説明
Summary
Right now we check ParityDb first, only then the CAR files.
The issue is that this internally harasses an internal ParityDb RwLocks - 4 global ones and then some processing. Flipping it (and potentially replacing our RwLock with ArcSwap) could make the entire thing operate more smoothly with less lock contention. In theory this could make certain workloads slower (if operating purely on hot data); it's worth measuring on expected use-cases, e.g., snapshot export and RPC serving. Some additional metrics would be useful as well.
We could also have an option to flip back the behavior.
Completion Criteria
- Decide whether
ParityDbfirst or CAR-first approach is a better default.
Additional Links & Resources
- 主要言語
- Rust
- スター
- 700
- フォーク
- 201
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 65
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ChainSafe/forest のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
メンテナーはふだん 1 日以内に返信
-
[automated] `cargo deny check advisories` failure @ 20/11/26 00:01対応中かも @akaladarshi が今日担当しました。 オープンBug
難易度 1/5 1時間未満 初心者へのやさしさ 15/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
メンテナーはふだん 1 日以内に返信
-
FIP-0119 implementation in `builtin-actors`対応中かも @LesnyRumcajs が 2 日前に担当しました。 オープンType: Task
ChainSafe/forest#7886 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
ChainSafe/forest の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
benchmark-review
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
app-request
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
flatpark/flatpark#1423 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
area:image documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信