1 CS6320 – Web Services and Performance L. Grewe.

Slides:



Advertisements
Similar presentations
Monitoring a web sites health. Web Analytics - Definition Measurement of the behavior of visitors to a website Which aspects of the website work towards.
Advertisements

Caching Strategies in Transcoding-Enabled Proxy System for Streaming Media Distribution Networks Bo Shen Sung-Ju Lee Sujoy Basu IEEE Transactions On Multimedia,
Adapted from Menascé & Almeida1 Web and Intranet Performance Issues.
1 Content Delivery Networks iBAND2 May 24, 1999 Dave Farber CTO Sandpiper Networks, Inc.
An Analysis of Internet Content Delivery Systems Stefan Saroiu, Krishna P. Gommadi, Richard J. Dunn, Steven D. Gribble, and Henry M. Levy Proceedings of.
EEC-484/584 Computer Networks Discussion Session for HTTP and DNS Wenbing Zhao
1 Part III Web and Intranet Performance Issues © 1998 Menascé & Almeida. All Rights Reserved.
Capacity planning for web sites. Promoting a web site Thoughts on increasing web site traffic but… Two possible scenarios…
What is adaptive web technology?  There is an increasingly large demand for software systems which are able to operate effectively in dynamic environments.
Internet GIS. A vast network connecting computers throughout the world Computers on the Internet are physically connected Computers on the Internet use.
Performance Issues of Web Services CSCI 8710 November 29-30, 2006 Kraemer.
Advanced Topics INE2720 Web Application Software Development Essential Materials.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part III Web and Intranet Performance Issues.
Protocol(TCP/IP, HTTP) 송준화 조경민 2001/03/13. Network Computing Lab.2 Layering of TCP/IP-based protocols.
Lect5.ppt - 02/13/06 CIS 4100 Systems Performance and Evaluation Lecture 5 by Zornitza Genova Prodanoff.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
Software Performance Testing Based on Workload Characterization Elaine Weyuker Alberto Avritzer Joe Kondek Danielle Liu AT&T Labs.
Lect3..ppt - 09/13/04 CIS 4100 Systems Performance and Evaluation Lecture 4 by Zornitza Genova Prodanoff.
1 Challenges in Scaling E-Business Sites  Menascé and Almeida. All Rights Reserved. Daniel A. Menascé Department of Computer Science George Mason.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 8 Omar Meqdadi Department of Computer Science and Software Engineering University of.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
1 Part VII Component-level Performance Models for the Web © 1998 Menascé & Almeida. All Rights Reserved.
Search Engine using Web Mining COMS E Web Enhanced Information Mgmt Prof. Gail Kaiser Presented By: Rupal Shah (UNI: rrs2146)
Web Server.
INTERNET AND PROTOCOLS For more notes and topics visit: eITnotes.com.
and Internet Explorer.  The transmission of messages and files via a computer network  Messages can consist of simple text or can contain attachments,
09/13/04 CDA 6506 Network Architecture and Client/Server Computing Peer-to-Peer Computing and Content Distribution Networks by Zornitza Genova Prodanoff.
Electronic Commerce Semester 1 Term 1 Lecture 7. Introduction to the Web The Internet supports a variety of important tools, such as file transfer, electronic.
WHAT'S THE DIFFERENCE BETWEEN A WEB APPLICATION STREAMING NETWORK AND A CDN? INSTART LOGIC.
SURENDRA INSTITUTE OF ENGINEERING & MANAGEMENT PRESENTED BY : Md. Mubarak Hussain DEPT-CSE ROLL
Fault – Tolerant Distributed Multimedia Streaming Web Application By Nirvan Sagar – Srishti Ganjoo – Syed Shahbaaz Safir
Technology for Mobile Network Operators Business Case: Improve Overall Service Quality and Customer Experience While Dramatically Lowering Carrier Costs.
Internet Service Providers and types of internet connections
Chapter 20: Multimedia Systems
Date: April. 13, Monday Evening.
Web fundamentals: Clients, Servers, and Communication
Distributed Control and Measurement via the Internet
Business Case: Improve Overall Service Quality and Customer Experience
Network Infrastructure Services Supporting WAP Clients
Multimedia Systems Operating System Presentation On
The Intranet.
Chapter 20: Multimedia Systems
Instructor: Ahmed Jafer
What is WWW? The term WWW refers to the World Wide Web or simply the Web. The World Wide Web consists of all the public Web sites connected to the Internet.
HTTP request message: general format
Internet and Intranet.
E-commerce | WWW World Wide Web - Concepts
E-commerce | WWW World Wide Web - Concepts
Killtest Microsoft Exam
Distributed Multimedia Systems
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
LECTURE 34: WEB PROGRAMMING FOR SCALE
Chapter 2 Introduction Application Requirements VS. Transport Services
Internet and Intranet.
Chapter 20: Multimedia Systems
Capacity Analysis, cont. Realistic Server Performance
An Introduction to Computer Networking
LECTURE 32: WEB PROGRAMMING FOR SCALE
LECTURE 33: WEB PROGRAMMING FOR SCALE
Mobile Agents M. L. Liu.
Cloud computing mechanisms
Internet and Intranet.
Software System Testing
E-commerce Infrastructure Web Servers / Web Clients / Web Browsers
Chapter 20: Multimedia Systems
Requirements Definition
Chapter 20: Multimedia Systems
LECTURE 33: WEB PROGRAMMING FOR SCALE
Internet and Intranet.
Chapter 20: Multimedia Systems
Presentation transcript:

