ipfs / boxo

A set of reference libraries for building IPFS applications and implementations in Go.
https://github.com/ipfs/boxo#readme
Other
183 stars 84 forks source link

Create implementation of DHT using go-kademlia #408

Open iand opened 1 year ago

iand commented 1 year ago

ETA: 2023-08-31

go-kademila is a new modular Kademlia implementation designed to have predictable performance and resource utilization. We plan to refactor DHT responsibilities and behaviour between go-kademila, go-libp2p-kad-dht and boxo along the lines discussed in https://github.com/libp2p/go-libp2p-kad-dht/issues/855

Motivations for refactoring the underlyiing DHT implementation are in https://github.com/protocol/probelab/issues/32

We need to implement a DHT type in boxo that configures KadDHT in go-libp2p-kad-dht wiith IPFS-specific parameters. We propose this lives in a new package: routing/dht. This new type will have minimal configuration options and sensible defaults and is designed to be simple to use for applications (such as Kubo) that operate using the standard public IPFS DHT network. Clients with different requirements should use KadDHT directly.

BigLep commented 9 months ago

@iand : is this task now done?