@kodekloud: Why are CDNs so fast? ๐โก It's one of the most common system design interview questions, and the real answer is simpler than people think. It comes down to 3 systems stacking together: ๐ DNS sends you to the nearest edge server, not all the way to Virginia ๐ฆ That edge server serves a cached copy if it has one ๐ And because it's physically closer, even a cache miss beats the round trip The big idea: CDNs don't make your data travel faster. They make it travel less. Save this for your next interview or slow-page-load debug. ๐ Which one trips people up the most: DNS, caching, or cache control headers? Drop it below ๐ #CDN #ContentDeliveryNetwork #DevOps #CloudComputing #WebPerformance #EdgeComputing #Caching #CloudFront #AWS #SystemDesign #DNS #Networking #DevOpsEngineer #CloudEngineer #TechInterview #LearnToCode #SoftwareEngineering #Latency #KodeKloud #Reels
I was about to say that and the way it works is every location has the same IP subnet so, for example San Diego and Tokyo can both resolve to 10.11.12.13 address and the BGP routing protocol will (almost) automatically route them to the IP that's closest.
2026-06-24 16:26:55
0
Odud Miah :
If the CDN has to check for cache miss each time, surely this slows things down? Or does it refresh the cache periodically, using some kind of time to live setting?
2026-06-26 16:55:19
0
To see more videos from user @kodekloud, please go to the Tikwm
homepage.