Comment

Comment by lionkor

> the image is not cached at CDN109 when the user requests it, CDN109 forwards the request to a nearby PoP. The PoP then forwards the request to the load balancer in a datacenter region, which retrieves the image from the storage system.

Say I want a 1MB image, wouldn't it be faster to serve me the 1MB image over a slow connection with 100ms latency, than going through multiple hops of increasing latency, with multiple round trips?

Say I request the image directly:

me -- 100ms --> datacenter

datacenter -- 100ms --> me

Say I now go through Meta's system, assuming that goes to the same Datacenter in the end, and there's no FTL tech:

me -- 10ms --> CDN

CDN -- 10ms --> PoP

PoP -- 90ms --> datacenter

datacenter -- 90ms --> PoP

PoP -- 10ms --> CDN

CDN -- 10ms --> me

parent lionkor 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton