Justintime
Justintime
CDCloudflare Developers
Created by Justintime on 2/11/2024 in #workers-help
Worker Connections to Origin
Could the LB have multiple tunnels as origins? Based on this forum post it seems like tunnels are very efficient with their connection count because they support http2 https://community.cloudflare.com/t/concurrent-requests-limit-for-a-cloudflared-tunnel/281358/2
12 replies
CDCloudflare Developers
Created by Justintime on 2/11/2024 in #workers-help
Worker Connections to Origin
I was also curious if adding another resource type in Cloudflare’s network could help here, like a load balancer or an Argo tunnel
12 replies
CDCloudflare Developers
Created by Justintime on 2/11/2024 in #workers-help
Worker Connections to Origin
What is the throughput limit on a DO? Does the documented 1,000 req/s apply here? https://developers.cloudflare.com/durable-objects/platform/limits/#how-much-work-can-a-single-durable-object-do
12 replies
CDCloudflare Developers
Created by Justintime on 12/16/2023 in #workers-help
Delay ctx.waitUntil() until fetch() has completed or canceled
update on this, I get a A hanging promise was canceled error message when I try to await the empty promise in the ctx.waitUntil()
9 replies
CDCloudflare Developers
Created by Justintime on 12/16/2023 in #workers-help
Delay ctx.waitUntil() until fetch() has completed or canceled
But I know that ctx.waitUntil() can extend the runtime in the event of a disconnect
9 replies
CDCloudflare Developers
Created by Justintime on 12/16/2023 in #workers-help
Delay ctx.waitUntil() until fetch() has completed or canceled
Gotcha, I will check it out. I’m trying to run some code regardless of whether the client disconnected, which is hard because the runtime doesn’t send a signal about disconnects
9 replies
CDCloudflare Developers
Created by Justintime on 12/16/2023 in #workers-help
Delay ctx.waitUntil() until fetch() has completed or canceled
Thanks for the reply @HardlyHolidayin’ ! If the client disconnects before the Promise is resolved will the ctx.waitUntil() still be executed?
9 replies