Package vinzclortho :: Module consistenthashing
[hide private]
[frames] | no frames]

Module consistenthashing

source code

Classes [hide private]
  Node
  Ring
  TestConsistentHashing
Functions [hide private]
 
hashval(s)
The hash value is a 160 bit integer
source code
 
pop_random_elem(list_) source code
 
random_elem(list_) source code
Variables [hide private]
  log = logging.getLogger("vinzclortho.consistenthashing")
  MAXHASH = 1461501637330902918203684832716283019655932542975
  __package__ = 'vinzclortho'