Expand description
Distributed cache coordination primitives.
This module provides the building blocks for routing cache operations across a cluster of nodes:
NodeId— a lightweight opaque node identifier.ConsistentHash— a virtual-node consistent-hash ring for stable key routing as nodes join and leave.DistributedCacheClient— per-node view with a routing helper.ReplicationFactor— quorum read/write logic.CacheCoordinator— cluster-level coordinator that ties it all together.
Structs§
- Cache
Coordinator - Cluster-level coordinator.
- Consistent
Hash - Virtual-node consistent-hash ring.
- Distributed
Cache Client - Per-node client that wraps a
ConsistentHashring and provides key routing from the perspective oflocal_node. - NodeId
- Opaque identifier for a cache cluster node.
- Replication
Factor - Quorum-based replication configuration.