Live data from Hacker News

From S3 to R2: An economic opportunity

dansdatathoughts.substack.com

91–100 of 183 posts

Re: From S3 to R2: An economic opportunity

#91

Is there any reason to not use R2 over a competing storage service? I already use Cloudflare for lots of other things, and don't personally care all that much about the "Cloudflare's near-monopoly as a web intermediary is dangerous" arguments or anything like that.

It's been a while, but last time I checked, write latency on R2 was pretty horrendous. Close to 1s compared to S3's Another (that probably contributes directly to the write latency issues) is region selection and replication. S3 just offers a ton more control here. I have a bunch of S3 buckets replicating async across regions around the world to enable fast writes everywhere (my use case can tolerate eventual consistency here). R2 still seems very light on region selection and replication options. Kinda disappointed since they're supposed to be _the_ edge company.

Re: From S3 to R2: An economic opportunity

#92

If I understand correctly when storing data to vanilla S3 (not their edge offering) the data live in a single zone/datacenter right? While on R2 they could potentially be replicated in tens of locations. If that is true how can Cloudflare afford the storage cost with basically the same pricing?

It is clever marketing. Your object in R2 is stored globally as in it might reside anywhere, but they do not actually replicate the object globally.

Re: From S3 to R2: An economic opportunity

#93
post #84

Is there any reason to not use R2 over a competing storage service? I already use Cloudflare for lots of other things, and don't personally care all that much about the "Cloudflare's near-monopoly as a web intermediary is dangerous" arguments or anything like that.

There is no data locality. If your workload is in AWS already you might save money by keeping the data in the more expensive S3 vs going out to Cloudflare to fetch your bytes and return your results. If you don't mind having your bits reside elsewhere, Backblaze B2 and Bunny.net single location storage are both cheaper than Cloudflare.

[deleted]

Re: From S3 to R2: An economic opportunity

#94

Here’s a tweet from Corey Quinn describing how bonkers R2 pricing is: > let’s remember that the internet is 1-to-many. If 1 million people download that 1GB this month, my cost with @cloudflare R2 this way rounds up to 13¢. With @awscloud S3 it’s $59,247.52. https://x.com/quinnypig/status/1443076111651401731?s=46

Won't you have the same problem with R2, once your data is in that provider?

Re: From S3 to R2: An economic opportunity

#96

>> you’re paying anywhere from $0.05/GB to $0.09/GB for data transfer in us-east-1. At big data scale this adds up. At small data scale this adds up. And..... it's 11 cents a GB from Australia and 15 cents a GB from Brazil. If you have S3 facing the Internet a hacker can bankrupt your company in minutes with simple load testing application. Not even a hacker. A bug in a web page could do the same thing.

At small data scale you fit within the 100GB/month free tier for S3 or 1TB/month free tier for Cloudfront (in front of an S3 backend).

Re: From S3 to R2: An economic opportunity

#97
post #56

Earlier quoted context omitted.

Amazon doesn't have unit cost for egress. They charge you for the stuff you put through their pipe, while paying their transit providers only for the size of the pipe (or more often, not paying them anything since they just peer directly with them at an exchange point). Amazon uses $/gb as a price gouging mechanism and also a QoS constraint. Every bit you send through their pipe is basically printing money for them,…

Honest question, how is this different than a toll road? An entity creates a road network with a certain size (lanes, capacity/hour, literal traffic) and pays for it by charging individual cars put through the road.

The difference is that Amazon doesn’t own the road, they’re just a truck driver. Amazon customers rent space on the truck and pay whatever the driver asks them for.

Re: From S3 to R2: An economic opportunity

#98
post #15

If you are storing large amount of data: E2 is the cheapest (20$/TB/year, 3x egress for free) If you are having lots of egress: R2 is the cheapest (15$/TB/month, free egress) R2 can get somewhat expensive if you have lots of mutations, which is not a typical use case for most.

B2 is also nice at 6$/TB/mo and 3x free egress.

You can proxy things through cloudflare and get unlimited free egress thanks to bandwidth alliance between cf and b2

Re: From S3 to R2: An economic opportunity

#99

Is there any reason to not use R2 over a competing storage service? I already use Cloudflare for lots of other things, and don't personally care all that much about the "Cloudflare's near-monopoly as a web intermediary is dangerous" arguments or anything like that.

I don't know about R2 specifically, but we migrated one of our service from S3 to Cloudflare Images, and we have been hit with over 40h+ of down time on CF's side over the last 30 days. One of the outage was 22 hours long. Today's outage has been ongoing for almost 12 hours and is still ongoing, and we have had 2 or 3 others >1h outages. Every cloud provider has outages sometimes but CF has been horrendous. We were a…

What third-party sites do people use to track vendor downtimes, because they don't declare it honestly themselves?

I found https://isdown.app/integrations/cloudflare/cloudflare-sites-...

Re: From S3 to R2: An economic opportunity

#100

If I understand correctly when storing data to vanilla S3 (not their edge offering) the data live in a single zone/datacenter right? While on R2 they could potentially be replicated in tens of locations. If that is true how can Cloudflare afford the storage cost with basically the same pricing?

S3 Standard guarantees that your data is replicated to three availability zones within the region at minimum. (That's different data centers in the same city.)

My assumption is that "at least three" means "exactly three" in practice.

Post reply on HN