// RESOURCES

Engineering Knowledge Base

1,210+ resources across system design, interviews, concepts, and career growth.

All Resources

Showing 60 of 1210

How Airtable Models a Flexible Database — diagram preview
Airtable▶ Board

How Airtable Models a Flexible Database

The data model that lets a spreadsheet behave like a relational database — without the user ever seeing a schema.

databasesdata-modelingsaas
Open →
How Google Colab Runs Untrusted Code Safely — diagram preview
Google Colab▶ Board

How Google Colab Runs Untrusted Code Safely

Isolating millions of strangers' notebooks with sandboxing, gVisor, and disposable VMs.

securitysandboxinginfra
Open →
How Datadog Ingests Trillions of Events — diagram preview
Datadog▶ Board

How Datadog Ingests Trillions of Events

The pipeline that swallows metrics, traces, and logs from millions of hosts in real time.

observabilitytime-seriesscale
Open →
How DeepSeek Trained a Frontier Model for Less — diagram preview
DeepSeek▶ Board

How DeepSeek Trained a Frontier Model for Less

The architecture and training tricks behind a GPT-class model at a fraction of the GPU cost.

mlgpucost
Open →
How Discord Stores Trillions of Messages — diagram preview
Discord▶ Board

How Discord Stores Trillions of Messages

The migration from Cassandra to ScyllaDB, and how message history stays fast at that scale.

databasesscylladbscale
Open →
How Dropbox Scaled Storage On and Off AWS — diagram preview
Dropbox▶ Board

How Dropbox Scaled Storage On and Off AWS

Block storage, Magic Pocket, and the economics of leaving the cloud you grew up on.

storageinfras3
Open →
Gmail — A System Design Walkthrough — diagram preview
Gmail▶ Board

Gmail — A System Design Walkthrough

From SMTP ingestion to search: the moving parts behind the world's default inbox.

emailsystem-design
Open →
How Gmail Handles 44 Trillion Emails — diagram preview
Gmail▶ Board

How Gmail Handles 44 Trillion Emails

Storage, indexing, and spam at a scale where every byte of overhead is measured in petabytes.

emailscalestorage
Open →
How Google Maps Routes the Planet — diagram preview
Google Maps▶ Board

How Google Maps Routes the Planet

Tiling the world, contraction hierarchies, and live traffic — the graph problem at global scale.

geospatialroutinggraphs
Open →
How Google Search Indexes the Web — diagram preview
Google Search▶ Board

How Google Search Indexes the Web

Crawling, the inverted index, and serving a query in under 200ms across billions of pages.

searchindexingcrawling
Open →
How Instagram Scales PostgreSQL — diagram preview
Instagram▶ Board

How Instagram Scales PostgreSQL

Sharding, logical IDs, and the disciplined Postgres patterns that carried Instagram to a billion users.

databasespostgressharding
Open →
How Jira Models Projects at Scale — diagram preview
Jira▶ Board

How Jira Models Projects at Scale

Custom fields, workflows, and permissions — modeling infinite flexibility without melting the database.

saasdata-modeling
Open →
How Notion Designed Its Block Data Model — diagram preview
Notion▶ Board

How Notion Designed Its Block Data Model

Everything is a block: the recursive data model that makes docs, databases, and pages one primitive.

databasesdata-modelingblocks
Open →
How Reddit Serves the Front Page — diagram preview
Reddit▶ Board

How Reddit Serves the Front Page

Vote counting, caching, and the read-heavy architecture behind the internet's front page.

feedcachingscale
Open →
How Replit's AI Agent Ships Code — diagram preview
Replit▶ Board

How Replit's AI Agent Ships Code

Orchestrating an autonomous coding agent — sandboxes, tools, and the loop that writes and runs code.

ai-agentsinfra
Open →
How Roblox Handles 47M Concurrent Players — diagram preview
Roblox▶ Board

How Roblox Handles 47M Concurrent Players

Game servers, matchmaking, and the edge network that keeps a virtual world in sync.

gamingrealtimescale
Open →
How Slack Delivers Real-Time Messaging — diagram preview
Slack▶ Board

How Slack Delivers Real-Time Messaging

The channel server, WebSocket fan-out, and how Slack keeps millions of tabs live at once.

realtimewebsocketsscale
Open →
How Stripe Runs Ruby at Scale — diagram preview
Stripe▶ Board

How Stripe Runs Ruby at Scale

Idempotency, sorbet types, and the reliability engineering behind moving money in Ruby.

paymentsrubyreliability
Open →
How TikTok's Recommendation Engine Works — diagram preview
TikTok▶ Board

How TikTok's Recommendation Engine Works

The candidate → ranking → serving pipeline that makes the For You feed frighteningly good.

