Download A Framework for Verifying Scalability and Performance of Cloud
Transcript
servers to serve all the incoming requests. At midnight the service is visited at interval 100 requests per second. Roughly at average, if the traffic curve is constantly increasing and decreasing, the service equals to 350 requests per second for a whole day. If the provisioning is done by the incoming traffic, it will use 350 × 24 = 280 server hours, thus having to pay 47.60$ for the 30 resource used for a one day. For comparison, using fixed amount of servers running, provisioning servers count for the peak of 600 requests per second, × 24 = 480 server hours are being used for a whole day and meaning that 600 30 having to pay 81.60$ for the resources. This is 1.7× larger than using the dynamical amount of servers, thus showing that with correctly provisioning it will save money for the service provider and therefore can increase net revenue. This configuration can be used by PaaS or SaaS providers, who are trying to minimize the cost to run the services, but in the same time trying to be able to serve every client using their service, maximizing the profit. PaaS and SaaS provider are charging customers based on monthly usage or how many requests have been done, in the same time IaaS provider Amazon EC2 is charging PaaS or SaaS provider by instance hours. Using dynamically allocated servers, running servers at minimal costs at the night hours and serving all the customers at the peak hours, it is possible to take most out of the service provided by maximizing profit. Figure 6.1 shows three different ways how to provision servers. If the arrival rate is exceeding the throughput, it is under provisioning. If there are more servers than needed, then it is over provisioning and paying more money to run the servers. Ideal case would change servers depending of the arrival rate. Optimal allocation tries to find the best configuration to meet these demands. To improve optimal allocation, one needs to predict the traffic or trend of the traffic, as traffic fluctuates over the time, it is hard to provision servers for the next hours without knowledge, how the traffic changes. These experiment does not include traffic prediction and therefore with increasing traffic, there is a slight loss in the incoming requests, depending how large is the increase. 6.2 Basic configuration for running the experiments For using optimal policy and for comparing revenue for different experiments, it is needed to describe some basic parameters. The configuration for experiments is shown below in table 6.1. Service time for each request 87