gateway: rollback IPNS
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- go
調査の方向性
Issue に記載されている ipfs name resolve -s $SOME_IPNS_NAME の挙動から始め、gateway serving が IPNS 解決を待機する仕組みを追跡してください。ソースファイルやテストは指定されていないため、まず gateway と IPNS 解決のエントリーポイントを特定してください。最初のレコードから serving を開始でき、レスポンスを保持し、より適切なレコードが見つかったときに置き換えられれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Currently IPNS over the DHT is very fast to find a record but it then waits for a while trying to contact various nodes trying to ensure this record is updated until a timeout is reached.
(see ipfs name resolve -s $SOME_IPNS_NAME)
We should start the gateway serving process as soon as the first record is found, but hold onto serving response.
If an other better record is found we can cancel the first request and make a new one, "rolling back".
Given reaching consensus on IPNS is often the longest thing before first byte, it would make the TTFB === IPNS resolution time, since initial data resolution (traversing path and ranges in the file until we find the first piece of data), provider record resolution and bitswap session building would be pipelined into quorum process.
Given bitswap sessions and the block cache it's also likely doing an outdated request first will accelerate the real request later. For example if I found you host an old version of some IPNS name, I think it's reasonable to optimistically ask you for the newer one when I learn about it even tho I didn't finished my provider record step yet.
- 主要言語
- Go
- スター
- 326
- フォーク
- 165
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ipfs/boxo のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 46/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
need/triage
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
-
dif/medium effort/hours kind/enhancement P3 topic/devexp
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
似ている issue
-
affects-8.5 component/session severity/moderate sig/transaction type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
harvester/harvester#12311 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
verifyrun --bracket-digest --credit: relative --witness is could-not-check, absolute path creditsオープンbug effort:s impact:low raised-by:desk risk:low
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
medici-finance/assay#6580 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
blinklabs-io/gouroboros#3026 ·
メンテナーはふだん 1 日以内に返信