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 →

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

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 17

Week of Aug 10

Week of Aug 3

The quest for software engineering knowledge.

Look:
Layout: