June 25th, 2023 Deno Deploy Postmortem
A 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.
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.
- May 30 incident update
Deno easyNoviceA 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.
- 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.
- March 2 incident update
Deno mediumAdeptA 98-minute outage of deno.land media, deno.land/x and deno.land/std module serving, doc.deno.land and cdn.deno.land was caused by a faulty Cloudflare abuse-prevention filter. A traffic spike from the Deno 1.8 Hacker News post triggered a TOS media block, and Cloudflare treated every .ts file as an MPEG transport stream, even though the files were served as application/typescript. Deno moved its Cloudflare Worker to a Deno script on Fly.io in under 20 minutes by polyfilling the fetch event, then switched DNS. Cloudflare lifted the block 16.5 hours later. Users with cached dependencies were largely unaffected; new users and CI pipelines bore the impact. A public status page followed.
- Incident Report: Feb 18-21 DDoS + Cloudflare Outage
Railway mediumAdeptBetween Feb 18 and 21, 2026, a series of nine DDoS attacks, some reaching about 1 Tbps, caused intermittent 4xx/5xx errors and outages across Railway's shared HTTP proxy layer. Fiber cuts had already reduced upstream bandwidth, so attacks that would normally be absorbed could saturate the shared proxies. When the primary Cloudflare-based mitigation failed mid-attack and the attacker switched from L4 TCP floods to L7 HTTP, Railway rotated proxy IPs, moved Business and Enterprise customers onto a separate proxy shard, and did an emergency platform-wide rollout of a Fastly WAF. That rollout caused its own problems: about 2,700 endpoints hit TLS certificate errors (mostly from A-record setups), long-lived connections were cut at 10 seconds, certificate collisions affected Cloudflare-fronted custom domains, and WAF tuning briefly blocked legitimate traffic from Asia, alongside a separate upstream Cloudflare BGP prefix withdrawal.