https://discord.cloudflare.com logo
Join Discord
Powered by
# workers-discussions
  • k

    kian

    02/28/2023, 4:02 PM
    🥴
  • t

    Tom Sherman

    02/28/2023, 4:02 PM
    haha good point, i believe it's referring to lambda tho. in lambda splitting out your 100MB lambda into 5x20MB lambdas can be a very beneficial thing for cold starts. not particularly relevant to workers
  • t

    Tom Sherman

    02/28/2023, 4:02 PM
    doing the lords work
  • d

    dave

    02/28/2023, 4:05 PM
    for each worker, I end up with at least 2 versions of it, sometimes three. (dev, staging, and production)
  • k

    kian

    02/28/2023, 4:06 PM
    sub 15ms
  • t

    Tom Sherman

    02/28/2023, 4:06 PM
    is that similar to standard worker cold starts?
  • k

    kian

    02/28/2023, 4:08 PM
    we currently appear to have some workers publish lag
  • k

    kian

    02/28/2023, 4:08 PM
    soooo i will tell you when my new version is actually live
  • k

    kian

    02/28/2023, 4:09 PM
    much faster
  • k

    kian

    02/28/2023, 4:10 PM
    a normal
    fetch(workerurl)
    is like 30-60ms
  • k

    kian

    02/28/2023, 4:10 PM
    (this is repeated invocations so it'll be warm)
  • k

    kian

    02/28/2023, 4:10 PM
    bindings = nyoom
  • w

    Walshy | Pages

    02/28/2023, 4:40 PM
    https://www.cloudflarestatus.com/incidents/cx215c2tx7yw
  • d

    dave

    02/28/2023, 4:50 PM
    Is there a way to see how long it took my Worker on average to return a response?
  • d

    dave

    02/28/2023, 4:51 PM
    not how long I got billed
  • d

    dave

    02/28/2023, 4:51 PM
    but what the user felt
  • d

    dave

    02/28/2023, 4:51 PM
    cause health analytics is showing my Worker takes a whooping ~150ms on average
  • h

    HardAtWork

    02/28/2023, 4:54 PM
    Maybe with RUM?
  • h

    HardAtWork

    02/28/2023, 4:54 PM
    But that necessitates client-side JS to measure.
  • d

    dave

    02/28/2023, 4:56 PM
    I want to see like the RTT if I used curl too
  • h

    HardAtWork

    02/28/2023, 4:57 PM
    That would require network speed metrics, which you basically can’t get without a client-side script(or running a ping toward the users IP address)
  • h

    HardAtWork

    02/28/2023, 4:57 PM
    At most you can know when a Request enters the CF edge, and when the Response leaves
  • d

    dave

    02/28/2023, 5:00 PM
    that's what I want to know
  • h

    HardAtWork

    02/28/2023, 5:01 PM
    Might be able to do that with LogPush. Do you have Enterprise?
  • d

    dave

    02/28/2023, 5:03 PM
    Pro
  • h

    HardAtWork

    02/28/2023, 5:07 PM
    Don’t think you can do it then
  • d

    dave

    02/28/2023, 5:29 PM
    hmm
  • d

    dave

    02/28/2023, 5:29 PM
    I see EventTimestampMs in logpush for the start of the Worker I think
  • d

    dave

    02/28/2023, 5:29 PM
    but doesn't give me the end time sadly
  • h

    HardAtWork

    02/28/2023, 5:30 PM
    Yeah, I think you need full LogPush to measure that, which is Ent and above, afaik
1...230923102311...2509Latest