OmniDex (Composable DHT)

đź’ˇ OmniDex is a novel composable Distributed Hash Table model.

Naming

The naming is still to be discussed, OmniDex is used as a placeholder.

Composable DHT Naming

What is the nature of a DHT

A Distributed Hash Table (DHT) is essentially a type of hash table where the data (key-value pairs) is spread out over different nodes or computers. For a DHT to work effectively, all its nodes must form a connected graph, ensuring that connectivity to a singular node facilitates access to the entirety of data stored across the DHT.

The scalability of a DHT is particularly noteworthy when its routing and state maintenance complexities increase sub-linearly with the growth of the network. Prominent DHT architectures, such as Chord or Kademlia, exhibit a logarithmic growth in their state and routing complexities in relation to the size of the network. As a result, they are the preferred backbone for expansive systems like Bittorrent’s Mainline DHT and the IPFS Amino DHT.

A DHT operates within a defined geometric space and utilizes a specific distance metric to measure proximities within this space. A crucial component is a function that assigns elements to vertices within the geometric domain, determining the spatial positioning of items (e.g. keys, peers, content). A multitude of leading DHT algorithms employ cryptographic hash functions for this assignment.

Within the DHT’s geometric framework, each key is assigned to the node whose vertex is proximal to the key’s vertex, resulting in the formation of a Voronoi diagram. When a peer searches for a key within the DHT, it initially contacts the closest peers known to it, based on its routing table, which operates according to the predefined distance metric. This node responds either with the required data or provides the addresses of peers situated closer to the desired data vertex. Ensuring that all nodes maintain knowledge of their immediate neighbors, in addition to a subset of distantly situated nodes, guarantees successful convergence to the sought-after vertex during lookups.

Most DHT algorithms leverage cyclic geometric spaces characterized by sparse vertex population. Moreover, their indexing functions consistently yield independent and identically distributed vertices within this space. While these attributes are favorable, they are not imperatively required for the DHT’s operation.

OmniDex - the concept

OmniDex is an innovative, Composable Distributed Hash Table (DHT). It introduces a dynamic structure that can build upon any DHT geometry. OmniDex seeks to provide a unique approach to DHT design, where the system can accommodate various features. Each feature represents a specific capability, like Peer Routing or Content Routing. By being composable, OmniDex allows a node or software to determine and employ a set of features, shaping its participation and behavior in the distributed network. This design aims for flexibility, scalability, and inter-network operability, making it easier for different networks to share features without the need for separate DHTs, thereby enhancing resource efficiency, interconnectivity and security.

Definitions