class Redis::HashRing

def get_node(key)

get the node in the hash ring for this key
def get_node(key)
  hash = hash_for(key)
  idx = binary_search(@sorted_keys, hash)
  @ring[@sorted_keys[idx]]
end