Consistent hashing implementation for robust cloud load balancing and replication