How to implement Consistent Hashing

This article deep dives into how to implement consistent hashing