May 30 incident update
A 70-minute Deno Deploy outage on May 30, 2022 was caused by the etcd service discovery cluster running out of memory after a network-wide load test: scale-up and scale-down generated a burst of updates, etcd daemons exceeded VM RAM, the Linux OOM killer terminated several at once, and quorum was lost. Instances then crash-looped on restart until the cluster was recreated on larger-memory VMs and services re-registered. Remediation includes bigger instances, extra etcd health checks, and alerts on etcd memory usage; no data was lost and Subhosting traffic was largely unaffected.
Related posts
- 2022-07-18 incident update
Deno easyNoviceA 65-minute outage on July 18, 2022 took down all Deno Deploy services, including subhosting, deno.com and deno.land module downloads. The etcd cluster used for service discovery reached etcd's 2GB default storage quota even though the VMs had plenty of disk, so internal load balancers could no longer find where to route isolate execution requests. Service came back after the cluster was rebuilt, a process slowed by secrets management problems and unintended co-dependencies between services. Deno plans to replace the service discovery system and improve its runbooks and incident tooling.
- June 25th, 2023 Deno Deploy Postmortem
Deno easyNoviceA DDoS attack on one site hosted on Deno Deploy drove traffic to about 10x normal and took down Deploy projects, deno.com and deno.land for 44 minutes on June 25, 2023. Rapid autoscaling brought many processing nodes online at once. Each node pulled start-up metadata from a central database, which was rate-limited and overloaded, and nodes that timed out rebooted and added to the load in a feedback loop. Fixes include more database capacity, globally cached boot payloads to remove the single point of failure, letting nodes run on slightly stale data, and load testing for similar spikes.
- July 13th Utah Outage Update
Deno mediumAdeptA regional TCP load balancer in Deno Deploy's us-west3 (Utah) region silently lost its etcd watch connection, desynchronized from service discovery, and believed it had no healthy backends. A design oversight meant it failed to un-advertise itself, so upstream balancers kept sending it traffic that was dropped for about 24 hours, plus a 30-minute repeat after a replacement balancer hit the same fault. Monitoring reported everything healthy, and the TCP layer gave no diagnostics, which made the faulty region hard to locate. Planned fixes include better per-region monitoring, diagnostics for dropped connections, and architectural changes to load balancing.
- September 23 incident update
Deno easyNoviceA 35-minute outage on September 23, 2021 took down Deno Deploy projects, deno.land/x and /std module downloads, the dashboard and GitHub integration. It was caused by an unexpected Google Cloud Platform maintenance event on the primary Postgres database, during which HA failover to standby replicas is not possible. The database finished maintenance in an unknown failure state and recovered only after an automatic restart, with no data lost. Scheduled database maintenance has been halted while Deno works with GCP on the root cause and on making services resilient to primary database failures.
- 2023-03-08 incident: A deep dive into our incident response
Datadog Engineering mediumAdeptDatadog's March 8, 2023 global outage, triggered by an automatic systemd upgrade that broke Kubernetes nodes across isolated regions on multiple clouds, tested an incident process built on out-of-band monitoring, senior incident-commander rotations, blameless culture and a 30-minute customer update cadence. Response was slowed by the loss of Datadog's own monitoring, intermittent failures of the incident tooling, and the assumption that isolated regions could not fail together, so diagnosing the Kubernetes node failure took over an hour. The response scaled to nearly 100 workstreams and 500-750 engineers in shifts, with workstream leads acting as untrained sub-commanders. Full infrastructure restoration took until 18:00-19:00 UTC.