Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Deno 4 min read Incident mediumAdept

March 2 incident update

A 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.

Related posts

  • January 4th incident update

    Deno mediumAdept

    A refactor of content negotiation on deno.land caused modules under deno.land/x and deno.land/std to be served wrapped in HTML instead of raw code for about 40 minutes on January 4th, 2022. The new logic did not account for the Deno CLI and Deno Deploy sending an Accept header that permits all content types, including text/html, and tests had been written against wrong assumptions about those headers. Recovery was slowed because Deno Deploy had no revert capability and the fix itself depended on the broken module hosting, so service was restored by pointing dependencies at an earlier deployment. Follow-ups are new tests for the negotiation logic and a rollback feature for Deno Deploy.

  • June 25th, 2023 Deno Deploy Postmortem

    Deno easyNovice

    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.

  • September 23 incident update

    Deno easyNovice

    A 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.

  • 2022-07-18 incident update

    Deno easyNovice

    A 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.

  • Deno 1.11 Release Notes

    Deno mediumAdept

    Deno 1.11 adds official Docker images (Alpine, CentOS, Debian, Distroless, Ubuntu), abortable fetch via AbortSignal, Web Crypto's crypto.subtle.digest and crypto.randomUUID, TextEncoderStream/TextDecoderStream, and an unstable in-process BroadcastChannel for workers. deno lint is now stable, and deno compile binaries gain data-URI dynamic imports and Deno.emit(). The language server adds test code lenses, per-resource configuration, registry auto-discovery and JSON/Markdown formatting. The release also ships TypeScript 4.3 and launches a web platform test dashboard for tracking browser compatibility.

The quest for software engineering knowledge.

Look:
Layout: