1. Home
  2. Changelog

Oct 24, 2025

Custom CDN makes homepage 863x faster

Gerhard Lazu

101 min → 2:28

Overview

Gerhard and the hosts analyze the performance of their self-built CDN, examine system bottlenecks during benchmarking, and share their roadmap for fixing memory issues and overhauling analytics.

3 things to know

Lazu: Homepage loads 863 times faster for median user

Gerhard Lazu reports that raising the homepage cache hit rate from 18.8 percent to 98.5 percent made the page load 863 times faster for the median user.

▶ Watch at 45:17

Lazu: Custom content network raised cache hits to 89.5 percent

Gerhard Lazu reports that building their own custom content delivery network raised their overall cache hit rate from about 70 percent to 89.5 percent.

▶ Watch at 0:12

Lazu says 13 megabyte feed test maxed client processor

Gerhard Lazu says that while stress-testing a large 13 megabyte data feed, the slowdown came from the client computer's own processor rather than their server's Threadripper processor or network.

▶ Watch at 1:02:30

Also in this episode

Lazu plans to fix memory crashes and rebuild data tracking

Gerhard Lazu outlines upcoming work to fix ongoing out-of-memory crashes, improve system wiring, and rebuild their analytics pipeline, possibly using ClickHouse.

▶ Watch at 1:08:59

Gerhard Lazu says Loophole Labs moves live network connections

Gerhard Lazu says he started a new job at Loophole Labs, a company building tools that move memory, disk data, and active network connections live.

▶ Watch at 2:03

Jerod Santo notes Varnish Cache changed its name to Vinyl

Jerod Santo and Gerhard Lazu discuss the software powering their content delivery network, noting that the Varnish Cache project changed its name to Vinyl Cache.

▶ Watch at 32:13

Adam suggests using Jellyfin to host videos outside of YouTube

Adam suggests using tools like Jellyfin so the team can host and share their own video content without relying on platforms like YouTube.

▶ Watch at 1:18:56

Adam wants practical show and tell sessions at live events

Jerod Santo asks listeners where and when to hold the next Changelog Live event, while Adam suggests adding practical show and tell sessions to the format.

▶ Watch at 27:14

Quotes

“For 50% of the users, the homepage is 863 times quicker... That's nearly three orders of magnitude quicker.”

▶ Watch at 45:17

“We can definitely see that it is the CPU that seems to be the bottleneck, but the CPU on the client.”

▶ Watch at 1:02:30

“But the one thing that keeps coming up is out of memory crashes. They happen rarely, but they still happened.”

▶ Watch at 1:08:22

13 more quotes

“It has, yes. Yes, a new job that started in early September... September brought in that change. It was a good change.”

▶ Watch at 0:12

“It's kind of how life goes, right? It starts off slow and you're like 10 years old wishing you were an adult... and then you get there and you're like, 'Slow down, life!'”

▶ Watch at 1:31

“The new company is called Loophole Labs. They're focusing on infrastructure primitives... some really interesting things that revolve around live migration.”

▶ Watch at 2:03

“You might need like a 100 gigabit homelab to do that.”

▶ Watch at 2:41

“October 16th, 2025. Kaizen 21: The Mop-up Job.”

▶ Watch at 6:05

“comment, let us know where should we go, when should we do it and what should it look like? What would you like to be a part of?”

▶ Watch at 27:14

“I wouldn't mind having like, uh, some trusted, not like demos, but like some, some show and tell... I think there's a lot of like pontification from the stage. I'd love to have some show and tell type stuff.”

▶ Watch at 27:44

“You keep saying Varnish, don't you mean Vinyl?”

▶ Watch at 32:13

“And it's in our hands now. We can actually affect it, which is... before, it was just like, we could only complain. Now we can actually do stuff.”

▶ Watch at 36:34

“Oh my gosh... I didn't understand that.”

▶ Watch at 38:35

“Remember the logs are events, are metrics... I'd really like to sort out that pipeline.”

▶ Watch at 1:08:59

“Jellyfin?”

▶ Watch at 1:18:56

“Yes! I thought it was there! Yes! Oh, I'm so happy!”

▶ Watch at 1:39:48

Full summary

