(c) 2003 - Lindsay Bradford1 Varying Resource Consumption to achieve Scalable Web Services Lindsay Bradford Centre for Information Technology Innovation.

Slides:



Advertisements
Similar presentations
Summary Cache: A Scalable Wide-Area Web Cache Sharing Protocol Li Fan, Pei Cao and Jussara Almeida University of Wisconsin-Madison Andrei Broder Compaq/DEC.
Advertisements

Distributed Multimedia Systems Tarek Elshaarani Vahid Rafiei.
Hadi Goudarzi and Massoud Pedram
Web Server Benchmarking Using the Internet Protocol Traffic and Network Emulator Carey Williamson, Rob Simmonds, Martin Arlitt et al. University of Calgary.
Overview Motivations Basic static and dynamic optimization methods ADAPT Dynamo.
CS533 Concepts of Operating Systems Jonathan Walpole.
Technical Architectures
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
JSP: JavaServer Pages Juan Cruz Kevin Hessels Ian Moon.
CSE 190: Internet E-Commerce Lecture 16: Performance.
OCT1 Principles From Chapter One of “Distributed Systems Concepts and Design”
Handling Web Hotspots at Dynamic Content Web Sites Using DotSlash Weibin Zhao Henning Schulzrinne Columbia University NYMAN’04.
LYU9901-Travel Net LYU9901-Travel Net Supervisor: Prof. Michael R. Lyu Students: Ho Chi Ho Malcolm Lau Chi Ho Arthur (Presentation on )
Copyright © 2002 Pearson Education, Inc. Slide 4-1 Choosing the Hardware for an E-commerce Site  Hardware platform  Refers to all the underlying computing.
Handling Web Hotspots at Dynamic Content Web Sites Using DotSlash Weibin Zhao Henning Schulzrinne Columbia University Dagstuhl.
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.
Comp2513 Java Servlet Basics Daniel L. Silver, Ph.D.
What is adaptive web technology?  There is an increasingly large demand for software systems which are able to operate effectively in dynamic environments.
DotSlash: Providing Dynamic Scalability to Web Applications Weibin Zhao and Henning Schulzrinne Department of Computer Science, Columbia University More.
World Wide Web Caching: Trends and Technology Greg Barish and Katia Obraczka USC Information Science Institute IEEE Communications Magazine, May 2000 Presented.
Towards Autonomic Hosting of Multi-tier Internet Services Swaminathan Sivasubramanian, Guillaume Pierre and Maarten van Steen Vrije Universiteit, Amsterdam,
 What I hate about you things people often do that hurt their Web site’s chances with search engines.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
