Yaksha: A Self-Tuning Controller for Managing the Performance of 3-Tiered Web Sites Abhinav Kamra, Vishal Misra CS Department Columbia University Erich.

Slides:



Advertisements
Similar presentations
Managing Web server performance with AutoTune agents by Y. Diao, J. L. Hellerstein, S. Parekh, J. P. Bigu Jangwon Han Seongwon Park
Advertisements

The Effects of Wide-Area Conditions on WWW Server Performance Erich Nahum, Marcel Rosu, Srini Seshan, Jussara Almeida IBM T.J. Watson Research Center,
CS533 Concepts of Operating Systems Jonathan Walpole.
Workload Characterization Sept. 23 rd, 2008 CSCI 8710.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part IV Capacity Planning Methodology.
1 Part IV Capacity Planning Methodology © 1998 Menascé & Almeida. All Rights Reserved.
1 Virtual Machine Resource Monitoring and Networking of Virtual Machines Ananth I. Sundararaj Department of Computer Science Northwestern University July.
Servlets and a little bit of Web Services Russell Beale.
Fair Scheduling in Web Servers CS 213 Lecture 17 L.N. Bhuyan.
RDMA ENABLED WEB SERVER Rajat Sharma. Objective  To implement a Web Server serving HTTP client requests through RDMA replacing the traditional TCP/IP.
1 PERFORMANCE EVALUATION H Often in Computer Science you need to: – demonstrate that a new concept, technique, or algorithm is feasible –demonstrate that.
Adaptive Content Delivery for Scalable Web Servers Authors: Rahul Pradhan and Mark Claypool Presented by: David Finkel Computer Science Department Worcester.
LDU Parametrized Discrete-Time Multivariable MRAC and Application to A Web Cache System Ying Lu, Gang Tao and Tarek Abdelzaher University of Virginia.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Automated Workload Management in.
Applying Control Theory to Stream Processing Systems Wei Xu Bill Kramer Joe Hellerstein.
February 11, 2003Ninth International Symposium on High Performance Computer Architecture Memory System Behavior of Java-Based Middleware Martin Karlsson,
Computer Science Cataclysm: Policing Extreme Overloads in Internet Applications Bhuvan Urgaonkar and Prashant Shenoy University of Massachusetts.
Adaptive Control of Virtualized Resources in Utility Computing Environments HP Labs: Xiaoyun Zhu, Mustafa Uysal, Zhikui Wang, Sharad Singhal University.
Performance of Web Applications Introduction One of the success-critical quality characteristics of Web applications is system performance. What.
SEDA: An Architecture for Well-Conditioned, Scalable Internet Services
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Environment.
Oracle 10g Administration Oracle Shared Server Copyright ©2006, Custom Training Institute.
Database Replication Policies for Dynamic Content Applications Gokul Soundararajan, Cristiana Amza, Ashvin Goel University of Toronto EuroSys 2006: Leuven,
OPTIMAL SERVER PROVISIONING AND FREQUENCY ADJUSTMENT IN SERVER CLUSTERS Presented by: Xinying Zheng 09/13/ XINYING ZHENG, YU CAI MICHIGAN TECHNOLOGICAL.
U NIVERSITY OF M ASSACHUSETTS, A MHERST – Department of Computer Science An Analytical Model for Multi-tier Internet Services and its Applications Bhuvan.
Naaliel Mendes, João Durães, Henrique Madeira CISUC, Department of Informatics Engineering University of Coimbra {naaliel, jduraes,
Adaptive Overload Control for Busy Internet Servers Matt Welsh and David Culler USENIX Symposium on Internet Technologies and Systems (USITS) 2003 Alex.
Profiling Grid Data Transfer Protocols and Servers George Kola, Tevfik Kosar and Miron Livny University of Wisconsin-Madison USA.
Web Server Support for Tired Services Telecommunication Management Lab M.G. Choi.
1 A Feedback Control Architecture and Design Methodology for Service Delay Guarantees in Web Servers Presentation by Amitayu Das.
Profile Driven Component Placement for Cluster-based Online Services Christopher Stewart (University of Rochester) Kai Shen (University of Rochester) Sandhya.
Workload-driven Analysis of File Systems in Shared Multi-Tier Data-Centers over InfiniBand K. Vaidyanathan P. Balaji H. –W. Jin D.K. Panda Network-Based.
MOBILITY BILL DEFRAYMENT
Scaling Dynamic Content Applications through Data Replication - Opportunities for Compiler Optimizations Cristiana Amza UofT.
Adaptive Virtual Machine Provisioning in Elastic Multi-tier Cloud Platforms Fan Zhang, Junwei Cao, Hong Cai James J. Mulcahy, Cheng Wu Tsinghua University,
1 Specification and Implementation of Dynamic Web Site Benchmarks Sameh Elnikety Department of Computer Science Rice University.
QoS Enabled Application Server The Controller Service Bologna, February 19 th 2004.
Architectural Characterization of an IBM RS6000 S80 Server Running TPC-W Workloads Lei Yang & Shiliang Hu Computer Sciences Department, University of.
Architectural Characterization of an IBM RS6000 S80 Server Running TPC-W Workloads Lei Yang & Shiliang Hu Computer Sciences Department, University of.
Simulating a $2M Commercial Server on a $2K PC Alaa R. Alameldeen, Milo M.K. Martin, Carl J. Mauer, Kevin E. Moore, Min Xu, Daniel J. Sorin, Mark D. Hill.
Usenix Annual Conference, Freenix track – June 2004 – 1 : Flexible Database Clustering Middleware Emmanuel Cecchet – INRIA Julie Marguerite.
CS 4720 Dynamic Web Applications CS 4720 – Web & Mobile Systems.
Online Music Store. MSE Project Presentation III
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
A Method for Transparent Admission Control and Request Scheduling in E-Commerce Web Sites S. Elnikety, E. Nahum, J. Tracey and W. Zwaenpoel Presented By.
Providing Differentiated Levels of Service in Web Content Hosting Jussara Almeida, etc... First Workshop on Internet Server Performance, 1998 Computer.
Design and Evaluation of a Model for Multi-tiered Internet Applications Bhuvan Urgaonkar Internship project talk – Services Management Middleware Dept,
1 Admission Control and Request Scheduling in E-Commerce Web Sites Sameh Elnikety, EPFL Erich Nahum, IBM Watson John Tracey, IBM Watson Willy Zwaenepoel,
Handling Session Classes for Predicting ASP.NET Performance Metrics Ágnes Bogárdi-Mészöly, Tihamér Levendovszky, Hassan Charaf Budapest University of Technology.
(c) Lindsay Bradford1 Varying Resource Consumption to achieve Scalable Web Services Lindsay Bradford Centre for Information Technology Innovation.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Injecting Realistic Burstiness to.
1 Part VII Component-level Performance Models for the Web © 1998 Menascé & Almeida. All Rights Reserved.
DCIM: Distributed Cache Invalidation Method for Maintaining Cache Consistency in Wireless Mobile Networks.
Measuring the Capacity of a Web Server USENIX Sympo. on Internet Tech. and Sys. ‘ Koo-Min Ahn.
When Average is Not Average: Large Response Time Fluctuations in n-Tier Applications Qingyang Wang, Yasuhiko Kanemasa, Calton Pu, Motoyuki Kawaba.
Managing Web Server Performance with AutoTune Agents by Y. Diao, J. L. Hellerstein, S. Parekh, J. P. Bigus Presented by Changha Lee.
UNIT-3 Performance Evaluation UNIT-3 IT2031. Web Server Hardware and Performance Evaluation Key question is whether a company should host their own Web.
An Architectural Evaluation of Java TPC-W Harold “Trey” Cain, Ravi Rajwar, Morris Marden, Mikko Lipasti University of Wisconsin-Madison
Admission Control and Request Scheduling in Dynamic E-Commerce Web Sites Sameh Elnikety, Erich Nahum, John Tracey, Willy Zwaenepoel C.S. Dept. EPFL IBM.
Design and Development of a Space Weather Web Service Vern Raben Raben Systems Inc.
FroNtier Stress Tests at Tier-0 Status report Luis Ramos LCG3D Workshop – September 13, 2006.
1 Evaluation of Cooperative Web Caching with Web Polygraph Ping Du and Jaspal Subhlok Department of Computer Science University of Houston presented at.
A Web Based Job Submission System for a Physics Computing Cluster David Jones IOP Particle Physics 2004 Birmingham 1.
Less Than 0.5 Second to Load Emile Heitor – NBS System 28 / 05 / 2010.
Abhinav Kamra, Vishal Misra CS Department Columbia University
Cultivating Software Quality In Cloud Via Load Testing Tools
Regulating Data Flow in J2EE Application Server
Capacity Analysis, cont. Realistic Server Performance
Admission Control and Request Scheduling in E-Commerce Web Sites
Presentation transcript:

Yaksha: A Self-Tuning Controller for Managing the Performance of 3-Tiered Web Sites Abhinav Kamra, Vishal Misra CS Department Columbia University Erich Nahum IBM TJ Watson Research Center

Dynamic Content Online shopping Amazon, BestBuy News snippets Current weather conditions Real-time stock tickers

Dynamic Content Generation 3-Tier Structure: Web Server: Static web pages App Server: CGI / Java servlets Database Server: Backend Data Store http Database Server Web Server App Server

Major Problems Overloaded Web Sites: The “Slashdot Effect” Unanticipated load causes site to crash Unresponsive Web Sites: The “Abandoned Shopping Cart’’ Unacceptable delays lead to reduced usage

Admission Control To prevent overload, perform admission control: Notion of capacity in the system Identify the job ahead of time & amount of work generated Only let jobs in if they won’t overload system Once you reach full capacity: Make jobs wait Drop jobs Load Throughput Actual Ideal

Why Self-Tuning ? Parameter Setting Lots of experimentation Workload characterization Re-done for every system change

Outline Motivation & Background The ‘Yaksha’ Controller Architecture Modeling Design Self-Tuning Experimental Environment Experimental Results Summary and Conclusions

The ‘Yaksha’ Controller Architecture Intercepts HTTP requests Decides whether to accept or reject new connections Maintains several measurement-based estimates: Per connection Response and Sojourn times Per customer-class based estimates Per query-type based estimates http Database Server Web Server App Server Yaksha Clients

Reference Input = Desired Response/Sojourn times = Incoming job acceptance probability Modeling Web Server Controller  + –

Modeling System Abstraction M/GI/1 Processor Sharing Queue Linearization approximation Open loop transfer function

Proportional Integral (PI) Control Zero steady state error Closed loop transfer function Design

Design (contd.) Setting system parameters Fix controller time constant to 10 sec Fix phase margin at 45 degrees Bilinear transform to convert to digital form

Self-Tuning ‘Pure gain’ open loop transfer function Effective arrival rate ‘Tuned’ transfer function Running average for p a

Parameter Setting Parameters w/o Self-Tuning Expected input rate Expected connection drop rate Target response time Parameters with Self-Tuning Target response time

Outline Motivation & Background The ‘Yaksha’ Controller Experimental Environment Setup & Methodology Software & Hardware Experimental Results Summary and Conclusions

Experimental Setup Workload Generator SQL Database ServerWeb/App Server Lightweight Proxy Controller

http TomcatMySQL SQL Emulated Clients Emulated Clients Remote Browser Emulator Session duration Think time Markov model Load is a function of the number of clients

Software Workload GeneratorTPC-W Lightweight ProxyTinyproxy Web/App ServerTomcat Database ServerMySQL Workload Generator SQL Database ServerWeb/App Server Lightweight Proxy Controller

Hardware CPUIntel Pentium 1.7 GHz Memory512 MB Disk12 GB, 12 ms, 5400 RPM Network100 Mbps Ethernet http Tinyproxy/ Tomcat MySQL SQL TPC-W Client

Outline Motivation & Background The ‘Yaksha’ Controller Experimental Environment Experimental Results Response time control Throughput control Self-tuning Model validation Summary and Conclusions

Results: Response time control

Results: Throughput control

Results: Self-tuning

Results: Model Validation

Summary & Future Work Presented the ‘Yaksha’ Control System PI admission control for http connections Overload prevention Response time bounds Self-Tuning Control Future Work Throughput maximization

Thank You!

Related Work Admission Control for Static Content Web Servers: Bhatti99, Li00, Voigt01, Pradhan02 Provide throughput/response time/BW guarantees Control Tarek01, Tarek02, Hellerstein01, Hellerstein02, Welsh03 Control theory for resource management Admission control for Apache, Lotus notes Dynamic Content: Dynaserver project at Rice TPC-W Benchmarks

Results: Throughput control - P a