Episode Overview

  • The hosts catch up on personal and professional updates, including Gerhard's new role at Loophole Labs, which focuses on advanced infrastructure like live connection migration.
  • Gerhard presents a deep-dive performance analysis of "Pipedream," their self-built CDN, showcasing dramatic improvements in cache hit rates and page load times since its implementation.
  • The team benchmarks the system's limits, discovering that the bottleneck is not their server but the client machine running the test, highlighting the nuances of performance measurement.
  • The conversation concludes with a roadmap for future work, including fixing memory issues, overhauling their analytics pipeline, and exploring self-hosted video distribution.

Key Concepts

  • Personal Updates: The episode begins with Gerhard discussing his new job at Loophole Labs, a company building infrastructure primitives for live migration of memory, disk, and active network connections.
  • Pipedream CDN Performance: A detailed review of their custom CDN's performance shows a significant increase in the overall cache hit rate from ~70% to 89.5%.
  • Homepage Optimization: The most drastic improvement was on the homepage, where the cache hit rate jumped from a low 18.8% to 98.5%, resulting in an 863x speed increase for the median user.
  • Performance Bottleneck Identification: While stress-testing with a large 13 MB data feed, the team discovered the performance limitation was the client-side CPU, not their server's Threadripper CPU or network infrastructure.
  • Varnish/Vinyl Cache: The hosts discuss the technology behind their CDN, noting the name change of Varnish Cache to Vinyl Cache.
  • Future Infrastructure Plans: Upcoming projects include fixing persistent out-of-memory crashes, improving system wiring, and overhauling the analytics pipeline, potentially using ClickHouse.
  • Event Planning: The hosts solicit audience feedback on the location, timing, and format for the next Changelog Live event, considering adding more practical "show and tell" sessions.
  • Self-Hosting Media: The group briefly discusses using tools like Jellyfin to self-host and distribute their video content independently of platforms like YouTube.

Quotes

  • At 0:12 - "It has, yes. Yes, a new job that started in early September... September brought in that change. It was a good change." - Gerhard Lazu confirms a major life update, detailing that he has started a new job since the last time the group met.
  • At 1:31 - "It's kind of how life goes, right? It starts off slow and you're like 10 years old wishing you were an adult... and then you get there and you're like, 'Slow down, life!'" - Jerod Santo reflects on the changing perception of time as one gets older.
  • At 2:03 - "The new company is called Loophole Labs. They're focusing on infrastructure primitives... some really interesting things that revolve around live migration." - Gerhard introduces his new employer and explains the company's highly technical focus.
  • At 2:41 - "You might need like a 100 gigabit homelab to do that." - Jerod Santo humorously connects Gerhard's new job and its technical demands to his well-known homelab hobby.
  • At 6:05 - "October 16th, 2025. Kaizen 21: The Mop-up Job." - Gerhard introduces the title slide for his presentation, officially kicking off the main topic of their Kaizen session.
  • At 27:14 - "comment, let us know where should we go, when should we do it and what should it look like? What would you like to be a part of?" - Jerod asks the audience for feedback on the next Changelog Live event.
  • At 27:44 - "I wouldn't mind having like, uh, some trusted, not like demos, but like some, some show and tell... I think there's a lot of like pontification from the stage. I'd love to have some show and tell type stuff." - Adam suggests adding more practical demonstrations to future live events.
  • At 32:13 - "You keep saying Varnish, don't you mean Vinyl?" - Jerod jokingly corrects Gerhard, leading to a discussion about the Varnish Cache project being renamed.
  • At 36:34 - "And it's in our hands now. We can actually affect it, which is... before, it was just like, we could only complain. Now we can actually do stuff." - Jerod highlights the benefit of running their own CDN, giving them direct control over performance optimization.
  • At 38:35 - "Oh my gosh... I didn't understand that." - Jerod expresses his shock upon learning that their homepage previously had only an 18.8% cache hit ratio.
  • At 45:17 - "For 50% of the users, the homepage is 863 times quicker... That's nearly three orders of magnitude quicker." - Gerhard quantifies the dramatic speed improvement of the website's homepage after the CDN migration.
  • At 62:30 - "We can definitely see that it is the CPU that seems to be the bottleneck, but the CPU on the client." - Gerhard explains that the benchmarking tool itself is hitting its CPU limit, not the server being tested.
  • At 68:22 - "But the one thing that keeps coming up is out of memory crashes. They happen rarely, but they still happened." - Gerhard identifies a persistent issue with their setup that he wants to investigate and fix.
  • At 68:59 - "Remember the logs are events, are metrics... I'd really like to sort out that pipeline." - Gerhard outlines his plan to refactor their analytics pipeline, potentially using ClickHouse.
  • At 78:56 - "Jellyfin?" - Adam suggests Jellyfin as a self-hosted media server solution for distributing their video content.
  • At 99:48 - "Yes! I thought it was there! Yes! Oh, I'm so happy!" - Gerhard expresses his joy upon seeing that Jerod is wearing the hat he thought he had lost.

