Skip to content

Failures and scaling

What happens when each part fails, and how Run grows with traffic.

Applies to EngineCloud
View as Markdown
On this page
  1. When something fails
  2. Scaling

When something fails

What failsEffectWhat Run does
A buildthe deploy is failedproduction is untouched; the error and the last log lines are reported to the CLI, the pull request and the console
A deploy’s health checkthe deploy is failedresources of that deploy are removed after a grace period; production is untouched
The Run API or its databaseno new deploys or releasesapps keep serving: the data plane does not call the control plane
A step of the deployerthe step is retried from the queuedeploy steps are idempotent and per app in order (FIFO); after retries the deploy is marked failed
A Git webhook is losta push is not seenRun also polls connected repositories every few minutes and deploys what it missed
A certificate cannot be issuedthe domain stays pendingthe app keeps answering at its other addresses; the console shows the missing record
A Lambda region problemrequests to dynamic paths failstatic paths keep being served from CloudFront’s cache; Run reports the incident
A Fargate task crashesECS starts a new onethe load balancer stops sending traffic to it while it is unhealthy

Messages that fail every retry go to a dead-letter queue that pages the on-call engineer in Sypnia Cloud; nothing is dropped silently.

Scaling

  • Static files scale with CloudFront; nothing to do.
  • Lambda scales per request up to the function’s max_instances (or the cell’s quota). min_instances removes cold starts at a cost.
  • Fargate services scale between min_instances and max_instances on CPU and request count.
  • Builds run in parallel up to the plan’s concurrent builds; extra builds wait in the queue in order.
  • The control plane is stateless Lambda over Postgres; its load is proportional to deploys, not to your visitors.
  1. When something fails
  2. Scaling

    Search pages, sections and terms