---
title: "Canva incident report: API Gateway outage"
description: "On November 12, 2024, canva.com was down for about an hour after a thundering herd of 1.5 million requests per second (3x typical peak) crashed Canva's Netty-based API Gateway on ECS."
url: "https://swe.quest/articles/canva-incident-report-api-gateway-outage-0ee6db4b8e3e49a0"
canonical: "https://www.canva.dev/blog/engineering/canva-incident-report-api-gateway-outage/"
source: "Canva Engineering"
published: "2024-12-20"
difficulty: "medium"
kind: "Incident"
reading_minutes: 8
tags: ["incident-response","resilience","cdn-edge","deployment","performance"]
---

# Canva incident report: API Gateway outage

A post on [Canva Engineering](https://swe.quest/sources/canva.md), published 2024-12-20, 8 min read, Incident. Original: [https://www.canva.dev/blog/engineering/canva-incident-report-api-gateway-outage/](https://www.canva.dev/blog/engineering/canva-incident-report-api-gateway-outage/)

## Summary

On November 12, 2024, canva.com was down for about an hour after a thundering herd of 1.5 million requests per second (3x typical peak) crashed Canva's Netty-based API Gateway on ECS. A Cloudflare routing rule sent traffic over a lossy Singapore–Ashburn path, so one editor JavaScript chunk took 20 minutes to fetch. More than 270,000 requests coalesced on a single cache stream and then completed at once. A telemetry-library regression that took a lock on event-loop threads cut per-task throughput, and off-heap memory growth led the OOM killer to take down every task faster than autoscaling could replace them. Recovery required blocking all traffic at the CDN and restoring it gradually by region. Follow-ups include load shedding, more task headroom, load testing, asset fetch timeouts, and page-load completion as a canary signal.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)
- [CDN & edge](https://swe.quest/tags/cdn-edge.md) (Infrastructure)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- CDN tiered caching ([easy posts on CDN & edge](https://swe.quest/tags/cdn-edge.md?difficulty=easy))
- event loop concurrency model ([easy posts on Concurrency](https://swe.quest/tags/concurrency.md?difficulty=easy))
- canary deployments ([easy posts on Deployment](https://swe.quest/tags/deployment.md?difficulty=easy))
- autoscaling ([easy posts on Capacity planning](https://swe.quest/tags/capacity-planning.md?difficulty=easy))

## Keywords

Cloudflare, Netty, Amazon ECS, AWS S3, Concurrent Streaming Acceleration, Linux OOM Killer

## Related posts

- [Incident Report: October 16th, 2025](https://swe.quest/articles/incident-report-october-16th-2025-6eb111a489b39aef.md): Railway · 2025-10-16 · Easy · 3 min read · Incidents & postmortems, Load balancing, Resilience, CDN & edge
  A traffic spike on Railway's Edge Network coincided with a routine edge service upgrade and exhausted memory in an internal routing service that was already running at high utilization.
- [Going multi-cloud with an in-housed status page](https://swe.quest/articles/going-multi-cloud-with-an-in-housed-status-page-2873f2e1231f7f6e.md): Railway · 2026-06-01 · Medium · 5 min read · CDN & edge, Resilience, Caching, Incidents & postmortems, SRE
  Railway built its own status page, hosted on Railway itself, behind a Cloudflare Worker so the public page survives an origin outage.
- [Thundering herd of circuit breakers](https://swe.quest/articles/thundering-herd-of-circuit-breakers-b2ab1d42eebffb68.md): Zalando Engineering · 2026-10-07 · Medium · 9 min read · Resilience, Incidents & postmortems, Observability, Kubernetes, Capacity planning
  A client's circuit breaker stayed open for hours because its half-open probes hit a service that the HPA had scaled down to three pods.
- [Incident Report: November 25th, 2025](https://swe.quest/articles/incident-report-november-25th-2025-0f5ac3667ca5f9ba.md): Railway · 2025-11-25 · Medium · 3 min read · Incidents & postmortems, Resilience, Scheduling
  Slow GitHub API calls (about 4x normal p95 latency) during peak hours backed up Railway's Temporal-based task queue, causing workers to run out of memory and crash in a cascading thundering-herd pattern as surviving and newly started workers were overwhelmed by the backlog.
- [Postmortem: Service disruptions on June 6 & 7 2022](https://swe.quest/articles/postmortem-service-disruptions-on-june-6-7-2022-778d04ed1a92a844.md): Figma · 2022-06-15 · Medium · 11 min read · Incidents & postmortems, Caching, Cloud platforms, Resilience, Performance engineering
  Four Figma outages over June 6–7, 2022 were caused by Engine CPU saturation on a Cluster-Mode Enabled AWS ElastiCache Redis node, triggered by Pub/Sub traffic flowing over the Redis Cluster Bus.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
