A Recap on May/June Stability
Neon's May and June 2025 incidents were caused by a load surge from agentic AI platforms. Database creation rose more than 5x and branch creation more than 50x. In May, US regions hit Kubernetes scaling limits around 10,000–12,000 concurrent database pods: EKS etcd memory, pod start times, network configuration and API rate limits. Stopgap tuning raised risk until the horizontally scaled "Cells" architecture shipped. In June, branch metadata growth in the Postgres-backed control plane caused query plan drift, vacuum pressure and expensive billing queries. Fixes include stricter limits on every workload dimension, tests with high-branch-count scenarios, defensive query rewrites, moving billing data to an analytical store, and splitting start/suspend hot-path logic into a small isolated service.
Related posts
- Postmortem: Delayed Start Compute Operations
Neon mediumAdept
A query plan change overloaded Neon's control plane database in AWS us-east-1, which stopped it from suspending idle databases. Running pods climbed to about 8,000, and those pods used up the IP addresses in two of the three subnets, so customers couldn't create or wake scale-to-zero databases for 5.5 hours across two days. Mitigation meant upscaling the control plane database, adding temporary proxy rate limiting, and setting the AWS CNI WARM_IP_TARGET and WARM_ENI_TARGET to 0. Restoring WARM_IP_TARGET=1 three days later caused IP allocation to fail again even though free IPs were available, and that was eased by doubling prewarmed compute pools. Follow-ups include doubling the VPC subnets and a new Kubernetes 'Cells' architecture.
- How one quadratic webhook handler pinned our autoscaler at its ceiling
Sentry mediumAdeptSentry's Control RPC deployment sat pinned at its 256-pod autoscaler ceiling (normally ~32) because three GitLab integration bugs combined. A four-year-old grouping bug attached 2,000+ installations to one shared Integration record, a webhook backfill fix enabled webhooks across all of them, and an N² installation lookup in assignment sync made each webhook trigger up to millions of cross-silo RPC calls. A misleading P95 busyness KEDA metric and asymmetric scale-up/scale-down rates masked the cause for weeks, until a per-method RPC breakdown exposed a 10x jump in one method. The fix cut average pods from ~150 to ~42 (about 72%). Lessons: verify scaling metrics actually fall as pods are added, break RPC volume down by method, and hunt N+1/N² calls that cross network boundaries.
- Measuring uptime for Neon’s multi-tenant architecture
Neon mediumAdept
Neon dropped the binary incident-based uptime percentage from its status page because it misrepresented a multi-tenant system: over 30 days, 99.9% of projects exceeded 99.95% uptime while the page showed 99.89%. It plans to show the share of projects within uptime ranges instead. Recent incidents fell into three categories, each with a fix. Noisy-neighbor disk IO that degraded containerd was stopped by a DaemonSet applying cgroup IO limits to compute pods. Retry storms, caused by mismatched retriable error codes and a missing rate limiter, were fixed by aligning the retry logic and adding rate limits. Misconfiguration in globally centralized components is being addressed by moving to region-local deployments to reduce blast radius.
- Delayed Start Compute Operations – Triggering Event
Neon mediumAdept
Neon's 2025-05-16 us-east-1 outage was triggered when the Postgres planner for the control plane database switched to a suboptimal index for the Activity Monitor query that finds idle Computes to suspend. The resulting broad scan of the tens-of-millions-row computes table saturated CPU and pushed fetchEndpointWithCompute latency from hundreds of milliseconds to over 100 seconds. With suspensions stalled, running VMs grew past the planned 6,000 and IP allocation failed. Neon fixed it by running ANALYZE and wrapping the expensive subquery in a materialized CTE as an optimization fence. Planned follow-ups include more aggressive garbage collection to shrink the table and moving historical data to an OLAP system.
- 2023-03-08 incident: A deep dive into the platform-level recovery
Datadog Engineering hardMasterRecovering from Datadog's March 8, 2023 multi-region outage, triggered by a systemd-networkd patch on Ubuntu 22.04 that cut network connectivity for nodes running Cilium, required restoring Kubernetes clusters in a strict order: parent control planes, then child control planes hosted on parent nodes, then application nodes. In EU1 (Google Cloud), impacted nodes could simply be rebooted. Scaling out to drain the backlog then hit a 15,500-instance network peering group limit and full pod subnets in three clusters, which normally run at around 40% IP usage. In US1 (AWS), Auto Scaling groups replaced tens of thousands of instances, so every node had to re-register through Vault, the Kubernetes API, and Cilium ENI/IP allocation via EC2 APIs, stressing those services and slowing the return to Ready capacity.