Department of Computer Science University of Calgary

Slides:



Advertisements
Similar presentations
EEC-484/584 Computer Networks Lecture 4 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Advertisements

HyperText Transfer Protocol (HTTP)
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
Chapter 2: Application Layer
EEC-484/584 Computer Networks Discussion Session for HTTP and DNS Wenbing Zhao
HyperText Transfer Protocol (HTTP) Computer Networks Computer Networks Spring 2012 Spring 2012.
Web, HTTP and Web Caching
EEC-484/584 Computer Networks Lecture 4 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
HTTP Performance Objective: In this problem, we consider the performance of HTTP, comparing non-persistent HTTP with persistent HTTP. Suppose the page.
Web Caching and CDNs March 3, Content Distribution Motivation –Network path from server to client is slow/congested –Web server is overloaded Web.
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
Proxy servers By Akshit, Jay and Bhum Y10. What is a proxy server O A proxy server is a computer that offers a computer network service to allow clients.
2: Application Layer World Wide Web (WWW). Introduction 1-2 Internet protocol stack (recap) r application: supporting network applications m FTP,
Proxy servers By Akshit Y10. What is a proxy server O A proxy server is a computer that offers a computer network service to allow clients to make indirect.
CHAPTER 2. Creating a network app write programs that – run on (different) end systems – communicate over network – e.g., web server software communicates.
Course on Computer Communication and Networks Lecture 2-cont Chapter 2 (part a): applications, http EDA344/DIT 420, CTH/GU.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
20-1 Last time □ NAT □ Application layer ♦ Intro ♦ Web / HTTP.
Week 11: Application Layer1 Web and HTTP First some jargon r Web page consists of objects r Object can be HTML file, JPEG image, Java applet, audio file,…
Introduction 1 Lecture 6 Application Layer (HTTP) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering.
2: Application Layer1 Web and HTTP First some jargon Web page consists of base HTML-file which includes several referenced objects Object can be HTML file,
2: Application Layer1 Chapter 2 Application Layer Part 2: Web & HTTP These slides derived from Computer Networking: A Top Down Approach, 6 th edition.
1 Computer Communication & Networks Lecture 28 Application Layer: HTTP & WWW p Waleed Ejaz
2: Application Layer1 Chapter 2 outline r 2.1 Principles of app layer protocols r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail r 2.5 DNS r 2.6 Socket.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 8 Omar Meqdadi Department of Computer Science and Software Engineering University of.
Application Layer 2-1 Chapter 2 Application Layer 2.2 Web and HTTP.
Lecture 23 Application Layer ELEN E6761: Communication Networks Instructor: Javad Ghaderi Slides adapted from “Computer Networking: A Top Down Approach”
2: Application Layer 1 Chapter 2 Application Layer Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April.
Dr. Philip Cannata 1 The Web and HTTP. Dr. Philip Cannata 2 Application Layer 2-2 Chapter 2 Application Layer Computer Networking: A Top Down Approach.
1 Part VII Component-level Performance Models for the Web © 1998 Menascé & Almeida. All Rights Reserved.
Application Layer 2-1 Lecture 4: Web and HTTP. Web and HTTP First, a review… web page consists of objects object can be HTML file, JPEG image, Java applet,
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 2: Application.
Introduction 1-1 Lecture 5 Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CS3516: These slides.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
1 COMP 431 Internet Services & Protocols HTTP Persistence & Web Caching Jasleen Kaur February 11, 2016.
EEC-484/584 Computer Networks Lecture 4 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
تجارت الکترونیک سیار جلسه هفتم مدرس : دکتررامین کریمی.
CSEN 404 Application Layer II Amr El Mougy Lamia Al Badrawy.
Lecture 5 Internet Core: Protocol layers. Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP 
تجارت الکترونیک سیار جلسه پنجم مدرس : دکتررامین کریمی.
2: Application Layer 1 Chapter 2 Application Layer These ppt slides are originally from the Kurose and Ross’s book. But some slides are deleted and added.
Introduction to Networks
Software Architecture in Practice
Application Software Platform Services Graphics Data Interchange
HTTP request message: general format
04 - World Wide Web (WWW) 2: Application Layer.
Introduction to Communication Networks
Administrative Things
CS 1652 Jack Lange University of Pittsburgh
Some bits on how it works
Session 4 INST 346 Technologies, Infrastructure and Architecture
Department of Computer Science University of Calgary
Communication Networks
ECE 671 – Lecture 16 Content Distribution Networks
Computer Communication & Networks
EEC-484/584 Computer Networks
لایه ی کاربرد مظفر بگ محمدی 2: Application Layer.
EEC-484/584 Computer Networks
Queuing Analysis.
Hw2 Figure 2.12 Chapter 2 problems Additional problems origin servers
EEC-484/584 Computer Networks
Tutorial 1.
Tutorial 2 This elementary problem begins to explore propagation delay and transmission delay, two central concepts in data networking. Consider two hosts,
Chapter 2 Application Layer
Your computer is the client
CS1652 September 4th, 2012 Jack Lange University of Pittsburgh
1 Traffic volumes at different T T = 5 sec T = 1 sec T = 10 msec.
Presentation transcript:

Department of Computer Science University of Calgary CPSC 441 Tutorial-3 Department of Computer Science University of Calgary

Web Caching Benefits Case Study Reduce response time of a client request Reduce traffic in the access link Case Study

Case Study: Default Scenario Assumptions: Avg object size: 100K bits Avg request rate from browsers to origin servers:15/sec HTTP request messages are small Avg data rate to browsers: 1.50 Mbps Internet delay: 2 sec Access link rate: 1.54 Mbps consequences: LAN utilization: 15% Access link utilization = 97% Total delay = Internet delay + access delay + LAN delay = 2 sec + minutes + negligible (usecs to ms) Note: Utilization of 97% is same as Traffic Intensity of .97 origin servers public Internet 1.54 Mbps access link problem! institutional network 10 Mbps LAN

Case Study: Fatter access link Assumptions: Access link rate: 1.54 Mbps Everything else remains the same as ‘Default Scenario’ consequences: LAN utilization: 15% Access link utilization = 97% Total delay = Internet delay + access delay + LAN delay = 2 sec + minutes + usecs 154 Mbps origin servers public Internet 0.97% 1.54 Mbps access link 154 Mbps institutional network usecs 10 Mbps LAN Cost: increased access link speed (not cheap!)

Case Study: Install local cache assumptions: Install local web cache Everything else remains the same as ‘Default Scenario’ consequences: LAN utilization: 15% access link utilization = total delay = Internet delay + access delay + LAN delay = origin servers public Internet ? 1.54 Mbps access link ? institutional network How to compute link utilization, delay? 10 Mbps LAN local web cache Cost: web cache (cheap!)

Case Study: Install local cache Calculating access link utilization, delay with cache: suppose cache hit rate is 0.4 40% requests satisfied at cache, 60% requests satisfied at origin origin servers public Internet i.e 60% of requests use access link Data rate to browsers over access link = 0.6*1.50 Mbps = 0.9 Mbps Access link utilization = 0.9/1.54 * 100 = 58% 1.54 Mbps access link institutional network Total delay = 0.6 * (delay from origin servers) +0.4 * (delay when satisfied at cache) = 0.6 (2 + ~msecs for access link and LAN) + 0.4 (~usecs for LAN) = ~ 1.2 secs less than with 154 Mbps link (and cheaper too!) 10 Mbps LAN local web cache