1 CS6320 – Web Services and Performance L. Grewe

Web Services Services available via the Internet that complete tasks or conduct transactions. Services available via the Internet that complete tasks or conduct transactions. Self-contained, modular applications that can be described, published, and invoked over the Internet. Self-contained, modular applications that can be described, published, and invoked over the Internet. Can be automatically invoked by application programs. Can be automatically invoked by application programs.

Web Services May be invoked at one site or may combine results of several services executed at different sites. May be invoked at one site or may combine results of several services executed at different sites.

Performance concerns differ from standard Client/Server May involve both web service processing and network delays May involve both web service processing and network delays May be accessed by wide variety of devices -- desktop computers, PDAs, mobile phones, other servers May be accessed by wide variety of devices -- desktop computers, PDAs, mobile phones, other servers Access via wireless communication networks: dynamic connectivity, low bandwidth, high latency Access via wireless communication networks: dynamic connectivity, low bandwidth, high latency

Performance concerns differ from standard client/server Undpredictable nature of requests Undpredictable nature of requests Highly burstyHighly bursty Varies with geographical location of clients, day of week, time of dayVaries with geographical location of clients, day of week, time of day Highly variable size of requested objects Highly variable size of requested objects “Robot” access “Robot” access Autonomous software agents that can consume significant amounts of system resourcesAutonomous software agents that can consume significant amounts of system resources

Types of servers providing Web Services Web servers Web servers Transaction servers Transaction servers Proxy servers Proxy servers Cache servers Cache servers Wireless gateway servers Wireless gateway servers Mirror servers Mirror servers

Common problems Insufficient bandwidth at peak times Insufficient bandwidth at peak times Overloaded servers Overloaded servers Uneven server loads Uneven server loads Delivery of dynamic content Delivery of dynamic content Shortage of connections between application servers and database servers Shortage of connections between application servers and database servers Failure of third-party servers Failure of third-party servers Delivery of multi-media content Delivery of multi-media content

Example: Bill Paying Service Portal offers bill paying service Portal offers bill paying service Customers can pay variety of bills through the service Customers can pay variety of bills through the service Uses services provided by others: Uses services provided by others: Debit authorization (100 tps capability)Debit authorization (100 tps capability) Electronic funds transferElectronic funds transfer Customer authenticationCustomer authentication

Example: Bill Paying Service

