Skip to content

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

Topics Architecture & design

System design

End-to-end design of a system and its tradeoffs.

Search within System design, or combine it with other topics →

November 2026

Rebuilding Guardian: How Pinterest Upgraded Its Real-Time Abuse Platform to Modern Infrastructure…

Case study 12 min +120 XP

Pinterest rebuilt Guardian, its real-time abuse detection platform, from a monolithic in-house system into a modular V2 that separates interactive analytics, continuous action evaluation and historical replay.

Inside an enterprise AI agent: A governed, observable loop architecture

Deep dive 20 min +200 XP

A reference architecture for enterprise AI agents on AWS organizes the system into five layers: an API gateway enforcing identity and policy, a five-phase agent runtime (Understand, Plan, Retrieve, Reason, Act and Observe), a knowledge and state tier, platform services for models and tools, and a cross-cutting trust and control framework.

How Zillow runs 100 million daily notifications on AWS Step Functions

Case study 15 min +150 XP

Zillow replaced more than 10 per-campaign notification generator services with a configuration-driven Campaign Orchestrator that runs each of 100M+ daily email and push notifications as a short-lived AWS Step Functions Express Workflow, calling a shared library of stateless, schema-driven content modules (the Universal Content Generator) via HTTP Invoke.

Lyft Engineering

Beyond Test Cards: A Fake Payment Provider for Testing at Scale

Case study 15 min +150 XP

Lyft built a Fake Payment Provider that implements the same provider interface as real processors (tokenize, authorize, increment, capture, charge, refund, void), so it can simulate partial failures, soft declines with retries, pending responses, timeouts and outages that processor test cards cannot.

Self-service regional failover with Amazon Application Recovery Controller Region Switch and centralized ingress controls

How-to 17 min +170 XP

Application teams in regulated enterprises can run self-service multi-Region failover behind a centralized ingress proxy fleet by owning a Route 53 Private Hosted Zone failover recordset while a central team owns peered Transit Gateways and VPC attachments.

October 2026

OpenAI

How we built ChatGPT’s novel ad stack for user trust and relevance

Case study 14 min +140 XP

ChatGPT's ad stack replaces the event-driven request/response ads pipeline with stateful ads sessions that track evolving intent across turns and conversations, orchestrated by a post-trained LLM that calls tools for query rewriting, ANN retrieval over multiple embedding indices, eligibility filtering (budget, pacing, targeting, policy, dedup), relevance and engagement scoring, and a separate auction tool that handles pricing and final selection.

Meta Engineering

The Thin Orchestrator: How We Made Our AI Agents More Reliable by Giving the Router Less to Do

Case study 7 min +70 XP

Meta replaced a single all-knowing AI agent for onboarding data columns across its recommendation pipelines with a deliberately thin, deterministic orchestrator: about 1,300 lines that route 20+ workflows to 14 specialized subagents and do no domain reasoning.

Netflix TechBlog

Ontology-Driven Observability: Building an End-to-End Knowledge Graph at Netflix Scale

Case study 13 min +130 XP

Netflix built the Observability Ontology, an RDF/OWL knowledge graph that gives a shared, machine-readable model of applications, incidents, deployments and alerts that tools like Atlas, Radar, Spinnaker, PagerDuty, incident.io and Slack each describe differently.

GitHub Engineering

Staying Evergreen: How we automated secure access and repo hygiene in a shared org

Case study 8 min +80 XP

Evergreen is a Go-based GitHub App that automates quarterly outside-collaborator access reviews and stale-repo archival in a shared org of 1,400+ GitHub employees, customers and partners, built entirely from native primitives: scheduled Actions firing repository_dispatch, webhooks, issue checklists, custom properties, and per-repo JSON state files in git that double as the audit trail.

Wix Engineering

No Dashboard, No Menus: How We Built an Interface Around Intent

Case study 5 min +50 XP

Wix replaced a fixed merchant dashboard with an agent-orchestrated interface: the agent picks which approved, frontend-registered React components to show (in-chat widgets and main-area page previews) and with what props, while the frontend owns the component catalog.

Grab Engineering

Powering AI-led research through simulation

Case study 9 min +90 XP

Grab built sim-rs, a self-contained tick-based marketplace simulator that replays a city-day of bookings and drivers through a closed dispatch loop (demand, supply movement, cancellation models, batching, solver-based allocation, recycling) in tens of minutes, with pluggable stages, portable reproducible run packages, and built-in switchback/spatial A/B/n experiments.

September 2026

Meta Engineering

An Organizational Second Brain: Building an AI That Learns From Experts

Case study 13 min +130 XP

Meta built a domain-expert AI agent for a compliance domain that separates declarative knowledge files (positions, taxonomies, routing indexes, gateway tests with YAML dependency graphs) from imperative composable "recipes" that encode expert reasoning workflows.

August 2026

July 2026

June 2026

Meta Engineering

Privacy-Aware Infrastructure in the AI-Native Era: An Asset Classification Case Study

Case study 23 min +230 XP

Meta classifies data assets for privacy enforcement with a hybrid pipeline: it builds structured evidence briefs from code resolution, lineage, ownership and annotations, uses LLMs only for novel or ambiguous assets, and distills stable patterns into versioned, human-reviewed deterministic rules.

Quick: An internal hosting platform for the AI era

Case study 9 min +90 XP

Quick is Shopify's internal static hosting platform: each site is a folder in a Google Cloud Storage bucket, mounted via gcsfuse and served by a wildcard NGINX config behind Identity-Aware Proxy, with `quick deploy` wrapping gcloud rsync.

May 2026

April 2026

Putting the Tech in Fintech: How We Use FIX to Execute Trades at Scale

Case study 10 min +100 XP

Wealthfront executes trades with brokers through a four-layer stack: dedicated network links with one persistent TCP socket per broker session, the FIX 4.2 Tag=Value protocol, a customized fork of the QuickFIX/J engine, and an internal translation layer.

March 2026

Figma

How we rebuilt the foundations of component instances

Case study 9 min +90 XP

Figma replaced its decade-old Instance Updater, a self-contained runtime that resolved component instances and also did its own layout and variable evaluation, with Materializer, a generic framework for deriving subtrees of the document tree from feature-defined blueprints.

February 2026

Fragmentation to framework: Spec-first development at Benchling

Case study 8 min +80 XP

Benchling replaced M×N hand-built integrations between scientific object types (DNA sequences, notebook entries, inventory) and platform capabilities (REST API, warehouse, search, config migration) with the Object Framework, a spec-first layer over its monolithic SQLAlchemy-based service.

January 2026

December 2025

Patterns & Best Practices in Event-Driven Systems

Deep dive 5 min +50 XP

Five core event-driven architecture patterns, compared with their tradeoffs: event notification (thin signals that force consumers to call back), event-carried state transfer (full payloads that decouple consumers at the cost of size and schema discipline), event sourcing with CQRS, choreography and orchestration.

November 2025

October 2025

September 2025

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

The quest for software engineering knowledge.

Look:
Layout: