Implementation of consistent hash algorithm.
PREREQUISITES:
- apt-get install memcached
- python-memcached==1.53
- python2.7
- You'll need to setup 8 running memcached instances on the following ports: 11211 11212 11213 11214 11215 11216 11217 11218
ASSUMPTIONS:
- All the 8 memcached instances are running before running the program.
STEPS to run:
- Create a virtual environment.
- pip install -r requirements.txt
- python new_memcached.py