Tero Kivisaari
CDCloudflare Developers
•Created by Tero Kivisaari on 4/14/2025 in #queues
Hi, what kind of consumer delays are
And one more thing, it would be super nice to mention something about this in the documentation. Especially since with
wrangler dev
it pretty much worked without any delay, so people who are new to the product (like me) easily waste a bit of time before discovering these limitations.19 replies
CDCloudflare Developers
•Created by Tero Kivisaari on 4/14/2025 in #queues
Hi, what kind of consumer delays are
Ok, thanks a lot for the info! Then I know to hold back with any response time sensitive use cases with Queues for now. Hope you can squeeze it way below 1 sec, it will definitely open a lot of new use cases for the queues!
19 replies
CDCloudflare Developers
•Created by Tero Kivisaari on 4/14/2025 in #queues
Hi, what kind of consumer delays are
Here is what cursor / claude 3.7 said about the use of waitUntil in a durable object... 🤷
19 replies
CDCloudflare Developers
•Created by Tero Kivisaari on 4/14/2025 in #queues
Hi, what kind of consumer delays are
Regarding
context.waitUntill
I was exploring something like that, but Cursor thought I might be in trouble if the durable object decides to hibernate with any open promises. I guess its not very likely it would hibernate just seconds after handling a request though..19 replies
CDCloudflare Developers
•Created by Tero Kivisaari on 4/14/2025 in #queues
Hi, what kind of consumer delays are
I do have another queue for a different use case, that one also with similar traffic pattern, and I see the same 3-4 sec consumer delay there.
19 replies
CDCloudflare Developers
•Created by Tero Kivisaari on 4/14/2025 in #queues
Hi, what kind of consumer delays are

19 replies
CDCloudflare Developers
•Created by Tero Kivisaari on 4/14/2025 in #queues
Hi, what kind of consumer delays are
Thanks for the input! I have not seen any such mentions in the Queues documentation (regarding the slow operations), and was kind of expecting/hoping this to work roughly the same way as AWS SQS (to allow async/batch operations, but still execute more or less immediately).
I don't need strictly real time processing (but "as fast as possible still"). I don't want to block a single threaded Durable Object, thats why I was thinking to use a queue to offload some slow (and slow in this context means 1 sec) calls to be performed by a worker in a reliable manner which would then call back to Durable Object once its done.
I don't know how that
ctx.waitUntil
would work in the context of a durable object?19 replies