A simple implement of consistent hash (hash ring).