Professional Documents
Culture Documents
Http - بروتوكول النقل
Http - بروتوكول النقل
Computer Networks
Topics:
Summer 2024
• Application Layer (Ch. 2)
Sayeed Ghani • Web & HTTP
Lecture 13 • Persistent vs Non-persistent HTTP
A1
Utilization
= fraction of used bandwidth
= throughput / Link bandwidth
Bottleneck
Throughput (A1-B1) 400 Mbps / 4
= Min (60, 100, 90) = 60 Mbps = 100 Mbps
HTML file
Lots of
images
1-6
An application-layer protocol defines:
▪ types of messages exchanged, open protocols:
• e.g., request, response ▪ defined in RFCs, everyone
▪ message syntax: has access to protocol
• what fields in messages & definition
how fields are delineated ▪ allows for interoperability
▪ message semantics ▪ e.g., HTTP, SMTP
• meaning of information in proprietary protocols:
fields
▪ e.g., Skype, Zoom
▪ rules for when and how
processes send & respond to
messages
Application Layer: 2-7
HTTP overview
HTTP: hypertext transfer protocol
▪ Web’s application-layer protocol
▪ client/server model: PC running
• client: browser that requests, Firefox browser
receives, (using HTTP protocol) and
“displays” Web objects
server running
• server: Web server sends (using Apache Web
HTTP protocol) objects in response server
to requests
iPhone running
Safari browser
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
1-10
UDP Packets
1-11
Introduction
TCP Connection
access access
4321 access
net net
net
access
access net
net
access
access net
net
global
access
net
ISP access
net
access
net
access
net
access
net
access
net
access access
net access
net
net 4321
1-12
TCP connection = All packets will travel over same route
HTTP connections: two types
Non-persistent HTTP
1. TCP connection opened
2. at most one object sent
over TCP connection
3. TCP connection closed
downloading multiple
objects required multiple
connections
time time
Non-persistent HTTP response time = 2RTT+ file transmission time
Application Layer: 2-16
Animation
https://media.pearsoncmg.com/ph/esm/ecs_kurose_compnetwork_8/cw/content/interactiveanimat
ions/http-delay-estimation/index.html
~
~ entity body ~
~ body