Let's build a CDN - Part 1 - podcast episode cover

Let's build a CDN - Part 1

May 27, 202424 minEp. 5
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

This started as a conversation between James A Rosen & Gerhard in August 2023. Several months later, it evolved into a few epic pairing sessions captured in these GitHub threads:

  1. thechangelog#480 (reply in thread)
  2. thechangelog#486

The last pairing session eventually lead to 🎧 Kaizen! Should we build a CDN? This is the follow-up to that. How far did we get in 1 hour?

LINKS

EPISODE CHAPTERS

  • (00:00) - Intro
  • (02:08) - The 5-hour CDN
  • (03:44) - Varnish container image
  • (05:00) - Varnish container image command
  • (06:31) - Local-friendly Varnish container image
  • (06:44) - Varnish command-line options
  • (08:30) - Varnish parameters
  • (09:45) - Experimenting with Varnish locally
  • (12:36) - Varnish purging
  • (15:22) - Backend fetch failed
  • (16:20) - Varnish debug mode & logs
  • (17:29) - Why can't we query the backend?
  • (21:08) - Why is the backend sick?
  • (22:49) - That's the problem!
For the best experience, listen in Metacast app for iOS or Android