8 - Content Distribution Flashcards
An internet wide tool that enables websites and network operators to deliver data quickly and efficiently
Content Distribution
HTTP (Hypertext Transfer Protocol)
An application layer protocol to transfer web content. Layered over a byte stream protocoal (almost always TCP)
Contents of HTTP request
*Requestline: Method-> GET, POST, HEAD
URL -> /index.html
version number
*Headers: Referrer-> what url caused the page to be requested
user agent -> client software being used to fetch the page
Which HTTP header field indicates client software making request
The user-agent field.
HTTP Response includes…
A Status line: HTTP Version
Response code
Location: used for redirection
Server: indicates server software
Allow: http methods allowed (get, head, etc)
Content-encoding: compressed or not
content-length: how long is content is in bytes
expires: how long can it be cached
last-modified: When was page last modified
Response codes
100 - informational 200 - success 300 - redirection 301 - moved permanently 304 - not modified response 400 - errors 404 - not found 500 - server errors
Early HTTP
Simple to implement but needed a TCP connection for every request. Solution? Persistent connections
Multiple request/response are multiplexed on a single TCP connection
Persistent Connections
A client sends a request as soon as it encounters a referenced object
Pipelining
Persistent connection with pipelining is the
default behavior in HTTP 1.1
Clients can cache documents in …
browser(local) in network (i.e. content distribution, networks)
Clients can be directed to a cache in multiple ways
1) Browser configuration
2) Server directed
Benefits of HTTP caching
1) Reduced transit costs for local ISP
2) Improved performance for local clients
What is a CDN (Content Distribution Networks)
#An Overlay network of web caches designed to deliver content to a client from the optimal location. *Geographically disperate servers
Who owns CDNs?
- Content providers
* Network/ISPs