how does a cdn handle content replication

Arpit Bhayani

Arpit Bhayani

Oct 04, 2025 • 1 min read


how does a cdn handle content replication?

just published a detailed write-up on cdn and content replication. it’s a no-fluff piece covering all the key details you need to know about cdns, ttl, invalidation, replication strategies, configurations, and even pseudocode to understand the internals. some key things I cover are:

  • push-based cdn (great for stable/time-sensitive assets)
  • pull-based cdn (efficient for unpredictable demand)
  • blending both for more efficient replication strategies
  • how they are made highly available
  • how cache freshness is managed

if you’re curious about cdn, give it a read.

Arpit Bhayani

Principal Engineer II at Razorpay - building Agent Studio, Ex-staff engg at GCP Memorystore & Dataproc, Creator of DiceDB, ex-Amazon Fast Data, ex-Director of Engg. SRE and Data Engineering at Unacademy. I spark engineering curiosity through my no-fluff engineering videos on YouTube and my courses