How CDNs lower the cost of being online

A Content Delivery Network (CDN) is a globally distributed network of servers that sits between a website and its visitors, caching content and filtering malicious traffic so the site loads faster and stays online under heavy or hostile traffic.

1. The internet’s asymmetry problem

The web is fundamentally asymmetric:

  • Attackers/bots can generate massive distributed traffic at low cost.
  • Origin servers are comparatively resource-constrained (CPU, RAM, disk I/O, DB connections, network uplink).
  • TCP/IP is globally addressable by design; your origin is reachable by anyone.

Without an intermediary layer, every HTTP request—legitimate or malicious—would terminate at the origin.

That does not scale in 2026.


2. CDNs as distributed shock absorbers

Modern CDNs such as Cloudflare, Akamai Technologies, and Fastly operate globally distributed edge networks. These networks perform three core functions that make today’s web survivable:

A. Edge caching (load displacement)

When static (and increasingly dynamic) content is cached at edge POPs:

  • Requests terminate at the nearest edge node.
  • The origin is only hit on cache miss.
  • Repeated traffic for the same asset never reaches the origin.

This changes load characteristics dramatically:

Without CDN:

N users → N origin hits

With CDN:

N users → 1 origin hit (warm) + N edge hits

For high-traffic events (product launches, viral content, breaking news), this difference is existential.


B. Bot and abuse filtration (traffic hygiene layer)

Today’s web traffic mix is often:

  • 30–60% automated
  • Scrapers
  • Credential stuffing
  • Enumeration attacks
  • Layer 7 floods
  • AI data harvesters
  • SEO gaming bots

If all of that traffic hit origin:

  • PHP workers exhaust
  • Database connections saturate
  • MySQL/MariaDB locks increase
  • File descriptors exhaust
  • Kernel socket tables fill
  • Uplinks saturate

CDNs provide:

  • Rate limiting
  • Behavioral analysis
  • IP reputation scoring
  • Bot fingerprinting
  • Challenge pages
  • WAF rule engines
  • TLS termination offload

This removes “noise” before it becomes origin load.

In effect, the CDN becomes a distributed firewall + traffic governor.


3. TLS and cryptographic offload

TLS handshakes are computationally expensive relative to serving cached content.

At scale:

  • RSA/ECDSA handshakes
  • OCSP stapling
  • Certificate management
  • Key rotation
  • HTTP/2 multiplexing

CDNs terminate TLS at edge and maintain optimized connections to origin (often persistent, keepalive, or private backbone).

Without that layer:

  • Small sites would burn CPU on handshakes.
  • Large sites would need enormous crypto capacity.

4. Network topology and latency physics

The public internet has:

  • Variable routing
  • Congested transit
  • Cross-ocean latency
  • BGP path volatility

CDNs solve this by:

  • Anycast IP routing
  • Massive global POP footprint
  • Private backbone interconnects
  • Peering with ISPs
  • Traffic engineering optimization

They effectively turn the public internet into a managed overlay network.

Without CDNs:

  • Latency variance increases.
  • Origin geography becomes critical.
  • Distant users experience poor performance.
  • Cross-region spikes concentrate load at one physical location.

5. Volumetric DDoS reality

Modern DDoS attacks regularly exceed terabit-per-second scale.

A typical shared hosting server or small VPS cannot absorb:

  • SYN floods
  • HTTP floods
  • Amplification attacks

CDNs distribute attack surface across:

  • Hundreds of data centers
  • Massive aggregate bandwidth capacity

A single origin server simply cannot do that.

Without CDNs, most small-to-medium websites would need:

  • Dedicated scrubbing providers
  • Hardware firewalls
  • Multi-homed BGP networks
  • Colocation contracts

That would dramatically increase cost of participation.


6. Application-layer gaming and SEO abuse

This is critical.

Modern bot mitigation handles:

  • Scraper farms
  • Automated ranking manipulation
  • Credential stuffing against forums
  • Content theft
  • AI dataset harvesting
  • API abuse

Without edge filtration:

  • Dynamic pages become expensive.
  • Database read/write amplification increases.
  • Spam and brute-force attempts rise dramatically.

The origin layer was never designed to police the entire planet directly.


7. Economic impact: barrier to entry

CDNs democratized infrastructure.

Before CDNs:

  • Only large enterprises could absorb traffic spikes.
  • News sites crashed regularly.
  • Viral traffic was lethal.

After CDNs:

  • A reseller-hosted site can handle global traffic.
  • Static content can scale nearly infinitely.
  • Security features are available at commodity pricing.

This keeps the open web economically viable.


8. Counterpoint: would the internet “not work”?

Strictly speaking, the internet would still function at the protocol level.

But:

  • Many sites would be chronically offline.
  • Smaller operators would be disproportionately vulnerable.
  • Attack surface would overwhelm typical hosting environments.
  • Costs would rise significantly.
  • Geographic performance would degrade.

In practice, the web ecosystem as we experience it—fast, globally accessible, and relatively resilient—depends heavily on CDN abstraction layers.


9. Architectural conclusion

CDNs now function as:

  • Distributed reverse proxies
  • Global cache hierarchies
  • DDoS shock absorbers
  • TLS termination farms
  • Bot filtration systems
  • Application firewalls
  • Traffic engineering overlays

They are no longer just “content delivery” networks.

They are effectively a mandatory control plane between the open internet and origin infrastructure.

Leave a Comment

Licensed under CC BY-NC 4.0

DevOps viewpoints are those of its owner. You may share and adapt this article for non-commercial purposes, provided proper attribution is given. Attribution should include:

Title: How CDNs lower the cost of being online
Author: peter arthur martin
Original URL: https://www.woodcentral.com/-/peter/how-cdns-lower-the-cost-of-being-online/
License: CC BY-NC 4.0

Site Index

👍 This page answered my questions

Your vote helps other woodworkers quickly find the answers and techniques that actually work in the shop.