Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

How to make queues pick up messages

How to make queues pick up messages faster? Currently I see a few seconds lag from message being inserted in queue, vs being picked up. This is critical for UX. I want to reduce this time. Will it be better if I shift to a workflow ?...

Hey everyone, my cloudflare worker

Hey everyone, my cloudflare worker consumer (push-based, triggered by cloudflare queue message producer) is taking dozens or hundreds of seconds to get up and process the message. Is this normal or an outage? I believe it is an outage, because it has been running smoothly (we have set max_batch_size to 1 and max_timeout to 1, so it should immediately process the job)

**List Messages** in a queue does not

List Messages in a queue does not show messages which previously failed and are currently pending a retry (or messages sent with a delaySeconds).
No description

I've seen this intermittently as well, I

I've seen this intermittently as well, I don't think it necessarily always corresponds exactly to how fast you are sending, but rather the current state of the queue backend (if the machine/isolate itself is failing-over/overloaded for other reasons)

Fix this issue since 2023 please.

Fix this issue since 2023 please. Unable to test any binding that requires --remote with Queues https://github.com/cloudflare/workerd/issues/855 ...

Hi, I'm a paid user and paid worker for

Hi, I'm a paid user and paid worker for queue, but I'm still prompted to subscribe. It seems like this is a bug. Are you experiencing the same issue as me?

hello if I use workers for platforms,

hello if I use workers for platforms, and lets say want to give each of my saas customers their own queue, will the 10K queue limit still apply?

Question: I use Deploy Button from here

Question: I use Deploy Button from here (https://developers.cloudflare.com/workers/platform/deploy-buttons/) when I include a queue to wrangler.jsonc it shows error: 'Error: Processing wrangler.jsonc configuration:'. Works fine when I create the queue manually. Is there a solution for this?

The error I'm seeing is a failed get

The error I'm seeing is a failed get with a 504 error on the bottom

The Queues tab says I need the paid plan

The Queues tab says I need the paid plan in order to use it, but I am already on the paid plan. Clicking create queue just redirects me the the main queue page. Any one come across this issue before and how do I fix it?
No description

I am running in to the same issues as @

I am running in to the same issues as @tom.owen had here My consumer does a lot of work - spinning up @cloudflare/puppeteer to screenshot html, calling external apis that are sensitive to rate limiting, at etc. The primary purpose of the queue is to give me a central place to avoid rate limiting without rolling complex state management. So far I'm close to a week in in trying to get my messages to stop instantly dumping in to the dead letter queue after only a handful get processed every hour. It's clear to me from logs that those that are sent to the DLQ are not sent to the primary consumer at all....

Hi, Team

Hi, Team We're facing an interesting problem with Cloudflare Queues. We're getting up to 22 minutes of wait time until the queue decides to send the message to a consumer 💀 Each job could take more time ~5 minutes, and the scaling algorithm of queues waits for the batch to finish to decide if it should scale more consumers based on the backlog and growth rate. ...
No description

Although <https://developers.cloudflare.

Although https://developers.cloudflare.com/queues/configuration/javascript-apis/#messagesendrequest says that you can pass anything supported by the structuredClone algorithm, when I try to send a nodejs Buffer, it doesn't seem to work identical to structuredClone producer (worker a): ```js await env.QUEUE.send({...

Any known issue with queues on wranger

Any known issue with queues on wranger locally and react router apps? Can create a repro just wanted to check if it's something obvious first. ✘ [ERROR] Uncaught Error: Handler does not export a queue() function Got this in my workers/app.ts ``` export default {...

Yes. I just added logging and its

Yes. I just added logging and its
saving to queue time is 294ms
saving to queue time is 294ms
...

Does anyone else have any ideas about my

Does anyone else have any ideas about my issue here? I would be so greatful if there is any other insight into what might be causing this

sendBatch - Message cannot be undefined

Hey all, I'm having a major issue with the sendBatch API. It's consistently throwing an error Message body cannot be undefined . But I log out the array and there are no undefined objects in the array 🧵

Execute multiple queues locally

@harshil1712 Yes but I have more than one producer. I have use it and it's working but I have two producer. for test purpose I have created one API in both workers to send message in queue but the thing is at a time only one path is getting call another is throwing error of 404 and is depend on the sequence of producer i use in the comman to run workers it is like below in producer-one there is api with endpoint http://host:port/producer-one-test in producer-two there is api with endpoint http://host:port/producer-two-test ...

Unable to save dead letter queue

Unable to save dead letter queue
No description
Next