Skip to content

replace discovery service with kademlia p2p discovery #624

@noot

Description

@noot

Description

currently, node discovery is done via a centralized discovery service. now that we are using libp2p we can replace this with the kademlia dht.

Proposed Solution

  • on startup, nodes will bootstrap to the dht via bootnodes. they will then advertise their node type (worker, validator, orchestrator)
  • workers can also advertise other info like hardware stats etc
  • instead of querying the centralized discovery service, validators/orchestrators will regularly perform dht walks to update their local view of the worker nodes on the network

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions