Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
b) Client does not have a fixed port number unlike server because client need to
contact the server first before it can receive the data from the server. Only t
hen server can have client port number to send the data to the client.
5. AUTHORITATIVE SERVER
a master/slave server for a particular domain that has been configured by an adm
inistrator with the hostname information for that domain. Information about thes
e servers is added to the root servers when the domain is registered.
LOCAL
a local name server that only caches information for local clients once it has b
een retrieved from an authoritative name server. The local server can effectivel
y speed up name queries for the local network by serving up names found by prior
queries, preventing a request to the authoritative server for that host's domai
n.
6 a)
b) 1. The server disconnects before the the request has been sent
2. The request is sent, but no response is received because the server has disco
nnected
c)Request and Response Multiplexing
The ability to break down an HTTP message into independent frames, interleave th
em, and then reassemble them on the other end is the single most important enhan
cement of HTTP/2. In fact, it introduces a ripple effect of numerous performance
benefits across the entire stack of all web technologies, enabling us to:
-Interleave multiple requests in parallel without blocking on any one
-Interleave multiple responses in parallel without blocking on any one
-Use a single connection to deliver multiple requests and responses in parallel
-Remove unnecessary HTTP/1.x workarounds (see Optimizing for HTTP/1.x ), such as co
ncatenated files, image sprites, and domain sharding
-Deliver lower page load times by eliminating unnecessary latency and improving
utilization of available network capacity
The new binary framing layer in HTTP/2 resolves the head-of-line blocking proble
m found in HTTP/1.x and eliminates the need for multiple connections to enable p
arallel processing and delivery of requests and responses. As a result, this mak
es our applications faster, simpler, and cheaper to deploy.
STREAM PRIORITIZATION
the HTTP/2 standard allows each stream to have an associated weight and dependen
cy:
-Each stream may be assigned an integer weight between 1 and 256
-Each stream may be given an explicit dependency on another stream
The combination of stream dependencies and weights allows the client to construc