<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Changelog · Queues</title><link>https://developers.cloudflare.com/queues/platform/changelog/</link><description>Updates to Queues</description><language>en-us</language><atom:link href="https://developers.cloudflare.com/queues/platform/changelog/index.xml" rel="self"/><lastBuildDate>Tue, 26 Mar 2024 08:00:00 EST</lastBuildDate><item><title>Delay messages published to a queue</title><link>https://developers.cloudflare.com/queues/platform/changelog/#delay-messages-published-to-a-queue</link><description>&lt;p>Messages published to a queue and/or marked for retry from a queue consumer can now be explicitly delayed. Delaying messages allows you to defer tasks until later, and/or respond to backpressure when consuming from a queue.&lt;/p>
&lt;p>Refer to &lt;a href=https://developers.cloudflare.com/queues/configuration/batching-retries/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">Batching and Retries&lt;/span>&lt;/a> to learn how to delay messages written to a queue.&lt;/p></description><pubDate>Tue, 26 Mar 2024 08:00:00 EST</pubDate></item><item><title>Support for pull-based consumers</title><link>https://developers.cloudflare.com/queues/platform/changelog/#support-for-pull-based-consumers</link><description>&lt;p>Queues now supports &lt;a href=https://developers.cloudflare.com/queues/configuration/pull-consumers/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">pull-based consumers&lt;/span>&lt;/a>. A pull-based consumer allows you to pull from a queue over HTTP from any environment and/or programming language outside of Cloudflare Workers. A pull-based consumer can be useful when your message consumption rate is limited by upstream infrastructure or long-running tasks.&lt;/p>
&lt;p>Review the &lt;a href=https://developers.cloudflare.com/queues/configuration/pull-consumers/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">documentation on pull-based consumers&lt;/span>&lt;/a> to configure HTTP-based pull.&lt;/p></description><pubDate>Mon, 25 Mar 2024 08:00:00 EST</pubDate></item><item><title>Default content type now set to JSON</title><link>https://developers.cloudflare.com/queues/platform/changelog/#default-content-type-now-set-to-json</link><description>&lt;p>The default &lt;a href=https://developers.cloudflare.com/queues/configuration/javascript-apis/#queuescontenttype class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">content type&lt;/span>&lt;/a> for messages published to a queue is now &lt;code>json&lt;/code>, which improves compatibility with the upcoming pull-based queues.&lt;/p>
&lt;p>Any Workers created on or after the &lt;a href=https://developers.cloudflare.com/workers/configuration/compatibility-dates/#queues-send-messages-in-json-format class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">compatibility date&lt;/span>&lt;/a> of &lt;code>2024-03-18&lt;/code>, or that explicitly set the &lt;code>queues_json_messages&lt;/code> compatibility flag, will use the new default behaviour. Existing Workers with a compatibility date prior will continue to use &lt;code>v8&lt;/code> as the default content type for published messages.&lt;/p></description><pubDate>Mon, 18 Mar 2024 08:00:00 EST</pubDate></item><item><title>Explicit retries no longer impact consumer concurrency/scaling.</title><link>https://developers.cloudflare.com/queues/platform/changelog/#explicit-retries-no-longer-impact-consumer-concurrencyscaling</link><description>&lt;p>Calling &lt;code>retry()&lt;/code> or &lt;code>retryAll()&lt;/code> on a message or message batch will no longer have an impact on how Queues scales &lt;a href=https://developers.cloudflare.com/queues/configuration/consumer-concurrency/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">consumer concurrency&lt;/span>&lt;/a>.&lt;/p>
&lt;p>Previously, using &lt;a href=https://developers.cloudflare.com/queues/configuration/batching-retries/#explicit-acknowledgement-and-retries class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">explicit retries&lt;/span>&lt;/a> via &lt;code>retry()&lt;/code> or &lt;code>retryAll()&lt;/code> would count as an error and could result in Queues scaling down the number of concurrent consumers.&lt;/p></description><pubDate>Sat, 24 Feb 2024 08:00:00 EST</pubDate></item><item><title>More queues per account - up to 10,000</title><link>https://developers.cloudflare.com/queues/platform/changelog/#more-queues-per-account---up-to-10000</link><description>&lt;p>Developers building on Queues can now create up to 10,000 queues per account, enabling easier per-user, per-job and sharding use-cases.&lt;/p>
&lt;p>Refer to &lt;a href=https://developers.cloudflare.com/queues/platform/limits class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">Limits&lt;/span>&lt;/a> to learn more about Queues’ current limits.&lt;/p></description><pubDate>Sat, 07 Oct 2023 08:00:00 EST</pubDate></item><item><title>Higher consumer concurrency limits</title><link>https://developers.cloudflare.com/queues/platform/changelog/#higher-consumer-concurrency-limits</link><description>&lt;p>&lt;a href=https://developers.cloudflare.com/queues/configuration/consumer-concurrency/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">Queue consumers&lt;/span>&lt;/a> can now scale to 20 concurrent invocations (per queue), up from 10. This allows you to scale out and process higher throughput queues more quickly.&lt;/p>
&lt;p>Queues with &lt;a href=https://developers.cloudflare.com/queues/configuration/consumer-concurrency/#limit-concurrency class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">no explicit limit specified&lt;/span>&lt;/a> will automatically scale to the new maximum.&lt;/p>
&lt;p>This limit will continue to grow during the Queues beta.&lt;/p></description><pubDate>Thu, 05 Oct 2023 08:00:00 EST</pubDate></item><item><title>Consumer concurrency (enabled)</title><link>https://developers.cloudflare.com/queues/platform/changelog/#consumer-concurrency-enabled</link><description>Queue consumers will now &lt;a href=https://developers.cloudflare.com/queues/configuration/consumer-concurrency/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">automatically scale up&lt;/span>&lt;/a> based on the number of messages being written to the queue. To control or limit concurrency, you can explicitly define a &lt;a href=https://developers.cloudflare.com/queues/configuration/configure-queues/#consumer class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">&lt;code>max_concurrency&lt;/code>&lt;/span>&lt;/a> for your consumer.</description><pubDate>Tue, 28 Mar 2023 08:00:00 EST</pubDate></item><item><title>Consumer concurrency (upcoming)</title><link>https://developers.cloudflare.com/queues/platform/changelog/#consumer-concurrency-upcoming</link><description>&lt;p>Queue consumers will soon automatically scale up concurrently as a queues’ backlog grows in order to keep overall message processing latency down. Concurrency will be enabled on all existing queues by 2023-03-28.&lt;/p>
&lt;p>&lt;strong>To opt-out, or to configure a fixed maximum concurrency&lt;/strong>, set &lt;code>max_concurrency = 1&lt;/code> in your &lt;code>wrangler.toml&lt;/code> file or via &lt;a href="https://dash.cloudflare.com/?to=/:account/queues" class="DocsMarkdown--link" target="_blank" rel="noopener">
&lt;span class="DocsMarkdown--link-content">the queues dashboard&lt;/span>&lt;span class="DocsMarkdown--link-external-icon" aria-hidden="true">
&lt;svg fill="none" stroke="currentColor" stroke-width="1.5" width="23px" height="12px" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 16 16" role="img" aria-labelledby="title-4744738674102027" xmlns="http://www.w3.org/2000/svg">
&lt;title id="title-4744738674102027">External link icon&lt;/title>
&lt;path d="M6.75,1.75h-5v12.5h12.5v-5m0,-4v-3.5h-3.5M8,8l5.5-5.5">&lt;/path>
&lt;/svg>
&lt;span is-visually-hidden>&lt;/span>
&lt;/span>&lt;/a>.&lt;/p>
&lt;p>&lt;strong>To opt-in, you do not need to take any action&lt;/strong>: your consumer will begin to scale out as needed to keep up with your message backlog. It will scale back down as the backlog shrinks, and/or if a consumer starts to generate a higher rate of errors. To learn more about how consumers scale, refer to the &lt;a href=https://developers.cloudflare.com/queues/configuration/consumer-concurrency/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">consumer concurrency&lt;/span>&lt;/a> documentation.&lt;/p></description><pubDate>Wed, 15 Mar 2023 08:00:00 EST</pubDate></item><item><title>Explicit acknowledgement (new feature)</title><link>https://developers.cloudflare.com/queues/platform/changelog/#explicit-acknowledgement-new-feature</link><description>&lt;p>You can now &lt;a href=https://developers.cloudflare.com/queues/configuration/batching-retries/#explicit-acknowledgement-and-retries class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">acknowledge individual messages with a batch&lt;/span>&lt;/a> by calling &lt;code>.ack()&lt;/code> on a message.&lt;/p>
&lt;p>This allows you to mark a message as delivered as you process it within a batch, and avoids the entire batch from being redelivered if your consumer throws an error during batch processing. This can be particularly useful when you are calling external APIs, writing messages to a database, or otherwise performing non-idempotent actions on individual messages within a batch.&lt;/p></description><pubDate>Thu, 02 Mar 2023 08:00:00 EST</pubDate></item><item><title>Higher per-queue throughput</title><link>https://developers.cloudflare.com/queues/platform/changelog/#higher-per-queue-throughput</link><description>The per-queue throughput limit has now been &lt;a href=https://developers.cloudflare.com/queues/platform/limits/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">raised to 400 messages per second&lt;/span>&lt;/a>.</description><pubDate>Wed, 01 Mar 2023 08:00:00 EST</pubDate></item><item><title>sendBatch support</title><link>https://developers.cloudflare.com/queues/platform/changelog/#sendbatch-support</link><description>The JavaScript API for Queue producers now includes a &lt;code>sendBatch&lt;/code> method which supports sending up to 100 messages at a time.</description><pubDate>Tue, 13 Dec 2022 08:00:00 EST</pubDate></item><item><title>Increased per-account limits</title><link>https://developers.cloudflare.com/queues/platform/changelog/#increased-per-account-limits</link><description>Queues now allows developers to create up to 100 queues per account, up from the initial beta limit of 10 per account. This limit will continue to increase over time.</description><pubDate>Mon, 12 Dec 2022 08:00:00 EST</pubDate></item></channel></rss>