ketama-hash-ring
Zero-Dependency Jump Hash, Weighted Ketama Ring & Google Maglev Lookup Suite
Workspace Overview · API Docs · Agent Engineering Rules
Overview
Provides zero-dependency consistent hashing primitives: Lamping-Veach jump_ketama_hash_ring, weighted ConsistentHashRing with replica selection, and Google MaglevHash O(1) lookup tables.
This package is part of the ctares unified Rust 2024 workspace and follows the repository's strict module purity, formatting, and dependency-ordered release standards.
Installation & Quick Start
use *;
let bucket: u32 = jump_ketama_hash_ring;
assert!;
let mut ring: = default;
ring.add_node;
ring.add_node;
assert!;
License
This project is licensed under the MIT License. See the LICENSE file for details.