1.5 Content Delivery Network Flashcards

1
Q

What is a content delivery network (CDN)?

A

A globally distributed network of proxy servers, serving content from locations closer to the user.

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

What types of content are generally served from CDNs?

A
  • HTML/CSS/JS
  • Photos
  • Videos
  • Dynamic content (in some cases)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does serving content from CDNs improve performance?

A
  • Users receive content from data centers close to them
  • Your servers do not have to serve requests that the CDN fulfills
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a push CDN?

A

A CDN that receives new content whenever changes occur on your server, requiring you to upload content directly.

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

When is a push CDN most effective?

A

For sites with a small amount of traffic or content that isn’t often updated.

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

What is a pull CDN?

A

A CDN that grabs new content from your server when the first user requests it, caching it afterward.

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

What determines how long content is cached in a pull CDN?

A

A time-to-live (TTL) setting.

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

What are some disadvantages of using a CDN?

A
  • Significant costs depending on traffic
  • Content might be stale if updated before TTL expires
  • Requires changing URLs for static content
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the primary goal of CDNs?

A

To provide high availability and performance by distributing services spatially relative to end users.

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

What are some notable content delivery service providers?

A
  • Akamai Technologies
  • Edgio
  • Cloudflare
  • Amazon CloudFront
  • Fastly
  • Google Cloud CDN
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the role of CDN nodes?

A

To reduce bandwidth costs, improve page load times, and increase global content availability.

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

How do CDNs optimize content delivery?

A

By directing requests to optimal nodes based on performance and cost.

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

True or False: CDNs can serve both static and dynamic content.

A

True.

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

What is server-load balancing?

A

A method to share traffic among multiple servers or web caches to improve scalability and reliability.

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

What does request routing in CDNs do?

A

Directs client requests to the content source best able to serve the request.

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

What is the Internet Content Adaptation Protocol (ICAP)?

A

A protocol developed to provide an open standard for connecting application servers.

17
Q

What is a peer-to-peer (P2P) content delivery network?

A

A network where clients provide resources as well as use them.

18
Q

What is a private CDN?

A

A CDN created by content owners to serve their own content, consisting of PoPs only for their use.

19
Q

What advantages do telco CDNs have over traditional CDNs?

A
  • Own the last mile
  • Deliver content closer to the end-user
  • Built-in cost advantage
  • Better control over resource utilization
20
Q

What is the Open Caching specification?

A

Defines a set of APIs allowing a Content Provider to deliver content using several CDNs consistently.

21
Q

What is EDNS0 and how does it improve CDN performance?

A

An extension that allows CDNs to utilize the requesting client’s subnet IP address, reducing round-trip latencies.

22
Q

What are virtual CDNs (vCDNs)?

A

CDNs that use virtualization technologies to reduce costs, increase elasticity, and decrease service delay.

23
Q

What is the purpose of EDNS0 in DNS?

A

To optimize trip latencies and improve performance for clients using public DNS or non-local resolvers.

EDNS0 has drawbacks including decreased caching effectiveness, increased DNS resolution traffic, and privacy concerns.

24
Q

What does vCDN stand for?

A

Virtual Content Delivery Network.

vCDNs use virtualization technologies to reduce costs, increase elasticity, and decrease service delay.

25
Q

How does a vCDN improve service delivery?

A

By deploying virtual caches dynamically based on content type and server or end-user geographic location.

This approach helps to avoid traditional CDN limitations.

26
Q

What are Image CDNs designed to do?

A

Serve multiple versions of the same image through HTTP based on browser properties.

The goal is to serve high-quality images while preserving download speed.

27
Q

What are the three components generally supported by an Image CDN?

A
  • A Content Delivery Network for fast serving of images
  • Image manipulation and optimization
  • Device Detection

Device Detection involves analyzing User-Agent strings, HTTP Accept headers, or Client-Hints.

28
Q

What is the main difference between Pull CDNs and Push CDNs?

A

Pull CDNs cache content upon request, while Push CDNs require uploading all content beforehand.

Each has different benefits and costs associated with their usage.

29
Q

What are the benefits of using a Pull CDN?

A
  • Easier to configure
  • Seamless storage and updating of content
  • Lower maintenance required

Ideal for low traffic sites or those well-optimized with caching.

30
Q

What is a potential drawback of a Pull CDN?

A

Lack of control over cache duration, leading to delays in updates being reflected.

Changes might take up to 24 hours to propagate.

31
Q

What is a benefit of using a Push CDN?

A

Content is always available on CDN servers, reducing load times for large downloads.

More efficient for sites with videos or podcasts.

32
Q

When might a Push CDN strain your server?

A

When pushing frequent updates or if the server is underpowered for high traffic.

It requires more server resources to sync data with the CDN.

33
Q

What should you monitor after choosing a CDN type?

A

Usage over the first 1-3 months and loading times.

This helps determine which CDN type is best suited for your needs.