code: def _create_ring(self, nodes):
          
          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('%s-%s' % (node_name, w))] = node_name
          self._keys = sorted(self._ring.keys())
docs: Generate a ketama compatible continuum/ring.