ch-vnode-count-is-weighted

Status: IN

A consistent hash ring node with weight `w` gets `int(num_vnodes * w)` virtual nodes, so weight=0.5 produces half the default ring presence

Source: entries/2026/05/29/consistent-hashing-consistent_hashing.md

Example

vnode_count = int(self.num_vnodes * weight)
for i in range(vnode_count):
    pos = _hash(f"{node_id}:{i}")

JSON