bdehaynin / helia-starmap

0 stars 0 forks source link

Milestone: Q3 2023 #5

Open bdehaynin opened 1 year ago

bdehaynin commented 1 year ago

ETA: 2023Q3

Description: This milestone is part of the Helia roadmap.

Objectives:

While it will be possible from a connectivity perspective to make DHT queries from a browser, we expect various applications will want to still delegate out routing. Reframe is a protocol for delegated routing that other IPFS implementations like Kubo have implemented. While it currently uses HTTP as a transport, it is speced and not tied to the Kubo RPC API. If/when there is a speced protocol for ambient discovery of “Limited Delegated Routers” provided by libp2p, we will support that as well.

Given new browser-friendly p2p transports, we’ll shut down the complicated “song-and-dance” with the legacy delegate/preload nodes. This yields a simpler setup for one’s application and removes centralized infrastructure.

For delegated routing, one can configure Reframe endpoints. When it comes to providing content from a browser node, it will be up to developers to account for user behavior like closing tabs or laptop lids. The general recommendation is to either run your own preload node or upload content explicitly to a pinning service for providing.

Resources:

Note: This milestone is subject to change as priorities and circumstances evolve.