Self Adapting Web Servers Based on Hosted Applications by Hussain Alsaeed 10/12/2009.

Slides:



Advertisements
Similar presentations
Multiple Processor Systems
Advertisements

Proxy Server Systems for Wireless Mobile Web Service
Efficient Event-based Resource Discovery Wei Yan*, Songlin Hu*, Vinod Muthusamy +, Hans-Arno Jacobsen +, Li Zha* * Chinese Academy of Sciences, Beijing.
CS 443 Advanced OS Fabián E. Bustamante, Spring 2005 Resource Containers: A new Facility for Resource Management in Server Systems G. Banga, P. Druschel,
Egress traffic shaping on Linux using Hierarchical Token Bucket (HTB) Brad Baker CS
Flash: An efficient and portable Web server Authors: Vivek S. Pai, Peter Druschel, Willy Zwaenepoel Presented at the Usenix Technical Conference, June.
Public Clouds (EC2, Azure, Rackspace, …) VM Multi-tenancy Different customers’ virtual machines (VMs) share same server Provider: Why multi-tenancy? Improved.
OpenFlow-Based Server Load Balancing GoneWild
Multiple Processor Systems
Embedded Web Hyung-min Koo. 2 Table of Contents Introduction of Embedded Web Introduction of Embedded Web Advantages of Embedded Web Advantages of Embedded.
DotSlash – A Web Hotspot Rescue System Weibin Zhao Henning Schulzrinne Department of Computer Science Columbia University June 11, 2004.
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
Computer Science Deadline Fair Scheduling: Bridging the Theory and Practice of Proportionate-Fair Scheduling in Multiprocessor Servers Abhishek Chandra.
Dynamic Process Allocation in Apache Server Yu Cai.
Computer Science 1 Providing QoS through Active Domain Management Liang Guo, Ibrahim Matta Quality-of-Service Networking Lab CS Department Boston University.
A Distributed Proxy Server for Wireless Mobile Web Service Kisup Kim, Hyukjoon Lee, and Kwangsue Chung Information Network 2001, 15 th Conference.
1 Introduction to Load Balancing: l Definition of Distributed systems. Collection of independent loosely coupled computing resources. l Load Balancing.
Differentiated Multimedia Web Services Using Quality Aware Transcoding S. Chandra, C.Schlatter Ellis and A.Vahdat InfoCom 2000, IEEE Journal on Selected.
Adaptive Content Delivery for Scalable Web Servers Authors: Rahul Pradhan and Mark Claypool Presented by: David Finkel Computer Science Department Worcester.
Yaksha: A Self-Tuning Controller for Managing the Performance of 3-Tiered Web Sites Abhinav Kamra, Vishal Misra CS Department Columbia University Erich.
LDU Parametrized Discrete-Time Multivariable MRAC and Application to A Web Cache System Ying Lu, Gang Tao and Tarek Abdelzaher University of Virginia.
Operating Systems Operating System Support for Multimedia.
Dynamic Process Allocation in Apache Server Yu Cai.
Computer Science Cataclysm: Policing Extreme Overloads in Internet Applications Bhuvan Urgaonkar and Prashant Shenoy University of Massachusetts.
Computer Science 1 Resource Overbooking and Application Profiling in Shared Hosting Platforms Bhuvan Urgaonkar Prashant Shenoy Timothy Roscoe † UMASS Amherst.
Department of Computer Science Southern Illinois University Edwardsville Dr. Hiroshi Fujinoki and Kiran Gollamudi {hfujino,
SEDA: An Architecture for Well-Conditioned, Scalable Internet Services
Database Replication Policies for Dynamic Content Applications Gokul Soundararajan, Cristiana Amza, Ashvin Goel University of Toronto EuroSys 2006: Leuven,
Multiple Processor Systems. Multiprocessor Systems Continuous need for faster and powerful computers –shared memory model ( access nsec) –message passing.
1 Distributed Systems : Server Load Balancing Dr. Sunny Jeong. Mr. Colin Zhang With Thanks to Prof. G. Coulouris,
18 June 2001 Optimizing Distributed System Performance via Adaptive Middleware Load Balancing Ossama Othman Douglas C. Schmidt
Infrastructure for Better Quality Internet Access & Web Publishing without Increasing Bandwidth Prof. Chi Chi Hung School of Computing, National University.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
Politecnico di Torino Dipartimento di Automatica ed Informatica TORSEC Group Performance of Xen’s Secured Virtual Networks Emanuele Cesena Paolo Carlo.
Scalable Web Server on Heterogeneous Cluster CHEN Ge.
Adaptive Virtual Machine Provisioning in Elastic Multi-tier Cloud Platforms Fan Zhang, Junwei Cao, Hong Cai James J. Mulcahy, Cheng Wu Tsinghua University,
© Lindsay Bradford1 Scaling Dynamic Web Content Provision Using Elapsed-Time- Based Content Degradation Lindsay Bradford, Stephen Milliner and.
Adaptive Web Caching CS411 Dynamic Web-Based Systems Flying Pig Fei Teng/Long Zhao/Pallavi Shinde Computer Science Department.
Implementation of a parallel web proxy server with caching Presented by: Kaushik Choudhary.
Multiple Processor Systems. Multiprocessor Systems Continuous need for faster computers –shared memory model ( access nsec) –message passing multiprocessor.
Computer Science 1 Resource Overbooking and Application Profiling in Shared Hosting Platforms Bhuvan Urgaonkar Prashant Shenoy Timothy Roscoe † UMASS Amherst.
Towards Dynamic Green-Sizing for Database Servers Mustafa Korkmaz, Alexey Karyakin, Martin Karsten, Kenneth Salem University of Waterloo.
Denial of Service Sharmistha Roy Adversarial challenges in Web Based Services.
1 Admission Control and Request Scheduling in E-Commerce Web Sites Sameh Elnikety, EPFL Erich Nahum, IBM Watson John Tracey, IBM Watson Willy Zwaenepoel,
(c) Lindsay Bradford1 Varying Resource Consumption to achieve Scalable Web Services Lindsay Bradford Centre for Information Technology Innovation.
VTurbo: Accelerating Virtual Machine I/O Processing Using Designated Turbo-Sliced Core Embedded Lab. Kim Sewoog Cong Xu, Sahan Gamage, Hui Lu, Ramana Kompella,
CHUL LEE, CORE Lab. E.E. 1 Web Server QoS Management by Adaptive Content Delivery September Chul Lee Tarek F. Abdelzaher and Nina Bhatti Quality.
Design Issues of Prefetching Strategies for Heterogeneous Software DSM Author :Ssu-Hsuan Lu, Chien-Lung Chou, Kuang-Jui Wang, Hsiao-Hsi Wang, and Kuan-Ching.
UNIT-3 Performance Evaluation UNIT-3 IT2031. Web Server Hardware and Performance Evaluation Key question is whether a company should host their own Web.
Monitoring and Securing New Functions Deployed in a Virtualized Networking Environment Bertrand Mathieu, Guillaume Doyen, Wissam Mallouli, Thomas Silverston,
An Efficient Threading Model to Boost Server Performance Anupam Chanda.
Capacity Planning in a Virtual Environment Chris Chesley, Sr. Systems Engineer
Distributed Server Scheduler Eyal Serero Alex Fishgate Supervisor : Vitaly Suchin.
Presented by Deepak Varghese Reg No: Introduction Application S/W for server load balancing Many client requests make server congestion Distribute.
Md Baitul Al Sadi, Isaac J. Cushman, Lei Chen, Rami J. Haddad
Understanding and Improving Server Performance
Abhinav Kamra, Vishal Misra CS Department Columbia University
Introduction to Load Balancing:
Network Load Balancing
Load Weighting and Priority
Overview Introduction VPS Understanding VPS Architecture
Detecting Targeted Attacks Using Shadow Honeypots
Dynamic Process Allocation in Apache Server
Providing QoS through Active Domain Management
CLUSTER COMPUTING.
DotSlash: An Automated Web Hotspot Rescue System
Admission Control and Request Scheduling in E-Commerce Web Sites
Cloud Web Filtering Platform
Multiple-resource Request Scheduling. for Differentiated QoS
Presentation transcript:

Self Adapting Web Servers Based on Hosted Applications by Hussain Alsaeed 10/12/2009

Outline Introduction Background Related Work Methodology Testbed Results and Analysis Conclusion Questions

Introduction The problem: The overloading of a web server when a hosted application is accessed heavily by clients The goal: To find a mechanism that will balance the load coming to a single web server based on the characteristics of the load (based on the hosted applications)

General Description of the Solution Use divide and conquer approach Classify hosted applications into different classes Determine the system’s resources that could become potential bottlenecks for each class Manage the system’s resources to handle overloading situations Use an admission control mechanism to avoid performance degradation

Motivation To use different configurations for instances in a distributed system To have a proactive approach in administering web servers.

Background Chandra et al. (2006)

Related Work Chandra et al. (2006), An observation-based approach towards self-managing web servers Chen et al. (2003), ACES: An efficient admission control scheme for QoS-aware web servers Chang et al. (2000),Adaptive-level memory caches on World Wide Web servers [3]

Methodology

CPU Adaptation: 2.6 Kernel Scheduler Dynamic Supports load balancing for Symmetric Multiprocessing (SMP) systems Operates in constant time O(1) Jones (2006)

Admission Control: Traffic Control Command (tc) prio: Priority Queue Discipline sfq: Stochastic Fairness Queueing tpf: Token Bucket Filter =iptables

Classifier: iptables command=tc command=tc Class of applicationSource IP address Static web requests High priority (1:1) Dynamic web requests Low priority (1:2)

Hardware of Testbed Server Operating SystemLinux Processing powerIntel Core Due of 2 GHz speed Memory3 GB of RAM Client 1 Operating SystemWindows Vista Processing powerIntel Core Due of 2 GHz speed Memory4 GB of RAM Client 2 Operating SystemWindows Vista Processing powerIntel Centrino of 1.7 GHz speed Memory2 GB of RAM

Software of Testbed Installed and configured Apache web server in the server machine Used Gnome-System-Monitor to find potential bottlenecks. library.gnome.org /users/gnome- system-monitor/ Installed and configure Jmeter in client 1 to generate http requests of static web pages. http: //jakarta.apache.org/jmeter/ http: //jakarta.apache.org/jmeter/ Used client 2 to generate requests of dynamic web pages (cgi)

Results & Analysis Class of applicationsCPU avg. load before the new system CPU avg. load after using the new system static web requests15% dynamic web requests55%54% static & dynamic web requests 80%56%

Conclusion The suggested solution can become a base for future work Other classes of applications Other techniques Other system’s resources

References [1]A. Chandra, P. Pradhan, R. Tawari, S. Sahu, and P. Shenoy, “An observation-based approach towards self-managing web servers,” Computer Communications, vol. 29, 2006, pp. 1174–1188. [2] X. Chen, H. Chen, and P. Mohapatra, "ACES: An efficent admission control scheme for QoS-aware web servers,” Computer Communications, vol. 26, 2003, pp. 1581–1593. [3]D.W. Chang, H.R. Ke, and R.C. Chang, “Adaptive-level memory caches on World Wide Web servers,” Computer Networks, vol. 32, 2000, pp [4]P. Goyal, X. Guo, and H. Vin, A hierarchical CPU scheduler for multimedia operating systems in: Proc. the Symp. Operating Systems Design and Implementation (OSDI 96), Oct. 1996, pp [5]T. Voigt, R. Tewari, D. Freimuth, and A. Mehra, Kernel mechanisms for service differentiation in overloaded web servers in: Proc. of the Usenix Annual Technical Conference 2001.

Thanks Q & A