Networking.com

CDN (content delivery network)

By Kinza Yasar

What is a CDN?

A CDN (content delivery network), also called a content distribution network, is a group of geographically distributed and interconnected servers. They provide cached internet content from a network location closest to a user to speed up its delivery.

The primary goal of a CDN is to improve web performance by reducing the time needed to send content and rich media to users. Today, CDNs serve the bulk of web traffic, including traffic from well-known websites such as Facebook, Netflix and Amazon.

Why is using a CDN important?

A content delivery network is crucial for providers and website owners because it makes it easier to transfer content -- such as images, videos and website files -- to numerous servers spread out around the globe. This enhances user experience, especially for users who are located far from the origin server. It also speeds up web page loading times while reducing the strain on the main server.

As the content is served from numerous servers, a CDN can help increase the security and dependability of a website, making it less susceptible to security attacks and downtime.

How does a CDN work?

The process of accessing content cache on a CDN network edge is almost always transparent to the user. CDN management software dynamically calculates which server is located nearest to the user, making the request and delivering content based on those calculations. CDN edge servers communicate with the content's origin server to deliver to the user cached content and new content that hasn't been cached.

Edge servers reduce the distance that content travels and the number of hops a data packet makes. The result is less packet loss, optimized bandwidth and faster performance. This minimizes timeouts, latency and jitter, and it also improves the user experience. In the event of an internet attack or outage, fresh content cached and hosted on a CDN server remains available to those users who are nearest to the edge locations until the time-to-live for the CDN server expires. For example, if a website server goes down, the website is still accessible to visitors if it was cached properly on different geographically dispersed servers.

Organizations buy services from CDN providers for routing content to users from the nearest geographic location. CDN providers either host the content themselves or pay network operators and internet service providers to host CDN servers.

CDN providers also use load balancing and solid-state drives to help data reach users faster. They reduce file size using compression and special algorithms, and deploy machine learning and artificial intelligence to enable faster load and transmission times.

How does CDN caching work?

The functionality of a CDN is mostly dependent on caching static content. The data is stored and cached by the CDN edge servers.

The following is an example of a typical CDN caching process:

  1. A web server in Chicago hosts static web content that a website visitor located in Washington, D.C., requests.
  2. Once the origin server in Chicago receives the request, it sends a response to the website visitor. Simultaneously, it delivers a copy of the response to the CDN point-of-presence (POP) that's geographically closest to the website visitor.
  3. The CDN POP stores its copy as a cached file.
  4. When the same visitor or another visitor in that location makes a similar request again, the caching server -- not the origin server -- delivers the response.

CDN vs. web host

Despite using similar technology, CDNs and web hosts have distinct purposes. The following are the main differences between the two:

What are the uses of a CDN?

The main use of a CDN is to deliver content through a network of servers in a secure and efficient way. These networks improve the content security, performance and availability. Other CDN use cases include collecting user analytics and tracking data on network traffic. CDNs serve a range of content, including websites, mobile applications, streaming media and downloadable objects. Social media and search engine traffic go through CDNs.

Content-owning organizations use CDN services to accelerate the delivery of static and dynamic content, online gaming, mobile content and streaming video, as well as other specialized services.

Some examples of how CDNs are used include the following:

What are the benefits of a CDN?

CDNs provide several advantages:

What are examples of CDN platforms?

There are many CDNs available, each offering a variety of features. Products include the following:

Some CDN providers, such as Cloudflare and Limelight, market their platforms as CDNs with added services, including DDoS or WAFs. Other providers, such as ArvanCloud, offer CDN services as part of several broader cloud services, such as cloud security and managed domain name system.

History of CDNs

CDNs are an integral part of modern internet architecture. They were born from a need to maintain efficient website performance and still serve that purpose today.

CDNs have evolved over the years and their evolution can be segmented into the following three generational types:

Static CDNs

Akamai launched the first static CDN in 1998. The company's techniques serve as the foundation of today's CDNs. First-generation CDNs focused mostly on static content, such as software downloads and audio and video streaming.

Static CDNs offered the following features:

Dynamic CDNs

As cloud and mobile computing gained traction, second-generation CDN services evolved. They enabled the efficient delivery of more complex dynamic multimedia and web content. As internet use grew, the number of CDN providers multiplied, along with the services they offered.

Dynamic CDNs offered the following features:

Multi-purpose CDNs

The third-generation or next-generation CDN uses multiple CDNs from various CDN providers. A vast network of POPs is used instead of just one, which further improves the speed of content delivery, expands to wider regional and global coverages, and eliminates cybersecurity risks and outages.

Multi-purpose CDNs come with the following features:

The target audience for multi-purpose CDNs includes anyone who owns a website.

Some CDN business models are based on usage-based pricing or the volume of content delivered. Others charge a flat rate for basic services or even provide them for free, with additional fees for performance and optimization services.

Learn more about the benefits of a CDN service and how to choose the best one for your business.

14 Apr 2023

All Rights Reserved, Copyright 2000 - 2024, TechTarget | Read our Privacy Statement