Network Architecture, Bandwidth and Latency




CS158a

Chris Pollett

Feb. 1, 2023

Outline

OSI Architecture

Illustration of OSI Architecture

More on Layers of the OSI Model

Internet Architecture

Illustration of Network Architecture

Implementing Network Software

Sockets in Java

Server Code Snippets

Client Side Code Snippet

In-Class Exercise

Make a small Java program using Sockets that connects to port 80 of "www.cs.sjsu.edu". It then writes:

GET / HTTP/1.1
Host:www.cs.sjsu.edu

followed by two carriage return, linefeeds.

It listens for and receives and prints to the System.out, the first 100 characters received, before closing the connection.

Please post your solution to the Feb 1 In-Class Exercise Thread.

Process Model

Process Per Protocol versus Per Message

Message Buffers

Performance

Bandwidth and Latency

Three Components of Latency

So we could define total latency as:

Latency = Propagation + Transmit + Queue
Propagation = Distance/SpeedOfLight 
    (will be different if looking at general propagation delay)
Transmit = Size/Bandwidth

Perceived Latency

Delay × Bandwidth Product

High-Speed Networks

Application Performance Needs