
vedant
on November 27, 2025
5 min read
so cloudflare went down. cloudflare is a company that sits in front of millions of websites. it speeds them up, keeps them online and blocks bots and attacks, and loads of companies send everything through it. so when it breaks, a big chunk of the internet breaks with it.
see the full cloudflare outage deck
no, sharks didn't eat the cables, and nobody vibe-coded prod and took the internet down. cloudflare changed a permission in one of their databases, and that put duplicate entries into a file they use to spot bots. it's normally about 60 items. this time it had over 200, and the thing that reads it can only handle 200, so it crashed and took their main network down with it.
that main network is called a cdn, which is just servers around the world that send you websites from somewhere close by so they load faster. cloudflare runs it for roughly 80% of sites that use one, about 20% of all websites. so one bug went global, and when they fixed it everyone rushed back at once, which made it worse. even downdetector, the site you'd use to check what's down, went down cos it runs on cloudflare too.
we didn't really choose to put so much in one company. it's just cheaper and easier than building it yourself, unless you're amazon or meta.
not fully. you can make it hurt less, like keeping old stuff on screen so people don't get a blank page. x couldn't load new tweets, but your old feed was still there. a backup for a few important things is worth having. two of everything usually isn't.
at work the thing that broke was postcode search. small feature, but it wrecked some of the steps people go through, and that's the lesson for me. small, important bits are the ones worth a cheap backup.
cloudflare's record is still good, around 99.9% uptime with four big outages in 5 years. the goal isn't zero risk, it's not falling over the second someone else has a bad day.
extra reading:
so Cloudflare went down. it sits in front of millions of sites doing CDN, caching, routing, DDoS protection and load balancing, and loads of companies just put everything through it, images, API requests, auth, the lot.
see the full cloudflare outage deck
if you were on Twitter after the outage you probably saw that sharks ate the cables, or someone vibe-coded prod and took down the internet. none of that happened.
Cloudflare changed a permission in one of their database systems, and that unexpectedly created duplicate entries in the feature file they use to protect sites from bots. that file's normally about 60 features. the bug pushed it to over 200.
the routing service that reads the file has a hard limit of 200 features. and the file isn't static, it gets refreshed every 5 minutes or so. so once it was too big, the service crashed and took their core CDN down with it.
quick one if CDN means nothing to you. it's servers around the world serving your images, scripts and sometimes full pages from close to the user, so if you host in the UK someone in the US hits a US edge node instead of waiting on the physics, and your origin isn't eating a million users at once.
Cloudflare has around 40 million customers. that's roughly 80% of CDN-powered sites, and about 20% of all websites. so when a core service there breaks, it's global by default. and the rollback made it worse, cos as things came back all the traffic flooded in again.
that's centralisation. we've put a massive chunk of the internet in one company. efficient when it works, huge blast radius when it doesn't. even DownDetector went down, cos it sits on Cloudflare too. people were vibe-coding their own down detectors just to check if DownDetector was down.
so why does everyone use them? they've spent a stupid amount of money on edge servers everywhere, so cost per customer drops, so they can do free and cheap plans, so they get more customers, and it gets cheaper again. running your own CDN and DDoS protection and DNS isn't realistic unless you're Amazon or Meta. we didn't really pick centralisation, it's just the option that isn't painful.
and it's not only performance. they do security, auth, bot filtering and access control too, and when those break you don't get slower pages, you get your whole service offline.
not fully, but you can make it less stupid. keep cached data around so the app isn't a white screen. X couldn't load new tweets but your old feed was still there, and that's the fallback you want.
full multi-cloud is overkill for most teams. what you want is escape routes, not two of everything. a secondary DNS, a backup CDN for static assets, and a way to hit your origin without going through Cloudflare. multi-cloud is double the configs, double the monitoring, double the chance someone misconfigures something, and it costs more. beating 99.9% uptime usually isn't worth that.
we use WorkOS for auth. we could build it ourselves, we're just not the experts. the tradeoff is if they go down, we go down, which is the same shape as Cloudflare. you pick based on surface area and how much you'd hate maintaining it.
what actually broke for us was postcode search. small feature, but it wrecked some user flows, and that's the blast radius thing again. small important flows are the ones worth a cheap backup. not everything needs redundancy.
we host on Vercel, not Cloudflare, cos we're mainly UK-focused, we care about preview deploys and it fits the Next.js workflow. you can still use Cloudflare just for DNS if you want. we don't need to.
Cloudflare's track record is still solid. four major outages in 5 years, a couple of them around 30 minutes, and overall uptime around 99.9%. for global internet scale that's fine. the goal isn't zero risk, it's not collapsing the second someone else has a bad day.
extra reading:
Sign in to join the conversation