Skip to main content
The Changelog

Kaizen! Mop-up job (Friends)

107 min episode · 2 min read
·

Episode

107 min

Read time

2 min

AI-Generated Summary

Key Takeaways

  • Blue-Green Deployment Strategy: Always run new infrastructure alongside existing systems rather than in-place replacements. When Pipely's CDN instances crashed under full traffic load, reverting required only adding DNS records back, taking 10-15 minutes instead of hours of emergency fixes and preventing user-facing downtime during the migration.
  • Cache Performance Transformation: Homepage cache hit ratio jumped from 18.8% to 98.5%, feeds improved from 96.8% to 99.5%, and news pages went from 52.6% to 83% after switching CDNs. The homepage response time dropped from 259 milliseconds to 0.3 milliseconds at p50, representing an 863x speed improvement for majority of users.
  • Home Lab Benchmarking Infrastructure: Testing Pipely on 100 gigabit home network with Threadripper 9970X CPU achieved 225,000 requests per second serving homepage content and 2,200 requests per second for 13MB master feed files. Network throughput reached 80 gigabits per second before CPU became the bottleneck, validating production scalability assumptions.
  • CDN Cost-Benefit Analysis: Self-hosting CDN on Fly.io provides control over cache behavior and eliminates frustration with third-party limitations. Storage costs remain manageable for MP3 files, but video (MP4) distribution still makes sense on YouTube due to transcoding complexity, multiple codec requirements, and bandwidth expenses that incumbents absorb.
  • Analytics Pipeline Modernization: Current system duplicates request data across S3, Postgres, and Honeycomb with delayed processing via cron jobs. Proposed ClickHouse implementation would centralize all request events in columnar format, enable real-time analytics with materialized views, and eliminate background job complexity while maintaining S3 backup for long-term storage.

What It Covers

The Changelog team reviews their Pipely CDN launch at Denver, troubleshoots performance issues from under-provisioned instances, and analyzes dramatic improvements in cache hit ratios (70% to 89.5%) and response times (863x faster homepage loads) after migrating from Fastly to their self-hosted solution.

Key Questions Answered

  • Blue-Green Deployment Strategy: Always run new infrastructure alongside existing systems rather than in-place replacements. When Pipely's CDN instances crashed under full traffic load, reverting required only adding DNS records back, taking 10-15 minutes instead of hours of emergency fixes and preventing user-facing downtime during the migration.
  • Cache Performance Transformation: Homepage cache hit ratio jumped from 18.8% to 98.5%, feeds improved from 96.8% to 99.5%, and news pages went from 52.6% to 83% after switching CDNs. The homepage response time dropped from 259 milliseconds to 0.3 milliseconds at p50, representing an 863x speed improvement for majority of users.
  • Home Lab Benchmarking Infrastructure: Testing Pipely on 100 gigabit home network with Threadripper 9970X CPU achieved 225,000 requests per second serving homepage content and 2,200 requests per second for 13MB master feed files. Network throughput reached 80 gigabits per second before CPU became the bottleneck, validating production scalability assumptions.
  • CDN Cost-Benefit Analysis: Self-hosting CDN on Fly.io provides control over cache behavior and eliminates frustration with third-party limitations. Storage costs remain manageable for MP3 files, but video (MP4) distribution still makes sense on YouTube due to transcoding complexity, multiple codec requirements, and bandwidth expenses that incumbents absorb.
  • Analytics Pipeline Modernization: Current system duplicates request data across S3, Postgres, and Honeycomb with delayed processing via cron jobs. Proposed ClickHouse implementation would centralize all request events in columnar format, enable real-time analytics with materialized views, and eliminate background job complexity while maintaining S3 backup for long-term storage.

Notable Moment

After launching the new CDN on stage in Denver, the team went hiking and nearly walked into a rattlesnake while discussing technical details. The close encounter paralleled their production incident: both situations involved being engrossed in conversation while missing warning signs, though the CDN's memory crashes lacked the rattlesnake's helpful warning rattle.

Know someone who'd find this useful?

You just read a 3-minute summary of a 104-minute episode.

Get The Changelog summarized like this every Monday — plus up to 2 more podcasts, free.

Pick Your Podcasts — Free

Keep Reading

More from The Changelog

We summarize every new episode. Want them in your inbox?

Similar Episodes

Related episodes from other podcasts

This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.

You're clearly into The Changelog.

Every Monday, we deliver AI summaries of the latest episodes from The Changelog and 192+ other podcasts. Free for up to 3 shows.

Start My Monday Digest

No credit card · Unsubscribe anytime