Portal B is bill paying service Portal B is bill paying service Treat overall web service as ‘system’ Treat overall web service as ‘system’ Treat component services as ‘devices’ Treat component services as ‘devices’ What is the capacity of B, given that the debit authorization service can support 100 tps and that each payment transaction requires 2 visits to the authorization service …..answer 50tps. (this assumes that the authentication is the slowest device). What is the capacity of B, given that the debit authorization service can support 100 tps and that each payment transaction requires 2 visits to the authorization service …..answer 50tps. (this assumes that the authentication is the slowest device).

Review – web service can return many kinds of Web (HTTP) content

Perception of Performance User view: User view: Fast response time; no connections refusedFast response time; no connections refused Management view: Management view: High throughput; high availabilityHigh throughput; high availability Need to have quantitative measurements that describe behavior of Web service Need to have quantitative measurements that describe behavior of Web service

Metrics Two most important; Two most important; Response time -- secondsResponse time -- seconds Throughput -- http_ops/sec, also bits/secThroughput -- http_ops/sec, also bits/sec

Other metrics Hit Hit any connection to a web site, including in-line requests and errorsany connection to a web site, including in-line requests and errors difficult to compare across sitesdifficult to compare across sites Visit Visit Series of page requests by a user at a single siteSeries of page requests by a user at a single site Inter-request times < timeout_valueInter-request times < timeout_value Session Session Series of consecutive and related requests made during a single visitSeries of consecutive and related requests made during a single visit Inter-request times < timeout_valueInter-request times < timeout_value

Other metrics User-perceived response time User-perceived response time Set of geographically distributed agents poll the WSSet of geographically distributed agents poll the WS Error rate Error rate Increase indicates degrading performanceIncrease indicates degrading performance Examples:Examples: Overflow of pending connection queue Overflow of pending connection queue For streaming services: For streaming services: JitterJitter Startup latencyStartup latency

Most common measurements of Web service performance End-to-end response time End-to-end response time Site response time Site response time Throughput (req/sec or transactions/sec) Throughput (req/sec or transactions/sec) Throughput (Mbps) Throughput (Mbps) Errors/sec Errors/sec Visitors/day Visitors/day Unique visitors/day Unique visitors/day

Example - Travel Agency Monitor for 30 minutes: Monitor for 30 minutes: 9000 HTTP requests9000 HTTP requests Three types of objects delivered:Three types of objects delivered: Html pages (30%, avg. size 11,200 bytes) Html pages (30%, avg. size 11,200 bytes) Images (65%, avg. size 17,200 bytes) Images (65%, avg. size 17,200 bytes) Video clips (5%, avg. size 439,000 bytes) Video clips (5%, avg. size 439,000 bytes) What is the throughput: What is the throughput: 9000 requests/1800 sec = 5 req/sec9000 requests/1800 sec = 5 req/sec What is the throughput in Kbps?What is the throughput in Kbps?

Throughput in Kbps? X r = (total_req * class% * avg. size)/time X r = (total_req * class% * avg. size)/time X html = (9000 * 0.30 * 11,200*8)/1800 = X html = (9000 * 0.30 * 11,200*8)/1800 = X image = (9000 * 0.65 * 17,200*8)/1800 = X image = (9000 * 0.65 * 17,200*8)/1800 = X video = (9000 * 0.05 * 439,000*8)/1800 = X video = (9000 * 0.05 * 439,000*8)/1800 = X 0 = X 0 = X 0 = Kbps X 0 = Kbps To support the Web traffic, the network connection should be at least a T1 line ( Mbit/s ). Mbit/s

QoS indicators for Web Services Response time Response time Availability Availability Percentage of time a service is ‘live’ (serving customer requests)Percentage of time a service is ‘live’ (serving customer requests) Reliability Reliability Probability that WS will perform in satisfactory manner for a given period of time under specified operating and load conditionsProbability that WS will perform in satisfactory manner for a given period of time under specified operating and load conditions Predictability Predictability Cost Cost

Input data needed to monitor QoS Traffic Traffic Performance Performance Usage patterns Usage patterns Knowledge of average and peak load Knowledge of average and peak load