Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexing design for the future W3S Network #71

Closed
hannahhoward opened this issue Apr 20, 2024 · 2 comments
Closed

Indexing design for the future W3S Network #71

hannahhoward opened this issue Apr 20, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@hannahhoward
Copy link
Member

What
A comprehensive design for how we index and find content in the future W3S network.

Why
Having a clear design and implementation for indexing is a blocker for even having a version of web3.storage that is a network of storage nodes.

We've realized that the W3 IPNI Indexing RFC is unlikely to a complete solution to indexing our content.

In particular, we are concerned about:

  1. Relying on public IPNI that is maintained outside the team completely, such that the whole system would go down if IPNI failed.
  2. Performance on reads for our current IPNI design
  3. Most critically, satisfying a gaurantee of read on write (i.e. when a user finishes an upload of any kind, they can be assurred that their content is immediately readable).

We've discussed various solutions including:

  1. Running a private instance of IPNI, possibly with modifications
  2. Designing a new index for our own content that provides transcational gaurantees and fewer round trips for read performance

Ultimately, the most key distinction is public vs private indexing

  • We want to publish our data to public indexers like IPNI, and may even rely on those indexes for read protocols we're not heavily optimizing or investing in -- like Bitswap
  • We still need a high availability, very fast way to publish and quickly find content in our network.

Cost
The design for this endeavor should be completable in a sprint, assuming a collaboration between a few key team members (@gammazero, @Gozala for example)

@hannahhoward hannahhoward added the enhancement New feature or request label Apr 20, 2024
@Gozala
Copy link

Gozala commented May 20, 2024

@hannahhoward
Copy link
Member Author

storacha/RFC#29 - needs review
storacha/RFC#22 - needs review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants