Research Article
Design and Analysis of Sustainable and Seasonal Profit Scaling Model in Cloud Environment
Algorithm 1
Sustainable and seasonal scaling algorithm (SSSA).
(1) | Input: population of allocated resources = , | | Resource scaling’s size = U | | Resource selection rate = q | | Resource allocation rate = R | | Carrying capacity of datacenter = K | | Output: optimal resource scaling size, maximum sustainable, and seasonal scaling. | (2) | Initialize the allocated resource population using equation (7). | (3) | Find the scaling of the resource using | | If the population of allocated resources, , then sustainable scaling is possible | | Scaling of resource | | If , then sustainable scaling is maximized | | If scaling’s size , then resource scaling’s size is optimal, i.e., . | | else | | Update R and q for the seasonal demand period using the following equation and | | Update allocated resource population (i.e., ) for nth time period using equation (17). | | If , then seasonal scaling is maximized, and if , then resource scaling size is optimal. |
|