CS 3516: Advanced Computer Networks

Similar documents
CS 3516: Advanced Computer Networks

Chapter 2 Application Layer. Lecture 4: principles of network applications. Computer Networking: A Top Down Approach

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 4

Introduction to the Application Layer. Computer Networks Term B14

Goal and A sample Network App

Protocol Layers, Security Sec: Application Layer: Sec 2.1 Prof Lina Battestilli Fall 2017

CSC 4900 Computer Networks: End-to-End Design

Chapter II: Application Layer

CS 3516: Computer Networks

Chapter 2: Application Layer. Chapter 2 Application Layer. Some network apps. Application architectures. Chapter 2: Application layer

CMSC 322 Computer Networks Applications and End-To- End

Chapter 1 Introduction

Chapter 2. Application Layer. Chapter 2: Application Layer. Application layer - Overview. Some network apps. Creating a network appication

Chapter 2 Application Layer

CSC358 Week 2. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved

Chapter 2 Application Layer

Application Layer: HTTP

Chapter 2: Application layer

Lecture 11. Transport Layer (cont d) Transport Layer 1

Chapter 2: outline. 2.6 P2P applications 2.7 socket programming with UDP and TCP

EECS 3214: Computer Network Protocols and Applications

Lecture 04: Application Layer (Part 01) Principles and the World Wide Web (HTTP) Dr. Anis Koubaa

DATA COMMUNICATOIN NETWORKING

1. What is a Computer Network? interconnected collection of autonomous computers connected by a communication technology

Review of Previous Lecture

CS 3516: Computer Networks

Client/Server Computing

CS 3516: Computer Networks

CS 3516: Computer Networks

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Chapter 2 Application Layer

Chapter 2 Application Layer

CS 3516: Advanced Computer Networks

CS 3516: Computer Networks

Course Introduction. Off script lecturing on whiteboard Just as important towards exams, etc.

Chapter 1 Introduction

Client/Server Computing & Socket Programming

CS 3516: Computer Networks

Foundations of Telematics

ECE 4450:427/527 - Computer Networks Spring 2017

CS 3516: Advanced Computer Networks

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

CSEN 503 Introduction to Communication Networks. Mervat AbuElkheir Hana Medhat Ayman Dayf. ** Slides are attributed to J. F.

CSCD 330 Network Programming

Chapter 1 Introduction

Chapter 3 Transport Layer

Chapter 2 Application Layer

Computer Networks and Applications

Client/Server Computing & Socket Programming

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

Hybrid of client-server and P2P. Pure P2P Architecture. App-layer Protocols. Communicating Processes. Transport Service Requirements

Web Protocols and Practice

Transport layer Internet layer

CS 3516: Advanced Computer Networks

CMPE 80N: Introduction to Networking and the Internet

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach

CS 3516: Computer Networks

Computer Networks. Dr. Abdel Ilah ALshbatat Dept. of Communication and Computer Engineering Faculty of Engineering Tafila Technical University

Application Layer Protocols

Chapter 2 Application Layer

COSC4377. Chapter 1: Roadmap

Chapter 2: Application Layer. Chapter 2: application layer. outline. Some network apps. Client-server architecture. Application architectures

CS 4390 Computer Networks. Transport Services and Protocols

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

Chapter 7: Multimedia Networking

CS 3516: Advanced Computer Networks

CS 3516: Advanced Computer Networks

Chapter 3 Transport Layer

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Computer Networks. General Course Information. Addressing and Routing. Computer Networks 9/8/2009. Basic Building Blocks for Computer Networks

CSC 401 Data and Computer Communications Networks

Transport Layer. Chapter 3: Transport Layer

Different Layers Lecture 21

CS 3516: Advanced Computer Networks

Application. Transport. Network. Link. Physical

CSCE 463/612 Networks and Distributed Processing Spring 2018

CS 3516: Computer Networks

CSC 401 Data and Computer Communications Networks

CSEN 503 Introduction to Communication Networks

CS 3516: Advanced Computer Networks

CS 3516: Advanced Computer Networks

CSCE 463/612 Networks and Distributed Processing Spring 2018

Review for Internet Introduction

The Transmission Control Protocol (TCP)

Announcements. CS 5565 Network Architecture and Protocols. Outline for today. The Internet: nuts and bolts view. The Internet: nuts and bolts view

Welcome to CS 340 Introduction to Computer Networking

Chapter 2: outline. 2.1 principles of network applications. 2.6 P2P applications 2.7 socket programming with UDP and TCP

ENEE 457: Computer Systems Security 11/07/16. Lecture 18 Computer Networking Basics

We will cover in this order: 2.1, 2.7, 2.5, 2.4, 2.2

CS 332: Computer Networks Introduction

Chapter 7 Multimedia Networking

RSC Part I: Introduction

COMP 562: Advanced Topics in Networking

OSI Transport Layer. objectives

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

Internet Architecture & Performance. What s the Internet: nuts and bolts view

CS 471G Friday, 11 January Introduction 2-1

CS 204: Advanced Computer Networks

Networking. Layered Model. DoD Model. Application Layer. ISO/OSI Model

Transcription:

Welcome to CS 3516: Adanced Computer Networks Prof. Yanhua Li Time: 9:00am 9:50am M, T, R, and F Location: AK219 Fall 2018 A-term 1 Some slides are originally from the course materials of the textbook Computer Networking: A Top Down Approach, 6th edition, by Jim Kurose, Keith Ross, Addison-Wesley March 2012. Copyright 1996-2013 J.F Kurose and K.W. Ross, All Rights Resered.

Lab assignment 1 Grading Done Quiz 1 and 2 Grading Quiz 1: Done Quiz 2: by today Quiz 3 this Friday On HTTP protocol with a bonus question Introduction 1-2

segment datagram frame bits message H l H t H n H t H n H t M M M M source application transport network link physical Encapsulation link physical switch H l H n H n H t H t H t M M M M destination application transport network link physical H l H n H n H t H t M M network link physical H n H t M router Introduction 1-3

Course Progression Week 1-2: Oeriew Week 2-4: Application Layer Protocols HTTP, DNS, P2P, SMTP Week 4-5: Transport Layer Protocols UDP and TCP Week 6: IP, Routing Protocols Week 7: Link Layer Protocols Week 8: Wireless & Data Center Networking Slides for the lecture will be posted on the website

Online social networks Voice call Online search serice Online shopping Video Streaming Application Layer 2-5

Some network apps e-mail web text messaging remote login P2P file sharing multi-user network games streaming stored ideo (YouTube, Hulu, Netflix) oice oer IP (e.g., Skype) real-time ideo conferencing social networking search Application Layer 2-6

Chapter 2: application layer 2.1 principles of network applications app architectures app requirements Application Layer 2-7

Creating a network app write programs that: run on (different) end systems communicate oer network e.g., web serer software communicates with browser software no need to write software for network-core deices network-core deices do not run user applications applications on end systems allows for rapid app deelopment, propagation application transport network data link physical application transport network data link physical application transport network data link physical Application Layer 2-8

Application architectures possible structure of applications: client-serer peer-to-peer (P2P) Application Layer 2-9

Client-serer architecture serer: always-on host permanent IP address data centers for scaling client/serer clients: communicate with serer may be intermittently connected may hae dynamic IP addresses do not communicate directly with each other Application Layer 2-10

P2P architecture no always-on serer arbitrary end systems directly communicate peers request serice from other peers, proide serice in return to other peers self scalability new peers bring new serice capacity, as well as new serice demands peers are intermittently connected and change IP addresses complex management peer-peer Application Layer 2-11

Processes communicating process: program running within a host within same host, two processes communicate using inter-process communication (defined by OS) processes in different hosts communicate by exchanging messages ia sockets clients, serers client process: process that initiates communication serer process: process that waits to be contacted aside: applications with P2P architectures hae client processes & serer processes Application Layer 2-12

Sockets process sends/receies messages to/from its socket socket analogous to door / mail box sending process shoes message out door / drop it to mail box sending process relies on transport infrastructure on other side of door to delier message to socket at receiing process application process socket application process controlled by app deeloper transport network link physical Internet transport network link physical controlled by OS Application Layer 2-13

Addressing processes to receie messages, process must hae identifier host deice has unique 32- bit IP address Q: does IP address of host on which process runs suffice for identifying the process? A: no, many processes can be running on same host identifier includes both IP address and port numbers associated with process on host. example port numbers: HTTP serer: 80 mail serer: 25 to send HTTP message to gaia.cs.umass.edu web serer: IP address: 128.119.245.12 port number: 80 more shortly Application Layer 2-14

Chapter 2: outline 2.1 principles of network applications app architectures app requirements Application Layer 2-15

App-layer protocol defines types of messages exchanged, e.g., request, response message syntax: what fields in messages & how fields are delineated message semantics meaning of information in fields rules for when and how processes send & respond to messages open protocols: defined in RFCs allows for interoperability e.g., HTTP, SMTP proprietary protocols: e.g., Skype Application Layer 2-16

Transport serice requirements: common apps application data loss throughput time sensitie file transfer e-mail Web documents real-time audio/ideo stored audio/ideo interactie games no loss no loss no loss loss-tolerant loss-tolerant loss-tolerant elastic elastic elastic audio: 5kbps-1Mbps ideo:10kbps-5mbps same as aboe a few kbps up no no no yes, 100 s msec yes, a few secs yes, 100 s msec Application Layer 2-17

Internet transport protocols serices TCP serice: reliable transport between sending and receiing process flow control: sender won t oerwhelm receier congestion control: throttle sender when network oerloaded UDP serice: unreliable data transfer between sending and receiing process does not proide: reliability, flow control, congestion control, throughput guarantee, or connection setup, Q: why bother? Why is there a UDP? A: Lightweight protocol, Circumenting congestion control & packet oerhead Application Layer 2-18

Internet apps: application, transport protocols application e-mail remote terminal access Web file transfer streaming multimedia Internet telephony application layer protocol SMTP [RFC 2821] Telnet [RFC 854] HTTP [RFC 2616] FTP [RFC 959] HTTP (e.g., YouTube), RTP [RFC 1889] SIP, RTP, proprietary (e.g., Skype) underlying transport protocol TCP TCP TCP TCP TCP or UDP TCP or UDP Application Layer 2-19

Questions? Application Layer 2-20

What transport serice does an app need? data integrity/ accuracy some apps (e.g., file transfer, web transactions) require 100% reliable data transfer other apps (e.g., audio) can tolerate some loss Timing/delay some apps (e.g., Internet telephony, interactie games) require low delay to be effectie Emails may allow longer delay throughput some apps (e.g., multimedia) require minimum amount of throughput to be effectie other apps ( elastic apps, e.g., email) make use of whateer throughput they get security encryption, data integrity, Application Layer 2-21

Internet transport protocols serices TCP serice: reliable transport between sending and receiing process flow control: sender won t oerwhelm receier congestion control: throttle sender when network oerloaded does not proide: timing, minimum throughput guarantee, security connection-oriented: setup required between client and serer processes UDP serice: unreliable data transfer between sending and receiing process does not proide: reliability, flow control, congestion control, timing, throughput guarantee, security, or connection setup, Q: why bother? Why is there a UDP? A: Lightweight protocol, Circumenting congestion control & packet oerhead Application Layer 2-22