Skip to content

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

@BigLep

Description

@BigLep

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:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions