摘要 |
Various embodiments provide online algorithms for resource allocation. In one or more embodiments, requests for resources from a service provider are received stochastically. For each request, different options for satisfying the request are evaluated based in part upon shadow costs (e.g., unit costs) that are assigned to resources associated with the different options. One of the options may be selected by optimizing an objective function that accounts for the shadow costs. Resources for the selected option are allocated to the request and an adjustment is made to the shadow costs for remaining resources to reflect differences in rates for allocation and/or consumption of the resources. Thereafter, resources may be allocated to a subsequent request using the updated shadow costs and the costs are adjusted again. By updating shadow costs iteratively in this manner, an increasingly more accurate analysis of the objective function is achieved.
|