Implement consistent hashing router.