Content Delivery Network (CDN)

https://www.cloudflare.com/learning/cdn/what-is-a-cdn/

From this twitter system design prep, https://www.youtube.com/watch?v=o5n85GRKuzk, NeetCode talks about push-based CDN vs pull-based CDN.

Push-based vs. Pull-based CDN:

  • Pull-based CDNs are typically used for websites, APIs, and dynamic content where frequent updates occur, and caching happens naturally based on user demand
  • Push-based CDNs are ideal for static assets like large media files, software downloads, or where low latency is critical from the first user request