Professional Documents
Culture Documents
Class 1
Foundation
Lecture Outline
Preface Requirements Connectivity Cost-Effective Resource Sharing Support for Common Services Network Architecture Performance Implementing Network Software Protocol Implementation Issues
Preface
The VIC Video
Requirements
An application programmer
List the services that the application needs.
A Network Designer
List the properties of a cost-effective design.
A network provider
List the characteristics of a system that is easy to administer and manager.
Connectivity
Links: coax cable, optical fiber, Point-to-Point
Multiple-Access
Connectivity (contd)
Switched Network: Each node is attached to one ore more point-to-point links.
Connectivity (contd)
Interconnection of Networks: A set of computers indirectly
connected.
A set of independent networks interconnected to form an internetwork (Internet for short). A node that is connected to two or more networks is commonly called a router or gateway.
Connectivity (contd)
Circuit-Switched: Carry bit streams (e.g. telephone network). Packet-Switched: Store-and-forward messages (e.g.
computer network, Internet).
Nodes send discrete blocks of data (packet or message) to each other. Focus of the textbook.
Address: Byte string that identifies a node. Usually unique. Routing: Process of forwarding messages to the destination
node based on its address.
Types of addresses
Unicast: A specific node on the network Broadcast: All nodes on the network Multicast: A subset of nodes on the network
10
11
12
13
Network Architecture
Layering
Use abstraction to hide complexity Abstraction naturally leads to layering. Alternative abstractions at each layer
14
A communication service that it exports locally, along with a set of rules governing the messages that the protocol exchanges with its peer(s) to implement this service.
15
RRP: Request/Reply Protocol MSP: Message Stream Protocol HHP: Host-to-Host Protocol
Network Design 16.583/483 Spring 2010 University of Massachusetts Lowell 16
17
OSI Architecture
Open Systems Interconnection (OSI)
Partitioning of network functionality into seven layers
18
Internet Architecture
Sometimes called TCP/IP architecture after its two main protocols. Evolved out of experienced with ARPANET. A four-layer model is used instead. Telnet (remote login), SMTP (Simple Mail Transfer Protocol), HTTP (HyperText Transport Protocol)
19
Performance
Bandwidth (throughput)
Data transmitted per time unit Single Link vs. End-to-End Channel Notation
MB = 220 bytes Mbps = 106 bits per second
Latency (delay)
Time to send message from point A to point B One-Way vs. Round-Trip Time (RTT) Components
Latency = Propagation + Transmit + Queue Propagation = Distance / SpeedOfLight Transmit = Size / Bandwidth
20
Performance (contd)
Bandwidth vs. Latency
Relative Importance
1 byte: 1ms vs. 100ms dominates 1Mbps vs. 100Mbps 25MB: 1Mbps vs. 100Mbps dominates 1ms vs. 100ms
Infinite Bandwidth
RTT dominates Throughput = TransferSize / TransferTime TransferTime = RTT + 1/Bandwidth x TransferSize
21
Performance (contd)
Delay x Bandwidth Product
Amount of data in the pipe Example: 100ms x 45Mbps = 550KB
22
Sending/Receiving Messages
int send (int socket, char *message, int msg_len, int flags) Int rcv (int socket, char *buffer, int buf_len, int flags)
23
Process-Per-Message Model
Each protocol is treated as a static piece of code, and the processes are associated with the messages.
24
25
26
27