Home / Companies / Temporal / Blog / Post Details
Content Deep Dive

Scaling Temporal: The Basics

Blog post from Temporal

Post Details
Company
Date Published
Author
Rob Holland
Word Count
2,725
Company Posts That Month
11
Language
English
Hacker News Points
-
Post removed?
No
Summary

Scaling a Temporal Cluster involves addressing various workload patterns and operational goals, and this guide simplifies the process by focusing on key metrics and terminology. While using Temporal Cloud offers an easy scaling solution, the guide details a step-by-step approach for scaling a self-hosted Temporal Cluster on Kubernetes. This involves iterative cycles of loading, measuring, and scaling to transition from development to production-level configurations, with attention to aspects like Kubernetes resource management, shard count configuration, and polling optimization. The process includes adjusting the number of shards to reduce lock contention, optimizing CPU and memory usage, and improving poll sync rates to enhance throughput. The guide also emphasizes the importance of maintaining Service Level Objectives (SLOs) for request latency and Schedule-to-Start latency, using Prometheus and Grafana for monitoring. Through these adjustments, the cluster's performance significantly improves, achieving a substantial increase in State Transitions per second while maintaining database efficiency.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 8 1,589 172 71 +19%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.