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

Super cool. A few of questions:

Super cool. A few of questions: 1- Can we trigger it programmatically? 2- Do you plan to also allow purging based on message params? Like conditionally purge them?...

Pretty sure something got broken with

Pretty sure something got broken with this release. In my logs, I can see that adding to one of my queues starting failing ~2 hours ago. The error looks like this: internal error; reference = odmj851jl3gua27r036349h7

Quick question if I may, but will queues

Quick question if I may, but will queues eventually add support for remote dev? Currently any worker that makes use of queues still isn't able to make use of things like quick edit, edge preview, remote dev, etc...

Is there any issue with queue? because

Is there any issue with queue? because message in queue is resolving very late! !

Where do queue consumers execute? I've

Where do queue consumers execute? I've tried some searching here, but can't seem to find an authoritative answer... I mean you could have event fed into a queue from all over the world, but to ensure ordered handling, do consumers only execute in 1 geographic location? Meaning the latency from a producer queueing a message to a consumer processing a messaging will vary significantly and so queues should not be used for anything "real-time-ish" - is that correct?

Did the queues `sendBatch` api change?

Did the queues sendBatch api change? I've been running a worker in production for around 7 months now, and it has been working fine. The past few days (first occurance was Febuary 21st, 23:40 UTC, and the previous successful evocation was 23:10 UTC), i've suddenly been getting an error: sendBatch() requires at least one message I've added an additional check in my code to make sure the batch isnt empty to fix the issue, but I missed 2 days of data (that I cannot recover) before I noticed the issue....

~~What would cause a queue to send the

What would cause a queue to send the same msg multiple times? Is there a timeout i might have set wrong? Errors cause retries.... 🤦 which cause more errors 🤦 🤦

thanks, any plans to increase those

thanks, any plans to increase those limits?

Build software better, together

setting this in queues consumer
[[queues.consumers]]
queue = "gopersonal-llm-ranking-queue"
max_batch_size = 100
max_batch_timeout = 180
max_concurrency = 1
[[queues.consumers]]
queue = "gopersonal-llm-ranking-queue"
max_batch_size = 100
max_batch_timeout = 180
max_concurrency = 1
and getting the error...

Hello. What would the average queue

Hello. What would the average queue backlog be, on a healthy queue? Our right now keeps on being 760, with a delayed backlog of around 530..

Feature request: would be nice to be

Feature request: would be nice to be able to message set expiry (max age and/or max retries) at the message level. We have a scenario where some messages are important to be processed eventually, and some messages should be discarded if not processed within a certain timeframe....

Hello. Is there an issue on the queues

Hello. Is there an issue on the queues right now? Our queue has around 500 messages in the backlog. Started 15 minutes ago.

Also is there a way to flush a queue? My

Also is there a way to flush a queue? My queue grows much quicker than I consume it so once I have enough data I'd like to just flush all the messages to save the cpu time of consuming to ignore them

Hey guys, is there any problem with

Hey guys, is there any problem with recursive queue consumers/producers? I have a consumer that produces to the same queue it consumes from and it seems like metrics are significantly delayed. That said though, my queue jobs do take ~30s to run each and can only run one at a time by design. Perhaps it takes some time for a new deployment to be hooked up as I'm testing some stuff and deploying pretty often. I can see that the queue I am using is increasing in size and my db is getting new data so it is consuming and producing. It seems that as soon as I stop producing to the same queue I am consuming from, the metrics return Another question that I am struggling to find any information on is how to interpret the execution duration GB-sec value on workers. What does this mean?...

Is there a preferred way to simulate

Is there a preferred way to simulate queues locally with the remote flag? Sort of like the __schedule query string arg for testing CRON schedules locally.

How do I increase the max concurrency

How do I increase the max concurrency workers to 500 (the maximum) when polling messages from Queue?

Hey all, wondering if theres a way to

Hey all, wondering if theres a way to set a limit on the number of requests to a worker over a given period of time before it starts rejecting new requests? If I can avoid implementing it myself that'd be great

Hey there, my Queue has had a

Hey there, my Queue has had a concurrency of 3 for the last 12 hours. Failure rate is low. Maximum concurrency is 250. Any ideas on how to increase this?

I've had to disconnect the queue

I've had to disconnect the queue consumer in my application to effectively pause a certain processing pipeline while I sort out a bug. As the messages accumulate in the queue without a consumer, will they safely stay around until I resume (until the 96hr retention period)?...
Next