Cloud Run worker pool

gcpWorkergoogle-cloud-run-worker-pool

Cloud Run resource for pull-based workloads, with no endpoint and manual scaling.

Provider
gcp
Kind
Worker
Category
Compute
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
acceleratorenumnone | gpu | asicnonone▸ none
concurrencyinteger—no—inherited
fanoutStrategy · advancedenumnone | push | pull | hybridnononeinherited
fanoutThreshold · advancedinteger—no—inherited
httpEndpoint · component propertyboolean—nofalseinherited
idempotentboolean—nofalseinherited
instancesinteger—no—inherited
managedboolean—nofalse▸ true
rateControl · advancedenumnone | fixed | aimdnonone▸ none
scalingMode · component propertyenummanual | automaticnomanualinherited
schedulestring—no—inherited
triggerenumqueue | stream | schedule | batch | manualyes—▸ queue
zoneRedundant · component propertyboolean—notrueinherited
Rules that apply · 3

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

push-fanout-without-celebrity-path

Pure push fan-out over a social graph is brutal at the tail: one post from an account with millions of followers becomes millions of cache writes. A follower threshold above which readers merge at read time bounds that write amplification.

  • — all of these hold:
  • — the node's `fanoutStrategy` is "push"
  • — the node's `fanoutThreshold` has no value
  • — the design contains a node of kind graph-database
shared-worker-pool-across-queues

One worker pool consuming several queues lets a slow or poisoned queue starve the others. That is precisely what the design's per-queue isolation requirement forbids.

  • — all of these hold:
  • — the node has more than 1 incoming edge from a queue
  • — the design requirement `isolation.perQueue` is true
stateful-node-without-zone-redundancy

A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.

  • — all of these hold:
  • — the node's `stateless` is false
  • — the node sits inside exactly 1 availability-zone group
  • — this does not hold:
  • — the node sits inside at least one cell group
Use it in a design
nodes:
  - { id: "cloud-run-worker-pool", component: "google-cloud-run-worker-pool" }
Other Worker products · 82
SchedulerXalibaba-schedulerxalibabacloudworkerAmazon AppFlowaws-appflowawsworkerAWS B2B Data Interchangeaws-b2b-data-interchangeawsworkerAWS Batchaws-batchawsworkerAWS Glue DataBrewaws-databrewawsworkerAWS DataSyncaws-datasyncawsworkerAWS Deadline Cloudaws-deadline-cloudawsworkerAWS Entity Resolutionaws-entity-resolutionawsworkerAmazon EventBridge Scheduleraws-eventbridge-schedulerawsworkerAWS Fault Injection Serviceaws-fisawsworkerAWS Glue crawleraws-glue-crawlerawsworkerAWS Glue for Ray jobaws-glue-ray-jobawsworkerAWS Application Migration Serviceaws-mgnawsworkerAmazon MSK Connectaws-msk-connectawsworkerAmazon SageMaker AI Training Jobaws-sagemaker-training-jobawsworkerAWS Systems Manageraws-systems-managerawsworkerAWS Thinkbox Deadline 10aws-thinkbox-deadlineawsworkerAWS Glue jobglue-jobawsworkerAzure Automationazure-automationazureworkerAzure Batchazure-batchazureworkerAzure Chaos Studioazure-chaos-studioazureworkerAzure Data Factoryazure-data-factoryazureworkerAzure Data Shareazure-data-shareazureworkerAzure Database Migration Serviceazure-database-migration-serviceazureworkerMicrosoft Entra Connect Syncazure-entra-connect-syncazureworkerMicrosoft Graph Data Connectazure-graph-data-connectazureworkerAzure Storage Moverazure-storage-moverazureworkerAzure Update Managerazure-update-managerazureworkerBrowser Runcloudflare-browser-runcloudflareworkerCloudflare Snippetscloudflare-snippetscloudflareworkerCloudflare Zarazcloudflare-zarazcloudflareworkerAirbyteairbyteworkerAirflow DAGairflow-dagworkerChaos Meshchaos-meshworkerChunkrchunkrworkerContainer workercontainer-workerworkerCron jobcron-jobworkerDaytonadaytonaworkerE2Be2bworkerEmbulkembulkworker
and 42 more → Worker page
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Cloud Run worker pool: a Cloud Run resource for non-request workloads such as pull queues; worker
# pools have no endpoint or URL and instances are scaled manually ("Cloud Run resource model").
# Like every Cloud Run resource a worker pool is regional and Cloud Run replicates it across the
# zones of that region.
schemaVersion: "1"
type: "component"
id: "google-cloud-run-worker-pool"
kind: "worker"
provider: "gcp"
docs: "https://cloud.google.com/run/docs/resource-model"
defaults:
  managed: true
  trigger: "queue"
  accelerator: "none"
  rateControl: "none"
properties:
  scalingMode:
    type: "enum"
    values: ["manual", "automatic"]
    default: "manual"
  httpEndpoint:
    type: "boolean"
    default: false
  zoneRedundant:
    type: "boolean"
    default: true

The same page as markdown, for an agent: /catalogue/components/google-cloud-run-worker-pool.md