gateway: Try feather for incremental files verifications in gateway

オープン
#139 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go

調査の方向性

まず gateway のコードと、参照されている go-featheripfs および go-libipfs-rapide の作業を確認し、その後 go-unixfs と IPLD の互換性に関する制約を評価します。任意のサイズのファイルに対して、固定された少量のメモリで IPIP402 ストリームをデコードしながら、UnixFS クライアントが gateway API 仕様を実装できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

topic/gateway

The goal is to handle efficiently handle links between the left and middle column, for that I'll experiment by porting https://github.com/Jorropo/go-featheripfs to be used in the gateway code (as well as some modernising).

It is pretty unclear how much breaking I'll have to do. The simplest option is to fork the gateway code (not viable long term). Else I can try to find some commun interface without compromising on speed too much (I don't belive in it).
The other (my preferred) option is to drop go-unixfs from the gateway, this will include challenges (ipld compat), but will allows us to use a server driven interface internally (see ipfs/go-libipfs-rapide#12).


Done crateria:

  • Have a unixfs client that is is usable to implement the gateway API spec that decodes an IPIP402 stream using a fixed (low) amount of memory for arbitrarily sized files.
主要言語
Go
スター
326
フォーク
165
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ipfs/boxo のほかの issue

ipfs/boxo の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。