









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A comprehensive overview of web and http protocols, covering key concepts such as http request and response messages, persistent and non-persistent connections, web caching, and the role of dns. It also delves into the workings of smtp, explaining its three phases and how it differs from http. Well-structured and uses clear language, making it suitable for students and professionals seeking to understand the fundamentals of web communication.
Typology: Study notes
1 / 17
This page cannot be seen from the preview
Don't miss anything!
and HTTP
each webpage
consists
a
number
objects
baseobject is
typically an
HTML
and then
each
embedes
are
several
referenced objects
ex
another HTML
Css
eachobject
is
addressed
by
a
Tame
HTTP
hypertext
transfer
protocol
web's application
layer
protocol
in
clientserver
model
clientbrowser
that
requstsreceives objects
using
HTTPprotocols
and
displays web
objects HTMLinterpreter's
job
to
display
server
sends back the response objectusing
HTTPprotocol
HTTP
usesTCPclient
initiates
a
connection
using
default
port
server
then accepts the
connection
andthenclient begins to
send HTTP request server
thensends back
an
HTTPresponse
then
thtltionthioses
Non persistent HTTP sending
one
object
per
connection and
close
connection
download
multipleobjects u
need
to
create multiple
connections
Persistent HTTP
reusingthe
connection
thatwas
started
to
send multiple
objects
until
tonethencloses then
closes
Non persistent HTTP
hostname path
filename
soooooooo
times
MATT
thetime for
a smallpacket request
msg
from client to
server
and
back as a response
msg
entens delay w
otransmoon
RTT
one
to
initiate
connection
one
RTT
HTTP request
HTTP
object
file
transmission
time
accepthorn
non
file
transmission
Has
take
transmission time
Persistent
RTT
server
leaves
connection
open
done requesting 8
receiving
persistentresponsetime
2
transmission time
for
w 10 images
connection RTT
requests
transmission
times
vs
response message
response
codes
resirecting
Not
inserver anymore
Web
cashes
help
reduce
of
requesting
by
them
in
its
keeps
in
is in
cashe
the object to
o
requests
the
from server then
gives
to
client
preserver
web cashing
response time
retures
delay
8
traffic
like
server
Cashe
example
My
La
097
reteap
asa
E mail
8 SMTP
components
software
running
onthe
machine
users ex
Outlook
allow us
write
edit
read
emails
actual
emails
stored
on the
servers
useragent
servers the
software
running
on
machines
fromusers
mailbox contains
users
incomingmags
message queue
outgoing
msgs
are
stored theretemporarly waiting
andaccept
emails
SMTP simple mail
transferprotocol allows
communicate
one
state
sending mail
server
server receiving
mail server
SMTP uses
reliably
transfer
msys
cuzthey're
mostly
texts
to
server on
25
sending
server acts like
recur server
three
phases
handshaking
SMTPtransfer
messages
SMTPclosure
msg
are
js
comments
response
like
commands
texts response in
status code
8
phrase
S
SMTP
always on
Sample
Water
bobschool.edu
sender
www.f
I'm
readyto
send data
data
immtstora
unsay
closing
DNS
name
DNS
like
a phone
book
it has
machine webs names 8
corresponding
addresses
IP
addresses
are for
computers
understand
for usto
understand
DNS
is
used
to
identify
name
8 IP so
we
both
understand
distributed
database
implemented
in a
hierarchy of
many
name
servers
layer
protocol
hosts DNSservers
communicate
resolve names
address
name
translation
core
routers
so
canchangeez
DNS
services
name
IP
address translation
host
aliasing
some
host names rstill long
canonical
so
wemake a
simplecute aliasname
mailserver
aliasing
load
distribution
Hierarchical database
ex
when
a
is sent
to it's
if
translation
out of
date
forwards
into
hierarchy
for
resolution
iterated
query
Edema
fintifthanam
recursive
query
a
burden
on
load at
upper
YNYMMMMM
apass ittowin
Transport
Layer
services provide a
logical
communication channel between two processes running on
hosts
end systems
senderside breaks
application
msys
smaller
parts
adds
a
header toeach
making
them
into
segments
receiversidetakes segmentsfrom
network
layer
reassembles these segments back
theoriginal message 8 gets
passed
to
application
layer
that
breaking ofthe
segments 8 passing
them and
reassembling them
are
implemented
using
and
Transport
workscloselywith
application
layer
8
network
layer
they
establish
logical
communictions between
processes
relies on underlying
network
layer
services
ex a
processsenting
another
does
process
knowwhich
way
to
pass
it
down
network
layer's
Network
Tiger
protocols
provide
communication between hosts enables sending
segments
thru
internet and reaching
other
destination
Ttm
does
reliable
order delivery the
packets
willbe
controlled
theres congestion then
contro
sending of
packets
by
slowing
down
flow
control helps not
overwhelm
the
receiver
sidebuffer
its
a
connection
oriented service
that
takes
some
time
Wtpprt
unreliable
unordered
delivery
both neither
them
has
full
delay
guarantee or security garantee or
bandwidth
guarantee
Multiplexing De multiplexing sending out
packets
who
it belongs
sents it out
to
other
receives
the
packets
application
layers
figures
out
whothey
belong
toto
hand
out
needs ports
to
Mentry
transport
demultiplexing
complex
so
receives
datagram
a
source
address
destination
address
datagram carries one transport
layer
segment
each
segment
has a
destination
port
s
network
taperinfo
transport
layer
segment
Connection
demultiplexing
by
a
TCP
connection
the
socket is
identified
by
source
IP
address
source
port
test IP
address
test
port
uses
all
of
these
to direct the segment
appropriate
socket
server
supports
sockets
associated
with a
connecting
by
it's own 4 tuple
server
client client
Tophat
qs
2
requests 200 client
f
3
server
file
1sec cache
cache
012sec
TCP
connection
in cache 0,
Steache
client
cache
200
0.1 0.
RTT
8 back
24sec
Ioe
TCP
connection
3sec
cache
server 8 bark
cache
Groveton
200
TT
Et
20013
Tt
seconds