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

gateway: remote backend implementations from bifrost-gateway #576

Closed
lidel opened this issue Feb 9, 2024 · 1 comment · Fixed by #587
Closed

gateway: remote backend implementations from bifrost-gateway #576

lidel opened this issue Feb 9, 2024 · 1 comment · Fixed by #587
Assignees
Labels
dif/medium Prior experience is likely helpful effort/days Estimated to take multiple days, but less than a week help wanted Seeking public contribution on this issue P2 Medium: Good to have, but can wait until someone steps up

Comments

@lidel
Copy link
Member

lidel commented Feb 9, 2024

About gateway backends

Right now, boxo/gateway comes with only one implementation of local backend (BlocksBackend in gateway/blocks_backend.go).

Remote backends that follow https://specs.ipfs.tech/http-gateways/trustless-gateway/ as data transfer protocol were created in 2023 as part of Project Rhea, but are hard to discover and use outside the no longer actively maintained bifrost-gateway.

Proposed improvement

We should salvage that work and make these backends useful to boxo users by moving remote backend implementations from biforst-gateway to boxo/gateway

Namely:

This will not only benefit boxo users, but also allow us to add these backends to rainbow (ipfs/rainbow#88) as alternative to libp2p one, allowing us to sunset and archive bifrost-gateway.

@lidel lidel added need/triage Needs initial labeling and prioritization P2 Medium: Good to have, but can wait until someone steps up dif/medium Prior experience is likely helpful effort/days Estimated to take multiple days, but less than a week help wanted Seeking public contribution on this issue and removed need/triage Needs initial labeling and prioritization labels Feb 9, 2024
@lidel
Copy link
Member Author

lidel commented Feb 13, 2024

Triage notes:

  • having "Fetch" abstraction based on this would be useful for refactoring/maintaining ipget or sole RPC in kubo (nothing to maintain + same behavior as gateway)

@lidel lidel changed the title gateway: include remote backend implementations gateway: remote backend implementations from bifrost-gateway Feb 14, 2024
@hacdias hacdias self-assigned this Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dif/medium Prior experience is likely helpful effort/days Estimated to take multiple days, but less than a week help wanted Seeking public contribution on this issue P2 Medium: Good to have, but can wait until someone steps up
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants