CS 3516: Advanced Computer Networks

Similar documents
CS 3516: Advanced Computer Networks

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

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

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

Goal and A sample Network App

CSC 4900 Computer Networks: End-to-End Design

CMSC 322 Computer Networks Applications and End-To- End

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

Chapter II: Application Layer

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

Chapter 1 Introduction

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

Chapter 2: Application layer

Application Layer: HTTP

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

Review of Previous Lecture

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

EECS 3214: Computer Network Protocols and Applications

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

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

DATA COMMUNICATOIN NETWORKING

Client/Server Computing

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: Computer Networks

Foundations of Telematics

CS 3516: Computer Networks

CS 3516: Advanced Computer Networks

Client/Server Computing & Socket Programming

Chapter 1 Introduction

ECE 4450:427/527 - Computer Networks Spring 2017

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Computer Networks and Applications

Client/Server Computing & Socket Programming

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

CS 3516: Advanced Computer Networks

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

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

COSC4377. Chapter 1: Roadmap

Chapter 2 Application Layer

Chapter 2 Application Layer

CS 3516: Computer Networks

CSCD 330 Network Programming

Web Protocols and Practice

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

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

CS 3516: Advanced Computer Networks

Chapter 3 Transport Layer

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

CS 4390 Computer Networks. Transport Services and Protocols

CS 3516: Advanced Computer Networks

Application Layer Protocols

CS 3516: Advanced Computer Networks

Transport layer Internet layer

Chapter 7: Multimedia Networking

CSEN 503 Introduction to Communication Networks

Transport Layer. Chapter 3: Transport Layer

CMPE 80N: Introduction to Networking and the Internet

CSCE 463/612 Networks and Distributed Processing Spring 2018

Different Layers Lecture 21

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

Chapter 3 Transport Layer

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

Application. Transport. Network. Link. Physical

CSC 401 Data and Computer Communications Networks

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

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

CS 3516: Computer Networks

CS 332: Computer Networks Introduction

COMP 562: Advanced Topics in Networking

CS 3516: Computer Networks

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

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

Review for Internet Introduction

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

Layered Model. DoD Model. ISO/OSI Model

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

Network Communication

Chapter 7 Multimedia Networking

SCS3004 Networking Technologies Application Layer Protocols

RSC Part I: Introduction

CSC 401 Data and Computer Communications Networks

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

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

Transport Layer Overview

The Transmission Control Protocol (TCP)

Welcome to CS 340 Introduction to Computer Networking

Lecture 2 Communication services The Trasport Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

CSE3213 Computer Network I

Data Communications and Networks Spring Syllabus and Reading Assignments

CSC 401 Data and Computer Communications Networks

CS 3516: Computer Networks

NWEN 243. Networked Applications. Transport layer and application layer

Multimedia Networking

Transcription:

Welcome to CS 3516: Advanced Computer Networks Prof. Yanhua Li Time: 9:00am 9:50am, T, R, and F Location: Fuller 320 Fall 2017 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 arch 2012. Copyright 1996-2013 J.F Kurose and K.W. Ross, All Rights Reserved.

Lab assignment 1 Grading Done Quiz 1 and 2 Grading Done 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 source application transport network link physical Encapsulation link physical switch H l H n H n H t H t H t destination application transport network link physical H l H n H n H t H t network link physical H n H t router Introduction 1-3

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

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

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

Chapter 2: application layer our goals: v conceptual, implementation aspects of network application protocols client-server paradigm peer-to-peer paradigm 2.1 principles of network applications app architectures app requirements v learn about protocols by examining popular application-level protocols HTTP STP DNS P2P v creating network applications socket API Application Layer 2-7

Creating a network app write programs that: v run on (different) end systems v communicate over network v e.g., web server software communicates with browser software no need to write software for network-core devices v network-core devices do not run user applications v applications on end systems allows for rapid app development, 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: v client-server v peer-to-peer (P2P) Application Layer 2-9

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

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

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

Sockets v process sends/receives messages to/from its socket v socket analogous to door / mail box sending process shoves message out door / drop it to mail box sending process relies on transport infrastructure on other side of door to deliver message to socket at receiving process application process socket application process controlled by app developer transport network link physical Internet transport network link physical controlled by OS Application Layer 2-13

Addressing processes v to receive messages, process must have identifier v host device has unique 32- bit IP address v 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 v identifier includes both IP address and port numbers associated with process on host. v example port numbers: HTTP server: 80 mail server: 25 v to send HTTP message to gaia.cs.umass.edu web server: IP address: 128.119.245.12 port number: 80 v 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 v types of messages exchanged, e.g., request, response v message syntax: what fields in messages & how fields are delineated v message semantics meaning of information in fields v rules for when and how processes send & respond to messages open protocols: v defined in RFCs v allows for interoperability v e.g., HTTP, STP proprietary protocols: v e.g., Skype Application Layer 2-16

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

Transport service requirements: common apps application data loss throughput time sensitive file transfer e-mail Web documents real-time audio/video stored audio/video interactive games text messaging no loss no loss no loss loss-tolerant loss-tolerant loss-tolerant no loss elastic elastic elastic audio: 5kbps-1bps video:10kbps-5bps same as above a few kbps up elastic no no no yes, 100 s msec yes, a few secs yes, 100 s msec yes and no Application Layer 2-18

Internet transport protocols services TCP service: v reliable transport between sending and receiving process v flow control: sender won t overwhelm receiver v congestion control: throttle sender when network overloaded v does not provide: timing, minimum throughput guarantee, security v connection-oriented: setup required between client and server processes UDP service: v unreliable data transfer between sending and receiving process v does not provide: reliability, flow control, congestion control, timing, throughput guarantee, security, or connection setup, Q: why bother? Why is there a UDP? A: Lightweight protocol, Circumventing congestion control & packet overhead Application Layer 2-19

Internet apps: application, transport protocols application e-mail remote terminal access Web file transfer streaming multimedia Internet telephony application layer protocol STP [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-20

Questions? Application Layer 2-21