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

delegated-routing support v1: use configurable delegated-routing endpoints for content-routing #8775

Closed
7 of 9 tasks
BigLep opened this issue Mar 9, 2022 · 3 comments · Fixed by #8997
Closed
7 of 9 tasks
Assignees
Milestone

Comments

@BigLep
Copy link
Contributor

BigLep commented Mar 9, 2022

Done Criteria

go-ipfs users can manually configure delegated-routing endpoints to query for content discovery.
The initial version can query the DHT and delegated-routing endpoints in parallel. A future iteration can have a "DSL" for describing conditions/sequencing of content routing calls.

Why Important

Make it easily self-service for go-ipfs users to experiment with different content routing options without needing to maintain a go-ipfs plugin or fork.

The immediate usecase is to enable the ipfs.io gateway to be able to query storetheindex for content that isn't otherwise directly published to the public DHT.

Notes

While go-ipfs work can start sooner, these items will need to be completed before this is merged in go-ipfs:

At this point, the changes in the Hydras can be done:

The work to go-ipfs will involve:

  • Modifying the content routing codepath to query ipfs/go-delegated-routing in parallel if there are configured endpoints
  • Adding a dependency to ipfs/go-delegated-routing
  • Either easy because we already have a routing system that does parallel routing. We may need to change the abort strategy (i.e., don't do early abort).
  • Estimate (assuming the worst case): 4
  • Expose a configuration option to specify delegated-routing servers.
  • Estimate: 1

Release related items

  • Release notes
  • Enabling it on gateways for hitting storetheindex

To enable the immediate usecase of the ipfs.io gateway to be able to query storetheindex for content that isn't otherwise directly published to the public DHT, the following will need to be done:

@BigLep
Copy link
Contributor Author

BigLep commented Jul 24, 2022

@ajnavarro @aschmahmann @lidel : I know we got this in 0.14 (great!). Where have we defined the followup work?

@BigLep
Copy link
Contributor Author

BigLep commented Jul 25, 2022

Thanks @ajnavarro . I created a tracking issue at #9150 that we can add more to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants