Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter 7.

Slides:



Advertisements
Similar presentations
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
Advertisements

29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Application Layer Chapter 7. Electronic Mail Architecture and Services The User Agent Message Formats Message Transfer Final Delivery.
Layer 7- Application Layer
Jacob Boston Josh Pfeifer. Definition of HyperText Transfer Protocol How HTTP works How Websites work GoDaddy.com OSI Model Networking.
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
The World Wide Web By: Brittney Hardin, Carlos Smith, and David Wilkins.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter
Data Communications and Networks
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Computer Concepts 2014 Chapter 7 The Web and .
Cisco Discovery Working at a Small-to-Medium Business or ISP CHAPTER 7 ISP Services Jr.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter 7.
SMUCSE 4344 application layer. SMUCSE 4344 application vs. application-layer protocols application-layer protocol is just one piece –how the end hosts.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 7 The Application Layer.
Internet Applications  DNS   TELNET  FTP  Web browsing.
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
Chapter 1: Introduction to Web
The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Internet Concept and Terminology. The Internet The Internet is the largest computer system in the world. The Internet is often called the Net, the Information.
HTTP HTTP stands for Hypertext Transfer Protocol. It is an TCP/IP based communication protocol which is used to deliver virtually all files and other.
Copyright © 2002 Pearson Education, Inc. Slide 3-1 CHAPTER 3 Created by, David Zolzer, Northwestern State University—Louisiana The Internet and World Wide.
Network Technologies essentials Week 9: Distributed file sharing & multimedia Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall,
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
The Application Layer Chapter Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall,
1 Welcome to CSC 301 Web Programming Charles Frank.
CMPE 150 – Winter 2009 Lecture 19 March 12, 2009 P.E. Mantey.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
CS 3830 Day 9 Introduction 1-1. Announcements r Quiz #2 this Friday r Demo prog1 and prog2 together starting this Wednesday 2: Application Layer 2.
TCP/IP (Transmission Control Protocol / Internet Protocol)
Streaming and Content Delivery SECTIONS 7.4 AND 7.5.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Application Layer Chapter 7 CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 DNS – Domain Name System Electronic.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
Berkeley Sockets The socket primitives for TCP.. PortProtocol Use 21 FTP File transfer 23 Telnet Remote login 25 SMTP 69 TFTP Trivial File Transfer.
4343 X2 – Outline The Domain Name System The Web.
The Application Layer Chapter Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011.
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
1 Chapter 10: Application Layer Reference: Chapter 7 - “Computer Networks”, Andrew S. Tanenbaum, 4th Edition, Prentice Hall, 2003.
Ch 2. Application Layer Myungchul Kim
1 UNIT 13 The World Wide Web. Introduction 2 The World Wide Web: ▫ Commonly referred to as WWW or the Web. ▫ Is a service on the Internet. It consists.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Internet Protocol Version4 (IPv4)
National College of Science & Information Technology.
Internet and World Wide Web Introduction to the Internet.
The Application Layer DNS – The Domain Name System The DNS Name Space Resource Records Name Servers
Computer Network 1 HCM City University of Technology
Chapter 7 The Application Layer
Application Layer Chapter 7
Instructor Materials Chapter 5 Providing Network Services
The Application Layer Physical Link Network Transport Application
WWW and HTTP King Fahd University of Petroleum & Minerals
Chapter 1 Introduction Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011.
The Application Layer RIS 251 Dr. ir. S.S. Msanjila.
Using MIS 2e Chapter 6 Appendix
Protocols and networks in the TCP/IP model initially.
Networking for Home and Small Businesses – Chapter 6
Chapter 10: Application Layer
CS 31006: Computer Networks – Application Layer
Wednesday, September 19, 2018 What Is the Internet?
Networking for Home and Small Businesses – Chapter 6
Topic 5: Communication and the Internet
Multimedia and Networks
Networking for Home and Small Businesses – Chapter 6
Presentation transcript:

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter 7

The Application Layer The layers below the application layer are there to provide reliable transport, but they do not do real work for users. – In this chapter we will study some real network applications. However, even in the application layer there is a need for support protocols, to allow the applications to function.

DNS—The Domain Name System Although programs theoretically could refer to hosts, mailboxes, and other resources by their network (e.g., IP) addresses, these addresses are hard for people to remember. sending to means that if Tana's ISP or organization moves the mail server to a different machine with a different IP address, her address has to change. Consequently, ASCII names were introduced to decouple machine names from machine addresses.

DNS—The Domain Name System Way back in the ARPANET, there was simply a file, hosts.txt, that listed all the hosts and their IP addresses. Every night, all the hosts would fetch it from the site at which it was maintained. The size of the file would become too large To solve these problems, DNS (the Domain Name System) was invented.

