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

    jed

    03/22/2021, 2:37 AM
    for me, this is the difference between hostnames (
    ${id}
    ) and domain names (
    ${id}.durableobjects.workers.dev
    ), but i get that it might be a bit too in-the-weeds for many.
  • j

    jed

    03/22/2021, 2:45 AM
    (worker design decisions have been so good it definitely makes me reflect on my own taste in this case, ha.)
  • k

    Kevin W - Itty

    03/22/2021, 6:37 PM
    Same boat... just applied to Y Combinator 2021 with a currently 100% CF concept (Workers + KV), and while fun/fast, the timing synchronicity issues w KV can't cut it for live updates... DO would solve it, allowing me to still showcase this as a 100% CF solution without diving to something like Firestore or whatever as a synced backend with KV in front...
  • k

    Kevin W - Itty

    03/22/2021, 6:45 PM
    Either way, my emergency isn't the team's emergency - so just know I'm stoked to get my hands on them (at some point)!
  • e

    Erwin

    03/22/2021, 8:36 PM
    We really can’t publicly commit to dates, especially not with projects like this, where new information can easily push out an open beta by days or even weeks. But soon is certainly our current line of thinking AFAIK.
  • d

    doublebeat

    03/23/2021, 1:28 AM
    Hey, I'm working on a DO project and I was wondering if there's any code examples somewhere of rust-wasm integration?
  • t

    tp

    03/23/2021, 1:49 AM
    I also need help with a durable objects project. Because the DO is a JS class how do we do that with rust?
  • k

    kenton

    03/23/2021, 3:12 PM
    Sorry, we haven't come up with a template for Rust bindings yet. It should be possible ("just" build tooling work) but you'll likely need to work out a lot of the details yourself.
  • d

    doublebeat

    03/23/2021, 11:48 PM
    I've heard that there's a new wrangler version coming through soon with durable objects support. How far away is that?
  • e

    Electroid

    03/23/2021, 11:50 PM
    🙂 https://github.com/cloudflare/wrangler/releases/tag/v1.15.0-custom-builds-rc.1
  • t

    taro

    03/25/2021, 6:10 PM
    oh boy oh boy, the ability to upload es modules is extremely exciting
  • t

    taro

    03/25/2021, 6:11 PM
    i hate to ask it, but is there any chance we could open this functionality up to the public without the need to be in the DO beta?
  • t

    taro

    03/25/2021, 6:11 PM
    this is exactly what I need (exploring SSR using vitejs)
  • t

    taro

    03/25/2021, 6:12 PM
    or perhaps its locked up since it might be possible to declare DO instances using the wrangler cli with this functionality?
  • v

    vans163

    03/26/2021, 12:13 PM
    Right now my workers are 1 giant monolith, which is nice, reminds me of the early days of Javascript.
  • j

    joe

    03/26/2021, 1:28 PM
    Release notes for workers this week are relevant to anyone doing DO and WebSockets 😃 https://community.cloudflare.com/t/2021-3-26-workers-release-notes/255525
  • e

    eidam | SuperSaaS

    03/26/2021, 1:36 PM
    ❤️ ohhh, and it works like a charm!
  • t

    Taral

    03/26/2021, 9:17 PM
    Out of curiosity (and a project idea), does DO support outgoing websockets?
  • j

    James

    03/26/2021, 9:51 PM
    I believe so, but it's not documented yet as far as I know. See https://discord.com/channels/595317990191398933/773219443911819284/818557420397002782 for some discussion.
  • t

    Taral

    03/26/2021, 10:29 PM
    woo! discord bot in a DO
  • e

    Erwin

    03/27/2021, 12:53 AM
    If you want to write a discord bot these days you should totally use regular workers and their slash command API.
  • t

    togmund

    03/27/2021, 1:03 AM
    I would very much like to play around with Oso + Durable Objects, when/if I get beta-approved.
  • v

    vans163

    03/28/2021, 12:18 PM
    Any news of last weeks progress in DOs?
  • t

    Taral

    03/28/2021, 9:14 PM
    That's new. And it supports webhooks!
  • t

    Taral

    03/28/2021, 9:14 PM
    But doesn't help me with a role maintenance bot. 🙂
  • p

    Peps

    03/28/2021, 9:17 PM
    What does such role maintenance bot exactly do?
  • t

    Taral

    03/28/2021, 9:54 PM
    Automatically set/remove roles for people based on an external dataset.
  • t

    Taral

    03/28/2021, 9:54 PM
    (in my case, setting/maintaining member roles on people who are paid-up members.)
  • t

    Taral

    03/28/2021, 9:55 PM
    Might be able to make it work with webhooks+cron tho.
  • w

    Walshy | Pages

    03/28/2021, 9:55 PM
    yep was just about to say, you could do that
1...303132...567Latest