Cloudflare's 150ms global cache purge | Deep Dive

  Рет қаралды 11,154

Hussein Nasser

Hussein Nasser

Күн бұрын

Пікірлер: 12
@shivansh2301
@shivansh2301 Ай бұрын
4:30 to 12:00 tldr; they switched from core-based (rtt latency from across the globe on to their core) lazy purge where it refreshes (delete and fetch) items when there is a cache hit for a purge requested item to coreless active where it actively works on deleting purge request items (possible because of indexing the items) which dropped their global purge time from 1.5s to 150ms.
@BR-lx7py
@BR-lx7py Ай бұрын
Agreed that the old version of purge was perplexing. Why did it take 1500ms to send a message to all the datacenters that a certain URL should be on the purge list? And was every single request checked against that purge list instead of being removed from the cache? That seems extremely wasteful. Also doesn't make sense that the simplest case of purge, the URL purge is 240ms, while a prefix or tag based one is 150?
@singha360
@singha360 Ай бұрын
Nice video! I recently became interested in cloudflare’s offering. I came across their Hyperdrive product which aims to make SQL queries faster by distributing a single region database globally using cache, similar to prisma accelerate. Would it be possible for a deep dive video and benchmarking the improvement in terms of latency? Some of us want to see if this is a viable solution as an alternative to read replicas. Thank you for your work!
@nexovec
@nexovec Ай бұрын
We have CDN77 here and those guys have some pretty insane tech, they do craazy stuff with recoding video. It's nice seeing good technology used where it's actually supposed to for once. No it's not related to the video sorry.
@AmmaarSolkar
@AmmaarSolkar Ай бұрын
Do we know what queue system do they use? how do you look through the contents of a queue fast enough that you can afford to do it before every request?
@ketanparmar
@ketanparmar 27 күн бұрын
What if they use separate database for each domain instead of single db. In that case they don't need to remove millions of row for a purge.
@monireol
@monireol Ай бұрын
What a surprise. I am just exploring exactly cloudflare cdn
@bgroesser
@bgroesser Ай бұрын
Listening to this, i found out that i have to pronounce my s as sh. Not sure where that bit of knowledge came from but no, we dont pronounce Australia as 'Aushtralia'. Not saying we dont do weird things, but this is new to me.
@monireol
@monireol Ай бұрын
I was watching your old video. Why not to shard database
@jameshunt1822
@jameshunt1822 Ай бұрын
NSA backed company
@jamess1787
@jamess1787 Ай бұрын
Hi doppleganger
@nchomey
@nchomey Ай бұрын
Great video, but you've been mislead about how to pronounce S in Australia. It's not Sh. You were saying it properly already. Likewise for strawberry. Yet there's lots of accents in the world, so some would say it that way. My suggestion (that s definitely doesn't have an Sh) is just speak how you speak. We understand you perfectly fine.
This new Linux patch can speed up Reading Requests
16:53
Hussein Nasser
Рет қаралды 4 М.
A Deep Dive in How Slow SELECT * is
39:24
Hussein Nasser
Рет қаралды 37 М.
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 217 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 33 МЛН
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 10 МЛН
When do you use threads?
29:36
Hussein Nasser
Рет қаралды 19 М.
BGP Deep Dive
2:10:28
Kevin Wallace Training, LLC
Рет қаралды 205 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 644 М.
Snowflake
1:17:52
Jignesh Patel
Рет қаралды 915
Building a continuous profiler with Frederic from Polar Signals
57:10
The Geek Narrator
Рет қаралды 14 М.
MongoDB Internal Architecture
43:25
Hussein Nasser
Рет қаралды 89 М.
Postgres just got even faster
26:42
Hussein Nasser
Рет қаралды 37 М.
Untold Stories Behind the $20B Business That Runs the Internet
1:50:30
The Logan Bartlett Show
Рет қаралды 14 М.
What happens before the Backend gets the Request
51:26
Hussein Nasser
Рет қаралды 51 М.
WE GOT ACCESS TO GPT-3! [Epic Special Edition]
3:57:17
Machine Learning Street Talk
Рет қаралды 333 М.
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 217 МЛН