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.
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.
Trying out HTTP (client side) for yourself
CHAPTER 2. Creating a network app write programs that – run on (different) end systems – communicate over network – e.g., web server software communicates.
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.
2: Application Layer1 Internet apps: their protocols and transport protocols Application remote terminal access Web file transfer streaming multimedia.
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
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
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.
Internet Protocol B Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore
Optimizing Bandwidth Utilization Defiana Arnaldy, M.Si
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.
CIS679: Lecture 13 r Review of Last Lecture r More on 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.
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.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/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 
تجارت الکترونیک سیار جلسه پنجم مدرس : دکتررامین کریمی.
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
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
Block 5: An application layer protocol: HTTP
Department of Computer Science University of Calgary
HTTP request message: general format
04 - World Wide Web (WWW) 2: Application Layer.
Introduction to Communication Networks
Administrative Things
Lecture 2 Dr. Richard Spillman Fall 2009
CS 1652 Jack Lange University of Pittsburgh
Session 4 INST 346 Technologies, Infrastructure and Architecture
Web Caching? Web Caching:.
Communication Networks
ECE 671 – Lecture 16 Content Distribution Networks
Computer Communication & Networks
EEC-484/584 Computer Networks
CSE 461 HTTP and the Web.
لایه ی کاربرد مظفر بگ محمدی 2: Application Layer.
EEC-484/584 Computer Networks
Hw2 Figure 2.12 Chapter 2 problems Additional problems origin servers
EEC-484/584 Computer Networks
Chapter 2 Application Layer
Computer Networks Protocols
Your computer is the client
CS1652 September 4th, 2012 Jack Lange University of Pittsburgh
Presentation transcript:

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

Web Caching Telnet CPSC 441 - Application Layer

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 Internet delay: 2 sec Access link rate: 1.54 Mbps Consider delay for Access link to be negligible when utilization is less than 80% consequences: Download traffic: ? LAN utilization: ? Access link utilization : ? Total delay = Internet delay + access delay + LAN delay = 2 sec + minutes + negligible (usecs to ms) origin servers public Internet 1.54 Mbps access link 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: ? Access link utilization = ? Total delay = Internet delay + access delay + LAN delay =2 sec + minutes + negligible (usecs to ms) 154 Mbps origin servers public Internet 1.54 Mbps access link 154 Mbps institutional network negligible (usecs to ms) 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: ? 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 Download rate over the access link =? Access link utilization = ? 1.54 Mbps access link institutional network Total delay: ? less than with 154 Mbps link (and cheaper too!) 10 Mbps LAN local web cache

Key takeaways Benefits of web caching Reduce response time of a client request Reduce traffic in the access link In your assignment-1, you will be implementing a simple web proxy

How to use Telnet? Establishes TCP connection with any internet service (or server) that runs on TCP No need for implementation of application layer It is up to the user what kind of application message needs to be send to the server You can use telnet to test assignment-1 (apart from using a web browser) CPSC 441 - Application Layer

# telnet pages.cpsc.ucalgary.ca 80 // tcp connection established Open a terminal # telnet pages.cpsc.ucalgary.ca 80 // tcp connection established GET http://pages.cpsc.ucalgary.ca/~cyriac.james/sample.txt HTTP/1.0 <Press Enter> Host: pages.cpsc.ucalgary.ca <Press Enter> Connection: close <Press Enter> <Press Enter> // HTTP request sent // HTTP response and data get displayed on the terminal CPSC 441 - Application Layer