Week 2 - Lec 1
Week 2 - Lec 1
Computer Networks
Autumn 2022
Week 2-Lecture 1
8/8/2022
Introduction 1-1
Recap: Network components
• Network has three main components
Computers (servers and hosts)
Hosts/End systems: hosts files, webpages, other resources
Clients: ask for the resrouces
Servers: give the requested resources
Network Devices
- Devices that interconnect different computers together
Connectivity
- Media that physically connect the computers and network devices
IT 304_2022
What’s the Internet: “nuts and bolts” view
PC • billions of connected computing mobile network
server devices:
• hosts = end systems
wireless global ISP
laptop • running network apps-Meaning?
smartphone
home
communication links network
regional ISP
wireless
• fiber, copper, radio,
links satellite
wired
links • transmission rate:
bandwidth
Introduction 1-3
What’s the Internet: a service view
mobile network
• infrastructure that provides
services to applications: global ISP
interface to apps
• hooks that allow sending and
receiving app programs to
“connect” to Internet
• provides service options,
analogous to postal service institutional
network
Introduction 1-4
What is a computer network?
Introduction 1-10
A closer look at network structure:
• network edge: mobile network
• hosts: clients and servers
• servers often in data centers global ISP
home
access networks, network
regional ISP
physical media: wired,
wireless communication
links
network core:
interconnected routers
network of networks institutional
network
Introduction 1-11
The network core
• mesh of
interconnected routers
• packet-switching:
hosts break application
messages into packets
• forward packets from
one router to the next,
across links on path
from source to
destination
• each packet
transmitted at full link
capacity
Introduction 1-12
Architectural principles, design goals and performance objectives in
wired
networks
• What tasks get done?
• What is delivered (packets, files, …)?
• What are the semantics (reliability, ordering, …)?
• Hardware
• Network traffic conditions
Ref [1]
• The narrower each bit can become, the higher the bandwidth.
• This means more bits can get inside the tunnel
• So MORE DATA CAN FLOW WITHIN A TIME
Time taken is Propagation delay: Time for one bit to move through the link
(seconds)
• Depends on
• Hardware
• Distance between Propagation
machines Delay
Bandwidth-delay product (BDP)
Number of bits “in flight” at any point of time (bits)
• Bits sent, but not received
Propagation
• Same city over a slow link Delay
• Bandwidth: ~100Mbps
• propagation delay: ~0.1ms
• BDP = 10,000 bits (1.25KBytes)
• Between cities over fast link:
• Bandwidth: ~10Gbps
• propagation delay: ~10ms
• BDP = 100,000,000 bits (12.5MBytes)
Access network means Bandwidth is
A. The communication links A. The number of bits sent per unit time
B. The routers and switches B. Size of the data generated
C. A
D. B
E. Neither of them
Gmail was launched by Google on April 1, 2004, which led many to believe it was an April Fool’s joke. Before this service
the term ‘G-mail’ already existed from as early as 1998. This was used online by fans of a certain fictional obese cat, and
the original G-mail was known as “e-mail with cattitude”. What does the G stand for in the original G-mail?
Garfield
When Page and Brin built the first server rack for Google at Stanford, they were looking for a cabinet to house it that
was easy to assemble and disassemble. The server contained ten 4GB hard disks and two cooling fans. What colourful
and bountifully found system did they use to build the server stack?
Lego bricks
Vincent Cerf
Why study computer networks?
#1: Has transformed and more importantly, is transforming
everything!
• Industry: core to and creator of many large and influential companies
• Google, Facebook, Apple, Cisco, Juniper, Akamai
• Communication
• Email, messenger, phones, VoIP, …
• Travel
• AirBnB, Uber, Maps, …
• Health
• Digital health, remote diagnostics, ….
• Entertainment
• Netflix, Prime
• Relationships
• Facebook, Instagram, Snapchat, the list is endless…
Why study computer networks?
#2: To learn how to design for scale!
• Tremendous scale
• 51% of world population
• 1.24 trillion unique web pages
• Every second, approximately
• > 2 million emails
• > 40000 Google search queries
• > 6000 Tweets
• Goods:
• Easier to handle failures
• No resource underutilization
• A source can send more if others don’t use resources
• No blocked connection problem
• No per-connection state
• No set-up cost
• Not-so-goods:
• Unpredictable performance
• High latency
• Packet header overhead
Recap: Deep dive into one link: packet delay/latency