WebSeed specifications

Aperta
#444 1 commento 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma

Direzione di ricerca

Inizia con BEP-19, RFC 7233, IPIP402 e le specifiche collegate PR #445, quindi esamina le milestone aperte in issue #444. Il lavoro è completo quando i casi d’uso di webseed, la semantica della segnalazione e le specifiche richieste sono concordati e documentati; attualmente, l’issue lascia la maggior parte dei dettagli di implementazione come TODO.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

kind/enhancement meta

This is a meta issue discussing required features to enable webseed like features for the IPFS network.

A webseed is qualified as a server:

  • Server that implements a version of the HTTP protocol. Or protocols with equivalent GET semantics. (like FTP)
  • Is able to serve static files.
  • Supports RFC 7233 bytes HTTP Range request on such files. Or protocols with equivalent ranging semantics. (like FTP)
  • Does not run IPFS aware pieces of code.
  • And finally can be used by IPFS clients to download content without compromising on the IPFS features (extensible content addressed incremental verification).

The endgame here would be to upload some file to such server which would contain both the merkle dag cryptographic proofs and an index which would allow clients to implement O(log n) seeking and random read behaviors.
Here for unixfs we have 2½ usecases which are useful to separate:

  • 1. IPFS proofs and index packed together with the leaves node. This mode would be blind to content of the blocks and could work with any IPFS application.
    Potential applications target IPFS native applications which want to leverage extensive HTTP compatible storage services which do not understand IPFS.
  • 2. IPFS proofs and index stored separately from the de-serialized leaves of the tree. This is usefull for applications which also want to serve their content over non IPFS means, this allows to reuse existing non IPFS architectures and have IPFS clients download the same files as non ipfs clients for the raw-leaves of the file.
  • 2½. Similar as point 2 however it allows for using non webseeds (servers that run IPFS aware code) for downloading the proofs.
    This also include usecases where the proofs are packed into an archive and shared OOB (see .torrent files for an example).

I can think of at least one other possible implementation (one plain file per block) but I am not including it here due to dubious value, could be added if this interest peoples, this could also be implemented without updating the spec using IPIP402 and very minimal header rewriting.

Milestones

2½

2

  • TODO

1

  • TODO
Lingua principale
HTML
Stelle
1.2k
Fork
250
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ipfs/specs

Tutte le issue di ipfs/specs

Issue simili

Altre issue su Distributed Systems

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.