DNS—The Domain Name System Very briefly, the way DNS is used is as follows. – To map a name onto an IP address, an application program calls a library procedure called the resolver, passing it the name as a parameter. – The resolver sends a UDP packet to a local DNS server, which then looks up the name and returns the IP address to the resolver, which then returns it to the caller. – The program can then establish a TCP connection with the destination or send it UDP packets.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 DNS – The Domain Name System Conceptually, the Internet is divided into over 200 top-level domains, where each domain covers many hosts. Each domain is partitioned into subdomains, and these are further partitioned, and so on. All these domains can be represented by a tree, as shown in Fig. 7-1.Fig. 7-1

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The DNS Name Space (1) Fig. 7-1 Fig. 7-1 A portion of the Internet domain name space.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The DNS Name Space (2) Generic top-level domains

Cont. The top-level domains come in two flavors: generic and countries. In general, getting a second-level domain, such as name-of-company.com, is easy. It merely requires going to a registrar for the corresponding top-level domain (com in this case) to check if the desired name is available and not somebody else's trademark. If there are no problems, the requester pays a small annual fee and gets the name. Domain names are case insensitive, so edu, Edu, and EDU mean the same thing.

Cont. To create a new domain, permission is required of the domain in which it will be included. – For example, if a VLSI group is started at Yale and wants to be known as vlsi.cs.yale.edu, it has to get permission from whoever manages cs.yale.edu. – Similarly, if a new university is chartered, say, the University of Northern South Dakota, it must ask the manager of the edu domain to assign it unsd.edu. In this way, name conflicts are avoided. Once a new domain has been created and registered, it can create subdomains, such as cs.unsd.edu, without getting permission from anybody higher up the tree.

Resource Records Every domain, whether it is a single host or a top-level domain, can have a set of resource records associated with it. – For a single host, the most common resource record is just its IP address, but many other kinds of resource records also exist. – When a resolver gives a domain name to DNS, what it gets back are the resource records associated with that name. Thus, the primary function of DNS is to map domain names onto resource records.

