Cloudflare

Part 2: Rethinking cache purge with a new architecture

Jun 21, 2023Zaidoon Abd Al Hadi
Part 2: Rethinking cache purge with a new architecture
SummaryAI, from the source post

This post details the architecture of Cloudflare's new "coreless" cache purge system, focusing on the end-to-end flow for purge by URL requests. Key components introduced include Purge Ingest workers for local validation and cache key generation, Purge Queue workers (Durable Objects) for persistent queuing and regional load balancing, Regional Autoscaler workers for managing Durable Object load, and Purge Fanout workers for efficient inter-region broadcasting. The system aims to reduce latency and increase throughput by distributing purge requests more effectively and performing local validation to filter out superfluous purges. Flexible purges are partially integrated, benefiting from edge authorization and validation.

More from the Cache Management trail