Temporal scaling and performance

Sizing and scaling a self-hosted Temporal Service: history shards, service counts, load testing, rate limits, latency metrics, execution limits and multi-tenant designs.

Choosing the Temporal history shard count

Picking numHistoryShards for a new Temporal cluster: what a shard does, the range Temporal has run in production, database effects and why the number is fixed once the cluster starts.

Scaling Temporal Server services

Scaling the Temporal frontend, history, matching and worker services independently: the stateless frontend, one history process per 500 shards as a starting point, and what to watch as load grows.

Load testing Temporal with Omes

Proving a self-hosted Temporal cluster can carry peak load: load testing with Omes or custom scenarios, the metrics to watch and turning results into shard and node counts.

Temporal rate limits and namespace RPS

Understanding and tuning Temporal frontend rate limits: per-host and per-namespace RPS defaults, the global namespace limit and keeping noisy namespaces from starving others.

Temporal workflow execution limits

Designing within Temporal's limits: event history size and count, payload and gRPC message sizes, 2,000 pending operations per workflow, and the dynamic config keys that change them.

Multi-tenant applications on Temporal

Serving many tenants from Temporal: one namespace with task queue fairness, per-tenant task queues or namespaces per tenant, and the isolation, limits and cost trade-offs of each.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.