@article{c41689742eb54c0ca11e99358131ea0a, title = "On profit density based greedy algorithm for a resource allocation problem in web services", abstract = "Allocating limited computational resources to different clients is always a challenging problem to a web service provider (WSP). Profit density based greedy knapsack algorithm is one simple approach that can ensure near-optimal profit. However, profit gain is sometimes not the only factor concerned in making important management decisions. Other factors, such as the number of clients that a WSP can serve and the number of un-used resources that remain, are also important. By assuming that (a) the pricing curves of the buyer are all identical and their marginal utility (i.e., ΔPrice/ΔSize) is decreasing, (b) the resource is divisible, (c) the resource quantity each client requests follows uniform distribution U[0, 1] and (d) the available resource is constrained by {\=k}; equations for the expected number of clients who can get the resource, denoted by (6), and the expected quantity of resource being allocated, denoted by 〈s〉, are derived analytically. By observing the numerical plots of (b) and (s) against the number of clients n, it is found that (b) ≈ n for n ≤ 2{\=k} and (b) ≈ (-1 + √1 + 8n{\=k})/2 for n ≥ 2{\=k}. Comparing with another simple selling mechanism, we call it first-come-first-serve, it is found that resource allocation via greedy algorithm might not always be the best choice as far as the number of units being sold and the number of clients being served are concerned.", keywords = "Knapsack problem, Order statistics, Profit density greedy algorithm, Sum of random variables, Uniform distribution", author = "J. Sum and J. Wu and Leung, {C. S.}", year = "2007", language = "English", volume = "29", pages = "155--162", journal = "International Journal of Computers and Applications", issn = "1206-212X", publisher = "Taylor & Francis Inc.", number = "2", }