Presentation on theme: "Automatic Resource Scaling for Web Applications in the Cloud Ching-Chi Lin Institute of Information Science, Academia Sinica Department of Computer Science."— Presentation transcript:
Automatic Resource Scaling for Web Applications in the Cloud Ching-Chi Lin Institute of Information Science, Academia Sinica Department of Computer Science and Information Engineering, Nation Taiwan University Jeng-An Lin, Li-Chung Song Department of Computer Science and Information Engineering, Nation Taiwan University Pangfeng Liu Department of Computer Science and Information Engineering, Nation Taiwan University Graduate Institute of Networking and Multimedia, Nation Taiwan University Jan-Jan Wu Institute of Information Science, Academia Sinica Research Center for Information Technology Innovation, Academia Sinica
Introduction Web applications face fluctuating loads. ◦ Using a fixed number of VM as web server is not enough. ◦ Over-provision or under provision. Auto-scaling
Auto-Scaling Estimate the load. Up-scale or down-scale the resources. Purpose ◦ Maintains application service quality. ◦ Reduces wasted resources.
Related Works Cloud service: Amazon EC2, Google App Engine, … Software: Scalr, RightScale, … Constraints: ◦ Replying on user-provided scaling metrics and threshold values. ◦ Employing the simple Majority Vote scaling algorithm. ◦ Lack of capability for predicting workload change.
Our Contribution WebScale ◦ A modularized auto scaling system for dynamic resource provision in data centers. Consider different algorithms Propose a trend analysis technique.
Technical approach Majority Vote ◦ Each VM makes their choice according to their current loading. Compare with threshold. ◦ The scaling decision equals to the majority one among all choices.
Workload-Based Determines the number of running VMs needed based on the incoming workload. Has the advantage of knowing the needed number of VMs in advance compare to Majority Vote.
Trend Analysis Works as a helper to the scaling algorithms. ◦ More ”correct” decision. Only predict the trend of workload change instead of accurately value. ◦ Trend is the direction of workload changing.
Experiment results - Summary Majority vote is not an effective. ◦ Especially with frequently changing workloads. Workload-based with trend analysis performs the best among all three strategies.
Conclusion Auto-scaling technique provides on- demand resources according to workload in cloud computing system. We implemented an modularized auto- scaling system, WebScale. Our experiment results show that for workloads with periodic behavior, using workload-based algorithm with trend analysis performs the best among all three strategies.