Downstream Rate Limiting
Rate-limits calls to a downstream service by routing throttled Activities to a dedicated Task Queue with a server-enforced throughput cap.
Rate-limits calls to a downstream service by routing throttled Activities to a dedicated Task Queue with a server-enforced throughput cap.
Execute multiple Activities on thee same Worker to guarantee data locality.
Distributes Worker capacity evenly across tenants or users so that a burst from one caller does not starve the others.
Protect player sessions from backend failures by using the Actor pattern.
Assigns a priority level to Workflows and Activities so that time-sensitive work executes ahead of lower-priority work within a single Task Queue.
Build durable human-in-the-loop Workflows that can recover even if the humans are delayed.
Direct resource-intensive workloads to appropriate Task Queues to optimize resources
Use Task Queue backlog metrics and CLI or SDK queries to evaluate Worker load and tune Task Queue processing.
Control execution order within a Task Queue using priority levels, and use Fairness to stop tenants from blocking each other.
Interactively explore how Task Queue Priority and Fairness control dispatch order. Step through scenarios, see which task gets picked next and why, then grab the SDK code.
Explore the role of Worker Processes in polling Task Queues and executing Tasks.
A mismatch in Task Queue names creates separate queues, preventing the Worker from receiving tasks and stalling Workflow Execution.
Learn about routing Tasks and Worker Sessions.
How to run a customer loyalty program with durable Workflows provided by Temporal
Routes Activities to specific Workers using unique Task Queues for Worker affinity and host-specific processing.