class_docstr: Implement a tunable consistent hashing ring.
docstr: Generate a ketama compatible continuum/ring.
docstr_tok: ["Generate","a","ketama","compatible","continuum\/ring","."]
code: def _create_ring(self, nodes):
      """Generate a ketama compatible continuum/ring."""
      for node_name, node_conf in nodes:
          for w in range(0, node_conf["vnodes"] * node_conf["weight"]):
              self._distribution[node_name] += 1
              self._ring[self.hashi(f"{node_name}-{w}")] = node_name
      self._keys = sorted(self._ring.keys())
  
file_path: mars/mars/lib/uhashring/ring_meta.py
imports: from collections import Counter
  from hashlib import md5
label_desc: Use image node_id 3 for calling the MetaRing obj's underlying member method code with example usage: obj._create_ring(nodes) without return types