by breckognize · 2y ago · 0 comments
It's misleading to look at S3 as a CDN. It's fine for that, but it's real strength is backing the world's data lakes and cloud data warehouses. Those workloads have a lot of data that's often cold, but S3 can deliver massive throughout when you need it. R2 can't do that, and as far as I can tell, isn't trying to.
Source: I used to work on S3
Source: I used to work at Netflix, building systems that pull TBs from S3 hourly
1: https://blog.cloudflare.com/how-cloudflare-auto-mitigated-wo...
Cloudflare has the network to do that, but they charge money to do so with their other offerings, so why would they give that to you for free? R2 is not a CDN.
S3 can't saturate user bandwidth unless you make many parallel requests. I'd be (pleasantly) surprised if R2 can.
If we are talking about storage, well, SATA can't give you more than ~5Gbps so I guess the answer is no? But also no one else can do it, unless they're using super exotic HDD tech (hint: they're not, it's actually the opposite).
What a weird thing to argue about, btw, literally everybody is running a network layer on top of storage that lets you have much higher throughput. When one talks about R2/S3 throughput no one (on my circle, ofc.) would think we are referring to the speed of their HDDs, lmao. But it's nice to see this, it's always amusing to stumble upon people with a wildly different point of view on things.
neither of these tell you how fast you can serve static data.
Yeah, I'm sure they use a completely different network infrastructure to serve R2 requests.
But if you look at https://aws.amazon.com/s3/ it says things like:
"Object storage built to retrieve any amount of data from anywhere"
"any amount of data for virtually any use case"
"S3 delivers the resiliency, flexibility, latency, and throughput, to ensure storage never limits performance"
So if S3 is not intended for low-latency applications, the marketing team haven't gotten the message :)
Personally I think you have a point.
Cloudflare wants to "protect" the world from the evils of DNS services other than themselves even knowing what geographical region people are in, so they strip all geographical information, even general, broad location, from DNS lookups. This has the effect of increasing latency for non-Cloudflare CDNs sometimes, since data will sometimes end up being served out of the wrong region.
I've wondered since I first heard about this if this is their way to enshittify CDN deliverability in general and make their latency look better in comparison.