SEDA: An Architecture for Well-Conditioned, Scalable Internet Services by, Matt Welsh, David Culler, and Eric Brewer Computer Science Division University.
Supporting Strong Cache Coherency for Active Caches in Multi-Tier Data-Centers over InfiniBand S. Narravula, P. Balaji, K. Vaidyanathan, S. Krishnamoorthy,
Designing Efficient Systems Services and Primitives for Next-Generation Data-Centers K. Vaidyanathan, S. Narravula, P. Balaji and D. K. Panda Network Based.
Continuous Consistency and Availability Haifeng Yu CPS 212 Fall 2002.
JOnAS developer workshop – /02/2004 status Emmanuel Cecchet
Design and Implement an Efficient Web Application Server Presented by Tai-Lin Han Date: 11/28/2000.
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
1 Chapter 6: Proxy Server in Internet and Intranet Designs Designs That Include Proxy Server Essential Proxy Server Design Concepts Data Protection in.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Java Server Pages Lecture July Java Server Pages Java Server Pages (JSPs) provide a way to separate the generation of dynamic content (java)
Copyrighted material John Tullis 10/6/2015 page 1 Performance: WebSphere Commerce John Tullis DePaul Instructor
Ideas to Improve SharePoint Usage 4. What are these 4 Ideas? 1. 7 Steps to check SharePoint Health 2. Avoid common Deployment Mistakes 3. Analyze SharePoint.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Uncovering the Multicore Processor Bottlenecks Server Design Summit Shay Gal-On Director of Technology, EEMBC.
Web Caching By Neeraj Agrawal. Caching Caching is widely used for improving performance in many context( e.g processor caches in hardware, buffer pool.
10/13/2015 ©2006 Scott Miller, University of Victoria 1 Content Serving Static vs. Dynamic Content Web Servers Server Flow Control Rev. 2.0.
Webcommerce Computer Networks Webcommerce by Linnea Reppa Douglas Martindale Lev Shalevich.
© Lindsay Bradford1 Scaling Dynamic Web Content Provision Using Elapsed-Time- Based Content Degradation Lindsay Bradford, Stephen Milliner and.
Module 10 Administering and Configuring SharePoint Search.
Kiew-Hong Chua a.k.a Francis Computer Network Presentation 12/5/00.
DotSlash: Handling Web Hotspots at Dynamic Content Web Sites Weibin Zhao Henning Schulzrinne Department of Computer Science Columbia.
Monitoring the acquisition process by web widgets Leonardo Tininini and Antonino Virgillito ISTAT Meeting on the Management of Statistical Information.
“Load Testing Early and Often” By Donald Doane Presentation to the Rockville MDCFUG.
© 2005 BEA Systems, Inc. | 1 Portal Server Cache Settings Plumtree (BEA ALUI) March, 2007.
GIS in the cloud: implementing a Web Map Service on Google App Engine Jon Blower Reading e-Science Centre University of Reading United Kingdom
2007cs Servers on the Web. The World-Wide Web 2007 cs CSS JS HTML Server Browser JS CSS HTML Transfer of resources using HTTP.
Measuring the Capacity of a Web Server USENIX Sympo. on Internet Tech. and Sys. ‘ Koo-Min Ahn.
JS (Java Servlets). Internet evolution [1] The internet Internet started of as a static content dispersal and delivery mechanism, where files residing.
Search Engine using Web Mining COMS E Web Enhanced Information Mgmt Prof. Gail Kaiser Presented By: Rupal Shah (UNI: rrs2146)
Dispatching Java agents to user for data extraction from third party web sites Alex Roque F.I.U. HPDRC.
Accelerating PHP Applications Ilia Alshanetsky O’Reilly Open Source Convention August 3rd, 2005.
On the Placement of Web Server Replicas Yu Cai. Paper On the Placement of Web Server Replicas Lili Qiu, Venkata N. Padmanabhan, Geoffrey M. Voelker Infocom.
Web Cache. What is Cache? Cache is the storing of data temporarily to improve performance. Cache exist in a variety of areas such as your CPU, Hard Disk.
Cofax Scalability Document Version Scaling Cofax in General The scalability of Cofax is directly related to the system software, hardware and network.
BUILD SECURE PRODUCTS AND SERVICES
Abhinav Kamra, Vishal Misra CS Department Columbia University
Planning and Troubleshooting Routing and Switching
Practical Censorship Evasion Leveraging Content Delivery Networks
Distributed Multimedia Systems
Evaluation of Load Balancing Algorithms and Internet Traffic Modeling for Performance Analysis By Arthur L. Blais.
Moodle Scalability What is Scalability?
DotSlash: An Automated Web Hotspot Rescue System
Why Events Are a Bad Idea (for high concurrency servers)
Client-Server Model: Requesting a Web Page
SEDA: An Architecture for Well-Conditioned, Scalable Internet Services
Presentation transcript:

(c) Lindsay Bradford1 Varying Resource Consumption to achieve Scalable Web Services Lindsay Bradford Centre for Information Technology Innovation

(c) Lindsay Bradford2 Overview Motivation Approaches to Scalability The Approach Selector Prototype Experiments and Results Ongoing and Future Work

(c) Lindsay Bradford3 Scalability Matters Users expect “service on demand” from the Internet - Bhatti et.al Dynamic web content:  On the increase – Barford et.al  Much harder to scale than static content – Stading et.al Flash crowds a more common occurrence?  Consider: fully Internet enabled China mainland,  SOAP, WSDL, etc. make programmatic access and automation easier. Allows greater client request traffic.

(c) Lindsay Bradford4 Scalability - Dynamic Content: Static Content: Bottleneck = Bandwidth Dynamic Content: Bottleneck = CPU Dynamic content caching techniques:  Active Query Caching -- Remote Proxy applets, mobile code caching partial content at proxy server(s).  Data Update Propagation (DUP) -- Local and/or Remote Cached dynamic content fragments re-evaluated once base source data changes.  HTML Macro Processing / WEAVE -- Remote Protocol extension to tag static and dynamic parts of response. Static part can then be cached. Remote Cache server constructs complete response.

(c) Lindsay Bradford5 Dynamic Content Caching:

(c) Lindsay Bradford6 The Approach Selector (1): Inspired by ``Multimedia’’ Quality Degradation (dropping to ``user acceptable’’ frames/second under load). Alternative to Dynamic Content Caching. Guiding heuristics:  Pick approach that will respond in human acceptable time frame (< 1 second)  Prefer more costly approach to less costly where possible.  Selector must balance approach generation time against target response time.  Limit scope to “Application Programmer” perspective. No modification of supporting technologies (App Servers, etc). What could developers do right now? What limits exist?

(c) Lindsay Bradford7 Why One Second? Why Degrading Approaches? HCI lessons ignored on the Web: –Interest in and perceived quality of site is inversely proportional to response speed. Content makeup (text/graphics mix) has little effect. – Bhatti et.al.

(c) Lindsay Bradford8 The Approach Selector(2):

(c) Lindsay Bradford9 The Approach Selector(3): Unmodified Apache Tomcat (75 Threads) Approach Selector implemented as ``Servlet Filter’’ Approach Selector Parameters:  time_limit = 800ms,  reactivation_threshold = 400ms Approaches:  4 instances of a floating-point division servlet, configured to 100, 500, 1000 and 3000 loops.

(c) Lindsay Bradford10 The Test Environment and Traffic Patterns: Response `adequate’ if <= 1 second round-trip recorded at client. –Steady – Responsiveness to constant load –Bursty – Responsiveness to variable load

(c) Lindsay Bradford11 Bursty Pattern Results Unexpected high number of “heavy” approach attempts. Baseline is 3000 loop approach.

(c) Lindsay Bradford12 Steady Pattern Results Again, Unexpected high number of “heavier” approach attempts.

(c) Lindsay Bradford13 Conclusions: Benefit of Approach Selection outweighs its overhead. In both traffic patterns:  Returns more responses overall and significantly more within our one second target.  An unexpected high number of attempts at more costly approaches resulting in lower adequacy.

(c) Lindsay Bradford14 Ongoing Work: Memory intensive servlet added  Similar results to CPU intensive servlet Varied Thread Numbers  Traffic pattern and approach matter. Varied Approach Selector Parameters  reactivation_threshold matters. time_limit no where near as much.

(c) Lindsay Bradford15 Future Work: New I/O (Database simulation) servlet. Servlet Engine Modification.  Servlet specification is too limiting. Changing the Approach Selection Heuristic. Automated approach generation off baseline. Guidelines for automated service adaptation to request traffic.

(c) Lindsay Bradford16 Finish. Questions? Suggestions?