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 →

Last week

Week of Nov 16

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.

Week of Nov 9

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.

Week of Nov 2

Week of Oct 26

Week of Oct 19

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.

Week of Oct 12

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.

Week of Oct 5

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.

Week of Sep 28

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.

Week of Sep 21

Grab Engineering

Automated merchant review summary system with integrated feedback

Case study 4 min +40 XP

Grab generates consumer-facing merchant review summaries with a pipeline that stratifies review samples by a sentiment-scored rating distribution, uses an LLM to produce overall and topic-based summaries (taste, packaging, portion size), and has a separate LLM check each claim against the sampled reviews before publication.

Week of Sep 14

Week of Sep 7

Week of Aug 31

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.

Week of Aug 24

ClickHouse

A universal interface: How QuintoAndar made ClickHouse plug-and-play with managed Postgres

Case study 6 min +60 XP

QuintoAndar's customer data platform replaced a Lambda architecture (a Postgres hot layer plus Kafka Connect into a Delta landing zone processed by 24/7 Databricks jobs with costly MERGE INTO deduplication) by having its event gateway write about 900 million monthly events directly into ClickHouse Cloud, which also serves roughly 300 million API requests a month with sub-second reads.

Week of Aug 17

Week of Aug 10

Week of Aug 3

Week of Jul 27

Week of Jul 20

Week of Jul 13

Week of Jul 6

Week of Jun 29

Week of Jun 22

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.

Week of Jun 15

Week of Jun 8

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.

Week of Jun 1

Week of May 25

Week of May 18

Week of May 11

Week of Apr 27

Week of Apr 20

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.

Week of Apr 13

Week of Apr 6

Week of Mar 30

Week of Mar 23

The quest for software engineering knowledge.

Look:
Layout: