Module dht

Module dht 

Source
Expand description

Distributed Semantic DHT

This module provides a distributed hash table optimized for semantic search:

  • Embedding-based routing to nearest peers in vector space
  • Clustering of similar nodes for locality optimization
  • Distributed k-NN search across multiple peers
  • Replication for fault tolerance
  • Load balancing and query routing optimization

Structs§

DHTEntry
Entry in the distributed index
DHTQuery
DHT query for distributed search
DHTQueryResponse
DHT query response
SemanticDHTConfig
Configuration for the semantic DHT
SemanticDHTStats
Statistics for the semantic DHT
SemanticPeer
Represents a peer in the semantic DHT with its embedding
SemanticRoutingTable
Routing table for semantic DHT

Enums§

ReplicationStrategy
Replication strategy for fault tolerance