Capability Discovery Track

A major cornerstone of the Logos Launch Strategy is the efficient discovery of core services in a fully decentralised manner. The current approach to decentralised discovery, random walks over libp2p’s Kad-DHT is not scalable and efficient enough for a diverse ecosystem consisting of multiple services, facing the needle-in-a-haystack problem.

In this track, we’re building a fully functional, efficient capability discovery module available in Logos Core, usable by all Logos modules as primary ambient discovery method. The new capability discovery protocol will be published as a specification adapting DISC-NG for libp2p Kad-DHT.

Roadmap

FURPS: Capability Discovery FURPS

Scheduled milestones:

Future work in this track, include:

  1. Anonymising the discovery protocol, including privacy-preserving discovery requests, anonymous DHT participation, etc.
  2. Assisting other Logos teams in integrating the protocol in their own core modules (outside of Logos Delivery integration, which will be the reference integration)
  3. Longer term benchmarking and testing to improve the efficiency and scalability of the protocol

Risks

Risk(Accept, Own, Mitigation)
Dependency on nim-libp2p for Kad-DHT implementationClose collaboration with p2p team; specify API before implementation ready to harden interfaces quickly
Dependency on DST team for benchmarking and iterative improvementsDevelop test strategy/simulations from the outset in collaboration with DST team