Advanced Computer Networks: Lecture 2. This lecture will cover the following: multiplexing and statistical multiplexing; inter-process communication; IPC abstractions; abstract channel functionality; performance metrics; bandwidth versus latency; bandwidth requirements; protocol interfaces;...
Trang 1CS716 Advanced Computer Networks
By Dr. Amir Qayyum
Trang 2Lecture No. 2
Trang 5• An application needs to breakup its message in packets, and reassemble at the receiver
Trang 7• Turn hosttohost connectivity into processtoprocess
communication, making the communication meaningful.
• Fill gap between what applications expect and what the underlying technology provides.
Application
Host Application
Channel Abstraction for
applicationlevel communication
Trang 8• information retrieval
• Message stream
– video ondemand – video conferencing
Trang 131 second (a)
1 second (b)
1Mbps, 1µs/bit
2Mbps, 0.5µs/bit
Bandwidth related to “bit width”
Trang 15• Large data (file transfer) is bandwidth critical
• Small data (HTTP) is latency critical
Trang 17• Amount of data “in flight” or “in the pipe”
• This much data must be buffered before the sender responds to slowdown the request
Bandwidth
Delay
Trang 18• Latency (RTT) dominates instead of throughput
– Throughput = TransferSize / TransferTime
– TransferTime = RTT + 1/Bandwidth x TransferSize
Trang 19• Request/reply type applications may agree for as much bandwidth as is available
• Message stream type applications often require a certain bandwidth: not more not less
Trang 20• Established a comprehensive set of requirements for network design
• Networks evolve to accommodate changes in
underlying technologies and user demands
• However, hardware and user expectations are
moving targets …
Trang 22Application programs
Trang 23Application programs Request/reply
channel Message streamchannel
Trang 25Host 1 Host 2
Service interface
Peer-to-peer interface
Protocol Interfaces
High-level object
High-level
object
Protocol Protocol
Trang 26Digital library application
Video application
File application
Digital library application
Video application