Resource Records A resource record is a five-tuple. Domain_name Time_to_live Class Type Value The Domain_name tells the domain to which this record applies. Normally, many records exist for each domain. The Time_to_live field gives an indication of how stable the record is. Information that is highly stable is assigned a large value, such as (the number of seconds in 1 day). Information that is highly volatile is assigned a small value, such as 60 (1 minute). The third field of every resource record is the Class. For Internet information, it is always IN.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Domain Resource Records The Type field tells what kind of record this is. The most important types are listed above

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Domain Resource Records (2) A portion of a possible DNS database for cs.vu.nl.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Name Servers (1) Part of the DNS name space divided into zones (which are circled).

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Name Servers (2) Example of a resolver looking up a remote name in 10 steps.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Electronic Mail Architecture and services The user agent Message formats Message transfer Final delivery

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architecture and Services (1) Architecture of the system

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architecture and Services (2) Envelopes and messages. (a) Paper mail. (b) Electronic mail.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The User Agent Typical elements of the user agent interface

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Formats (1) RFC 5322 header fields related to message transport.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Formats (2) Some fields used in the RFC 5322 message header.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Formats (3) Message headers added by MIME.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Formats (4) MIME content types and example subtypes.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Transfer (1) A multipart message containing HTML and audio alternatives....

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Transfer (2) A multipart message containing HTML and audio alternatives....

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Transfer (3) Sending a message from to

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Transfer (4) Sending a message from to

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Message Transfer (5) Some SMTP extensions.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Final Delivery (1) IMAP (version 4) commands....

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Final Delivery (2) IMAP (version 4) commands....

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The World Wide Web Architectural overview Static web pages Dynamic web pages, web applications The hypertext transfer protocol The mobile web Web search

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (1) Architecture of the Web.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (2) Three questions had to be answered before a selected page could be displayed: 1.What is the page called? 2.Where is the page located? 3.How can the page be accessed?

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (3) Steps that occur when link is selected: 1.Browser determines the URL 2.Browser asks DNS for the IP address of the server 3.DNS replies 4.The browser makes a TCP connection 5.Sends HTTP request for the page 6.Server sends the page as HTTP response 7.Browser fetches other URLs as needed 8.The browser displays the page 9.The TCP connections are released

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (4) Some common URL schemes.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (5) (a) A browser plug-in. (b) A helper application.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (6) Steps server performs in main loop 1.Accept a TCP connection from client 2.Get path to page, name of file requested. 3.Get the file (from disk). 4.Send contents of the file to the client. 5.Release the TCP connection.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (7) A multithreaded Web server with a front end and processing modules.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (8) A processing module performs a series of steps: 1.Resolve name of Web page requested. 2.Perform access control on the Web page. 3.Check the cache. 4.Fetch requested page from disk or run program 5.Determine the rest of the response 6.Return the response to the client. 7.Make an entry in the server log.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (9) Some examples of cookies

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (1) The HTML for a sample Web page.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (2) The formatted page.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (3) Some differences between HTML versions.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (4) The HTML for an order form.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (5) The formatted page.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (1) Dynamic pages

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (2) (a) A Web page containing a form. (b) A PHP script for handling the output of the form. (c) Output from the PHP script when the inputs are ‘‘Barbara’’ and ‘‘32’’, respectively. (a) (b) (c)

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (3) Use of JavaScript for processing a form.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (4) (a)Server-side scripting with PHP. (b)Client-side scripting withJavaScript.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (5) AJAX Technologies 1.HTML and CSS: present information as pages. 2.DOM: change parts of pages while they are viewed. 3.XML: let programs exchange data with the server. 4.An asynchronous way to send and retrieve XML data. 5.JavaScript as a language to bind all this together.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (6) The DOM tree for the HTML in Fig. 7-30(a).Fig. 7-30(a).

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (7) A simple XML document.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (8) Various technologies used to generate dynamic pages.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (1) HTTP with (a) multiple connections and sequential requests. (b) A persistent connection and sequential requests. (c) A persistent connection and pipelined requests.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (2) The built-in HTTP request methods.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (3) The status code response groups

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (4) Some HTTP message headers....

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (5) Some HTTP message headers....

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (6) HTTP caching.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Mobile Web (1) Difficulties for mobile phones browsing the web 1. Relatively small screens 2. Limited input capabilities, lengthy input. 3. Network bandwidth is limited 4. Connectivity may be intermittent. 5. Computing power is limited

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Mobile Web (2) The XHTML Basic modules and tags.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Audio and Video Digital audio Digital video Streaming stored media Streaming live media Real-time conferencing

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Audio (1) (a) A sine wave. (b) Sampling the sine wave. (c) Quantizing the samples to 4 bits.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Audio (2) (a) The threshold of audibility as a function of frequency. (b) The masking effect.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (1) Steps in JPEG lossy sequential encoding.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (2) (a) RGB input data. (b) After block preparation.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (3) (a) One block of the Y matrix. (b) The DCT coefficients.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (4) Computation of the quantized DCT coefficients.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (5) The order in which the quantized values are transmitted.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (6) MPEG output consists of three kinds of frames: a)I- (Intracoded) : Self-contained compressed still pictures. b)P- (Predictive) : Block-by-block difference with previous frames. c)B- (Bidirectional) : block-by-block differences between previous and future frames.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Digital Video (7) Three consecutive frames

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (1) Playing media over the Web via simple downloads.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (2) Streaming media using the Web and a media server.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (3) Major tasks of the media player: 1.Manage the user interface. 2.Handle transmission errors. 3.Decompress the content. 4.Eliminate jitter.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (4) Using a parity packet to repair loss.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (5) When packets carry alternate samples, the loss of a packet reduces the temporal resolution rather than creating a gap in time.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (6) The media player buffers input from the media server and plays from the buffer rather than directly from the network.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Stored Media (7) RTSP commands from the player to the server.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Live Media (1) Multicast streaming media with a parity packet.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Streaming Live Media (2) A student radio station.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (1) The H.323 architectural model for Internet telephony.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (2) The H.323 protocol stack.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (3) Logical channels between the caller and callee during a call.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (4) SIP methods.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (5) Use of a proxy server and redirection with SIP.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Real-Time Conferencing (6) Comparison of H.323 and SIP.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Content Delivery Content and internet traffic Server farms and web proxies Content delivery networks Peer-to-peer networks

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Content and Internet Traffic Zipf distribution (a) On a linear scale. (b) On a log-log scale.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Server Farms and Web Proxies (1) A server farm.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Server Farms and Web Proxies (2) A proxy cache between Web browsers and Web servers.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Content Delivery Networks (1) CDN distribution tree.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Content Delivery Networks (2) Directing clients to nearby CDN nodes using DNS.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Content Delivery Networks (3) (a) Original Web page. (b) Same page after linking to the CDN

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Peer-to-Peer Networks (1) Problems to be solved with BitTorrent sharing 1.How does a peer find other peers 2.How is content replicated by peers to provide high-speed downloads 3.How do peers encourage each other to upload content to others

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Peer-to-Peer Networks (2) BitTorrent.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Peer-to-Peer Networks (3) (a) A set of 32 node identifiers arranged in a circle. The shaded ones correspond to actual machines. The arcs show the fingers from nodes 1, 4 and 12. The labels on the arcs are the table indices. (b) Examples of the finger tables.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 End Chapter 7