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

    albert

    08/05/2021, 5:48 PM
    seems to change a lot from this location
  • a

    albert

    08/05/2021, 5:48 PM
    Copy code
    FRA
    OTP
    PRG
    DUS
    ATH
    ZAG
    BEG
  • a

    albert

    08/05/2021, 5:50 PM
    Currently, durable objects are available in 39% of Cloudflare PoPs
    - it was 44% when I started 😆
  • j

    john.spurlock

    08/05/2021, 5:52 PM
    denominator+++++++
  • a

    albert

    08/05/2021, 6:25 PM
    Alright, I "managed" to bring the percentage down to 37. Won't spend anymore time on this 😅
  • j

    jed

    08/05/2021, 11:47 PM
    yeah, using this list: https://speed.cloudflare.com/locations
  • j

    jed

    08/05/2021, 11:47 PM
    (tho should’ve handled that more gracefully)
  • h

    HardAtWork

    08/05/2021, 11:53 PM
    How'd I not noticed that? I needed the locations of the datacenters for a project, so I scraped them off the statuspage then geocoded them.
  • v

    Vanessa🦩

    08/05/2021, 11:55 PM
    Me too 😅
  • v

    Vanessa🦩

    08/05/2021, 11:56 PM
    Guess I should update my latency map https://discord.com/channels/595317990191398933/773219443911819284/872509095515668521
  • j

    jed

    08/06/2021, 12:12 AM
    i did the same until i found that endpoint!
  • j

    jed

    08/06/2021, 12:12 AM
    good thing workers makes scraping so easy…
  • v

    Vanessa🦩

    08/06/2021, 12:39 AM
    Actually no - the coords in that list are literally the airport coords which makes the map look rather weird zoomed in. I'll keep my reverse geocoder.
  • h

    HardAtWork

    08/06/2021, 12:40 AM
    Does your Latency Map test latency to your datacenters, or the actual Colos?
  • v

    Vanessa🦩

    08/06/2021, 12:53 AM
    it's measuring roundtrip latency client – worker – DO – worker – client using a websocket connection (as we do for our "real" apps)
  • h

    HardAtWork

    08/06/2021, 12:54 AM
    And how do you figure out which colo the DO is in?
  • v

    Vanessa🦩

    08/06/2021, 12:54 AM
    https://1.1.1.1/cdn-cgi/trace
  • h

    HardAtWork

    08/06/2021, 12:54 AM
    Should have foreseen that.
  • v

    Vanessa🦩

    08/06/2021, 12:55 AM
    😁
  • v

    Vanessa🦩

    08/06/2021, 1:50 AM
    Hmm, curious. One of my DOs moved from LAX to SJC today 🤔 Is that supposed to happen?
    Copy code
    2021-08-04 18:34:58.913 PDT DO resumed in LAX via worker in GRU
    2021-08-05 01:46:26.744 PDT DO resumed in LAX via worker in FRA
    2021-08-05 03:22:13.610 PDT DO resumed in SJC via worker in FRA
    2021-08-05 16:55:44.912 PDT DO resumed in SJC via worker in LAX
  • h

    HardAtWork

    08/06/2021, 1:51 AM
    Might have been me...
  • h

    HardAtWork

    08/06/2021, 1:53 AM
    Sorry about that, @Vanessa🦩!
  • v

    Vanessa🦩

    08/06/2021, 1:53 AM
    Huh? How? Supposedly DOs are fixed to one colo, unless that colo is down, I thought
  • h

    HardAtWork

    08/06/2021, 1:54 AM
    I believe that DOs persist in one colo, until they are shut down. Once they are triggered again, they are reinitialized in the nearest DO-ready colo to the incoming request.
  • v

    Vanessa🦩

    08/06/2021, 1:56 AM
    The way @User described it is that it lives in one colo, but is replicated to a few near colos for backup. It would not "jump" from the EU to the US.
  • h

    HardAtWork

    08/06/2021, 1:58 AM
    According to your log above, it seems that because there was an extended period of time with no requests, it was terminated(FRA). Once someone else triggered it(Me, probably), it was reestablished in the nearest Colo(SJC) to my request.
  • h

    HardAtWork

    08/06/2021, 2:00 AM
    At least I believe so, I'm having a hard time figuring out that log.
  • v

    Vanessa🦩

    08/06/2021, 2:00 AM
    LAX being down for a while would make sense, but I'd have assumed it would move back to LAX once its up again.
  • h

    HardAtWork

    08/06/2021, 2:01 AM
    Not if the next request comes from somewhere else, before it can reestablish itself there.
  • v

    Vanessa🦩

    08/06/2021, 2:01 AM
    there were like 13 hours in between
1...139140141...567Latest