8 Content Distribution Flashcards

1
Q

What is HTTP

A

HyperText Transfer Protocol
Request/Response
Layered over byte stream protocol (typically TCP)
Server is stateless

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

HTTP Response Headers

A
Location
Server
Allow
Content-encoding (compression)
Content length
Expires (cached)
Last modified
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Problem with early HTTP

A

One request/response per TCP connection

3-way handshake, slow start

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are persistent connections

A

multiple request/response on a single TCP connection
delimiters indicate the ends of requests
content-length

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is pipelining

A

client sends request as soon as it encounters referenced object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Two types of caching for clients

A

Browser config

Server directed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a CDN

A

content distribution network

  • overlay network of web caches
  • typically geographically disparate servers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Who owns CDNs

A

Content providers

Networks/ISPs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How to choose CDN/server replica?

A

server selection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How to direct clients?

A

content routing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Options for server selection

A
  • Lowest load
  • Lowest latency
  • Any alive server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Options for content routing

A
  • Routing (e.g. any cast) : + simple - coarse
  • Application-based (e.g. HTTP redirect): - delays
  • Naming-based (e.g. DNS): + fine grained controls + fast
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

CDNs and ISPs

A

symbiotic relationship

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Benefits of CDN with ISP

A

+ better throughput (lower latency)
+ redundancy
+ less burstiness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Benefits of ISP with CDN

A

+ good performance for customers

+ lower transit costs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a seeder

A

create initial copy

17
Q

What is a leecher

A

client without complete copy

18
Q

Solution to freeloading

A

“choking” (aka tit for tat)

temporary refusal to upload

19
Q

What is repeated prisoners dilemma

A

ensures cooperation among distrustful parties

20
Q

Strategy for BitTorrent clients chunks

A

Get rarest pieces first (from seeder) or random piece first

End-game: request missing pieces from all peers

21
Q

What is chord

A

scalable, distributed “lookup service” or distributed hashtable