S18. What are CDNs, why are they needed, and what are common examples? Flashcards

1
Q

What are CDNs?

A

CDNs, or content delivery networks, are distributed networks of servers strategically positioned across geographic locations to be able to serve content end-users more efficiently.

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

How do CDNs work?

A

CDNs work by caching and distributing content closer to users, reducing latency, improving website performance, and offloading traffic from origin servers. When a user requests content, the CDN delivers it from the nearest cache server rather than the origin server.

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

Why are CDNs needed?

A

CDNs are needed to address the challenges posed by the increasing demand for web content from an ever-growing global population of Internet users. As Internet traffic grows, websites face performance issues such as slow loading times and high latency, particularly for users located far from the origin server.

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

How do CDNs solve the issue of high latency for uses located far from the origin server?

A

CDNs solve these issues by caching copies of web content on servers located closer to end-users, reducing the distance data must travel.

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

How does CDN balance server load?

A

For example, if a popular video, that may be requested by millions of users in a day, is cached in multiple locations worldwide, users can access it from the nearest CDN server instead of overwhelming the origin server. CDNs also have load balancing algorithms to distribute traffic across multiple servers, preventing any single server from becoming a bottleneck

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

How do CDNs prevent bandwidth bottlenecks?

A

The distribution of traffic by CDNs reduces the strain on network infrastructure and helps manage bandwidth more efficiently. For websites and services with heavy multimedia content, such as streaming platforms, CDNs are essential in preventing bandwidth bottlenecks and ensuring smooth playback.

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

How do CDNs ensure content availability?

A

If one CDN server fails, requests are automatically redirected to another server with a cached copy of the content. This helps maintain high availability and reliability, ensuring that users can access content without interruption.

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

How do CDNs provide security?

A

CDNs provide an additional layer of security against Distributed Denial of Service (DDoS) attacks. During a DDoS attack, malicious actors flood a website with excessive traffic, attempting to overwhelm the server. CDNs can detect and filter out malicious traffic before it reaches the origin server.

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

What are examples of CDNs?

A

One of the most widely used CDNs is Akamai, with servers located in over 135 countries, providing content from various industries, such as media, e-commerce, and finance. Other examples of CDNs include Cloudflare and Amazon CloudFront.

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