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

    lmtr0

    04/22/2022, 12:01 AM
    ??
  • i

    Isaac McFadyen | YYZ01

    04/22/2022, 12:15 AM
    I believe that's called S3 Select (and only works with CSV nvm, also works with JSON), and if that's what you're thinking of then then team has previously said it's not available yet (and have no timeline). https://docs.aws.amazon.com/AmazonS3/latest/userguide/selecting-content-from-objects.html
  • i

    Isaac McFadyen | YYZ01

    04/22/2022, 12:17 AM
    Reference for Beelzabub's comment: https://canary.discord.com/channels/595317990191398933/940663374377783388/965731883465982037
  • l

    lmtr0

    04/22/2022, 12:26 AM
    Oh
  • l

    lmtr0

    04/22/2022, 12:27 AM
    makes sense
  • l

    lmtr0

    04/22/2022, 12:27 AM
    Select Get
  • l

    lmtr0

    04/22/2022, 12:27 AM
    simple
  • l

    lmtr0

    04/22/2022, 12:27 AM
    similar
  • l

    lmtr0

    04/22/2022, 12:27 AM
    yet different
  • v

    Vitali

    04/22/2022, 3:49 AM
    If it's important to you, hit up Greg. I will note that S3 limits the size of the document under analysis to 1MB (unless I misremembered). So as a filtering mechanism it's not particularly powerful. The answer today is "use a worker". There's basically no performance overhead from fetching that object via a Worker and processing it that way
  • v

    Vitali

    04/22/2022, 3:56 AM
    Oh I guess it's 1MB record meaning you could have a very very large array of 1MB JSON objects.
  • v

    Vitali

    04/22/2022, 3:56 AM
    But yeah, using a Worker is the easiest path right now
  • a

    albert

    04/22/2022, 11:05 AM
    Is the S3-compatible endpoint listed anywhere? Would like to setup Logpush to R2, but I am unable to find the endpoint in the docs :/
  • v

    vasco-santos

    04/22/2022, 12:39 PM
    Hey everyone! đź‘‹ where can I look into HTTP API docs for R2? Got private beta access but could only find via worker with https://developers.cloudflare.com/r2/get-started/
  • k

    kian

    04/22/2022, 12:41 PM
    Not sure if there is any documentation for the API - at least publicly.
  • l

    lmtr0

    04/22/2022, 2:14 PM
    It's not that important, but it would increase the performance of my app
  • l

    lmtr0

    04/22/2022, 2:14 PM
    makes sense
  • v

    Vitali

    04/22/2022, 2:15 PM
    <account id>.r2.cloudflarestorage.com
  • v

    Vitali

    04/22/2022, 2:16 PM
    Is that workable for you?
  • l

    lmtr0

    04/22/2022, 2:16 PM
    ye
  • l

    lmtr0

    04/22/2022, 2:16 PM
    sure
  • v

    Vitali

    04/22/2022, 2:16 PM
    Excellent. Let me know if you have any questions about that
  • v

    Vitali

    04/22/2022, 2:17 PM
    I looked yesterday and there seem to be some good streaming CVS and SAX JSON parsers out there
  • l

    lmtr0

    04/22/2022, 2:17 PM
    I mean, I will only know for sure when I get the access to r2
  • l

    lmtr0

    04/22/2022, 2:17 PM
    but in my head it looks functional
  • v

    Vitali

    04/22/2022, 2:17 PM
    So you could theoretically process much larger documents than what S3 limits you to
  • l

    lmtr0

    04/22/2022, 2:17 PM
    ye
  • l

    lmtr0

    04/22/2022, 2:17 PM
    thats the idea
  • l

    lmtr0

    04/22/2022, 2:18 PM
    because my idea is to store everything in a single document
  • a

    albert

    04/22/2022, 2:18 PM
    How do signatures work here?
1...383940...1050Latest