Skip to main content

Module distributed

Module distributed 

Source
Expand description

Distributed cache protocol

Implements distributed caching with:

  • Consistent hashing for key distribution
  • Distributed LRU with global coordination
  • Cache peer discovery
  • Replication for hot keys
  • Automatic rebalancing

Structs§

CacheMetadata
Distributed cache metadata
ConsistentHashRing
Consistent hash ring for key distribution
DistributedCache
Distributed cache coordinator
Node
Hash ring node
StaticPeerDiscovery
Simple static peer list discovery

Enums§

CacheOperation
Cache operation for synchronization

Traits§

DistributedProtocol
Distributed cache protocol
PeerDiscovery
Peer discovery trait