How Cloud CDN Works

TechOps Examples

Hey — It's Govardhana MK 👋

Welcome to another technical edition.

Every Tuesday – You’ll receive a free edition with a byte-size use case, remote job opportunities, top news, tools, and articles.

Every Thursday and Saturday – You’ll receive a special edition with a deep dive use case, remote job opportunities, and articles.

👋 Before we begin... a big thank you to today's sponsor OPENOPS

Check out OpenOps — a no-code FinOps automation platform that helps FinOps and DevOps teams reduce cloud costs and streamline financial operations.

Enjoy customizable workflows that automate FinOps processes, including cost optimization, budgeting, forecasting, allocation, and tagging.

OpenOps integrates with AWS, Azure, and GCP, third-party FinOps visibility tools, collaboration platforms, telemetry systems, and databases.

The best part? The Community edition of OpenOps is free and open source.

📖 Access a curated library of workflow templates

🤖 Bring your own AI to generate CLI commands and SQL queries

🔥 Help shape the roadmap by collaborating with the team

Join OpenOps in building the future of FinOps automation.

👀 Remote Jobs

📚️ Resources

Looking to promote your company, product, service, or event to 47,000+ Cloud Native Professionals? Let's work together. Advertise With Us

🧠 DEEP DIVE USE CASE

How Cloud CDN Works

If you are using Netflix, Hotstar, or any OTT platform and the video starts instantly without buffering, you're already experiencing the power of a CDN at work.

A Content Delivery Network is a globally distributed system that helps deliver web content to users from the nearest possible location. It reduces load times, cuts latency, and improves performance.

At the heart of a CDN setup, there are two key components:

Origin:
This is where your main content lives. It could be a web server, a storage bucket like Amazon S3, or any backend system holding your files, APIs, images, or videos. The origin is the single source of truth for all your content.

Edge Locations:
These are geographically distributed servers that cache and serve content closer to the end users. When a user in London or Mumbai requests a file, instead of reaching all the way to the origin server in the US, the request is handled by the nearest edge location.

Here’s how it flows in real world usage:

  • User requests go to the nearest edge location.

  • If cached, content is served instantly.

  • If not, it's fetched from the origin, cached, and delivered.

  • Future requests from that region get it directly from the edge.

This setup not only speeds up delivery but also reduces the strain on the origin, saves bandwidth, and improves reliability during traffic spikes. Let’s say AWS for instance. It offers CloudFront as its CDN service, which improves performance by using edge locations to cache and serve content.

When a client sends a request, CloudFront checks the edge cache using the full HTTP request details. This includes the request path, query strings like ?quality=1080p, and headers such as User-Agent, Host, and Accept-Encoding.

These define the cache key. If there's no match, the CDN forwards the request to the origin, caches the response, and serves it. This speeds up delivery, adapts to device needs, and reduces origin load.

Routing policies then decide which origin to reach based on geography, latency, health, or traffic split.

Here are six routing policies you’ll often see in production:

  1. Simple Routing

  2. Weighted Routing

  3. Failover Routing

  4. Latency Based Routing

  5. Geolocation Routing

  6. Geoproximity Routing

I am giving away 50% OFF on all annual plans of membership offerings for a limited time.

A membership will unlock access to read these deep dive editions on Thursdays and Saturdays.

Get twice the value at half the price.

1. Simple Routing

Upgrade to Paid to read the rest.

Become a paying subscriber to get access to this post and other subscriber-only content.

Already a paying subscriber? Sign In.

Paid subscriptions get you:

  • • Access to archieve of 170+ use cases
  • • Deep Dive use case editions (Thursdays and Saturdays)
  • • Access to Private Discord Community
  • • Invitations to monthly Zoom calls for use case discussions and industry leaders meetups
  • • Quarterly 1:1 'Ask Me Anything' power session