https://discord.cloudflare.com logo
Join Discord
Powered by
# durable-objects
  • t

    terkel

    09/03/2021, 1:20 PM
    I'm curious what your worker/redis workflow looks like? 👍
  • e

    eidam | SuperSaaS

    09/03/2021, 1:22 PM
    What exactly are you interested in? My personal workflow or the workers.run project architecture? (And let’s move to #812577823599755274 as it has nothing #773219443911819284 related :))
  • i

    itypicallyneedhelp

    09/03/2021, 4:21 PM
    any ETA on when durable objects will be production ready?
  • h

    HardAtWork

    09/03/2021, 4:25 PM
    *Soon*™️
  • k

    kenton

    09/03/2021, 8:17 PM
    Well... There's actually a bunch of people using DO in production already.
  • w

    Walshy | Pages

    09/03/2021, 8:20 PM
    Do you consider it stable enough? Me and @User actually just talked about it. I didn't want to move until it was officially "production ready" (Also with the storage limit increased/removed)
  • k

    kenton

    09/03/2021, 8:20 PM
    Cloudflare itself is using durable objects in Waiting Room, which is used by lots of governments to distribute vaccines, so... pretty important that it doesn't break at this point. 🙂
  • w

    Walshy | Pages

    09/03/2021, 8:20 PM
    Ah yes very true
  • w

    Walshy | Pages

    09/03/2021, 8:21 PM
    Have you had any chats internally about the storage limit? Even if it's not officially marked prod ready it seems to be considered so
  • k

    kenton

    09/03/2021, 8:22 PM
    Sorry, I don't personally know the plan with storage limits.
  • g

    Greg-McKeon

    09/03/2021, 9:34 PM
    storage limit is increasing soon 🙂
  • g

    Greg-McKeon

    09/03/2021, 9:35 PM
    if you have a specific need for more storage, feel free to reach out
  • w

    Wallacy

    09/03/2021, 10:54 PM
    I don’t know you are only talking about the global limit. But in my user case at least 128KiB values will be nice! (256KiB perfect) …
  • w

    Wallacy

    09/03/2021, 10:55 PM
    I tried to split my data but I got: too much store operation in this account.
  • j

    Jacob | Pages

    09/03/2021, 11:29 PM
    This is so cool 😮
  • w

    Walshy | Pages

    09/04/2021, 4:57 AM
    Awesome to hear!
  • r

    raRaRa

    09/04/2021, 10:21 AM
    Is there a way to detect if DO is disposed, e.g. within a destructor?
  • r

    raRaRa

    09/04/2021, 10:22 AM
    If not, it would be a great feature, e.g. that CF would call a dispose/destructor function when the DO is no longer active
  • a

    albert

    09/04/2021, 10:57 AM
    Transactional Storage API calls are metered in 4 KiB increments. Do reads of non-existent keys count? Do reads of existent, but empty, keys count? Do writes of empty values count? Do deletes of non-existent keys count?
  • a

    albert

    09/04/2021, 11:09 AM
    I mainly need to know whether trying to read a non-existent key will count, as that'll influence how I build my application.
  • a

    albert

    09/04/2021, 11:09 AM
    The others I'm just curious about 😛
  • e

    eidam | SuperSaaS

    09/04/2021, 11:14 AM
    As far as I understand it the 4KiB is a minimum as it still does the storage lookup, so accessing both non existent or empty would be metered as minimum read (4KiB)
  • r

    raRaRa

    09/04/2021, 3:33 PM
    I'm getting random websocket closed with the code 1006, even though the DO has active websocket connections that are sending messages back and forth
  • r

    raRaRa

    09/04/2021, 3:33 PM
    for everyone in a single DO
  • k

    kenton

    09/04/2021, 3:33 PM
    how often?
  • r

    raRaRa

    09/04/2021, 3:33 PM
    About every 2-5 minutes
  • r

    raRaRa

    09/04/2021, 3:33 PM
    sometimes sooner
  • k

    kenton

    09/04/2021, 3:34 PM
    hmm, it could be that you're exceeding CPU or memory limits, which causes the object to reset.
  • r

    raRaRa

    09/04/2021, 3:34 PM
    hmmm I see
  • k

    kenton

    09/04/2021, 3:34 PM
    I think
    wrangler tail
    should be able to tell you if this is the case
1...170171172...567Latest