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

    aarhus

    01/16/2023, 12:07 PM
    Use websockets within the DO to allow the request limit to be raised. Send a message with the parameters through the socket (you can batch them) and then receiver handles the downstream requests. Each message received resets the limit 🙂
  • r

    Robin

    01/16/2023, 5:03 PM
    I have just checked the dashboard. The errors started on Friday, January 13th at 12:00 am.
  • v

    Vero 🐙

    01/16/2023, 8:32 PM
    Hey @Robin it can probably be connected to a recent release but can't confirm because the team is out today. Can you give me your timezone for the team to check (tomorrow when they're back) if it's connected to the release?
  • r

    Robin

    01/17/2023, 7:17 AM
    Hi @Vero 🐙 . Thank you for looking into this. My timezone is CET / UTC+1
  • c

    ckoeninger

    01/17/2023, 3:53 PM
    @Robin can you DM me your account id and the name of the script you're seeing the issue on?
  • k

    Kevin W - Itty

    01/17/2023, 4:18 PM
    I was just hit with a much larger than expected bill, suggesting crazy high DO runtime... yet looking through each project, and each DO, I can't find one that could even be close to being the culprit. Is there a way to diagnose where the spend/compute time is coming from??
    b
    u
    • 3
    • 10
  • j

    john.spurlock

    01/17/2023, 8:43 PM
    Dramatic rise in
    Network connection lost
    in the last 10 minutes or so...
  • u

    Unsmart | Tech debt

    01/17/2023, 8:55 PM
    Looks like there is a pretty big spike in these errors for me as well from a quick look at my error logs filtering down to "Network connection lost" In the last 3 hours I had 3103 of these errors and filtered to the last 30 days the total is 4814 which means basically all of those errors are in the last 3 hours.
  • j

    john.spurlock

    01/17/2023, 9:14 PM
    eyeball failures to call region-specific DO (colo in do name) in the last hour, by eyeball colo:
    Copy code
    tsv
    MEL    377
    SYD    279
    SIN    148
    BOM    36
    CHC    20
  • j

    john.spurlock

    01/17/2023, 9:14 PM
    still ongoing, rate increasing actually
  • j

    john.spurlock

    01/17/2023, 9:15 PM
    all DOs for those eyeballs would be in
    SIN
    according to where DOs live
  • u

    Unsmart | Tech debt

    01/17/2023, 9:24 PM
    (I see similar results SIN seems to be having some trouble with DOs)
  • b

    brett

    01/17/2023, 9:28 PM
    Yeah we're having an issue, status being updated shortly
  • c

    ckoeninger

    01/17/2023, 9:32 PM
    How are things looking for you at this point
  • j

    john.spurlock

    01/17/2023, 9:33 PM
  • j

    john.spurlock

    01/17/2023, 9:33 PM
    less red
  • j

    john.spurlock

    01/17/2023, 9:34 PM
    never seen so many of those before (at least since sept)
  • j

    john.spurlock

    01/17/2023, 9:35 PM
    zero in the last 15 minutes!
  • j

    john.spurlock

    01/17/2023, 9:35 PM
    thanks!
  • c

    ckoeninger

    01/17/2023, 9:36 PM
    we're monitoring but feel free to DM me if you see it creep back up
  • j

    john.spurlock

    01/18/2023, 4:09 PM
    here's a new one:
    Error: Durable Object namespace binding cannot communicate with other nodes.
    How does this differ from network connection lost and the other existing error states? I think I'm getting this from eyeball -> DO, not DO -> DO
  • c

    ckoeninger

    01/18/2023, 6:12 PM
    @john.spurlock there was a single machine in a misconfigured state, should have stopped within half an hour of you posting that message
  • j

    john.spurlock

    01/18/2023, 6:25 PM
    does that mean the eyeball can't use a single stub, or it can't use any stub? I'm curious if I could retry in this state by sending to another fallback DO in another region - or if that eyeball just can't talk to DOs anywhere
  • b

    brett

    01/18/2023, 7:18 PM
    Do you do DO DO requests?
  • j

    john.spurlock

    01/18/2023, 7:19 PM
    yes
  • j

    john.spurlock

    01/18/2023, 7:19 PM
    But I think the
    Durable Object namespace binding cannot communicate with other nodes.
    was being thrown only in eyeball
  • b

    brett

    01/18/2023, 7:40 PM
    Hmm, my hunch would be that it was thrown from a DO trying to call another. But to answer your question is means any client on that machine can't make a stub. It should really never happen, but here we are 😦 That one machine was somehow not fully provisioned
  • l

    Lyr

    01/18/2023, 7:49 PM
    Hi I'm trying to make a scalable layer between Whatsapp and an API. For each message I receive I need to get the "profile" of the one who send it, which is under 128KB. So what I don't fully understand is why I need seperate namespaces per Durable Object. Can I not just make one big Durable Object that will save all profiles? Any suggetions?
  • u

    Unsmart | Tech debt

    01/18/2023, 7:51 PM
    A single object can only handle so much load (baseline is generally around 100rps). So if you expect to get more than 100 messages a second you will need to have multiple objects so that you aren't overloading it.
  • l

    Lyr

    01/18/2023, 7:52 PM
    But having multiple objects means I also have to duplicate all profiles per DO?
1...477478479...567Latest