topic: distributed-systems
author: Crashtech Editorial
published: Nov 30, 2026 · read: 5 min
---
Azure Durable Task Queues Pace Work, Not Downstream Requests
Azure's Durable Task Scheduler preview adds per-queue work handout rates, but bursts, retries, partitions, and worker filters still shape real throughput.
On this page
A workflow scheduler can dispatch work faster than a payment provider, CRM, or model endpoint can accept it. The usual response is a local semaphore or a smaller worker pool. Both can help, but they also tie the pace of one dependency to workers that may be doing unrelated work. Microsoft’s public-preview task queues for Durable Task Scheduler add a scheduler-level place to group and pace work within one task hub. [1]
The most important detail is what gets paced. A queue limits the scheduler’s sustained work-item handouts, not completed workflows and not necessarily outbound HTTP requests. That difference determines whether it can protect a rate-limited partner API by itself. [1] [2]

The scheduler counts handouts
The actionsPerSecond value measures how often the scheduler hands a work item to a worker. Each orchestration turn counts once; each activity execution counts once; and a redelivery after failure counts again. An orchestration that calls several activities therefore consumes several handouts before it reaches completion. [1]
That gives a practical way to estimate a safe starting rate. If one workflow starts, performs five activities, and resumes after each activity, it may require about eleven handouts: one to start, one for each activity, and one to continue after each of those activities. Choosing a queue value of ten would not imply that ten such workflows complete each second. Microsoft’s guidance explicitly recommends doing this handout math before setting the rate. [1]
A queue is attached to a task hub. An orchestration can select it with the DTS_TaskQueue tag, and its activities and child orchestrations inherit the route unless code overrides it. If only one activity calls the partner service, that activity can be routed separately while the broader orchestration continues on its normal queue. That is more precise than slowing every step because one dependency is sensitive. [1]
The rate is distributed across partitions
The configured rate applies to the task hub, then the scheduler divides it across partitions. Microsoft gives a simple example: with a limit of 20 handouts per second and four partitions, each partition refills five tokens per second. Each partition keeps its own token bucket; it cannot borrow unused tokens from another partition. If only a few long-running instances hash to one partition, realized throughput can sit below the configured total even while other buckets are idle. [1]
The buckets also start full when a partition starts or moves to a new node, so a short burst can exceed the steady rate. Retries consume additional handouts, and worker concurrency can lower the actual rate. If a third-party API enforces a hard limit, put an application-side limiter at the request boundary as well. Queue pacing can help the system approach a target smoothly; it is not a substitute for handling 429 responses, retry-after guidance, idempotency, and a strict per-tenant quota.
There is no priority setting here. Queues take turns, but they share scheduler and worker capacity. The preview does not provide physical worker isolation. A queue can keep a large batch from monopolizing work delivery in the same way, but it cannot guarantee that urgent work receives dedicated compute. [1]
Two configuration mistakes can remove the safety you expected
First, workers need to be able to receive work from the new queues. Microsoft’s preview guidance says task-queue work is delivered only to workers without work-item filters. In .NET, the SDK may create filters automatically from the task registry; the guide shows disabling those filters for these workers. The Java, Python, and Go guidance also says not to enable filtering. If workers cannot accept the routed item, work can wait rather than using the queue as intended. [1]
Second, create the queue and wait for its provisioning state to succeed before sending tagged work. The scheduler saves a queue name even if no matching queue exists; if it cannot find that queue when routing, the work falls back to normal routing with a warning. That means a typo or deleting a queue does not fail closed and does not pause the workload. A rate-limit configuration that silently degrades to normal delivery is the opposite of a safety boundary. [1]
A cautious evaluation plan
Start with the one workflow that risks a real downstream quota. Measure how many handouts it consumes, place only the relevant activity in a queue, set a value comfortably below the partner’s limit, and monitor both pending work and actual request rate. Test retries, partition imbalance, a worker restart, a temporary downstream 429, and the case where the queue is not provisioned. Keep the activity-side limiter until observations and contract tests show that the preview behavior fits your workload.
Task queues are available in public preview and use a preview management API. SDK support differs for child calls: the current guide lists full start/activity/sub-orchestration tag support in .NET and JavaScript/TypeScript, while Python and Java have narrower capabilities. Those differences matter if a child step must leave its parent’s queue. Verify the table for your SDK before designing around per-activity routing. [1] [2]
The useful architectural change is not “Azure now throttles our API.” It is “we can shape how this scheduler hands work to a selected workload.” That is a helpful new control, provided teams keep the endpoint’s actual rate contract at the boundary where requests are made.
Frequently asked questions
What does an Azure Durable Task queue rate-limit?
The actionsPerSecond setting controls sustained work-item handouts from the scheduler to workers. An orchestration turn and each activity execution count as handouts; it does not measure completed orchestrations or guarantee a hard request rate at a downstream API.
Do Durable Task queues isolate workers or prioritize urgent work?
No. Queues share the scheduler and workers, do not reserve compute, and have no priority ordering. Worker isolation is described as a later capability.
Can a queue protect a partner API from every burst and retry?
No. Scheduler handouts can briefly burst, retries count again, and worker behavior affects actual requests. Keep an activity-level limiter when the downstream service requires a strict cap.

/* Comments */
Comments are offline right now — we reconnect automatically, nothing is lost.