Skip to main content

System limits - Temporal Cloud

This page addresses the limits of the Temporal Cloud system. Reach out to your account team should you have any questions about these limits.

These limits fall into the following three main categories:

Account level

The following aspects apply at the Temporal Cloud Account level (per account).

Users

How many users can I add?

By default, 300 users across all Namespaces.

Namespaces

How many namespaces can I create?​

By default, each account is provisioned with ten Namespaces. As you start using Namespaces by scheduling Workflows, Temporal Cloud automatically raises your allowance. This automatic adjustment happens whenever all your Namespaces are in use, up to a maximum of 100 Namespaces. You can request further increases beyond the 100 Namespace limit by opening a support ticket.

Retained Prometheus endpoint data

How much metrics data does the Prometheus endpoint retain?​

The Prometheus endpoint retains 30 days of data.

Supported operators in List Filters

Which operators aren't supported in Temporal Cloud?

The ORDER BY operator isn't supported in List Filters in Temporal Cloud.

This means that custom ordering of Workflows with Temporal Cloud Visibility isn't possible. Lists of Workflows are still ordered by a default ordering rule, but be aware that this rule might change.

Namespace level

The following aspects apply at the Namespace level (per Namespace).

Throughput

What is the limit of Actions per second?

Each Namespace has a rate limit, which is measured in Actions per second (APS). A Namespace may be throttled when its throughput becomes too high. Throttling means limiting the rate at which Actions are performed to prevent the Namespace from exceeding its APS limit.

A Namespace's default limit is set at 400 APS and automatically adjusts based on recent usage (over the prior 7 days). Your throughput limit will never fall below this default value. You can request this limit be manually raised by opening a support ticket.

Schedules rate limit

Each Namespace has a default Schedule rate limit of 10 requests per second (RPS). If too many Schedules trigger at once, they may be throttled. Throttling limits the rate at which Schedules create new Workflow Executions, ensuring the Namespace does not exceed its RPS limit.

To avoid throttling, don't schedule all your Workflow Executions to start at the same time (daily, weekly, monthly, etc.). Every Temporal SDK supports jittering, which adds small random delays to Schedule specifications, helping to reduce load at any specific moment. Set the jitter value to the largest delay you will permit before your Workflow Execution must begin. This approach uniformly distributes the scheduled Workflow Execution launches through that period and reduces your Schedule Workflow Execution RPS load.

If you need a higher Schedule RPS limit, open a support ticket.

Certificates

What are the certificate limits?

Temporal Cloud limits each Namespace to a total of 32 KB or 16 certificates, whichever is reached first.

Concurrent Task pollers

Is there a limit to concurrent Task pollers?

Temporal Cloud limits each Namespace to 5,000 concurrent Task pollers, regardless of whether they are Activity or Workflow Task pollers.

Each SDK offers a way to configure Workers for per-Worker maximum Activity and Workflow Task pollers. Those values do not affect the global Namespace limit.

Default Retention Period

What is the default Retention Period?

The Retention Period is set per Namespace.

Temporal Cloud sets the default Retention Period to 30 days. This is configurable in the Temporal Web UI.

Navigate to your list of Namespaces, choose the Namespace you want to update, and select edit:

Choose your Namespace and select Edit

Choose your Namespace and select Edit

Update the Retention Period

Update the Retention Period

You can set the Retention Period between 1 and 90 days.

Batch jobs

How many batch jobs can run at a time?

A Namespace can have just one Batch job running at a time.

Each batch job operates on a maximum of 50 Workflow Executions per second.

Number of Custom Search Attributes

How many custom Search Attributes are allowed per Namespace?

There is a limit to the number of custom Search Attributes per attribute type per Namespace:

Search Attribute typeLimit
Bool20
Datetime20
Double20
Int20
Keyword40
KeywordList5
Text5

Custom Search Attribute names

What constraints are there for Custom Search Attribute names in Temporal Cloud?

When creating custom Search Attributes in Temporal Cloud, the attribute names must adhere to the following constraints:

  • Maximum characters: 64
  • Allowed characters: [a-zA-Z0-9.,:-_\/ ].

For more information on custom Search Attributes see Custom Search Attributes limits.

Visibility API Rate Limit

What is the rate limit for requests to the Visibility APIs?

The rate limit for requests to the Visibility APIs varies, and may be as low as 30 requests per second. This limit is not configurable.

Programming model level

The following aspects apply at the programming model level. See also: Self-hosted Temporal Service defaults.

Identifier length limit

What is the maximum length for identifiers?

Identifiers such as Workflow Id, Workflow Type, and Task Queue names have a maximum length of 1,000 characters in UTF-8 format.

Per message gRPC limit

What is the gRPC limit for each message received?

Each gRPC message received has a limit of 4 MB. This limit applies to all gRPC endpoints across the Temporal Platform.

Event History transaction size limit

What is the size limit for an Event History transaction?

An Event History transaction encompasses a set of operations such as initiating a new Workflow, scheduling an Activity, processing a Signal, or starting a Child Workflow. These operations create Events that are then logged in the Event History. The transaction size limit restricts the total size of Events that can be accommodated within a single transaction.

The size limit for any given Event History transaction is 4 MB. This limit is non-configurable for Temporal Cloud.

What is the blob size limit for a transaction?

  • Blob size limit for Payloads, including Workflow context and each Workflow and Activity argument and return value:
    • The max payload for a single request is 2 MB.
    • The max size limit for any given Event History transaction is 4 MB.

This limit is non-configurable for Temporal Cloud.

The BlobSizeLimitError guide provides solutions for handling large payloads.

Per Workflow Execution concurrency limits

How many incomplete concurrent operations can a Workflow Execution have?

If a Workflow Execution has 2,000 incomplete Activities, Signals, Child Workflows, or external Workflow Cancellation requests, additional Commands of that type will fail to be applied to that Workflow Execution:

  • ScheduleActivityTask
  • SignalExternalWorkflowExecution
  • StartChildWorkflowExecution
  • RequestCancelExternalWorkflowExecution

For optimal performance, limit concurrent operations to 500 or fewer. This reduces Workflow's Event History size and decreases the loading time in the Web UI.

Per Workflow Execution Signal limit

What is the limit on the total number of Signals received per Workflow Execution?

A single Workflow Execution may receive up to 10,000 Signals. After that limit is reached, no more Signals will be processed for that Workflow Execution.

Per Workflow Execution Update limits

What is the maximum number of Updates for a single Workflow Execution?

A single Workflow Execution can have a maximum of 10 in-flight Updates and 2000 total Updates in History.

Workflow Execution Event History limits

What are the limits that apply to the Workflow Execution's Event History?

As a precautionary measure, a Workflow Execution's Event History is limited to 51,200 Events or 50 MB. It warns you after 10,240 Events or 10 MB. This limit applies to all Temporal Workflow Executions, whether on Temporal Cloud or other deployments. Read more about Temporal Workflow Execution limits on the Temporal Workflow documentation page.