Takeaways

  • Audit critical user paths for unexpected performance issues; even well-maintained sites can have severe, overlooked bottlenecks on key pages like the homepage.
  • When benchmarking, be mindful that the testing tool or client machine can become the bottleneck, masking the true performance capabilities of the server.
  • Running your own infrastructure provides ultimate control for performance tuning, enabling optimizations that are impossible with third-party services.
  • Prioritize fixing rare but persistent problems, such as out-of-memory crashes, as they can compromise long-term system stability.
  • Unify logs and metrics into a single, efficient analytics pipeline to simplify architecture and gain clearer, more holistic insights into system behavior.
  • For analytics to be useful, they must be timely; a system with a slow update cycle is less valuable for real-time decision-making.
  • Targeting optimization efforts on high-impact areas, such as caching for a site's primary entry point, can produce transformative, order-of-magnitude improvements.
  • Directly involve your community when planning events to ensure the format, location, and content align with their interests and needs.
  • Enhance live events by balancing high-level discussions with practical "show and tell" demonstrations to provide more tangible value.
  • Advanced infrastructure techniques like live migration are becoming crucial for achieving zero-downtime operations and maintenance in complex systems.

Watch the full episode 1 hr 41 min

Read along with the audio summary

Making a website homepage eight hundred and sixty three times faster sounds impossible, yet Gerhard Lazu reveals that his team achieved that exact jump for half of their users. In this episode from October 24, 2025, hosts Jerod Santo, Adam, and Gerhard Lazu review their custom network infrastructure. By the end, you will learn how taking direct control of your own servers and testing tools can eliminate hidden bottlenecks and multiply your system's speed.

Moving active network connections without dropping a single beat.

Before diving into their website's speed, Gerhard shares that he started a new job in early September at a company called Loophole Labs. They build foundational infrastructure tools for live migration of memory, disk, and active network connections.

How building your own delivery network puts performance back in your hands.

When Gerhard turns to the performance of Pipedream, their custom built content delivery network, or CDN, the numbers show a massive leap. Their overall cache hit rate climbed from about seventy percent to nearly ninety percent. Jerod notes that before building this themselves, they could only complain when things were slow, whereas now the system is in their own hands and they can actually change it.

The overlooked bottleneck hiding right on the front door.

That newfound control paid off most on their homepage, which previously had a shocking cache hit rate of just under nineteen percent. By pushing that homepage hit rate up to nearly ninety nine percent, Gerhard found that the page now loads eight hundred and sixty three times quicker for the median user. You should audit your own critical user paths and main entry points, because even well maintained sites can hide severe bottlenecks on their most visited pages.

Why your speed test might be lying about your server's limits.

To see just how far they could push this newly optimized system, the team stress tested it using a massive thirteen megabyte data feed. Surprisingly, they hit a wall, but Gerhard realized the limitation was not their server's powerful Threadripper processor or the network infrastructure. Instead, the central processing unit, or CPU, on the client machine running the benchmark tool was maxing out. When you benchmark your own systems, check your testing machine first so its limits do not mask what your server can actually do.

A new name for the engine behind the cache.

While looking under the hood of this custom network, the hosts pause to talk about the specific software powering their caching layer. Jerod jokingly corrects Gerhard during the presentation, pointing out that the project formerly known as Varnish Cache has officially changed its name to Vinyl Cache.

Stamping out rare crashes and unifying system data.

Even with Vinyl Cache humming along, Gerhard has a list of mop up jobs for their future infrastructure. He wants to improve their system wiring and hunt down out of memory crashes, which happen rarely but still persist. He also plans to overhaul their analytics pipeline, potentially using ClickHouse, reminding the team that logs are events and metrics that belong together.

Leaving the media giants behind by hosting your own video.

That desire for independent infrastructure extends beyond web pages and analytics. The group briefly explores ways to distribute their video content without relying on third party platforms like YouTube, with Adam suggesting a tool called Jellyfin to run their own self hosted media server.

Taking control of your own infrastructure lets you spot and fix the bottlenecks that third party services hide from you. It is in our hands now, we can actually affect it, which is, before, it was just like, we could only complain, now we can actually do stuff.

More from Changelog

Related Episodes