Some updates for @Queues users:

Some updates for @Queues users: - We're working on landing HTTP Pull, which will allow you to poll a queue and consume it from outside of a Worker (or use a Worker in a poll-based flow vs. push-based). This will likely land just before/just after the holidays. - Queue throughput: our major milestone is about 3-5k msg/sec per queue (message size plays a role here), up from the ~400 msg/sec/queue currently - We're also working on landing controls around setting message delays - e.g. await env.MY_QUEUE.send(msg, { deliveryDelay: 600 }) on the producer side, and retry delays on the consumer side - e.g. messages.batch.retryAfter(300) or .retryAfter(seconds: number) on a per-message basis. API not final. - Bringing Queues to GA late Q1/early Q2 next year alongside other scaling and performance improvements.
12 Replies
trogdor
trogdor12mo ago
Hi @Matt do you think the delay feature will be out sometime soon? Similar timeline as HTTP pull?
quambo
quambo12mo ago
really great, looking forward to finishing our migration to cloudflare queues, with the increased throughput coming soon. is there any news on partitioning? mainly to have concurrency per some sort of group key in a single queue @Matt
elithrar
elithrarOP11mo ago
Right now we are focusing on HTTP Pull + Message Delay controls + per-queue throughput before anything else. Per the pinned message: https://discord.com/channels/595317990191398933/1008691665688604783/1174739796116131920
Sz
Sz10mo ago
Is there a beta version that is available by chance? Looking for the delay functionality similar to @trogdor
Conner
Conner10mo ago
Can this retryAfter be tried yet? Would be super useful 🙏
CanRau
CanRau9mo ago
also very interested in delaying messages, any news/eta? also http pull wouldn't yet allow to publish messages via http from outside a worker right?
sszsssszs
sszsssszs9mo ago
When will HTTP pull rollout? I would like to replace SQS by Queues 😂
elithrar
elithrarOP9mo ago
Soon - in the next 2-3 weeks.
elithrar
elithrarOP9mo ago
You can write a very small Worker - since a Worker can accept HTTP requests - for that today: https://developers.cloudflare.com/queues/examples/publish-to-a-queue-over-http/
Cloudflare Docs
Queues - Publish Directly via HTTP · Cloudflare Queues
The following example shows you how to publsh messages to a queue from any HTTP client, using a shared secret to securely authenticate the client.
sszsssszs
sszsssszs9mo ago
Wow, thanks. We can consume the message outside Worker now :facehappy:
Want results from more Discord servers?
Add your server