I think there are some billing changes happening with how Queues is provisioned on the backend. Hopefully @robsutter can provide more info - sorry if the emails are scary, I know it can be quite worrying when you receive an email about this when you might be using the product
Sorry about this: this is a cleanup for some billing stuff. As long as you are on: a) a paid Workers plan and b) enable Queues, it should work. We don't immediately delete your queues.
It's really just an optimization for queues/cron/pubsub, not really a requirement for anything I'm doing. Hinting that there will be outbound requests & to what region would be nice to have. For my use case, I have a small product that exposes an API and pulls data to serve from external sites. It both does this on demand and on a schedule, to keep upstream data fresh. It has some complicated internal routing to do based on the upstream resource requested, and one of those routings is what region data is requested from, ie European data is only available from Europe each routing step is another queue and this makes a small tree of queues. To improve latency it'd be great to have Europe specific queues to be attached to European data centers. I can give more details once I've started actually porting part of the product to cloudflare queues. The current code base is very stateful so specifics don't really translate.
Was excited to see the recent Queues graphql dataset changes (hoping for max(queueSize) to track queue length) but apart from the rename, looks like the primary change is losing sum(messages) ? Now, apart from sum(billableOperations) we only have sum(bytes), previously messageSize
I am about to start using a queue to send emails - the message will contain the key to a template to be pulled from KV and all of the personalisation data needed. I am trying to work out how a queue determines a batch has failed - is it simply that the handler (for the batch) throws an error response?
You need to upgrade to a paid plan that has Workers Unbound. We’re working on making this more seamless, but if you go to a Worker service -> click Usage Model on the right hand side -> agree to Unbound pricing, Queues will be included
Documentation for Cloudflare Workers, a serverless execution environment that allows you to create entirely new applications or augment existing ones without configuring or maintaining infrastructure.