Skip to content

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

Topics Distributed systems

Scaling

Scaling a system to more traffic or data, and what broke.

Search within Scaling, or combine it with other topics →

November 2026

claude.dev

Using a "chaos loop" to harden the Claude Docs launch: 60 server errors across billions of requests

Case study 11 min +110 XP

Before launching Claude Docs, a two-week "chaos loop" had Claude Code drive a production-mirroring staging cluster at over a million synthetic docs a day, inject failures (mass reconnects, killed servers, stalled databases, hot docs), read Datadog telemetry, and ship fixes, with a human approving only hard-to-undo changes like schema or storage layout.

October 2026

Meta Engineering

Meta’s Generative Ads Model (GEM): Scaling the Central Model and Compute Engine for Frontier Ads AI

Case study 14 min +140 XP

Meta's 2026 GEM replaces per-surface ads ranking models with a single central recommendation foundation model trained across Facebook, Instagram, Reels and deep-funnel conversion objectives, reporting 18.9% conversion and 12% CTR gains.

September 2026

PlanetScale

Handling hot shards

Opinion 7 min +70 XP

When a shard key like tenant_id stops matching reality because a few whale tenants dominate load or cross-tenant queries appear, Neki (PlanetScale's sharded Postgres from the Vitess maintainers) offers three escalating fixes: vertically scale the hot shard with its own configuration profile, isolate the whale by narrowing hashed key ranges in the declarative data topology, or reshard specific tables by a better key.

August 2026

ClickHouse

Shopify powers observability for global-scale commerce with ClickHouse

Case study 8 min +80 XP

Shopify consolidated metrics, logs, traces, exceptions and profiles from multiple vendors onto Observe, an internal observability platform built on self-hosted ClickHouse, and saw a 16x query improvement out of the box (over 30x at peak) along with predictable costs.

20× the CI traffic without getting slower: How we rebuilt Git serving at Datadog

Case study 13 min +130 XP

Datadog replaced CI fetches from a replicated Gitaly/Praefect cluster with gitretriever, a fleet of independent Git mirrors that poll GitHub per changed ref and fan packfiles out to autoscaled relays over a gRPC signaling stream plus HTTP.

Meta Engineering

From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta’s Ads Ranking

Case study 6 min +60 XP

Meta scales sequence learning for ads ranking by splitting it into two stages: an offline transformer user model processes thousands of user events asynchronously and caches user-level embeddings, and a lightweight online ranking model combines those embeddings with fresh signals and ad candidates under strict latency budgets.

July 2026

June 2026

May 2026

Kubernetes Blog

Kubernetes v1.36: Server-Side Sharded List and Watch

Release 3 min +30 XP

Kubernetes v1.36 adds alpha server-side sharded list and watch (KEP-5866), letting the API server filter list responses and watch events so each horizontally scaled controller replica receives only its slice of a resource collection instead of deserializing and discarding the full stream.

March 2026

February 2026

January 2026

November 2025

October 2025

Meta Engineering

10X Backbone: How Meta Is Scaling Backbone Connectivity for AI

Case study 9 min +90 XP

Meta scaled its Express Backbone (EBB), the DC-to-DC WAN, by 10x using three techniques: pre-built DC metro fiber rings with POPs, IP platform scaling (scaling up via larger chassis and 800G interfaces, scaling out via more planes or more devices per plane), and IP/optical integration with 800G ZR pluggables that eliminate standalone transponders and cut aggregate power by 80-90%.

September 2025

ClickHouse

How Exabeam uses ClickHouse for scalable, searchable security analytics

Case study 6 min +60 XP

Exabeam runs its security analytics platform on ClickHouse Cloud across 10 regions, ingesting up to 1.2M events/sec per region (80B+ daily, 3.5 PB raw compressed to 200 TiB), with compute-compute separation that isolates write, merge and read nodes.

August 2025

Scaling down to speed up: How we improved efficiency of live process metrics by 100x

Case study 8 min +80 XP

Datadog cut real-time process and container metric traffic by about 100x by enabling 2-second live collection only on hosts whose processes a user is actually viewing (at most 50 per user), instead of on every host in the tenant.

July 2025

June 2025

May 2025

Heroku Engineering

SignalR Scalability: Scaling Real-Time SignalR Applications on Heroku

How-to 11 min +110 XP

Scaling a SignalR chat app across multiple Heroku dynos takes two pieces: a Redis backplane so every instance relays hub messages to its own connected clients, and sticky sessions so long-lived WebSocket connections stay pinned to one dyno.

April 2025

March 2025

Etsy Code as Craft

Behind the Scenes - A Glimpse into Tax Calculations

Case study 4 min +40 XP

Etsy calculates marketplace tax by calling Vertex's tax engine: a Quotation Request SOAP call when items are added to cart, and DistributeTaxRequest calls at order creation, cancellation and refund so Vertex's tax journal holds a complete record for reporting and remittance.

Scaling Nextdoor’s Datastores: Part 2

Case study 4 min +40 XP

Letting product engineers manually choose replica vs. primary routing in Django broke down as abstractions hid read-after-write dependencies, and the common workaround of wrapping logic in transactions sent everything to the primary, slowly eroding the capacity gained from read replicas.

February 2025

Achieving relentless Kafka reliability at scale with the Streaming Platform

Case study 10 min +100 XP

Datadog runs hundreds of Kafka clusters with millions of partitions and built the Streaming Platform, a control layer that decouples producers and consumers from specific clusters through "Streams" spanning clusters, AZs and Kubernetes environments.

December 2024

Scaling Scientific Data: Migrating Benchling’s Schema Model for Performance at Scale

Case study 10 min +100 XP

Benchling replaced its PostgreSQL entity-attribute-value (EAV) storage for schema field values with a single JSONB column per entity, cutting row counts and per-row overhead that had slowed automated assay-result ingestion.

November 2024

October 2024

September 2024

June 2024

May 2024

Render

Distributing Global State to Serve over 1 Billion Daily Requests

Case study 11 min +110 XP

Render's request routers evolved from per-instance in-memory caches with 5-minute TTLs and database lookups on miss, which overloaded PostgreSQL on every redeploy and failed during database downtime, to push-based caching using PostgreSQL LISTEN/NOTIFY so routers never query the database in the hot path.

The quest for software engineering knowledge.

Look:
Layout: