A simple implement of consistent hashing by Python.