internet-arch
internet-arch
CS 5450: INTERNET
ARCHITECTURE
Eugene Bagdasaryan
1
Slides are an edited mashup of two books
3
Internet history
Chapter 1
1972-1980: Internetworking, new and proprietary nets
n 1970: ALOHAnet satellite network
in Hawaii Cerf and Kahn’s internetworking
n 1974: Cerf and Kahn - architecture principles:
for interconnecting networks n minimalism, autonomy -
Introduction 1-4 4
Internet history
Chapter 1
1980-1990: new protocols, a proliferation of networks
of the Web
Introduction 1-6 6
Internet history
Chapter 1
2005-present
n ~750 million hosts
n Smartphones and tablets
n Aggressive deployment of broadband access
n Increasing ubiquity of high-speed wireless access
n Emergence of online social networks:
n Facebook, Instagram, …
email, etc.
n E-commerce, universities, enterprises running their services in
“cloud” (eg, Amazon EC2)
Introduction 1-7 7
Chapter 1
What makes the Internet appear as single service
8
Chapter 1
Connectivity Terminologies
n Link, Nodes
n Point-to-point, Multiple access
n Switched Network
n Circuit Switched
(a)
n Packet Switched: Store-
and-forward
n Cloud
n Hosts
n Switches
n internetwork
n Router/gateway
n Host-to-host connectivity
(b) n Address
n Routing
n Unicast/broadcast/multicast
(a) A switched network
(b) Interconnection of networks
9
Chapter 1
Cost-Effective Resource Sharing
10
Chapter 1
Support for Common Services
n Logical Channels
n Application-to-Application communication path or a
pipe
11
Chapter 1
Reliability challenge
12
Chapter 1
Protocols
13
Chapter 1
Internet Architecture
14
Chapter 1
Description of (Lower) Layers
n Physical Layer
n Handles the transmission of raw bits over a communication link
n Data Link Layer
n Collects a stream of bits into a larger aggregate called a frame
n Network adaptor along with device driver in OS implement the
protocol in this layer
n Frames are actually delivered to hosts
n Network Layer
n Handles routing among nodes within a packet-switched network
n Unit of data exchanged between nodes in this layer is called a
packet
15
Chapter 1
Description of (Higher) Layers
n Transport Layer
n Implements a process-to-process channel
n Unit of data exchanges in this layer is called a message
n Session Layer
n Provides a name space that is used to tie together the potentially
different transport streams that are part of a single application
n Presentation Layer
n Concerned about the format of data exchanged between peers
n Application Layer
n Standardize common type of exchanges
The transport layer and the higher layers typically run only on end-
hosts and not on the intermediate switches and routers
16
Chapter 1
Encapsulation
17
Chapter 1
source Encapsulation
message M application
segment Ht M transport
datagram Hn Ht M network
frame Hl Hn Ht M link
physical
link
physical
switch
destination Hn Ht M network
M application Hl Hn Ht M link Hn Ht M
Ht M transport physical
Hn Ht M network
Hl Hn Ht M link router
physical
Introduction 1-1818
Chapter 1
Internet Architecture
19
Chapter 1
[email protected]
20
Chapter 1
Benefits of Hourglass architecture
21
Why a narrow waist is important metaphor for new
Chapter 1
systems, products …
n Tim O’Reilly:
n do as little as possible….the less you include the easier it will be to agree
and you dont tie yourself down…because we dont know what will come
[sic: in this case less is more]
n Build a system and let it evolve
n Create architecture for participation—iTUNES, App Store…[sic: it started
with Internet, Includes maps mashups and APIs!!]
n TBL didnt have to ask anyones permission to put up WWW on the
net…they would have said no…’http is poorly designed protocol..will never
scale’
n Tolerate as much failure and participation as needed to introduce new
systems/innovations rapidly/iteratively and innovate
n Naughton:
n Allow innovation to be tried for free
22
Chapter 1
End-to-end architecture
n Edge-based innovation derives from early design decision that the Internet
should have an end-to-end architecture:
n The network provides communications fabric connecting the many
computers at its ends
n Network offers very basic level of service, data transport
n Beyond transporting data—locate special features needed to support specific
applications in or close to applications/devices at network edge.
n Only put feature lower down if performance improvement justifies it
n E2E design facilitates
n designing for: failure, change, dynamics, decentralized control, rolling
asynchronous adoption, of components
n scalability and therefore longevity of architecture
n QUESTION – Reliable transport of data – Packet level hop by hop, Packet level
end to end (Process), Message/File level end to end (Application).
23
Chapter 1
Scalability
24
Chapter 1
Performance
25
Chapter 1
Bandwidth
26
Chapter 1
Four sources of packet delay
transmission
A propagation
B
nodal
processing queueing
Introduction 28
Chapter 1
Four sources of packet delay
transmission
A propagation
B
nodal
processing queueing
average queueing
n R: link bandwidth (bps)
delay
n L: packet length (bits)
n a: average packet
arrival rate
traffic intensity
= La/R
Introduction 30
Chapter 1
Packet loss
buffer
(waiting area) packet being transmitted
A
B
packet arriving to
full buffer is lost
Introduction 31
Chapter 1
Throughput
throughput
server,
server withbits
sends linkpipe
capacity
that can carry linkpipe
capacity
that can carry
file of into
(fluid) F bitspipe Rs bits/sec
fluid at rate Rc bits/sec
fluid at rate
to send to client Rs bits/sec) Rc bits/sec)
Introduction 1-3232
Chapter 1
Relationship between bandwidth and latency
33
Chapter 1
Delay X Bandwidth
Network as a pipe
34
Chapter 1
Delay X Bandwidth
audio/video conferencing)
n How many bits the sender must/could transmit before the first bit
arrives at the receiver
n Takes another one-way latency to receive a response from the
receiver
n If the sender does not fill the pipe—send a whole delay ×
35
Chapter 1
https://cs5450.github.io
36