16 ms·
> They make a point to say that low-latency, global CDN is a priority for them Which, franky, is dumb. File downloads depend on throughput, not time to first b
by mike_d 5y ago
> They make a point to say that low-latency, global CDN is a priority for them
Which, franky, is dumb. File downloads depend on throughput, not time to first byte like a small javascript file. Once bits start flowing it doesn't matter if they travel half way around the globe.
It is like saying you are trying to optimize an ocean cargo ship for acceleration time.
- PragmaticPulp 5y ago> Which, franky, is dumb. File downloads depend on throughput, not time to first byte like a small javascript file. Once bits start flowing it doesn't matter if they travel half way around the globe. Round-trip latency has a significant impact on TCP throughput. It's not just about time to first byte. They're also not a static file serving website. If they were just serving static files and they didn't care about latency, they could pay $20/month for Cloudflare Pro and be done with it. I don't understand why you continue to ignore the fact that this for running a high-traffic, global, dynamic website, not just a static file server.
- mike_d 5y ago> Round-trip latency has a significant impact on TCP throughput. It's not just about time to first byte. I've built three CDNs in my career, one at the Tbps scale. Latency only has two factors in throughput: time to scale window size, and retransmits. Modern TCP stacks handle the prior just fine, and the latter is only an issue with packet loss. You can also turn on HTTP/3 and remove your reliance on TCP entirely. > I don't understand why you continue to ignore the fact that this for running a high-traffic, global, dynamic website, not just a static file server. Because I actually looked at the site and read the article. The vast majority of the site is large static files. The frontend is a static JavaScript app that calls an API server. That API server is running on a $5/mo VM. My offer still stands if you'd like a tour of a datacenter and see the sausage being made at scale. I'll throw in lunch and answer all your scalability questions if you like. But this thread is growing quite long and veering off topic.
- zekica 5y agoYou can use different TCP congestion control algorithms, not just cubic. BBR2 has no issues with high RTT even with packet loss and is fair to other TCP streams. It serves 25Mbps stream in real time to users in Japan and the US from a data-centre in Europe with no issues.