Temporal

Temporal Workers & Google Cloud Run

Jan 6, 2025
Temporal Workers & Google Cloud Run
SummaryAI, from the source post

This post updates guidance on deploying Temporal Workers to Google Cloud Run by leveraging the new Worker Pools resource type and CREMA (Cloud Run External Metrics Autoscaling). It details the configuration of Worker Pools, the use of a sidecar container with OpenTelemetry Collector for Prometheus metrics, and the configuration of CREMA for autoscaling based on Temporal Task Queue backlog depth. The scaling formula and key tuning parameters for CREMA are explained, including `targetQueueSize` and `activationTargetQueueSize`.

More from the Serverless Workers for Cloud Run trail