Lesson 12 - Applications (CDNs and Overlay Networks) Flashcards

1
Q

What are the major challenges that Internet applications face?

A
  1. peering point congestion - No motivation to improve expensive peering points between networks. Which causes lag between these peering points.
  2. Inefficient routing protocols (BGP suffers against not accounting for congestion control and malicious activities)
  3. Unreliable networks - physical and software outages
  4. Inefficient communication protocols (TCP)
  5. Scalability
  6. Application limitations
  7. Slow rate of change adoption.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the major shifts that have impacted the evolution of the Internet ecosystem?

A
  1. Development and growth of CDNs

2. topological flattening due to use of IXPs

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

Explain “Enter deep” approach of CDN server placement.

A

With this philosophy, the CDNs place many smaller server clusters “deep” into the access networks around the world.

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

Explain “Bring home” approach of CDN server placement.

A

With this philosophy, CDNs place fewer larger server clusters at key points (typically in IXPs, not in access networks), “bringing the ISPs home.”

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

What are the 2 main steps in CDN server selection?

A
  1. mapping the client to a cluster.

2. select a server in the cluster.

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

What is the simplest approach to select a cluster? What are the limitations of this approach?

A

pick the geographically closest cluster.

really picks the cluster closest to the LDNS
may not be best end-to-end connection.
network conditions are dynamic

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

There is a second approach to select a cluster, which is based on measurements. What are those measurements and how to obtain them?

A

Active: LDNS pings clusters
Passive: LDNS monitors network traffic for each subnet.

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

Explain the proposed distributed system that uses a 2-layered system. What are the challenges of this system?

A
  1. coarse-grained global layer with large time scale
  2. fine-grained per-client decision layer that operates at the millisecond timescale. (more up-to-date)

downside: needs to have data for different subnet-cluster pairs. some of the clients deliberately need to be routed to sub-optimal clusters.

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

What are the strategies for server selection? What are the limitations of these strategies?

A

assign random server - random server may be overloaded
assign least loaded sever - server may not have requested content cached. Results in Unnecessary requests for content.
assign a server with the content requested - if server fails all content tables need to be recalculated.

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

What is consistent hashing? How does it work?

A

consistent hashing is a distributed hash table. The goal is to balance load, by assigning roughly the same number of content IDs, and requires relatively little movement of these content IDs when nodes join and leave the system.

How it works:
servers and the content objects are mapped to the same ID space such that each server has one backup neighbor (like a one-way circle). Content objects are assigned to servers. If a server leaves the ID space, its content is assigned to its neighbor.

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

What are the main steps that a host takes to use DNS?

A
  1. The user runs the client side of the DNS application.
  2. The browser extracts the hostname and passes it to client side of the DNS application.
  3. DNS Client sends a query containing the hostname
  4. DNS Client receives a reply with the IP address.
  5. host initiates a TCP connection to the HTTP server using the ip address.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the services offered by DNS, apart from hostname resolution?

A
  1. Mail server/Host aliasing:

2. Load distribution

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

What is the structure of DNS hierarchy?

A

Root DNS servers -> Top Level Domain (TLD) Servers -> Authoritative servers -> Local DNS serves.

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

Explain the interaction of the various DNS servers.

A

Please suggest answer.

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

What is the difference between iterative and recursive DNS queries?

A

In an iterative query, Host A is notified by Host B that Host C has the DNS record. Then Host A queries Host C.

In a recursive query, Host B queries Host C and replies to Host A with the result.

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

What is DNS caching?

A

after a server receives the DNS reply of mapping from any host to IP address, it stores this information in the Cache memory

17
Q

What are the most common types of DNS records?

A

A-record - resolves host to IP address
NS-record - resolves host to name server that can determine IP address
CNAME - resolves a Canonical Name to the host name such as www.example.com to example.com
MX record - resolves a host name to a mail exchange server google.com -> aspmx.1.google.com

18
Q

What is IP anycast?

A

Much like domain hijacking, IP anycast assigns the same IP address to multiple servers belonging to different clusters. BGP routing selects the closest servers.

DNS servers use this strategy to allow lookups from the nearest location.

19
Q

What are the pros and cons of using HTTP redirection for load balancing?

A

+ aids in load balancing without centralized management.

- increases RTT to get content.

20
Q

List drawbacks of a single host webserver.

A
going to the movies alone
doing anything alone
impossible to tango
...
but mostly it's pretty great.
21
Q

What is the major challenge of the “Enter Deep” CDN placement technique?

A

much more difficult to manage and maintain so many clusters.

22
Q

What is the major challenge of the “Bring it home” CDN placement technique?

A

users will experience higher delay and lower throughput.

23
Q

Why does DNS use a hierarchical scheme?

A

One server would be slow given the traffic and geography of the internet and be a single point failure.

24
Q

What are 3 network protocols used for server selection?

A
  • DNS
  • HTTP redirection
  • IP anycast