Flexible Distributed Capacity Allocation and Load Redirect Algorithms for Cloud Systems