Knowledge Archive

Archive Catalog

233 deep-dive architecture specs, consensus protocols, and scale blueprints.

  1. TOPIC 001 · freeFREE

    Company Engineering Blog Index

    This page turns engineering blogs into an ingestion map.

    451 wordsRead
  2. TOPIC 002 · freeFREE

    Database Resource Guide

    Use this guide to go beyond "SQL vs NoSQL" and build real judgment around data modeling, transactions, indexes, replication, partitioning, and correctness boundaries.

    470 wordsRead
  3. TOPIC 003 · freeFREE

    Distributed Systems Resource Guide

    Use this guide for partial failure, coordination, consensus, clocks, membership, retries, and correctness under network ambiguity.

    406 wordsRead
  4. TOPIC 004 · freeFREE

    Geospatial Systems Resource Guide

    Use this guide for nearby search, geofencing, geohash, H3, S2, PostGIS, Redis GEO, GPS error, and privacy-aware location systems.

    343 wordsRead
  5. TOPIC 005 · freeFREE

    Master System Design Archive

    This is the control center for the system design archive.

    2533 wordsRead
  6. TOPIC 006 · freeFREE

    Observability Resource Guide

    Use this guide for metrics, logs, traces, percentiles, cardinality, alerting, dashboards, and debugging distributed request flows.

    327 wordsRead
  7. TOPIC 007 · freeFREE

    Reliability Resource Guide

    Use this guide for SLOs, error budgets, incidents, overload, retries, timeouts, disaster recovery, deployment safety, and operational ownership.

    373 wordsRead
  8. TOPIC 008 · freeFREE

    Search Resource Guide

    Use this guide for lexical retrieval, ranking, query understanding, relevance feedback, hybrid search, and index operations.

    350 wordsRead
  9. TOPIC 009 · freeFREE

    Storage Engine Resource Guide

    Use this guide for how bytes become durable, searchable, compacted, checksummed, and recovered.

    364 wordsRead
  10. TOPIC 010 · freeFREE

    System Design Archive Completion Audit

    This lesson frames System Design Archive Completion Audit as a practical architecture decision under real constraints.

    574 wordsRead
  11. TOPIC 011 · freeFREE

    System Design Archive Roadmap

    Goal: build a compounding system design archive that turns the Arpit Bhayani course, existing Obsidian notes, engineering blogs, real-world systems, papers, tools, and implementation references into a durable Staff/Principal-level learning system.

    548 wordsRead
  12. TOPIC 012 · freeFREE

    System Design Implementation Repo Index

    This page maps archive concepts to real projects worth running, reading, or using as implementation references.

    749 wordsRead
  13. TOPIC 013 · freeFREE

    System Design Note Generation Workflow

    Use this workflow for turning lecture transcripts, engineering blog posts, papers, or implementation walkthroughs into archive-ready Obsidian notes.

    329 wordsRead
  14. TOPIC 014 · freeFREE

    System Design Resource Map

    This page converts scattered engineering links into a system-design learning map.

    2362 wordsRead
  15. TOPIC 015 · freeFREE

    Video Systems Resource Guide

    Use this guide for uploads, multipart transfer, transcoding, manifests, adaptive bitrate, CDN delivery, DRM, WebRTC, and live latency.

    372 wordsRead
  16. TOPIC 016 · freeFREE

    Algorithmic System Design I

    algorithmic-system-design workshop.

    592 wordsRead
  17. TOPIC 017 · freeFREE

    Algorithmic System Design II

    This reference note frames Algorithmic System Design II as a practical architecture decision under real constraints.

    510 wordsRead
  18. TOPIC 018 · freeFREE

    Distributed ID Generators

    Covers why ID generation becomes a system design problem at scale: uniqueness, monotonicity, index size, clock skew, sharding, pagination, and coordination all collide in one deceptively small field.

    726 wordsRead
  19. TOPIC 019 · freeFREE

    Distributed Systems

    Covers "distributed systems" from theory into design tools: partial failure, circuit breakers, load balancers, API gateways, observability, remote locks, distributed locks, Redis/Redlock, and why hands-on implementation matters.

    862 wordsRead
  20. TOPIC 020 · freeFREE

    Foundational Topics In System Design I

    Covers system design as turning product requirements into a working system made of heterogeneous components.

    819 wordsRead
  21. TOPIC 021 · freeFREE

    Foundational Topics In System Design II

    Covers the foundational building blocks from lecture 01: caching, scaling, delegation, concurrency, and communication.

    827 wordsRead
  22. TOPIC 022 · freeFREE

    Non-Relational Databases

    Covers choosing non-relational databases for the access pattern, not for the label.

    1407 wordsRead
  23. TOPIC 023 · freeFREE

    Relational Databases

    Covers "choose SQL" to how relational databases actually shape system design: schema normalization, ACID, indexes, locking, replication, sharding, and the design of a SQL-backed key-value store.

    639 wordsRead
  24. TOPIC 024 · freeFREE

    High Throughput Systems I

    This reference note frames High Throughput Systems I as a practical architecture decision under real constraints.

    754 wordsRead
  25. TOPIC 025 · freeFREE

    High Throughput Systems II

    This reference note frames High Throughput Systems II as a practical architecture decision under real constraints.

    582 wordsRead
  26. TOPIC 026 · freeFREE

    Information Retrieval Systems I

    Covers a text search engine from first principles, then uses the same high-throughput patterns for recent searches and live reactions.

    640 wordsRead
  27. TOPIC 027 · freeFREE

    Information Retrieval Systems II

    IR continuation, but the actual content is an ad-hoc system design workshop.

    408 wordsRead
  28. TOPIC 028 · freeFREE

    Social Networks I

    Covers Instagram as a familiar social-network case study.

    1389 wordsRead
  29. TOPIC 029 · freeFREE

    Social Networks II

    This reference note frames Social Networks II as a practical architecture decision under real constraints.

    1085 wordsRead
  30. TOPIC 030 · freeFREE

    Storage Engines I

    Covers "design a distributed cache" as a storage-engine gateway.

    851 wordsRead
  31. TOPIC 031 · freeFREE

    Storage Engines II

    This reference note frames Storage Engines II as a practical architecture decision under real constraints.

    895 wordsRead
  32. TOPIC 032 · freeFREE

    Source Summary - Amazon Dynamo Paper

    Amazon's Dynamo paper is a foundational case study in building an always-available key-value store for production services that can tolerate weaker consistency.

    150 wordsRead
  33. TOPIC 033 · freeFREE

    Source Summary - FoundationDB Paper

    FoundationDB is a distributed transactional ordered key-value store designed as a lower-level substrate for higher-level database layers.

    133 wordsRead
  34. TOPIC 034 · freeFREE

    Source Summary - Google Bigtable Paper

    Bigtable is the classic distributed sorted-map paper for large structured data over commodity servers.

    138 wordsRead
  35. TOPIC 035 · freeFREE

    Source Summary - Google Spanner Paper

    Spanner is the canonical source for globally distributed SQL with externally consistent transactions.

    130 wordsRead
  36. TOPIC 036 · freeFREE

    Source Summary - Google SRE Books

    Google's SRE books are the core operating reference for SLOs, error budgets, incident response, toil, monitoring, overload, and production ownership.

    128 wordsRead
  37. TOPIC 037 · freeFREE

    Source Summary - Kafka Design Docs

    Kafka's design docs are the primary source for understanding durable event logs, partitions, consumer groups, batching, and log retention.

    149 wordsRead
  38. TOPIC 038 · freeFREE

    Source Summary - LevelDB Implementation Notes

    LevelDB's implementation notes are a compact source for understanding real LSM-tree mechanics.

    134 wordsRead
  39. TOPIC 039 · freeFREE

    Source Summary - OpenTelemetry Docs

    OpenTelemetry is the vendor-neutral instrumentation ecosystem for traces, metrics, logs, baggage, semantic conventions, SDKs, collectors, and exporters.

    124 wordsRead
  40. TOPIC 040 · freeFREE

    Source Summary - Prometheus Overview

    Prometheus is a metrics and alerting system centered on time series, labels, scraping, querying, and alert rules.

    129 wordsRead
  41. TOPIC 041 · freeFREE

    Source Summary - Raft Paper

    Raft is the practical consensus paper to read before discussing leader election, replicated logs, and metadata coordination.

    133 wordsRead
  42. TOPIC 042 · freeFREE

    Source Summary - Stanford Introduction To Information Retrieval

    The Stanford IR book is the canonical conceptual base for lexical retrieval, index construction, scoring, evaluation, relevance feedback, web crawling, and link analysis.

    139 wordsRead
  43. TOPIC 043 · freeFREE

    Source Summary - Vespa Hybrid Search Tutorial

    Vespa's hybrid search material is a practical source for combining lexical retrieval, vector retrieval, filtering, and ranking phases.

    130 wordsRead
  44. TOPIC 044 · freeFREE

    Chat And Messaging System Design

    A chat system stores ordered conversations, delivers them in real time to every device a user owns, tracks what each device has seen, and keeps working when the recipient is offline for…

    2584 wordsRead
  45. TOPIC 045 · freeFREE

    Collaborative Editing System Design

    A collaborative editor lets many people type into one document at the same time, shows each keystroke to everyone within a few hundred milliseconds, and guarantees that when the typing stops every…

    2599 wordsRead
  46. TOPIC 046 · freeFREE

    Ecommerce Product Listing System Design

    A product listing system answers "show me shoes, size 10, under 100 dollars, cheapest first, page 3" over millions of SKUs, with facet counts, images, and a price and stock badge that…

    2598 wordsRead
  47. TOPIC 047 · freeFREE

    Geospatial Nearby Search Case Study

    Nearby search answers "what relevant objects are near this point right now?"

    2599 wordsRead
  48. TOPIC 048 · freeFREE

    Notification System Design

    Notification System Design A notification system turns product events into user-visible messages across email, push,

    2296 wordsRead
  49. TOPIC 049 · freeFREE

    Observability And SLO Case Study

    An observability system lets engineers answer production questions without redeploying code: is the system down, for whom, since when, and which change did it.

    2575 wordsRead
  50. TOPIC 050 · freeFREE

    Payment System Design

    A payment system takes a checkout request, moves money through an external provider, and keeps a record that survives every retry, timeout, and replay along the way.

    2598 wordsRead
  51. TOPIC 051 · freeFREE

    Rate Limiting And Abuse Prevention Case Study

    Rate limiting protects a shared system from overload, scraping, brute force, spam, runaway clients, and unfair tenant usage.

    2572 wordsRead
  52. TOPIC 052 · freeFREE

    Recommendation System Design

    A recommendation system selects items a user is likely to value from a catalog far too large to score: posts, videos, products, jobs, people, or documents.

    2600 wordsRead
  53. TOPIC 053 · freeFREE

    Social Feed System Design Case Study

    A social feed takes every post published by the accounts a person follows, mixes in recommendations and ads, ranks the result, and returns a page in one round trip.

    2598 wordsRead
  54. TOPIC 054 · freeFREE

    Zero-Downtime Database Migration Case Study

    This is a procedure as much as a system.

    2599 wordsRead
  55. TOPIC 055 · freeFREE

    API Gateway vs Load Balancer

    A load balancer distributes traffic across equivalent backends.

    629 wordsRead
  56. TOPIC 056 · freeFREE

    Columnar Stores vs Wide-Column Stores

    The terms "columnar" and "wide-column" are often mixed together, but they describe different ideas.

    517 wordsRead
  57. TOPIC 057 · freeFREE

    Concurrency Vs Parallelism

    Concurrency is dealing with many tasks in overlapping time.

    545 wordsRead
  58. TOPIC 058 · freeFREE

    Document Stores vs Key-Value Stores

    Document stores and key-value stores both organize data around keys, but they expose different semantics for the value.

    564 wordsRead
  59. TOPIC 059 · freeFREE

    Geospatial Grid Systems H3 S2 Geohash

    Geospatial grid systems turn Earth into cells so location queries can use ordinary keys, ranges, and joins.

    589 wordsRead
  60. TOPIC 060 · freeFREE

    Horizontal Vs Vertical Scaling

    Vertical scaling makes one machine bigger.

    613 wordsRead
  61. TOPIC 061 · freeFREE

    HTTP REST And gRPC

    REST-style HTTP APIs and gRPC both expose remote operations.

    493 wordsRead
  62. TOPIC 062 · freeFREE

    Long Polling Vs WebSockets

    Long polling keeps HTTP request/response semantics while waiting for new data.

    460 wordsRead
  63. TOPIC 063 · freeFREE

    Monolith Vs Microservices

    A monolith deploys one application unit.

    628 wordsRead
  64. TOPIC 064 · freeFREE

    Object Storage Vs Database

    Object storage stores large immutable-ish blobs cheaply.

    507 wordsRead
  65. TOPIC 065 · freeFREE

    Seen Filtering Bloom Vs Exact Sets

    Seen filtering prevents a discovery feed from showing the same item again.

    562 wordsRead
  66. TOPIC 066 · freeFREE

    Short Poll Vs Long Poll Vs WebSocket

    Choose the communication pattern by update frequency, latency requirement, and idle connection cost.

    547 wordsRead
  67. TOPIC 067 · freeFREE

    Task Queue Vs Event Stream

    Task queues and event streams both move work outside the request path, but they answer different questions.

    583 wordsRead
  68. TOPIC 068 · freeFREE

    TCP Vs UDP

    TCP provides reliable ordered byte streams.

    501 wordsRead
  69. TOPIC 069 · freeFREE

    UUID vs ObjectId vs Snowflake

    UUIDs, MongoDB ObjectIds, and Snowflake-style IDs solve different parts of the ID-generation problem.

    516 wordsRead
  70. TOPIC 070 · freeFREE

    WebSockets Vs SSE Vs Long Polling

    Realtime transports differ in directionality, connection cost, infrastructure support, and failure behavior.

    469 wordsRead
  71. TOPIC 071 · freeFREE

    Adaptive Bitrate And CDN Decider

    Adaptive Bitrate And CDN Decider Adaptive bitrate streaming lets the player switch between video variants based on ne

    499 wordsRead
  72. TOPIC 072 · freeFREE

    API Design Contracts

    An API contract defines what clients may send, what they can expect back, and how the contract changes over time.

    537 wordsRead
  73. TOPIC 073 · freeFREE

    Append-Only Object Storage Stream Layer

    The storage layer behind object storage should be cheap, durable, and write-efficient.

    487 wordsRead
  74. TOPIC 074 · freeFREE

    Autocomplete System Design

    Autocomplete suggests likely queries or entities while the user types.

    502 wordsRead
  75. TOPIC 075 · freeFREE

    Availability Durability Consistency And Cost

    Availability Durability Consistency And Cost Architecture tradeoffs often reduce to four questions: does it stay up,

    571 wordsRead
  76. TOPIC 076 · freeFREE

    B-Tree

    A B-tree is a balanced search tree optimized for block/page-oriented storage.

    543 wordsRead
  77. TOPIC 077 · freeFREE

    Back-Of-The-Envelope Capacity Planning

    Back-Of-The-Envelope Capacity Planning Capacity planning turns product requirements into rough load, storage, bandwid

    632 wordsRead
  78. TOPIC 078 · freeFREE

    Backpressure

    Backpressure is how a system tells upstream producers to slow down when downstream capacity is saturated.

    491 wordsRead
  79. TOPIC 079 · freeFREE

    Backup And Restore Strategy

    Backup strategy defines what data is copied, where it is stored, how long it is retained, and how restoration is proven.

    477 wordsRead
  80. TOPIC 080 · freeFREE

    Batching

    Batching groups work to reduce per-item overhead.

    520 wordsRead
  81. TOPIC 081 · freeFREE

    Bitcask Storage Engine

    Bitcask is a log-structured hash-table storage engine for fast key-value data.

    529 wordsRead
  82. TOPIC 082 · freeFREE

    Blocklist Versioned File Metadata

    Blocklist Versioned File Metadata A blocklist is the ordered list of block hashes that defines a file version. The m

    460 wordsRead
  83. TOPIC 083 · freeFREE

    Bloom Filters

    A Bloom filter is a compact probabilistic data structure for membership checks.

    481 wordsRead
  84. TOPIC 084 · freeFREE

    BM25 Production Ranking

    BM25 is the practical production successor to vanilla TF-IDF for lexical search.

    553 wordsRead
  85. TOPIC 085 · freeFREE

    Boolean Tiered Search

    Boolean Tiered Search Boolean tiered search starts strict and relaxes only when needed. It is a practical way to pres

    574 wordsRead
  86. TOPIC 086 · freeFREE

    Bucketed Time Window Aggregation

    Time-window aggregation turns an infinite event stream into queryable windows.

    566 wordsRead
  87. TOPIC 087 · freeFREE

    Byte-Range Indexed Object Storage

    Byte-Range Indexed Object Storage Byte-range reads let an application fetch only part of a large object. With a separ

    540 wordsRead
  88. TOPIC 088 · freeFREE

    Cache Availability And Database Fallback

    A cache starts as a performance aid.

    523 wordsRead
  89. TOPIC 089 · freeFREE

    Cache Concurrency Control

    Caches still need concurrency control.

    535 wordsRead
  90. TOPIC 090 · freeFREE

    Cache Eviction Policies

    Eviction decides which key leaves when cache memory is full.

    486 wordsRead
  91. TOPIC 091 · freeFREE

    Caching Layers

    A cache is any stored answer that avoids an expensive operation.

    478 wordsRead
  92. TOPIC 092 · freeFREE

    CAP And PACELC

    CAP says that during a network partition, a distributed system must choose between availability and consistency.

    456 wordsRead
  93. TOPIC 093 · freeFREE

    Circuit Breakers And Timeouts

    Circuit breakers prevent a failing dependency from dragging the rest of the system down.

    549 wordsRead
  94. TOPIC 094 · freeFREE

    Clock Skew And ID Ordering

    Clock Skew And ID Ordering Clock skew breaks the assumption that timestamps from different machines are directly comp

    458 wordsRead
  95. TOPIC 095 · freeFREE

    Clocks And Ordering

    Distributed systems need ordering, but wall clocks on different machines are not a perfect global truth.

    512 wordsRead
  96. TOPIC 096 · freeFREE

    Compaction And Amplification

    Compaction is the background process that merges immutable files, drops obsolete values, and controls the number of files a read must search.

    486 wordsRead
  97. TOPIC 097 · freeFREE

    Consensus

    Consensus lets a group of nodes agree on a sequence of decisions despite failures, as long as assumptions such as quorum and timing bounds are respected.

    473 wordsRead
  98. TOPIC 098 · freeFREE

    Consistency Models

    A consistency model defines what reads may observe after writes.

    530 wordsRead
  99. TOPIC 099 · freeFREE

    Consistent Hashing

    Consistent hashing determines which node owns a key while minimizing remapping when nodes are added or removed.

    522 wordsRead
  100. TOPIC 100 · freeFREE

    Consistent Hashing Load Balancing

    Consistent hashing can route keys to nodes while minimizing remapping when nodes join or leave.

    537 wordsRead
  101. TOPIC 101 · freeFREE

    Cost-Aware Architecture

    Cost-aware architecture treats money as a design constraint alongside latency, correctness, and reliability.

    607 wordsRead
  102. TOPIC 102 · freeFREE

    Count-Min Sketch

    Count-min sketch is a compact probabilistic data structure for approximate item frequencies in streams.

    505 wordsRead
  103. TOPIC 103 · freeFREE

    Counting At Scale

    Counts are deceptively expensive because product pages make them look like ordinary fields.

    627 wordsRead
  104. TOPIC 104 · freeFREE

    Crawler And Indexing Pipeline

    A crawler/indexing pipeline discovers documents, fetches content, extracts structured data, builds indexes, and keeps results fresh.

    543 wordsRead
  105. TOPIC 105 · freeFREE

    Custom Binary File Format

    A custom storage file should be self-describing enough for a reader to find the sections it needs without external state.

    481 wordsRead
  106. TOPIC 106 · freeFREE

    DAG Workflow Orchestration

    A DAG is a directed acyclic graph of tasks.

    651 wordsRead
  107. TOPIC 107 · freeFREE

    Data Retention And Deletion

    Data retention defines how long data is kept.

    457 wordsRead
  108. TOPIC 108 · freeFREE

    Database Backups And Restore

    Database backup strategy combines snapshots, logical exports, and WAL/binlog archives so the system can restore to a known point.

    460 wordsRead
  109. TOPIC 109 · freeFREE

    Database Indexing

    An index is a data structure that speeds up reads by giving the database a shorter path to matching rows.

    593 wordsRead
  110. TOPIC 110 · freeFREE

    Database Locking And Isolation

    Isolation is the part of ACID that controls how concurrent transactions interact.

    565 wordsRead
  111. TOPIC 111 · freeFREE

    Database Migration Safety

    Database migration safety is about changing schema and data while old code, new code, workers, replicas, and backfills may all coexist.

    474 wordsRead
  112. TOPIC 112 · freeFREE

    Database Ticket Servers

    Database Ticket Servers A database ticket server is a small dedicated database used only to issue unique IDs. ## Cor

    598 wordsRead
  113. TOPIC 113 · freeFREE

    Database WAL And Recovery

    A write-ahead log records changes before they are applied to main data structures.

    537 wordsRead
  114. TOPIC 114 · freeFREE

    Delegation And Async Work

    Delegation means moving non-essential work out of the synchronous request path and into workers, queues, streams, or batch jobs.

    573 wordsRead
  115. TOPIC 115 · freeFREE

    Deployment And Migration Safety

    Deployment safety is the discipline of changing production while preserving rollback, observability, and user trust.

    483 wordsRead
  116. TOPIC 116 · freeFREE

    Did You Mean And Spell Correction

    Spell correction rewrites or suggests alternate queries when the original query is likely misspelled or poorly segmented.

    545 wordsRead
  117. TOPIC 117 · freeFREE

    Direct To Object Storage Upload

    Direct upload keeps large media bytes out of the application server.

    569 wordsRead
  118. TOPIC 118 · freeFREE

    Disaster Recovery

    Disaster recovery is the plan for restoring service after region loss, data corruption, catastrophic deploys, credential compromise, or operator error.

    456 wordsRead
  119. TOPIC 119 · freeFREE

    Distributed Cache Design

    A distributed cache is a key-value store spread across machines.

    465 wordsRead
  120. TOPIC 120 · freeFREE

    Distributed Hash Tables

    A distributed hash table is a key-value lookup spread across many nodes.

    556 wordsRead
  121. TOPIC 121 · freeFREE

    Distributed ID Generation

    Distributed ID generation is the problem of assigning unique identifiers without forcing every write through one database sequence.

    485 wordsRead
  122. TOPIC 122 · freeFREE

    Distributed Locks And Leases

    Distributed locks coordinate work across multiple machines.

    535 wordsRead
  123. TOPIC 123 · freeFREE

    Distributed Systems Foundations

    A distributed system is a system where components run on multiple machines and coordinate over a network while presenting one coherent product or service.

    602 wordsRead
  124. TOPIC 124 · freeFREE

    Distributed Task Scheduler

    A distributed task scheduler runs one-time or recurring jobs across a fleet while meeting a scheduling SLA.

    644 wordsRead
  125. TOPIC 125 · freeFREE

    End-To-End Checksums

    Replication protects against losing bytes.

    509 wordsRead
  126. TOPIC 126 · freeFREE

    Event Bus For Product Events

    A product event says, "this fact happened."

    640 wordsRead
  127. TOPIC 127 · freeFREE

    Event Contracts

    An event contract defines the meaning, schema, producer rules, and consumer expectations for a durable event.

    540 wordsRead
  128. TOPIC 128 · freeFREE

    Extensible Data Modeling

    Extensible data modeling means choosing a schema that survives the next obvious product change without pretending to solve every future problem.

    628 wordsRead
  129. TOPIC 129 · freeFREE

    Fanout Patterns

    Fanout sends one event, post, message, or update to many recipients or downstream consumers.

    581 wordsRead
  130. TOPIC 130 · freeFREE

    Feed Generation Push Pull Hybrid

    This concept lesson frames Feed Generation Push Pull Hybrid as a practical architecture decision under real constraints.

    566 wordsRead
  131. TOPIC 131 · freeFREE

    File-Backed Dictionary Storage Engine

    File-Backed Dictionary Storage Engine The exercise: build exact lookup for `word -> meaning` with no traditional data

    546 wordsRead
  132. TOPIC 132 · freeFREE

    Fixed Block Chunking And Content Addressing

    Chunking turns a large file into smaller transfer units.

    524 wordsRead
  133. TOPIC 133 · freeFREE

    Flash Sale Inventory Locking

    Flash sales are about atomic reservation under extreme contention.

    666 wordsRead
  134. TOPIC 134 · freeFREE

    Geofencing Point In Polygon

    Geofencing answers whether a user/device point lies inside a named region.

    479 wordsRead
  135. TOPIC 135 · freeFREE

    Geohash Prefix Spatial Index

    Geohash encodes latitude/longitude into a hierarchical string.

    499 wordsRead
  136. TOPIC 136 · freeFREE

    Gossip Protocol

    Gossip protocol spreads state by having nodes repeatedly exchange what they know with a few peers.

    521 wordsRead
  137. TOPIC 137 · freeFREE

    Graph Database Decision Boundary

    Graph databases are specialized tools for relationship traversal and graph algorithms.

    476 wordsRead
  138. TOPIC 138 · freeFREE

    Gravatar-Style Avatar Service

    A Gravatar-style service gives each user a stable URL that always renders the current active avatar.

    499 wordsRead
  139. TOPIC 139 · freeFREE

    Hashtag Extraction And Tag Store

    Hashtags start as text parsing and become a read-model problem.

    621 wordsRead
  140. TOPIC 140 · freeFREE

    Hot And Cold Storage Archival

    Hot/cold storage is the practice of keeping frequently accessed data in fast, expensive systems and moving rarely accessed data to slower, cheaper systems.

    514 wordsRead
  141. TOPIC 141 · freeFREE

    Hot Partitions

    A hot partition is a shard, key range, tenant, cell, or queue partition receiving disproportionate load.

    477 wordsRead
  142. TOPIC 142 · freeFREE

    HyperLogLog Cardinality Estimation

    HyperLogLog estimates the number of distinct values in a stream using tiny bounded memory.

    568 wordsRead
  143. TOPIC 143 · freeFREE

    Image CDN And Resizing

    Image delivery is a bandwidth, latency, storage, and device-experience problem.

    479 wordsRead
  144. TOPIC 144 · freeFREE

    Immutable Versioned Data Files

    When an application keeps file offsets in memory, changing the underlying file in place can corrupt reads.

    479 wordsRead
  145. TOPIC 145 · freeFREE

    Impression Counting System Design

    This concept lesson frames Impression Counting System Design as a practical architecture decision under real constraints.

    516 wordsRead
  146. TOPIC 146 · freeFREE

    Incident Response

    Incident response is the operating model for restoring a degraded service and learning from failure.

    489 wordsRead
  147. TOPIC 147 · freeFREE

    Information Retrieval System Design

    Information retrieval systems answer vague human intent over a corpus.

    615 wordsRead
  148. TOPIC 148 · freeFREE

    Inverted Index And Posting Lists

    An inverted index maps term -> documents containing that term.

    568 wordsRead
  149. TOPIC 149 · freeFREE

    Keyset Pagination

    Keyset pagination uses the last seen sort key instead of OFFSET.

    471 wordsRead
  150. TOPIC 150 · freeFREE

    Leader Election

    Leader election chooses one node to coordinate work such as scheduling, partition ownership, replication, or metadata changes.

    485 wordsRead
  151. TOPIC 151 · freeFREE

    Live Commentary System Design

    Live commentary, like Cricbuzz, is a read-amplification problem.

    520 wordsRead
  152. TOPIC 152 · freeFREE

    Live Reactions High Throughput Design

    Live reactions are the "heart button" problem: many users tap rapidly, everyone should see motion quickly, and the business may still want durable analytics.

    585 wordsRead
  153. TOPIC 153 · freeFREE

    Live Streaming WebRTC And Latency

    Video-on-demand is file serving.

    536 wordsRead
  154. TOPIC 154 · freeFREE

    Load Balancers

    A load balancer receives client traffic and distributes it across a pool of backends.

    454 wordsRead
  155. TOPIC 155 · freeFREE

    Load Shedding

    Load shedding intentionally rejects, delays, or degrades lower-value work so the system can preserve higher-value work during overload.

    502 wordsRead
  156. TOPIC 156 · freeFREE

    Log-Structured Storage

    Log-structured storage writes new records by appending.

    546 wordsRead
  157. TOPIC 157 · freeFREE

    Logical System Design

    Logical System Design Logical system design is the structure of the application itself: where business rules live, wh

    692 wordsRead
  158. TOPIC 158 · freeFREE

    LSM Read Path Bloom And Sparse Index

    LSM writes are simple.

    491 wordsRead
  159. TOPIC 159 · freeFREE

    LSM Tree Storage Engine

    An LSM tree is a write-optimized storage structure that keeps recent writes in memory, records them durably in an append-only log, and periodically flushes sorted immutable files to disk.

    506 wordsRead
  160. TOPIC 160 · freeFREE

    Matching And Recommendation Algorithms

    Matching algorithms pair supply and demand: riders/drivers, jobs/candidates, buyers/products, users/content, or mentors/mentees.

    515 wordsRead
  161. TOPIC 161 · freeFREE

    Memtable WAL And SSTable

    An LSM engine is built from three core pieces: a WAL, a memtable, and SSTables.

    479 wordsRead
  162. TOPIC 162 · freeFREE

    Mergeable Sketches For Analytics

    Mergeable Sketches For Analytics A mergeable sketch is a compact summary that can be combined with other summaries wi

    568 wordsRead
  163. TOPIC 163 · freeFREE

    Metadata DB For Object Storage

    Object storage needs a database even when object bytes live in a custom storage layer.

    474 wordsRead
  164. TOPIC 164 · freeFREE

    Metadata Service And Node Discovery

    Client-side routing needs every client to agree on the storage topology.

    611 wordsRead
  165. TOPIC 165 · freeFREE

    Multi-Tenant Design

    Multi-tenant systems serve many customers on shared infrastructure while preserving isolation, fairness, security, and cost control.

    461 wordsRead
  166. TOPIC 166 · freeFREE

    MVCC

    Multi-version concurrency control lets readers see a stable snapshot while writers create newer versions.

    456 wordsRead
  167. TOPIC 167 · freeFREE

    MySQL MEMORY Engine Cache

    MySQL MEMORY Engine Cache The MySQL `MEMORY` engine lets you keep the SQL interface while changing the storage behavi

    585 wordsRead
  168. TOPIC 168 · freeFREE

    Nearby Geospatial Search System Design

    This concept lesson frames Nearby Geospatial Search System Design as a practical architecture decision under real constraints.

    539 wordsRead
  169. TOPIC 169 · freeFREE

    Newly-Unread Indicator

    Newly-Unread Indicator A newly-unread badge is not the same as total unread messages. Example product behavior: - Y

    476 wordsRead
  170. TOPIC 170 · freeFREE

    Non-Functional Requirements

    Non-Functional Requirements Non-functional requirements define how the system must behave under real operating condit

    641 wordsRead
  171. TOPIC 171 · freeFREE

    NoSQL Decision Boundaries

    NoSQL is a family of tradeoffs, not a single database behavior.

    679 wordsRead
  172. TOPIC 172 · freeFREE

    Object Storage Durability And Replication

    Object storage is trusted with customer data.

    525 wordsRead
  173. TOPIC 173 · freeFREE

    Observability For Distributed Systems

    Observability is what lets you understand a distributed system from the outside when you cannot attach a debugger to "the system" as a whole.

    564 wordsRead
  174. TOPIC 174 · freeFREE

    Online Indexing

    Online indexing builds or changes indexes while the database continues serving traffic.

    492 wordsRead
  175. TOPIC 175 · freeFREE

    Parallel Monolith Read Drain

    Parallel Monolith Read Drain When a legacy monolith sends too many reads to a master database, you do not always need

    646 wordsRead
  176. TOPIC 176 · freeFREE

    Partition Manager And Map Table

    Partition Manager And Map Table Once storage is range-partitioned, the system needs a control plane that answers: ``

    507 wordsRead
  177. TOPIC 177 · freeFREE

    Photo Tagging Coordinate Model

    Photo Tagging Coordinate Model When users tag people in photos, store positions relative to the image, not as absolut

    590 wordsRead
  178. TOPIC 178 · freeFREE

    Postgres SKIP LOCKED Work Queue

    SELECT … FOR UPDATE SKIP LOCKED lets multiple workers safely claim disjoint rows from a table without an external broker.

    603 wordsRead
  179. TOPIC 179 · freeFREE

    Privacy And Data Retention

    Privacy and retention design controls what personal or sensitive data is collected, who can access it, where it is copied, and when it is deleted.

    466 wordsRead
  180. TOPIC 180 · freeFREE

    Query Planning

    Query planning is how a database chooses an execution strategy: scan, index lookup, join order, sort, aggregate, and memory use.

    565 wordsRead
  181. TOPIC 181 · freeFREE

    Query Understanding Pipeline

    Query understanding rewrites messy user text into a set of searches the engine can execute.

    598 wordsRead
  182. TOPIC 182 · freeFREE

    Queue Lag

    Queue lag measures how far background processing is behind incoming work.

    595 wordsRead
  183. TOPIC 183 · freeFREE

    Range Partitioning vs Consistent Hashing for Storage

    Consistent hashing is good when random distribution is the goal.

    517 wordsRead
  184. TOPIC 184 · freeFREE

    Rate Limiter Placement And Keys

    Rate limiting is only useful if it is placed where it has the right identity and enough context.

    514 wordsRead
  185. TOPIC 185 · freeFREE

    Raw Events Vs Derived Analytics

    Raw events are facts.

    506 wordsRead
  186. TOPIC 186 · freeFREE

    Ray Casting Point In Polygon

    Ray casting determines whether a point lies inside a polygon by counting how many times a ray from the point crosses polygon edges.

    472 wordsRead
  187. TOPIC 187 · freeFREE

    Reaction Modeling

    Reactions look like a small product feature, but the table can grow toward users times posts.

    584 wordsRead
  188. TOPIC 188 · freeFREE

    Real-Time Database And WebSocket Scaling

    Real-time database sync means clients subscribe to changes and receive updates without manually refreshing.

    622 wordsRead
  189. TOPIC 189 · freeFREE

    Recent Searches System Design

    Requirement: when a user taps the search box, render the last five unique successful searches with single-digit millisecond latency.

    553 wordsRead
  190. TOPIC 190 · freeFREE

    Redis GEO Spatial Hot Path

    Redis GEO is a pragmatic hot-path choice for "find nearby active things" when the data fits in memory and the geospatial needs are simple.

    485 wordsRead
  191. TOPIC 191 · freeFREE

    Redis Redlock And Fencing Tokens

    Redlock is Redis's distributed-lock algorithm using multiple independent Redis masters and quorum-based lock acquisition.

    528 wordsRead
  192. TOPIC 192 · freeFREE

    Related Searches

    Related searches suggest adjacent queries that help users refine, broaden, or pivot intent.

    520 wordsRead
  193. TOPIC 193 · freeFREE

    Relational Database Design

    Relational database design is the discipline of modeling facts, relationships, and constraints so the database can protect correctness while still serving the system's access patterns efficiently.

    644 wordsRead
  194. TOPIC 194 · freeFREE

    Relational Database Scaling

    Relational database scaling should be sequential.

    590 wordsRead
  195. TOPIC 195 · freeFREE

    Remote File Sync Design

    Remote file sync keeps local folders and cloud state converged without uploading or downloading entire files after small changes.

    548 wordsRead
  196. TOPIC 196 · freeFREE

    Replication

    Replication keeps copies of data on multiple machines or regions for availability, durability, read scale, or locality.

    549 wordsRead
  197. TOPIC 197 · freeFREE

    Repository Pattern

    The repository pattern creates a data-access boundary between business logic and persistence details.

    480 wordsRead
  198. TOPIC 198 · freeFREE

    Requirements Clarification

    Requirements Clarification Requirements clarification turns a vague prompt into a bounded design problem. It prevents

    520 wordsRead
  199. TOPIC 199 · freeFREE

    Reservoir Sampling

    Reservoir sampling keeps a uniform random sample of fixed size from a stream of unknown length.

    508 wordsRead
  200. TOPIC 200 · freeFREE

    Retries Timeouts And Idempotency

    Retries recover from transient failures only when bounded by timeouts and protected by idempotency.

    530 wordsRead
  201. TOPIC 201 · freeFREE

    Rule Engine Trigger Framework

    Rule Engine Trigger Framework A trigger framework lets product and operations define: **when this event happens, if t

    576 wordsRead
  202. TOPIC 202 · freeFREE

    S3-Style Object Storage Architecture

    Object storage stores blobs under bucket/key names and exposes operations like PUT, GET, DELETE, LIST, and HEAD.

    523 wordsRead
  203. TOPIC 203 · freeFREE

    Schema Evolution

    Schema evolution is changing data contracts while old and new producers, consumers, databases, queues, and caches coexist.

    535 wordsRead
  204. TOPIC 204 · freeFREE

    Search Evaluation Metrics

    Search evaluation measures whether results satisfy user intent, not only whether the system returned documents.

    506 wordsRead
  205. TOPIC 205 · freeFREE

    Search Feedback And Relevance Signals

    Search quality improves when the system learns from what users did after seeing results.

    584 wordsRead
  206. TOPIC 206 · freeFREE

    Search Index Sharding

    Search index sharding splits an index across machines so queries, indexing, and storage can scale.

    517 wordsRead
  207. TOPIC 207 · freeFREE

    Search Index Synchronization

    Search index synchronization is the process of keeping a derived search system, such as Elasticsearch or OpenSearch, aligned with the primary database.

    537 wordsRead
  208. TOPIC 208 · freeFREE

    Security And Abuse Prevention

    Security design protects data, users, and system integrity.

    478 wordsRead
  209. TOPIC 209 · freeFREE

    Service-To-Service Communication

    Service communication is how independent components coordinate work while preserving latency, correctness, and failure isolation.

    575 wordsRead
  210. TOPIC 210 · freeFREE

    Sharding And Partitioning

    Sharding splits data across multiple storage nodes so the system can scale horizontally.

    552 wordsRead
  211. TOPIC 211 · freeFREE

    Signed URLs DRM And Video Security

    CDNs are good at serving bytes.

    543 wordsRead
  212. TOPIC 212 · freeFREE

    Sliding Window Rate Limiter

    A sliding-window limiter enforces a limit over the most recent moving window, not just a fixed calendar bucket.

    587 wordsRead
  213. TOPIC 213 · freeFREE

    SLOs And Error Budgets

    An SLO is a reliability target for a user-visible behavior.

    487 wordsRead
  214. TOPIC 214 · freeFREE

    Snowflake ID Design

    Snowflake-style IDs generate compact, mostly time-sortable IDs without calling a central ID service for every write.

    479 wordsRead
  215. TOPIC 215 · freeFREE

    Social Graph Follows And FlockDB

    Social Graph Follows And FlockDB Follow/follower storage looks like a graph problem, but not every graph-shaped probl

    498 wordsRead
  216. TOPIC 216 · freeFREE

    Social Network Database Modeling

    A social-network schema is not just users and posts.

    523 wordsRead
  217. TOPIC 217 · freeFREE

    Soft Delete

    Soft delete marks data as deleted without physically removing it immediately.

    465 wordsRead
  218. TOPIC 218 · freeFREE

    SQL-Backed Key-Value Store

    A SQL-backed key-value store uses a relational database table for key/value lookups, often as a simple durable starting point.

    527 wordsRead
  219. TOPIC 219 · freeFREE

    Stop Words And Champion Lists

    Stop Words And Champion Lists Stop words are terms that appear so often they carry little information. Common example

    566 wordsRead
  220. TOPIC 220 · freeFREE

    Storage Engine Design Constraints

    A storage engine is not just "write bytes somewhere."

    454 wordsRead
  221. TOPIC 221 · freeFREE

    Storage Engine Tradeoffs

    Storage engines trade read amplification, write amplification, space amplification, recovery time, and operational tuning.

    507 wordsRead
  222. TOPIC 222 · freeFREE

    Streaming Percentile Analytics

    Streaming percentile analytics lets dashboards answer p50/p95/p99 over huge metric streams without sorting raw data at query time.

    530 wordsRead
  223. TOPIC 223 · freeFREE

    System Design Tradeoffs

    System Design Tradeoffs Every architecture choice buys one property by spending another: latency, correctness, availa

    515 wordsRead
  224. TOPIC 224 · freeFREE

    Tail Latency

    Tail latency is the slow end of request distribution: p95, p99, and beyond.

    539 wordsRead
  225. TOPIC 225 · freeFREE

    TDigest Quantile Sketch

    TDigest Quantile Sketch t-digest is a compact data structure for approximate quantiles such as p50, p95, p99, and p99

    509 wordsRead
  226. TOPIC 226 · freeFREE

    TF-IDF Relevance Scoring

    TF-IDF says: a term is important to a document when it appears often in that document and rarely across the corpus.

    554 wordsRead
  227. TOPIC 227 · freeFREE

    Top-K Heavy Hitters

    Top-K heavy hitter systems track the most frequent items in a stream: queries, users, products, IPs, errors, or keys.

    521 wordsRead
  228. TOPIC 228 · freeFREE

    TTL Expiration And Cache Reapers

    TTL says how long a key may live.

    489 wordsRead
  229. TOPIC 229 · freeFREE

    Vector Search And Hybrid Retrieval

    Vector search retrieves items by embedding similarity.

    507 wordsRead
  230. TOPIC 230 · freeFREE

    Video Transcoding Pipeline

    Video platforms do not serve the raw upload directly.

    544 wordsRead
  231. TOPIC 231 · freeFREE

    Video Upload With Signed URLs And Multipart

    Large video uploads should bypass the API server.

    561 wordsRead
  232. TOPIC 232 · freeFREE

    View Counting At Scale

    View counting is distributed aggregation: many client events become a smaller number of durable counter updates.

    609 wordsRead
  233. TOPIC 233 · freeFREE

    When Not To Add Infrastructure

    When Not To Add Infrastructure Senior system design is often about declining complexity. Infrastructure is justified

    619 wordsRead