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

[Epic] Add support for the Bitswap transport #709

Closed
7 of 11 tasks
jacobheun opened this issue Aug 18, 2022 · 3 comments
Closed
7 of 11 tasks

[Epic] Add support for the Bitswap transport #709

jacobheun opened this issue Aug 18, 2022 · 3 comments
Assignees
Labels
area/retrieval Area: Retrieval Epic

Comments

@jacobheun
Copy link
Contributor

jacobheun commented Aug 18, 2022

Summary

Storage Providers should be able to serve requests to the IPFS network as several storage clients, such as web3.storage, Estuary, and IPFS pinning services, and their end users are part of the IPFS network. Adding support for Bitswap removes the need for intermediary services, such as autoretrieve. Leveraging the flexibility of Boost we should enable this as a standalone service, similar to booster-http, so that it can be independently scaled as needed.

As part of this effort we are working with the Kubo and IPFS.io gateway teams to enable e2e tracing of the retrieval pipeline as part of our efforts to improve retrieval reliability. This will ensure we have visibility into each component in the retrieval pipeline to better resolve reliability and performance issues. The metrics/logging added for Boost will also enable us to troubleshoot retrieval problems seen by other retrieval transports (Graphsync and HTTP) at lower layers of the Boost code base (DAG store, piece store, etc)

Milestones

1. E2E Integration with Kubo for free, public content

With the completion of this milestone Kubo will be able to query Network Indexers, such as cid.contact, for a given CID and discover SP's who are running the Bitswap transport.

Requirements

  • SP's must be able to restrict access to content via existing retrieval access patterns
  • Only 0 cost retrieval will initially be supported
  • Bitswap content records should be discoverable on network indexers, such as cid.contact

Issue tracking

Enabling the Bitswap retrieval server
Adding metrics/logging
Related Issues

References & Related Items

@f8-ptrk
Copy link
Contributor

f8-ptrk commented Aug 23, 2022

SPs need to be able to turn this feature off

@dirkmc
Copy link
Contributor

dirkmc commented Aug 24, 2022

It will run as a service that is started separately from the boostd process

@jacobheun
Copy link
Contributor Author

@jacobheun jacobheun unpinned this issue Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/retrieval Area: Retrieval Epic
Projects
Status: Done
Development

No branches or pull requests

6 participants