Nicolas
Explore posts from serversConcurrent fetch timing
Thank you @Doctor 🤖, I wanted to implement a resource PerformanceObserver, but it's not yet available https://github.com/denoland/deno/blob/80098bfeabcd2f681f1854c6294ad0fb71c2dd06/ext/node/polyfills/perf_hooks.ts#L15. I understood that the requests are handled outside of JavaScript and thought that there might be a way to get the real execution time from some low level API. That's my first Deno script and I don't do much backend JS so any idea to improve this is welcome.
I would like to store the timing information, sadly console.profile does not help for that
8 replies
CDCloudflare Developers
•Created by Nicolas on 5/31/2024 in #workers-help
Error 521 invoking a worker
I'm back from holidays, I invoked ~2M workers in the past week and still got a few 521 / 500 errors, but it stays well under 1% which is acceptable. I will update my code to bulk my requests and add a retry mechanism on my backend to improve reliability 👌
10 replies
CDCloudflare Developers
•Created by Nicolas on 5/31/2024 in #workers-help
Error 521 invoking a worker
Thank you for your help Walshy, I'm going on holidays for a week so I won't be able to follow up on this, I'll see if this happens again when I get back and contact support then
10 replies
CDCloudflare Developers
•Created by Nicolas on 5/31/2024 in #workers-help
Error 521 invoking a worker
No I can't create a support ticket with my free account, I'm only paying for workers as it's the only thing I need for the moment
10 replies
CDCloudflare Developers
•Created by Nicolas on 5/31/2024 in #workers-help
Error 521 invoking a worker
I'm fine with some error rate, It's just that I migrated my script from Lambda to Cloudflare a few days ago so I'm heavily monitoring and would like to know if this is something that could happens a lot or if it's extraordinary, or even a fail on my side 🤔
10 replies
CDCloudflare Developers
•Created by Nicolas on 5/31/2024 in #workers-help
Error 521 invoking a worker
The worker is used for uptime monitoring checks, but as suggested on the graph the 750 workers did not get invoked, so it seems to be between my backend and the worker invocation. And from my understanding in that flow the origin behind Cloudflare is the worker endpoint ?
10 replies
CDCloudflare Developers
•Created by Nicolas on 5/29/2024 in #workers-help
[solved] Is there a way to implement a timeout on fetch and socket connections ?
Found the solution 👌 https://community.cloudflare.com/t/timeout-with-fetch/25249/5
2 replies