Week 13 Flashcards

(16 cards)

1
Q

Non-Persistent HTTP

A

One TCP request per file (vs multiple files per connection). In modern day, we use multiple files per connection, even when reloading a webpage, because this reduces overhead over the short term. This explains why I didn’t see a new SYN, SYN ACK, ACK.

Non persistent takes 2RTT per resource
Persistent takes 1RTT + 1RTT(NUM_RESOURCES)

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

RTT

A

Round Trip Time

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

Pipelining

A

Sending multiple requests and receiving multiple resources at once. Works over persistent and non-persistent HTTP and requires the base HTML to get started.

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

HTTP 1.0

A

GET, POST, and HEAD (testing if server exists)

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

HTTP 1.1

A

GET, POST, HEAD, PUT (upload files), DELETE (delete files)

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

200

A

OK

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

301

A

Moved

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

400

A

Bad request

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

404

A

Not found

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

505

A

Unsupported HTTP version

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

Parts of working with cookies

A
  1. Cookie Header line in HTTP response
  2. Cookie Header line in HTTP request
  3. Cookie files on user’s filesystem
  4. Backend database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Uses of Cookies

A
  1. Memorize user state
  2. Server can learn about a user
  3. Targeted adds
  4. Sell data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Web Caching Proxy

A

Original request is sent to a closer proxy server instead of the original base server. Checks to see if it has the cache of the object to see if it doesn’t need to access the original. Uncashed requests are forwarded to the original server.

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

Nodal Delay

A

Processing, queueing, transmission, and propogation

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

CDN

A

Geographically distributed cache
Main shared CDNS are akami and limelight.

Dedicated CDNS are Google and Microsoft as examples

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

Web Cacheing problems

A

Stale data - severing an old version
Cache invalidation - marking data as old
Cache coherence - different versions served
Cache warming - initial cache must be started up
Cache eviction - removing unpopular content
Cache DOS - denial of service on a cache server.