Temporal Cloud capacity modes decide how much traffic a namespace can take
Capacity modes control the actions per second (APS) a Temporal Cloud namespace will accept, so they decide whether a burst of workflow starts, signals and activity completions is served promptly or throttled. A platform team has to pick a mode for each namespace based on how its traffic behaves. On-demand capacity fits workloads that burst unpredictably, where paying for each action as it happens is simpler than reserving headroom for peaks that may never arrive. Provisioned capacity fits steady, forecastable workloads, where reserving capacity in advance gives the namespace predictable headroom. The choice is per namespace, so a single account can mix modes across services with different traffic patterns.
Temporal Resource Units (TRUs) are the sizing unit for provisioned capacity. The supplied facts do not give APS ceilings for either mode, nor any TRU sizing, pricing or conversion from throughput, so do not assume numbers from other sources. Ask Temporal for the current APS limits per namespace, how TRUs map to actions per second, whether provisioned capacity can be changed mid-term, and how throttling is reported when a namespace exceeds its limit. Pay-as-you-go pricing is quoted per million actions, starting at 50 US dollars per million actions on the Temporal pricing page, so the on-demand bill tracks action volume directly. Confirm with Temporal whether provisioned capacity is billed differently and what it costs for your expected volume.
Before choosing, measure what each namespace actually does. Count actions per second at peak and at the median over several weeks, including retries, timers and child workflows, since each of these consumes capacity. Then ask whether the peak is predictable enough to reserve for. A namespace with a short, daily spike may suit on-demand, while one with a steady baseline and a known growth plan may justify provisioned capacity. Record the decision and the review date for each namespace, because a service that grows or changes its workflow design can move from one mode to the other.
How worker requests reach a namespace's capacity limit
The diagram starts with workers and clients sending gRPC calls to the Temporal Cloud frontend for a namespace. Before a request is served, the service checks it against the capacity mode the namespace is set to, either on-demand or provisioned. Requests inside the limit are accepted and processed, while requests over it are throttled and returned to the SDK, which retries them with backoff. Check which mode each namespace uses and how often throttling appears in your metrics.
Requests pass a capacity check before reaching namespace state or being throttled.
On-demand or provisioned capacity: choosing by traffic shape
Spiky namespaces sit quiet for long periods and then surge, for example after a batch import, a scheduled reconciliation, or a wave of retries when a downstream dependency recovers. For these, the central question is whether capacity is available when the burst arrives and what it costs to keep headroom idle between bursts. On-demand capacity often fits better because you pay for the actions you run, instead of for reserved capacity that sits unused.
- Burst shape: Illustrative example: an hourly job that starts thousands of child workflows within a few minutes, then goes quiet.
- Idle cost: Capacity bought for the peak is paid for between runs, so that cost recurs whether or not the burst happens.
- Throttling risk: How the namespace absorbs the first seconds of a sudden rise is the main thing to test before go-live.
- Retry amplification: Workers that retry aggressively during an outage add load on top of the burst itself.
Before you commit, confirm with Temporal how on-demand namespaces respond to a sharp increase in actions per second, and whether any ramp-up behavior applies that a load test must account for.
Steady namespaces run at a predictable rate with little variation across hours and days, such as a service that processes orders around the clock. Provisioned capacity fits when you can forecast the rate with reasonable confidence and want cost and headroom to be predictable. The trade-off is that you pay for reserved headroom whether or not it is used, and a forecast set too low leaves the peaks exposed to throttling.
- Forecast quality: Build the forecast from measured action rates over several weeks, including month-end and seasonal peaks rather than a single quiet week.
- Headroom margin: Decide how far above the measured peak to reserve, and what happens if traffic grows faster than planned.
- Budget clarity: A fixed recurring capacity line is easier to budget and explain to finance than a usage-driven bill.
- Review cadence: Revisit the reservation when workflow designs change, because a change in the number of actions per workflow shifts the rate.
Before you commit, ask Temporal what happens when a provisioned namespace exceeds its reserved capacity, and how quickly a reservation can be increased or reduced.
Some namespaces carry a steady core load with periodic bursts on top, or a shared namespace serves several teams with different patterns. A single capacity mode then has to serve both shapes. Either the baseline is paid for at peak level, or the bursts risk throttling. Splitting the workloads by shape often clarifies the choice more than tuning a single mode.
- Separate namespaces: Moving the bursty workload into its own namespace lets each one use the mode that fits, at the cost of more namespaces to run.
- Combined options: Illustrative example: a provisioned baseline with overflow for peaks. Whether your account can combine modes like this is something to confirm, not assume.
- Noisy neighbors: One team's surge can affect another team's latency when both share a namespace.
- Operational overhead: Each additional namespace adds identity, access, monitoring and infrastructure as code work.
Before you settle on a layout, confirm with Temporal which capacity options your account includes and whether they can be combined within one namespace.
Capacity options compared for each namespace
This table compares on-demand capacity, provisioned capacity with Temporal Resource Units, and splitting workloads into separate namespaces. Read each row as a decision: what the option is, when it fits, what drives its cost, and what to put in writing with Temporal before you commit. The pay-as-you-go rate on the pricing page is the baseline for comparison only, and provisioned pricing must come from a quote.
| Option | What it is and when it fits | What drives its cost | What to ask Temporal before committing |
|---|---|---|---|
| On-demand (pay as you go) | Billed by actions consumed with no reserved capacity. Fits workloads with spiky or unpredictable action rates and teams still measuring their APS profile. | Action volume, active and retained storage, and retention settings. The pricing page lists pay-as-you-go from 50 US dollars per million actions as the baseline reference. | Confirm the APS limit that applies to the namespace, how bursts above it are handled, and whether a throttled call is retried or lost in your SDK configuration. |
| Provisioned capacity with Temporal Resource Units | Reserves capacity in Temporal Resource Units so a namespace has predictable throughput. Fits steady, predictable workloads with a known peak that needs headroom. | Number of Temporal Resource Units reserved, the commitment term, and the storage charged on top. Pricing is quoted by Temporal, not published. | Request a written quote covering units, commitment length, scale-up and scale-down rules, and what happens to unused capacity. |
| Separate namespaces per workload | Splits workloads into their own namespaces so one spiky workflow family cannot consume another's limits. Fits mixed portfolios with different latency, retention or compliance needs. | Each namespace carries its own limits and capacity settings, so more namespaces can mean more reserved capacity and more administration. | Ask how APS limits and capacity apply per namespace, whether limits can be raised per namespace, and how namespace creation is handled in your account. |
| Shared namespace for related workloads | Keeps related workflow types in one namespace to simplify operations. Fits small teams with low, steady throughput and similar service levels. | Shared limits mean a burst in one workflow type can slow others. Cost follows total actions and storage across the namespace. | Confirm the namespace's current APS limit and how sustained high load is monitored, and ask what alerts Temporal provides on throttling. |
| Burst absorption through workflow design | Reduces peak action rates by batching, delaying or rate-limiting starts in your code. Fits any mode, and lowers the capacity you need to buy. | Engineering effort to design and test the throttling logic, with lower action volume reducing usage charges over time. | Ask Temporal which action types count toward APS and which design patterns it recommends for high fan-out workloads. |
| Retention and storage settings | Controls how long closed workflow data is kept, which affects storage charges independent of capacity mode. Fits every namespace with long-running or high-volume history. | Active storage and retained storage are billed per GB-hour according to the pricing page, so retention length drives the recurring cost. | Ask for the retention period options available on your plan and how retained storage is billed for your expected volume. |
| Choosing between modes later | Starting on-demand and moving to provisioned after measuring real load. Fits teams whose workload profile is not yet known. | Migration effort in client configuration, plus any overlap in billing during a change of mode. | Ask how a change from on-demand to provisioned takes effect, whether it needs a namespace change, and how much notice is required. |
Setting up capacity for a namespace, step by step
This sequence takes a namespace from workload estimate to a verified capacity setting. Each step produces a record that the next step depends on, so the final mode choice rests on measured numbers rather than assumptions.
Inventory workflow types and actions per run
The platform engineering lead lists every workflow type that will run in the namespace and counts the actions each execution produces, including each activity, timer, signal and child workflow, using the action counting rules in Temporal's documentation. Confirm those counting rules with Temporal before relying on the totals. Each owning team reviews its rows. The output is a table of workflow types with expected actions per run and expected daily run volume, and the step is done when every owning team has signed off on its rows.
Measure sustained and peak action rates
Take the rates from production history where it exists, or from a load model for a new workload, and separate the sustained rate from short peaks. Record actions per second over a window long enough to show daily and business-hour patterns. Note the largest burst that a batch job, a scheduled start or a retry storm could create, and ask each team which events trigger bursts, because those events set the peak figure. The check is a written peak rate and sustained rate for the namespace, with the source of each number recorded beside it.
Run a representative load test
Run a load test in a non-production namespace that matches the production worker count, task queue layout and payload sizes. Drive the test to the peak rate from the previous step plus a margin the team chooses, and use a workflow mix that matches the inventory so the action profile is comparable. Watch for throttling and worker backlog separately, because a slow worker can look like a capacity limit. The check is a completed test at the target rate, with the action profile matching the inventory and a record of which metric showed any throttling.
Choose on-demand or provisioned mode per namespace
Decide each namespace's mode from the shape of its measured load. On-demand capacity suits workloads with unpredictable bursts, while provisioned capacity suits steady, predictable load that must not be throttled at its peak. Provisioned capacity is sized in Temporal Resource Units, so confirm the current mode definitions, unit sizing and any minimum terms with Temporal before deciding. Namespaces with different risk profiles should each get their own decision. The output is one written mode choice per namespace, with the measured figures it rests on.
Request provisioned capacity in writing
For any namespace that needs provisioned capacity, send Temporal a written request that names the namespace, the measured sustained and peak rates, the expected growth period and the workflows driving the load. Ask for the unit count, the commercial terms, the effective date and how changes are handled after purchase. Ask whether a change takes effect immediately or on a schedule, and keep the approved quote or order form with the change record. Current pricing context is on Temporal's pricing page. The check is a signed order or written confirmation that states the units and effective date for each namespace.
Apply capacity settings through console or infrastructure as code
Apply the approved mode and capacity in the Temporal Cloud console or in infrastructure as code, so the setting is recorded and repeatable. If the team manages namespaces with Terraform, change the code, review the change and apply it through the normal pipeline, and avoid making the same change by hand in the console. Then confirm the console matches the code with no drift. The check is a plan with no unexpected changes and a console view that shows the approved mode and capacity for each namespace.
Verify with metrics and a controlled load test
After the change, run a controlled load test at the agreed peak and watch Temporal Cloud metrics for throttling, action rate and latency during the test. Track worker backlog and schedule-to-start times in your own dashboards at the same time. Set alerts for throttling and for sustained action rates approaching the limit, so the next change is caught early, and repeat the test after major workflow changes. The check is that no throttling appears at the expected peak, latency stays within the agreed target and the alerts fire during a test.
How to measure APS before you pick a capacity mode
APS is the rate of actions a namespace receives, measured per second, and it is the number that decides whether a namespace fits within its limits under on-demand or provisioned capacity. Temporal counts certain API operations as actions, but the exact list of countable actions, and how each one is weighted, must be confirmed in Temporal's current Cloud documentation before you size anything. Write the list down with the version of the docs you used, because it can change between releases and your capacity plan should cite it.
Your workflow design sets the count more than the business volume does. Each workflow start, signal, update, query and schedule trigger can generate different numbers of calls, and retries multiply them when a dependency degrades. Worker polling also adds calls when workers are idle, so a fleet that scales out for a backlog can raise APS without any real work arriving. Signal-heavy designs, fan-out activities, short schedules and aggressive retry policies are the usual sources of surprise. Pull the workflow and activity counts from a representative week, then multiply by the calls each pattern makes, rather than guessing from order volume.
Measure peak windows, not averages. A namespace averaging a modest rate can still hit its limit for a few minutes at month end, during a batch load or after a regional outage triggers mass retries, and a limit breach is what matters to the workload. Capture per-second or per-minute peaks over at least one full business cycle, include known events such as payroll runs, reconciliations and release days, and check whether the namespace's usage metrics expose the granularity you need. The same action counts also drive the per-action charge on pay-as-you-go pricing, so the peak and total volume you record feed both the capacity decision and the bill. Compare your figures against the Temporal Cloud pricing page and ask Temporal to confirm how billed actions map to the counts you captured.
APS limits to confirm before committing to a mode
Temporal Cloud capacity is set per namespace, and the figures that govern it are not in the researched facts for this page. Each card names one limit or term to get from Temporal in writing before you pick on-demand or provisioned capacity, so the decision rests on confirmed numbers rather than assumptions.
APS ceiling for each mode
Ask Temporal for the actions per second ceiling that applies to on-demand and to provisioned namespaces, and whether that ceiling is set per namespace or pooled across the account. A ceiling that is shared across namespaces changes how one spiky workload affects its neighbors. Ask whether the figure is a hard limit, a burst allowance or a sustained rate, and how Temporal measures it over time. Get the answer for each namespace type you plan to run.
Temporal pricingHow TRU sizing becomes capacity
Ask how many Temporal Resource Units (TRUs) a provisioned namespace needs, how many actions per second each TRU supports, and whether the conversion is linear. Confirm which resources the TRU count covers beyond throughput, such as storage or long-running workflow state. Request a worked example from Temporal using your own peak action rate, labeled as their estimate. Without this conversion, the TRU count in a quote cannot be checked against your load test.
How throttling is reported
Ask which error codes, SDK signals and metrics Temporal Cloud emits when a namespace is throttled, and where those metrics appear in the Cloud metrics endpoint. Confirm whether throttled requests are retried by SDKs automatically, and how long a worker can stall before the backlog becomes visible. Build alerts on the throttling signal before go-live, since the first symptom is often rising workflow start latency rather than an explicit failure.
Speed and direction of provisioned changes
Ask how long a change to provisioned capacity takes to apply, whether increases and decreases take effect on the same timeline, and whether capacity can be lowered during the commitment term. Confirm whether a scale-up can be requested during an incident and who approves it. A slow scale-up means peak headroom must be bought in advance, so the answer affects how much capacity you commit to.
Effect of High Availability namespaces
Ask whether a High Availability namespace has the same APS ceiling and TRU capacity as a standard namespace, or whether replication reduces or changes the throughput available. Confirm whether the provisioned capacity must be set on both the primary and the failover side, and whether a failover can be exercised under load without throttling. The answer determines whether the HA price and the capacity price should be quoted together.
Contract terms tied to provisioned capacity
Ask for the commitment term, minimum TRU purchase and billing cadence for provisioned capacity, and whether unused capacity is refunded, carried over or lost. Confirm what happens to overage above the provisioned level, whether it is billed at on-demand rates or throttled, and how renewal pricing is set. Get these terms in the order form or a signed quote rather than from a sales conversation, since they decide whether a provisioned mode saves money for a spiky workload.
What throttling looks like to workers and on-call teams
A namespace at its action limit rarely fails with a clean outage. Workers and clients see slower responses and some requests rejected with a limit-related error. Most Temporal SDKs retry these automatically under their retry policies, so the first symptom is often latency rather than failure. Task queues then back up because workers poll and complete tasks more slowly than they are scheduled, and timers, schedules and child workflows start late. Teams often notice the late scheduled work before they notice the throttling itself. Confirm the exact error types, status codes and SDK behavior for your language in the current Temporal Cloud and SDK documentation before you write alert rules that match on them.
Alert on the leading indicators before the namespace is throttled into an incident. Track schedule-to-start and workflow task latency, the backlog depth on each task queue, and the rate of rejected or retried requests reported by your SDK metrics. Temporal Cloud exposes namespace-level usage and limit metrics, and the metric names differ between the Cloud metrics endpoint and SDK metrics, so confirm both in the current documentation. Set thresholds from your own baseline, and page the team when backlog grows for a sustained period, not on a single spike. Review the APS trend in the same dashboard so the on-call engineer can see whether the namespace is approaching its provisioned or on-demand ceiling.
Retry settings can turn a short burst into a longer outage. When many workers receive limit errors at the same moment and retry with short initial intervals, a small excess becomes a synchronized wave of requests that keeps the namespace at its limit. Review the maximum attempts, backoff coefficient and maximum interval in your worker and client configuration, and make sure they include jitter where the SDK supports it. Test how the system behaves when the namespace is held at its limit in a non-production namespace, and agree on the point where on-call should stop a batch job, pause a schedule or reduce worker concurrency to let the backlog drain.
Access and change control for capacity settings
Capacity settings are a control surface, not just a billing setting. The four controls below work together: limit who can make changes, route changes through code, review what changed, and protect the credentials that generate load on a namespace.
Limit account admin roles
Capacity changes made in the Temporal Cloud console are account-level actions, so the people and service accounts who hold admin roles can alter a namespace's limits. Review who holds account admin rights and keep that list short. Check whether the team that runs workers also holds the ability to change capacity, and separate those duties where your change policy requires it. Confirm the exact role names and permissions in the current Temporal Cloud documentation before you write your access model.
Temporal Cloud plansUse service accounts for automation
Pipelines that adjust capacity should run under a dedicated service account with only the permissions they need, not under a named engineer's user identity. This keeps automated changes attributable and lets you rotate or revoke one automation without disrupting people. Ask your Temporal Cloud contact to confirm which roles can modify namespace capacity, since that determines which service accounts you can safely grant.
Route changes through code
Manage namespace capacity settings in infrastructure as code so every change is a reviewed commit rather than a console edit. Console changes that bypass the code create drift, and the next apply can silently revert a deliberate increase or leave a provisioned setting that nobody remembers. Require pull request review for any change to capacity values, and run a scheduled plan to detect drift between the code and the live account.
Self-hosted deployment docsReview changes in audit logs
Temporal Cloud audit logs record control plane events such as changes to accounts, API keys and connectivity rules. Use them to confirm who changed a namespace's capacity and when, and to match each change to an approved ticket or commit. Audit logs cover control plane activity, so they do not replace monitoring of the workload itself. Confirm with Temporal which events are captured and how long they are retained before you rely on them for investigations.
Protect worker credentials
Anyone holding a worker's API key or namespace certificate can start workflows and generate actions against that namespace, so a leaked credential can drive load and consume capacity you planned for other work. Store worker credentials in a secrets manager, scope each one to a single namespace, and rotate them on a schedule. Alert on unexpected action volume so a compromised credential shows up before it exhausts the limit.
What capacity planning costs and what it needs from your team
What drives the cost of Temporal Cloud capacity planning?
Your cost has two parts: what Temporal bills for usage and what your team or partner spends on sizing work. Pay-as-you-go pricing on the Temporal pricing page starts at 50 US dollars per million actions, with active storage at 0.042 dollars per GB-hour and retained storage at 0.00105 dollars per GB-hour. Action volume depends on workflow design, including how many activities, timers and signals each execution makes. Storage depends on how many executions stay active and how long closed histories are retained. Sizing work is largely one-time, but the bill recurs for as long as the namespace runs. Check which of these charges a provisioned commitment changes, and whether the committed amount is billed whether or not you use it.
Can an internal team choose the capacity mode without outside help?
Yes, if the team has the inputs and the time to check them. An internal team needs a history of action volume by namespace, including peaks and the hours they occur, a clear view of how many executions stay open and how long history is retained, and the current published limits for each namespace. It also needs a test environment where it can reproduce a peak. Outside help is most useful where the team lacks load testing experience, where workflow designs need to change to reduce actions, or where several teams share a namespace and the trade-offs are political as much as technical. Whoever decides should be able to explain the chosen mode and the trigger for changing it.
What makes the sizing work take longer?
The main drivers are the quality of your existing data, the number of namespaces, and how spiky the traffic is. Teams without per-namespace metrics spend time building a baseline before any modeling starts. Spiky workloads need a load test that reproduces peak bursts, not only daily averages, so the test environment must resemble production closely enough to be useful. Each namespace that shares a worker fleet or a business owner adds review steps. Decisions about High Availability, data export or identity changes made in the same window extend the schedule because they affect the same namespace. Approvals from finance and change control also add time that depends on your internal process, so confirm those steps early.
What should we ask Temporal for in a capacity quote?
Ask for the quote in writing and make sure it names each namespace, the capacity mode, and the unit of measure used for billing. Confirm the rate basis, the commitment term, and whether the committed amount is billed even when you use less. Ask what triggers overage charges and how they are calculated, whether capacity can be increased or reduced during the term, and what notice period applies. Ask how a capacity change affects your support tier and your SLA, and whether the quote assumes a particular retention period. Finally, ask Temporal to confirm the current limits for your namespace in writing, since published limits can change and your sizing depends on them.
Does a namespace need High Availability when capacity changes?
Not automatically. High Availability is a separate decision that affects replication, failover, SLA and pricing, while capacity sets how much work the namespace can accept. The Temporal pricing page lists a 99.9% SLA and a 99.99% SLA with high availability, so the availability target should be decided on its own. When you change capacity for a namespace that is already protected, check that the new capacity applies to the replicated namespace as well, and confirm how failover affects action counts and billing. Test the change in the same window as the capacity update so you can see both effects together.
When should we revisit our Temporal Cloud capacity mode?
Revisit the mode whenever the workload changes in a way your sizing did not assume. Common triggers include a new workflow type that adds activities or timers, a change in traffic pattern such as a new batch job or a seasonal peak, a longer retention period, a new namespace that shares workers, and invoices that vary from forecast. Operational signals matter too: if your metrics show throttling or queued work during peaks, or if you pay for capacity that sits idle, the mode needs review. Set a regular review cadence in addition to event triggers, and record the assumptions behind each decision so the next review can test them.
How do support add-ons affect capacity planning decisions?
Support tier affects how quickly you get help when a capacity problem happens during a peak, so it belongs in the same decision. According to the Temporal pricing page, the Business add-on starts at 500 US dollars per month with a 2-hour P0 response during business hours. Enterprise and Mission Critical are quoted by sales and include SCIM, with 30-minute or 15-minute P0 response around the clock. Ask whether the response targets apply to capacity incidents specifically, and whether the support tier changes during a mode change. Weigh the add-on cost against the impact of a stalled peak on your business, using your own incident history as the input.
How DeployOpen scopes Temporal Cloud capacity work
DeployOpen approaches Temporal Cloud capacity as a written scope: we measure your action rate, choose between on-demand and provisioned capacity, and document the limits each namespace will run under. The result is a capacity plan your platform, finance and operations teams can review before production traffic arrives.
How we scope
- Inventory every namespace, its workflow start rate and peak action rate against current APS limits
- Confirm which workloads are spiky and which are predictable before recommending a capacity mode
- Agree in writing which namespaces, regions, workers and environments the capacity work covers
How we build
- Configure namespace capacity settings and Temporal Resource Units according to the agreed plan
- Load test each namespace at expected and peak action rates, recording throttling and worker latency
- Wire capacity and throttling metrics into your alerting so limits are visible before workers slow down
How we hand over
- Deliver a capacity runbook covering limit increases, scaling triggers and who approves a change
- Document the quote inputs your finance team needs, including which costs recur and which do not
- Walk your operators through the test results, alert thresholds and rollback steps in a recorded session
How we support
- Offer ongoing capacity reviews as a retainer when workloads or workflow designs change
- Retest namespaces after major workflow releases or significant changes in traffic shape
- Keep the capacity runbook current with your Temporal Cloud account settings and internal approvals

