→ Back to Home
Serverless

Google Cloud Introduces General Availability of Cloud Run Worker Pools

Google Cloud recently announced the general availability of Cloud Run worker pools, marking a significant advancement in its serverless offerings. This new resource type is specifically engineered to cater to pull-based, non-HTTP workloads, a common requirement for many modern applications. Unlike traditional Cloud Run services that scale in response to incoming HTTP requests, worker pools provide a persistent, "always-on" environment, making them ideal for continuous background operations. The introduction of worker pools directly addresses the challenges associated with managing tasks such as processing extensive message queues or performing large-scale AI inference. These types of workloads often require resources to be consistently available, rather than spinning up and down with each individual request. By offering a dedicated solution, Google Cloud enables developers to execute these critical background processes more reliably and efficiently. To further enhance the functionality of Cloud Run worker pools, Google Cloud has open-sourced the Cloud Run External Metrics Autoscaler (CREMA). This autoscaler is built upon KEDA (Kubernetes Event-driven Autoscaling), a popular open-source project. CREMA empowers worker pools with intelligent, queue-aware autoscaling capabilities. This means that the worker pools can dynamically adjust their resources based on external metrics, such as the backlog of messages in a Pub/Sub queue or the lag in a Kafka topic. This intelligent autoscaling mechanism ensures that resources are scaled up or down precisely when needed, preventing over-provisioning and reducing operational costs. For developers, this translates into a more streamlined and cost-effective approach to managing background tasks and AI inference workloads on Google Cloud, allowing them to focus more on application logic rather than infrastructure management.
#cloud run#serverless#worker pools#autoscaling#gcp#background tasks
Read original source