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

    Vanessa🦩

    08/06/2021, 3:42 PM
    Exactly.
  • k

    kenton

    08/06/2021, 3:47 PM
    TBH @User knows the internals better than I do, but IIRC this is a known issue right now where after a failover to a different colo, we don't proactively migrate the object back.
  • e

    Erwin

    08/06/2021, 3:47 PM
    That is my understanding.. there will probably be a much better coverage world-wide, but probably not every single colo. But I am not the definitive source on this
  • b

    brett

    08/06/2021, 3:51 PM
    To be clear, they can be accessed from any colo (today). But no, DOs have special requirements since they are stateful/persistent and likely won't run in the smallest of colos for the foreseeable future, but our goal is to have them close to enough to everyone that you shouldn't have to care.
  • b

    brett

    08/06/2021, 3:51 PM
    Yeah, I need to fix that. 😦
  • v

    Vanessa🦩

    08/06/2021, 3:52 PM
    Does that apply to DOs with unique IDs too? Or just named DOs?
  • b

    brett

    08/06/2021, 3:53 PM
    All DOs. I'm only partially caught up on what was said above, but they don't fail over across the world, for what it's worth.
  • b

    brett

    08/06/2021, 3:53 PM
    It sounds like someone said they saw an object in LAX and then in EU, which is not possible
  • b

    brett

    08/06/2021, 3:53 PM
    It might be in LAX and then SJC
  • b

    brett

    08/06/2021, 3:53 PM
    (for example)
  • v

    Vanessa🦩

    08/06/2021, 3:54 PM
    Right that’s what I saw.
  • w

    Wallacy

    08/06/2021, 3:54 PM
    So, can i hope that get at least one here on Brazil (or close)?
  • b

    brett

    08/06/2021, 3:55 PM
    @User Eventually for sure. Our team is really eager to make this work well worldwide, it's one of the big benefits of DOs IMO.
  • b

    brett

    08/06/2021, 3:55 PM
    For now you'll have to hop to North America though 😦
  • b

    brett

    08/06/2021, 3:56 PM
    I really hope this helps us in SA https://blog.cloudflare.com/expanding-to-25-plus-cities-in-brazil/
  • v

    Vanessa🦩

    08/06/2021, 3:58 PM
    For us round trip latency to the DO is what matters. If there was none in South America or Australia for example we’d have to keep our own servers running there which makes our session management much more complex than switching over to cloudflare completely.
  • w

    Wallacy

    08/06/2021, 3:59 PM
    Yes, that what i was thinking... today only SĆ£o Paulo get my regular worker traffic, and our DO are all to New Jersey. We will release our solution this month and keep in closed beta until end of the year, but after that all those incremental delays will be vary bad for our solution, sometimes we need to wait 2-3 seconds to update one document because several round trips.
  • b

    brett

    08/06/2021, 3:59 PM
    South America is definitely planned, when I say it won't run in every colo I just mean that some of our PoPs are too small and there is a bigger colo within 10ms anyway
  • b

    brett

    08/06/2021, 3:59 PM
    Out of curiosity, for your use case would you prefer they all be in Brazil?
  • w

    Wallacy

    08/06/2021, 4:01 PM
    In the next 1-2 year 99% of our clients (for that particular solution) will be here... So yes...
  • w

    Wallacy

    08/06/2021, 4:02 PM
    We have other solutions that we plan to migrate to cloudflare workers + DO, and have more coverage worldwide, but we are using this first product to benchmark our needs before we start our main product migration.
  • w

    Wallacy

    08/06/2021, 4:04 PM
    Also, here in Brazil we have the LGPD, and similar to the EU GDPR, for some contracts we need to keep our data here to be compliance.
  • k

    kenton

    08/06/2021, 5:01 PM
    Out of curiosity, if we supported "ephemeral objects" -- like durable objects, but with no persistent storage -- in all colos, would that solve your problem?
  • v

    Vanessa🦩

    08/06/2021, 5:15 PM
    That would work, yes, since I would just need to delegate storage requests to another DO, but those wouldn't be in the critical latency path. Most convenient for that would be if I could create a new websocket connection from that ephemeral DO to the persistent DO.
  • w

    Wallacy

    08/06/2021, 5:16 PM
    The question is not for me, but that also can help our user case too, the majority of our DOs are storageless.
  • a

    Adam!!!

    08/07/2021, 10:54 AM
    can you use kv with itty-durable?
  • m

    Murray

    08/07/2021, 11:11 AM
    What's likely for DO storage in Australia which has multiple POPs, but aren't considered close to each other (probably 20-40ms between if replicating a write to 2 other POPs). Currently DO's are created in Singapore (160-180ms away). Haven't had to rely upon Singapore for over 8 years as there are multiple local regions for AWS, Azure, Google.
  • w

    Wallacy

    08/07/2021, 1:43 PM
    Of course…
  • h

    HardAtWork

    08/07/2021, 4:18 PM
    I don't think so, as the main reason that Itty-Durable exists is to remove the need for performing fetch requests to your DO, which aren't necessary for KV anyway.
  • i

    ItsWendell

    08/07/2021, 5:00 PM
    It's weird that sometimes
    wrangler tail
    is showing it's logs of the durable object, and sometimes it doesn't.
1...142143144...567Latest