{"id":"ch-vnode-count-is-weighted","text":"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","truth_value":"IN","source":"entries/2026/05/29/consistent-hashing-consistent_hashing.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{"example":"vnode_count = int(self.num_vnodes * weight)\nfor i in range(vnode_count):\n    pos = _hash(f\"{node_id}:{i}\")"},"explanation":{"steps":[{"node":"ch-vnode-count-is-weighted","truth_value":"IN","reason":"premise"}]}}