mlrecommendationsfeed
Open →
How WhatsApp Serves 2 Billion Users — diagram preview
WhatsApp▶ Board

How WhatsApp Serves 2 Billion Users

Erlang, a tiny team, and the messaging architecture that famously ran on a shoestring.

messagingerlangscale
Open →
How YouTube Streams 1 Billion Hours a Day — diagram preview
YouTube▶ Board

How YouTube Streams 1 Billion Hours a Day

Transcoding, the CDN, and adaptive bitrate — delivering more video than the rest of the web combined.

videostreamingcdn
Open →
AWS▤ Deck

Why AWS Builds Its Own Everything

Nitro, Graviton, custom silicon — the vertical-integration playbook behind the world's biggest cloud.

infrahardwarestrategy
Open →
CrowdStrike▤ Deck

How CrowdStrike Crashed 8.5 Million Computers

A single content update, a kernel driver, and the anatomy of the largest IT outage in history.

incidentkernelreliability
Open →
Prime Video▤ Deck

Why Amazon Killed Its Own Microservices

The monitoring service Prime Video rebuilt as a monolith — and the 90% cost cut that made headlines.

microservicesmonolithcost
Open →
Snowflake▤ Deck

Snowflake — The Architecture

Separating storage from compute: the design that let a data warehouse scale each independently.

data-warehousestoragecompute
Open →
Starlink▤ Deck

Starlink — How It Routes Packets

Phased-array antennas, laser inter-satellite links, and routing IP through low-earth orbit.

networkingsatellitesrouting
Open →
BitTorrent▤ Deck

BitTorrent — A Protocol Teardown

Pieces, peers, and the tit-for-tat algorithm behind the internet's most durable P2P protocol.

p2pprotocolsnetworking
Open →
System Design

How to Design a URL Shortener (TinyURL)

Complete system design breakdown of a URL shortener service like TinyURL or Bitly, covering high-level architecture, database design, hash generation, and scaling strategies.

url-shortenerhashingsystem-design
System Design

System Design: Container Registry (Docker Hub-scale)

Learn how to design a container registry like Docker Hub that stores, distributes, and manages container images at massive scale. Covers content-addressable storage, layer deduplication, and geo-replication.

system-designcontainer-registrydocker
System Design

System Design: Secrets Management System

Design a secrets management system like HashiCorp Vault that securely stores, rotates, and audits access to API keys, passwords, and certificates at enterprise scale.

system-designsecrets-managementvault
System Design

System Design: Feature Flag System

Design a feature flag system like LaunchDarkly that supports percentage rollouts, user targeting, A/B testing, and sub-millisecond flag evaluation for high-traffic applications.

system-designfeature-flagslaunchdarkly
System Design

System Design: API Gateway

Design a production-grade API gateway that handles authentication, rate limiting, request routing, protocol translation, and observability for microservices architectures at scale.

system-designapi-gatewaymicroservices
System Design

System Design: Rate Limiter

Design a distributed rate limiter that supports token bucket, sliding window, and fixed window algorithms, handling millions of requests per second with Redis-backed counters and minimal latency overhead.

system-designrate-limiterredis
System Design

System Design: Service Mesh

Design a service mesh like Istio or Linkerd that provides zero-trust mTLS, intelligent traffic management, observability, and resilience patterns for microservices without application code changes.

system-designservice-meshistio
System Design

System Design: Distributed Configuration Management

Design a distributed configuration management system like etcd or Consul that provides strongly consistent key-value storage with watch semantics for dynamic service configuration at scale.

system-designconfiguration-managementetcd
System Design

System Design: Log Aggregation Pipeline

Design a log aggregation pipeline like the ELK Stack or Datadog that collects, processes, stores, and searches logs from thousands of services at petabyte scale with real-time querying.

system-designlog-aggregationelasticsearch
System Design

System Design: Distributed Tracing System

Design a distributed tracing system like Jaeger or Zipkin that correlates requests across microservices, identifies performance bottlenecks, and provides flame graph visualizations at high-throughput scale.

system-designdistributed-tracingjaeger
System Design

System Design: Container Orchestration (Kubernetes-scale)

Design a container orchestration system like Kubernetes that schedules, scales, and manages containerized workloads across thousands of nodes with self-healing, rolling updates, and declarative configuration.

system-designkubernetescontainer-orchestration
System Design

System Design: Service Discovery System

Design a service discovery system like Consul or Eureka that enables microservices to dynamically find and communicate with each other using health-checked registries and DNS or HTTP lookup interfaces.

system-designservice-discoveryconsul
System Design

System Design: Load Balancer

Design a software load balancer that distributes traffic across backend servers using algorithms like consistent hashing, least connections, and weighted round-robin, with health checking and session persistence.

