New every Friday: the week's best founder lessons in one email. Subscribe free
Back to All Episodes
S9 E1: Building a Self-Serve CDN on Anycast with Matt Levine of CacheFly
Nov 28, 2023 31:41 S9 E1

S9 E1: Building a Self-Serve CDN on Anycast with Matt Levine of CacheFly

0:00 / 31:41

About this episode

Matt Levine grew up in Toronto, and played sports as a baseball catcher. During his teens, he got injured and had to sit out during the season. And during that time, he started to dig into computers, and became hooked. He started several businesses in High School, and later founded eFront. Outside of tech, he is married with a couple of kids, and likes top lay golf.

While working in Arizona, Matt was approached by a now competitor called LimeLight. He knew the founders, and he was approached to become a team member - specifically to help start a network. He felt that it wasn't a good time to do that - BUT, it was a good time to start and build a CDN.

This is the creation story of CacheFly.

Sponsors

Links

Times are from the episode recording; ad breaks in your player may shift them a bit later.

Read the key answers from this episode, with quotes and timestamps from Matt Levine from CacheFly: https://www.codestory.co/episodes/s9-e1-from-turning-down-a-competitor-to-powering-roblox-and-gamestop-scaling-a-global-edge-network-without-wall-street-capital-with-matt-levine-of-cachefly/



Current Sponsors:

Checkout our Substack

Checkout our Stacklist!

Checkout our Patreon!

Hosted by Noah Labhart.



Our Sponsors:
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai
* Check out Perplexity: https://pplx.ai/codestory


Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Chapters

Featured Guest

Latest Season of the Podcast is Sponsored By

Key Takeaways

  • Betting on Anycast: Skeptics told Matt that Anycast couldn't handle content or long-lived connections. After a friends-and-family beta of a year and a half to two years, CacheFly showed a CDN could be built on it.
  • Self-Serve as the Equalizer: When Matt saw buying CDN as an enterprise-only process, CacheFly let customers sign up by credit card, with plans from $15.99 to $99. In its first three to four years, it probably had 3,000 to 4,000 customers.
  • Count the Silent Users: Early roadmaps came from tickets and customer feedback. Matt learned that each complaint likely represents 10x to 100x more people with the same problem who simply leave.
  • A Second Run at Self-Service: A pay-as-you-go launch swamped support with inexperienced users, and Matt wanted it off. When self-onboarding returned, the team automated features once switched on manually for enterprise customers.
  • Cache Misses Matter Most: Matt says customer libraries have long been too big for CDNs to fully cache, yet bake-offs focus on cache hits. He expects CacheFly's delivery focus to be on cache miss performance.

Frequently Asked Questions

What does CacheFly do?

CacheFly is a content delivery network that helps customers deliver web content faster by caching copies of files in cities around the world. Matt Levine explained, "We basically offload people's typically media files, but it can be anything" [02:31].

How was the first version of CacheFly's CDN built?

Matt's first CDN ran in two locations, Palo Alto and New Jersey, using lighttpd on FreeBSD and a custom load balancer, with files pushed out to each site. As Matt described it, "The MVP was really just distributed web servers, syncing files between them" [10:40].

Can you build a CDN using Anycast?

Matt Levine set out to test this even though people said Anycast was meant for short-lived things and would break with content delivery. After building and running it in a friends-and-family beta, he reported, "And it turns out you can build a CDN on Anycast" [05:10].

How did CacheFly handle traffic growth during COVID?

Traffic surged while supply chain gaps, shipping delays and restricted data center access made adding hardware difficult, so the team turned to used equipment. Matt said, "We became a logistics company for two months, trying to figure out that part of scalability" [18:57].

Should a startup build on cloud infrastructure?

Matt Levine advises building on cloud while you are small, but planning from the start for how to move off it fully or into a hybrid setup to control costs. In his words, "you need a plan to get off of it as soon as you hit traction" [28:38].

Media List 5000, Podcasts, Fall 2026