Design consistent hashing with a sorted map | DoorDash