system-designload-balancerconsistent-hashing
System Design

System Design: Distributed Lock Service

Design a distributed lock service that provides mutual exclusion across processes using Redlock, ZooKeeper, or lease-based approaches, with fencing tokens to handle process pauses and clock skew.

system-designdistributed-lockredlock
System Design

System Design: Distributed Job Scheduler

Design a distributed job scheduler like Airflow or Quartz that executes cron jobs and DAG-based workflows reliably at scale, with exactly-once guarantees, retry logic, and failure recovery.

system-designjob-schedulercron
System Design

System Design: Task Queue System

Design a distributed task queue like Celery or Sidekiq that reliably dispatches background jobs to workers with priority queues, retries, dead-letter handling, and at-least-once delivery guarantees.

system-designtask-queuecelery
System Design

System Design: Event Sourcing System

Design an event sourcing system that stores state as an immutable sequence of domain events, enabling temporal queries, audit trails, event replay for projections, and eventual consistency across microservices.

system-designevent-sourcingcqrs
System Design

System Design: CQRS Architecture

Design a CQRS (Command Query Responsibility Segregation) system that separates read and write models for optimal scaling, using event-driven synchronization between the command side and query-optimized projections.

system-designcqrsevent-driven
System Design

System Design: Circuit Breaker Pattern

Design a circuit breaker system that prevents cascading failures in distributed systems by tracking downstream error rates and automatically opening the circuit to fail fast during outages.

system-designcircuit-breakerresilience
System Design

System Design: API Versioning Strategy

Design a robust API versioning system that manages multiple concurrent API versions, enables backward-compatible evolution, and provides seamless deprecation and migration paths for API consumers.

system-designapi-versioningbackward-compatibility
System Design

System Design: Multi-Tenant SaaS Architecture

Design a multi-tenant SaaS architecture that isolates tenant data, enforces resource quotas, and scales from startup to enterprise customers with configurable isolation models and zero cross-tenant data leakage.

system-designmulti-tenancysaas
System Design

System Design: Blue-Green Deployment System

Design a blue-green deployment system that enables zero-downtime production releases by maintaining two identical production environments and switching traffic atomically between them.

system-designblue-green-deploymentzero-downtime
System Design

System Design: Chaos Engineering Platform

Design a chaos engineering platform like Chaos Monkey or LitmusChaos that safely injects failures into production and staging systems to validate resilience, discover weaknesses, and build confidence in distributed system reliability.

system-designchaos-engineeringresilience
System Design

System Design: Monitoring & Alerting System

Design a monitoring and alerting system like Prometheus and Grafana that collects metrics from thousands of services, evaluates alert rules, and delivers notifications with minimal false positives.

system-designmonitoringprometheus
System Design

System Design: Distributed Metrics Collection

Design a distributed metrics collection system that aggregates counters, gauges, and histograms from millions of sources with sub-minute resolution, supporting both push and pull ingestion at petabyte scale.

system-designmetricstime-series
System Design

System Design: Health Check & Heartbeat System

Design a health check and heartbeat system that monitors service availability, detects failures within seconds, and integrates with load balancers and service discovery to automatically route traffic away from unhealthy instances.

system-designhealth-checkheartbeat
System Design

System Design: Canary Deployment System

Design a canary deployment system that gradually shifts traffic to new service versions, automatically monitors error rates and latency, and rolls back if statistical analysis detects regressions.

system-designcanary-deploymentprogressive-delivery
System Design

System Design: Instagram

Deep dive into designing Instagram at scale, covering photo/video uploads, feed generation, follower graphs, and CDN strategies used by systems serving 2 billion users.

system-designinstagramsocial-media
System Design

System Design: Twitter/X

Comprehensive system design of Twitter/X covering tweet ingestion, real-time timeline generation, trending topics, and the unique challenges of celebrity fan-out at 500M users.

system-designtwittersocial-media
System Design

System Design: Facebook

End-to-end system design of Facebook's core platform including News Feed, social graph, photo storage, and real-time notifications at 3 billion user scale.

system-designfacebooksocial-media
System Design

System Design: TikTok

System design breakdown of TikTok's video recommendation engine, upload pipeline, and For You Page algorithm that delivers personalized short-form video to 1 billion users.

system-designtiktokvideo-streaming
System Design

System Design: LinkedIn

System design of LinkedIn covering professional social graph, job recommendations, connection degree calculation, and feed ranking for the world's largest professional network.

system-designlinkedinsocial-graph
System Design

System Design: Pinterest

System design of Pinterest covering pin ingestion, visual search, interest graph, and the board/pin data model that serves 450 million monthly users browsing billions of images.

system-designpinterestimage-search