Research Article

Design and Analysis of Sustainable and Seasonal Profit Scaling Model in Cloud Environment

Algorithm 2

Maximum profit scaling algorithm (MPSA)
(1)Input: CB, , n, .
ā€‰Output: maximum profit, optimal allocation level, sustainable scaling rate, and sustainable profit rate.
(2)Calculate scaling rate .
(3)Calculate the total cost per resource C and the cost per unit workload.
(4)Calculate the profit per unit workload using equation (26).
(5)Calculate the total profit rate (J) using equation (28).
(6)If and C are increasing and , then update and C using equations (30) and (31).
(7)Calculate the total profit rate using equation (32).
(8)Calculate the profitable scaling capacity per resource () using equation (36) and profitable scaling time as
(9)If () where , then maximum sustainable profitable scaling capacity is obtained.
(10)The sustainable scaling rate in equilibrium resource population (38) can be calculated using equation (39) and profit rate by using equation (40).