https://discord.cloudflare.com logo
Join Discord
Powered by
# r2
  • v

    Vitali

    04/15/2022, 7:48 PM
    I don't disagree. I'll raise it with some folks internally
  • j

    john.spurlock

    04/15/2022, 8:07 PM
    Oh and noticed one comment typo
  • v

    Vitali

    04/15/2022, 11:59 PM
    Unfortunately we ran out of time today to finish off the piece to onboard discord users. Early next week seems like the updated ETA.
  • v

    Vitali

    04/16/2022, 12:00 AM
    Which also aligns with a significant performance improvement we're hoping to roll out next week.
  • a

    andrew

    04/16/2022, 12:01 AM
    looking forward to it 😄
  • j

    James

    04/16/2022, 12:04 AM
    ooh that sounds interesting 👀
  • j

    James

    04/16/2022, 12:04 AM
    Out of interest will the public beta bindings flag be default by then, too?
  • a

    andrew

    04/16/2022, 12:04 AM
    yeah, get most of your performance ducks in a row before i get ahold of it 😄
  • v

    Vitali

    04/16/2022, 12:40 AM
    If the compatibility date of your worker is 4/18 or newer (which you can start to do Monday) and you don't specify anything, you get the correct R2 bindings.
  • j

    James

    04/16/2022, 12:53 AM
    Awesome, thank you!
  • v

    Vitali

    04/16/2022, 1:19 AM
    You'll probably get access before we unblock the performance. I'm targeting late next week or early the week after because our mantra is reliability >>> performance. Currently the performance bottleneck is ~100-150 reads per second per bucket. If you have a meaningful write workload that performance can drop to ~30 ops per second per bucket. This is due to performance bottlenecks in the metadata layer. Next week's runtime update will have important fixes for the prototyped metadata revamp we've been working on. Transitioning correctly will be what I'm focused on and we'll have a short maintenance window where R2 will go down briefly to transition (no data is lost, maintenance should take < 30 minutes). That should remove the performance bottleneck by making each key independent of every other. I've observed a 10x improvement on the read throughput but I haven't categorized max aggregate throughput for the bucket. I think there's another 30-40x of possible improvement for reads after that. It's hard to say for sure (+ how it maps to aggregate throughput, unclear). My performance goals for R2: * Very attractive IOPS this year, bottleneck by our storage nodes. We probably won't beat other cloud providers but we should be competitive. 2023 will be about focusing our attention on lifting the bottlenecks in the storage nodes. * Very competitive latency performance. * 0-config performance. You don't need to ramp your request rate up or down. You don't need to architecture your object names in any special way.
  • j

    john.spurlock

    04/16/2022, 2:15 AM
    > 0-config performance. You don't need to ramp your request rate up or down. You don't need to architecture your object names in any special way. 👏👏👏👏
  • l

    lmtr0

    04/16/2022, 2:23 AM
    Ok no problemo
  • l

    lmtr0

    04/16/2022, 2:23 AM
    Looking forward to it :)
  • a

    andrew

    04/16/2022, 7:15 AM
    have operation prices been mentioned anywhere yet? even just the beta pricing, i'd be curious
  • k

    kavinplays

    04/16/2022, 7:16 AM
    operations as in read/write?
  • k

    kavinplays

    04/16/2022, 7:16 AM
    if so, here
  • a

    andrew

    04/16/2022, 7:17 AM
    yep
  • a

    andrew

    04/16/2022, 7:18 AM
    oh wow that's very good
  • a

    andrew

    04/16/2022, 7:22 AM
    ok actually i think i was off by a zero. i believe it's pretty in-line with like GCS (google)
  • a

    andrew

    04/16/2022, 7:22 AM
    haven't checked aws
  • k

    kavinplays

    04/16/2022, 7:25 AM
    aws and gcp both have 5/m write and 0.4/m read
  • k

    kavinplays

    04/16/2022, 7:26 AM
    so it's cheaper than both
  • k

    kavinplays

    04/16/2022, 7:26 AM
    (plus free egress)
  • l

    lmtr0

    04/16/2022, 5:55 PM
    Cloudflare is the cheapest and theoretically the best since it replicates data and doesn't tax bandwith :))))))))
  • m

    Marcelino Franchini

    04/16/2022, 8:27 PM
    When a request to R2 returns "304 Not Modified", does it also count as a read operation?
  • v

    Vitali

    04/16/2022, 9:38 PM
    For GET requests yes. That is consistent with other providers. The part I’m less unsure about is conditional put which no one else implements. Should that bill as a PUT or a GET. Still discussing that with the product team.
  • a

    andrew

    04/16/2022, 10:11 PM
    what’s that, put with an etag/hash included 304s if it’s the same and creates or replaces the object otherwise?
  • m

    Marcelino Franchini

    04/16/2022, 10:51 PM
    User > Standard Cache > Argo Tiered Cache > R2 Colo Cache > R2 Origin In the worst cold case scenario that revalidation hits the R2 origin and it will be counted, what if the object is already cached in the Standard Cache or one of the upper Argo Tiered Cache? (Assume ~1 KB JSON objects and eventually consistency is enough)
  • v

    Vitali

    04/17/2022, 2:20 AM
    Yes. I don’t know if it’s actually possible over HTTP (I think it is?) but we also have Workers which lets us bypass some of that
1...333435...1050Latest