Skip to content

System Design

System design glossary

Search plain-English definitions, everyday analogies and related architecture references across the System Design playbook.

163 terms. Each definition includes an analogy and a related playbook topic. Topic links open the dedicated blueprint in this track.

A

ACID

Atomicity, consistency, isolation and durability: transaction properties whose exact semantics depend on the system.

Analogy: Rules for completing and preserving a coordinated exchange.

Related topic: blueprint 4
Anycast

Routing the same destination address to one of multiple announcing network locations.

Analogy: One service address reachable through several regional entrances.

Related topic: blueprint 21
API gateway

An entry point applying routing and shared API policies.

Analogy: A service entrance checking credentials and directing requests.

Related topic: blueprint 3
At-least-once delivery

A delivery guarantee allowing duplicates while requiring delivery under stated assumptions.

Analogy: A courier may deliver a parcel again rather than risk omission.

Related topic: blueprint 7
Atomicity

The all-or-nothing visibility or effect of a defined operation unit.

Analogy: A package exchange that completes together or is canceled.

Related topic: blueprint 18
Availability

Ability to provide a specified service, measured under a defined indicator and failure model.

Analogy: Whether the relevant counter can deliver the promised result.

Related topic: blueprint 15

B

B-tree

A balanced multiway search-tree family suited to page-oriented access.

Analogy: A directory tree that narrows the search at each level.

Related topic: blueprint 5
Backpressure

A signal or mechanism constraining upstream production when downstream capacity is limited.

Analogy: A full receiving dock asking senders to slow down.

Related topic: blueprint 16
Bandwidth

A data transfer rate or capacity, expressed in bits or bytes per unit time.

Analogy: The amount of material a delivery lane can carry per second.

Related topic: blueprint 1
Bit

A binary information unit with two possible values.

Analogy: One switch that is off or on.

Related topic: blueprint 1
Block storage

A storage interface exposing addressable blocks.

Analogy: A numbered set of storage slots the owner organizes.

Related topic: blueprint 40
Bloom filter

A probabilistic membership structure with possible false positives but no false negatives under its normal insertion-only model.

Analogy: A quick door list that may send you to check inside unnecessarily.

Related topic: blueprint 5
Broker

A service mediating message or event publication and delivery.

Analogy: A dispatch office coordinating senders and receivers.

Related topic: blueprint 7
Bulkhead

Isolation of resources or failure domains to limit propagation.

Analogy: Ship compartments limiting where water can spread.

Related topic: blueprint 16
Byte

An information unit conventionally comprising eight bits.

Analogy: A bundle of eight switches.

Related topic: blueprint 1

C

Cache

Stored data reused to avoid repeating a more expensive retrieval or computation.

Analogy: Keeping frequently needed ingredients near the counter.

Related topic: blueprint 6
Cache hit

A lookup served from the cache under the applicable validity rule.

Analogy: Finding the needed ingredient on the nearby shelf.

Related topic: blueprint 6
Cache miss

A cache lookup that cannot supply the requested usable entry.

Analogy: Having to visit the main storeroom.

Related topic: blueprint 6
Cache-aside

A pattern where application code loads missing data and populates the cache.

Analogy: The cook checks the shelf, then fetches and restocks an absent item.

Related topic: blueprint 6
CAP

A result limiting simultaneous linearizable consistency and availability during partitions under its formal model.

Analogy: A disconnected office cannot both answer every request and always share one instant record.

Related topic: blueprint 8
Cardinality

The number of distinct values or combinations in a defined set.

Analogy: How many different labels need separate storage bins.

Related topic: blueprint 43
Causal consistency

An observation model preserving causal dependencies among operations.

Analogy: Replies cannot appear before the messages they depend on.

Related topic: blueprint 8
CDC

Change data capture: extracting committed data changes for downstream processing.

Analogy: Following the ledger's change journal to update other desks.

Related topic: blueprint 45
CDN

Content delivery network: distributed delivery infrastructure that serves content closer to clients under cache and routing rules.

Analogy: Local pickup depots reducing trips to the central warehouse.

Related topic: blueprint 21
Checkpoint

Saved execution or model state used as a recovery or continuation point.

Analogy: A preserved game state from which work can resume.

Related topic: blueprint 68
Circuit breaker

A control that temporarily rejects calls after a failure threshold and probes recovery.

Analogy: A gate closed during a known hazard and reopened cautiously.

Related topic: blueprint 16
Client

A program acting as the requester in an interaction.

Analogy: A customer placing an order at a counter.

Related topic: blueprint 2
Compaction

Rewriting storage runs to consolidate versions and reclaim eligible space.

Analogy: Merging filing boxes and discarding obsolete copies.

Related topic: blueprint 5
Concurrency

Multiple tasks making progress during overlapping intervals.

Analogy: One cook switching among several simmering dishes.

Related topic: blueprint 16
Connection pool

A bounded set of reusable connections managed for callers.

Analogy: A shared set of open phone lines reused for many calls.

Related topic: blueprint 2
Consensus

A protocol problem of reaching agreement among participants under specified failures.

Analogy: A committee agreeing on one ordered official record.

Related topic: blueprint 17
Consistent hashing

A placement family designed to limit key reassignment when membership changes.

Analogy: A circular directory where a new desk takes a neighboring slice.

Related topic: blueprint 9
Consumer

A component receiving and processing messages or records.

Analogy: The worker collecting tasks from the tray.

Related topic: blueprint 7
Consumer group

A coordinated set of consumers sharing assigned work under a broker's rules.

Analogy: A crew splitting responsibility for delivery routes.

Related topic: blueprint 7
Consumer lag

Distance between a consumer's progress and a defined stream position.

Analogy: How far a reader is behind the latest journal entry.

Related topic: blueprint 7
Continuous batching

Scheduling that changes active inference requests across generation iterations.

Analogy: Filling a freed service slot without waiting for the whole group to finish.

Related topic: blueprint 32
Control plane

Components responsible for configuration, policy or lifecycle management of serving resources.

Analogy: The office deciding routes and issuing operating instructions.

Related topic: blueprint 69
CQRS

Command Query Responsibility Segregation: separating command and query models or responsibilities.

Analogy: Different desks for making changes and answering questions.

Related topic: blueprint 19

D

Data plane

Components performing the configured service's request or data handling.

Analogy: The vehicles and workers actually delivering the service.

Related topic: blueprint 69
DAU

Daily active users under a stated definition of activity.

Analogy: The distinct visitors who did the counted action today.

Related topic: blueprint 1
Deadline

An absolute completion bound shared across work, often propagated across calls.

Analogy: One delivery cutoff applying to every step of an order.

Related topic: blueprint 16
Decode

The autoregressive phase generating additional output tokens using prior context.

Analogy: Writing the next answer tile from the context so far.

Related topic: blueprint 32
Denormalization

Duplicating or precombining data to serve selected reads more directly.

Analogy: Printing the delivery address on the dispatch sheet for convenience.

Related topic: blueprint 4
DNS

Domain Name System: a distributed system for resolving names into records such as IP addresses.

Analogy: A directory that finds an address from a name.

Related topic: blueprint 2
Durability

A promise about preserving acknowledged state under a specified failure model.

Analogy: A receipt backed by a record that survives the promised disruptions.

Related topic: blueprint 10

E

Embedding

A learned numerical representation of an input in a vector space.

Analogy: Coordinates placing related material near each other on a map.

Related topic: blueprint 31
Error budget

The allowed amount of bad service implied by an objective and its measurement window.

Analogy: A limited allowance for missed service promises.

Related topic: blueprint 15
Event sourcing

Using a history of domain events as the authoritative record for reconstructing state.

Analogy: Keeping every ledger entry rather than only today's balance.

Related topic: blueprint 19
Eventual consistency

A convergence property under stated conditions after updates cease and communication proceeds.

Analogy: Copies eventually matching once changes stop and updates arrive.

Related topic: blueprint 8
Exponential backoff

Increasing retry delays multiplicatively according to a bounded policy.

Analogy: Waiting progressively longer between repeat calls.

Related topic: blueprint 12

F

Failover

Transferring a service role from a failed or unsuitable owner to another.

Analogy: Handing the service desk to a prepared replacement.

Related topic: blueprint 10
Fencing token

A monotonically ordered authority value checked by the protected resource to reject stale owners.

Analogy: A newer numbered permit invalidating older permits at the gate.

Related topic: blueprint 38
File storage

A storage interface exposing files, directories and associated operations.

Analogy: A filing cabinet organized into folders.

Related topic: blueprint 41
Follower

A node following a leader's replication or coordination role in a protocol.

Analogy: A clerk maintaining the chair's approved record.

Related topic: blueprint 17
Foreign key

A relational constraint referencing a key in another or the same table.

Analogy: A form that must refer to an existing customer file.

Related topic: blueprint 4
Full table scan

Examining the table's records to evaluate a query.

Analogy: Reading every page to find a name.

Related topic: blueprint 5

G

Graceful degradation

Preserving a defined useful subset of behavior when dependencies fail or capacity is constrained.

Analogy: Keeping takeaway open when table service is unavailable.

Related topic: blueprint 16
GraphQL

A query language and execution model for requesting structured fields from a typed API.

Analogy: A form where the customer selects the fields to return.

Related topic: blueprint 3

H

Health check

A probe used to assess whether a target can serve a defined function.

Analogy: A readiness question asked before sending customers to a desk.

Related topic: blueprint 3
Horizontal scaling

Adding instances to distribute work or data.

Analogy: Opening another kitchen to handle more orders.

Related topic: blueprint 3
Hot key

A key receiving a disproportionate share of traffic or contention.

Analogy: One popular shelf that every customer reaches for.

Related topic: blueprint 6
HTTP

Hypertext Transfer Protocol: application semantics for requests and responses over the web.

Analogy: A shared form for asking a service and reading its answer.

Related topic: blueprint 2
HTTP/2

An HTTP mapping that multiplexes streams over a connection, commonly TCP.

Analogy: Several conversations sharing one ordered delivery pipe.

Related topic: blueprint 2
HTTP/3

The HTTP mapping over QUIC streams.

Analogy: Web conversations carried on independently delivered streams.

Related topic: blueprint 2

I

Idempotency

Repeated application of a defined operation having the same relevant effect as one application.

Analogy: Submitting the same claim ticket again does not create another order.

Related topic: blueprint 12
Idempotency key

A stable request identity used to recognize repeated attempts of one operation.

Analogy: A claim number shared by retries of the same order.

Related topic: blueprint 12
Index

An auxiliary structure used to locate records without scanning every record.

Analogy: A book index pointing to relevant pages.

Related topic: blueprint 5
IP address

An Internet Protocol address used to identify a network interface or destination.

Analogy: A delivery address for network packets.

Related topic: blueprint 2
Isolation

Rules governing interference and observations among concurrent transactions.

Analogy: Separate work areas with explicit rules for sharing unfinished work.

Related topic: blueprint 8

J

Jitter

Random variation in timing used to reduce synchronized behavior.

Analogy: Staggering arrival times so everyone avoids the same rush.

Related topic: blueprint 12
JSON

A text format for structured values including objects, arrays, strings and numbers.

Analogy: A standardized labeled packing list.

Related topic: blueprint 3
JWT

JSON Web Token: a compact claims representation that can be signed or encrypted.

Analogy: A structured pass whose signature can be checked.

Related topic: blueprint 22

K

KV cache

Stored attention keys and values reused during autoregressive inference.

Analogy: Keeping intermediate notes instead of rereading every calculation.

Related topic: blueprint 32

L

Latency

Elapsed time between defined start and completion points of an operation.

Analogy: How long one customer waits for an answer.

Related topic: blueprint 2
Leader

A node holding a defined coordination or write role within a protocol.

Analogy: The currently authorized meeting chair.

Related topic: blueprint 17
LFU

Least frequently used: an eviction policy based on usage frequency under a stated counting scheme.

Analogy: Removing the tools used least often.

Related topic: blueprint 6
Linearizability

A consistency condition making operations appear atomic between invocation and response while respecting real-time order.

Analogy: Each desk action appears to occur at one shared instant.

Related topic: blueprint 8
Load balancer

A component distributing traffic across selected backends.

Analogy: A dispatcher choosing which available clerk serves each visitor.

Related topic: blueprint 3
Load shedding

Rejecting selected work to preserve useful service under overload.

Analogy: Turning away new customers before the kitchen stops serving anyone.

Related topic: blueprint 16
Long polling

A request held until an update arrives or a waiting limit expires.

Analogy: Asking the clerk to wait for news before answering.

Related topic: blueprint 24
LRU

Least recently used: an eviction policy favoring removal of entries unused for the longest time.

Analogy: Clearing away tools untouched for the longest period.

Related topic: blueprint 6
LSM tree

A log-structured merge design buffering updates and merging sorted storage runs.

Analogy: Writing changes into sorted batches and consolidating them later.

Related topic: blueprint 5

M

MAU

Monthly active users under a stated definition of activity.

Analogy: The distinct visitors who did the counted action this month.

Related topic: blueprint 1
Memtable

An in-memory structure holding recent writes in an LSM-style engine.

Analogy: A temporary sorted tray of recent updates.

Related topic: blueprint 5
MiB

Mebibyte: 1,048,576 bytes, equal to 2 raised to the twentieth power.

Analogy: A precisely sized binary bundle of bytes.

Related topic: blueprint 1

N

Network partition

A communication failure separating some participants from others.

Analogy: Offices that remain open but cannot contact each other.

Related topic: blueprint 8
Normalization

Organizing relational data to reduce specified redundancy and update anomalies.

Analogy: Keeping an address once and referencing it from many forms.

Related topic: blueprint 4

O

Object storage

A service storing byte objects under keys with metadata.

Analogy: A warehouse that retrieves sealed packages by label.

Related topic: blueprint 40
Outbox

A durable record of pending publication written atomically with application state in one transaction.

Analogy: An outgoing tray filled at the same time as the official ledger.

Related topic: blueprint 18

P

P50

The median: a threshold at or below which about half of observations fall.

Analogy: The waiting time of the middle customer in a sorted line.

Related topic: blueprint 2
P95

A threshold at or below which about 95 percent of measured observations fall.

Analogy: A time that covers most customers but leaves a slower tail.

Related topic: blueprint 2
P99

A threshold at or below which about 99 percent of measured observations fall.

Analogy: A cutoff near the slow end of a sorted waiting-time list.

Related topic: blueprint 2
Parallelism

Multiple tasks executing simultaneously.

Analogy: Several cooks working at the same time.

Related topic: blueprint 16
Partition key

A value used to determine placement or grouping of data.

Analogy: The sorting code deciding which branch receives a record.

Related topic: blueprint 9
Polling

Repeated client requests to discover whether state has changed.

Analogy: Asking the front desk for updates at intervals.

Related topic: blueprint 24
Port

A numeric transport endpoint identifier used with an address and protocol.

Analogy: A numbered service desk in a building.

Related topic: blueprint 2
Prefill

The inference phase processing prompt tokens to establish model state before subsequent generation.

Analogy: Reading the question before composing an answer.

Related topic: blueprint 32
Primary key

A database key uniquely identifying a row.

Analogy: The unique file number on a customer record.

Related topic: blueprint 4
Process

A running program instance with execution state and an address space.

Analogy: A workshop with its own working area.

Related topic: blueprint 13
Producer

A component publishing messages or records.

Analogy: The office placing tasks into the dispatch tray.

Related topic: blueprint 7
Protobuf

Protocol Buffers: schema-defined messages with a compact binary encoding.

Analogy: A shared numbered form that both parties can encode efficiently.

Related topic: blueprint 3

Q

QPS

Queries per second; specify what counts as a query.

Analogy: The number of questions handled each second.

Related topic: blueprint 1
Queue

A work-holding abstraction with defined enqueue, delivery and removal semantics.

Analogy: A waiting line of tasks for workers.

Related topic: blueprint 7
QUIC

A secure UDP-based transport with reliable streams and connection migration support.

Analogy: A courier managing multiple tracked streams inside one service.

Related topic: blueprint 2
Quorum

A set of participants satisfying a protocol's required intersection or voting rule.

Analogy: Enough authorized votes to meet a defined decision rule.

Related topic: blueprint 17

R

Raft

A replicated-log consensus protocol with leader election and log consistency rules.

Analogy: An elected chair coordinating an agreed meeting journal.

Related topic: blueprint 17
RAG

Retrieval-augmented generation: supplying retrieved information to a model's generation process.

Analogy: An open-book answer composed using retrieved reference pages.

Related topic: blueprint 31
RAM

Volatile random-access working memory.

Analogy: A countertop cleared when the kitchen shuts down.

Related topic: blueprint 4
Rate limiting

Enforcing an admission policy over a defined rate or quota.

Analogy: A gate admitting only the allowed pace of visitors.

Related topic: blueprint 11
Read path

The ordered operations used to retrieve and return a result.

Analogy: The route a clerk follows to answer a customer's question.

Related topic: blueprint 23
Replica

A copy of data maintained through a replication protocol.

Analogy: Another maintained copy of the same ledger.

Related topic: blueprint 10
Replication lag

Delay between an authoritative change and its visibility at a replica.

Analogy: The time before a copied ledger catches up.

Related topic: blueprint 10
REST

Representational State Transfer: architectural constraints for resource-oriented interactions.

Analogy: Working with named records through a consistent service counter.

Related topic: blueprint 3
Retry

Another attempt after a failure, timeout or retryable response.

Analogy: Calling again after an uncertain conversation.

Related topic: blueprint 12
Reverse proxy

An intermediary receiving requests on behalf of upstream servers.

Analogy: A reception desk forwarding visitors to internal departments.

Related topic: blueprint 3
RPC

Remote procedure call: invoking an operation across a process or network boundary.

Analogy: Calling a specialist in another office to perform a task.

Related topic: blueprint 3
RPO

Recovery point objective: the targeted bound on recoverable data loss, commonly expressed as time.

Analogy: How much recent ledger history the recovery plan may lose.

Related topic: blueprint 64
RPS

Requests per second, measured at a specified boundary.

Analogy: The number of service requests reaching a counter each second.

Related topic: blueprint 1
RTO

Recovery time objective: the targeted time to restore a defined service after disruption.

Analogy: How long the plan allows before the counter resumes service.

Related topic: blueprint 64
RTT

Round-trip time: elapsed time for a signal or exchange to travel out and back.

Analogy: The time to ask a distant desk and receive its reply.

Related topic: blueprint 2

S

Saga

A multi-step workflow using local transactions and defined compensating actions for failures.

Analogy: Several reservations coordinated with explicit cancellation actions.

Related topic: blueprint 18
Server

A program that receives requests and provides a service.

Analogy: The clerk answering the customer.

Related topic: blueprint 2
Session

Interaction state associated with a client across requests.

Analogy: An open customer file used over several visits.

Related topic: blueprint 22
Shard

A partition of a dataset assigned to a storage owner or group.

Analogy: One branch responsible for a subset of customer files.

Related topic: blueprint 9
Sharding

Partitioning data among owners using a stated placement scheme.

Analogy: Dividing customer files among branches.

Related topic: blueprint 9
SLA

Service-level agreement: an agreement describing service commitments and possible consequences.

Analogy: A contract attaching terms to the promised service.

Related topic: blueprint 15
SLI

Service-level indicator: a defined measurement of service behavior.

Analogy: The actual score counted from customer outcomes.

Related topic: blueprint 15
SLO

Service-level objective: a target for an indicator over a defined window.

Analogy: The service score the team aims to maintain.

Related topic: blueprint 15
Snapshot

A recorded state corresponding to a defined point or version.

Analogy: A dated photograph of the official files.

Related topic: blueprint 19
Span

A timed unit of work within a trace, with contextual relationships.

Analogy: One recorded leg of a shipment's journey.

Related topic: blueprint 15
Split brain

Concurrent participants acting as authoritative owners without safe coordination.

Analogy: Two managers both issuing conflicting final instructions.

Related topic: blueprint 10
SPOF

Single point of failure: a component whose failure can disable the relevant service.

Analogy: The only key to the building.

Related topic: blueprint 64
SSD

Solid-state storage that retains data without power, subject to device and write guarantees.

Analogy: A durable cabinet rather than a temporary work surface.

Related topic: blueprint 5
SSE

Server-sent events: a text event stream from server to client over HTTP.

Analogy: A live announcement feed sent in one direction.

Related topic: blueprint 24
SSTable

An immutable sorted table file used in several storage engines.

Analogy: A sealed alphabetized batch of records.

Related topic: blueprint 5
Stateful

Retaining state whose placement affects future processing or continuity.

Analogy: A clerk holding the only copy of a customer's open order.

Related topic: blueprint 3
Stateless

Request handling that does not require continuity in one instance's private session memory.

Analogy: Any clerk can help because the shared record carries the context.

Related topic: blueprint 3
Sticky session

Routing that tries to keep a client on a selected backend.

Analogy: Sending a returning customer to the same clerk.

Related topic: blueprint 3

T

Tail latency

Latency in the high-percentile portion of a distribution.

Analogy: The waits experienced by the slowest customers.

Related topic: blueprint 2
TCP

Transmission Control Protocol: a reliable ordered byte-stream transport.

Analogy: A numbered delivery stream that replaces missing parcels.

Related topic: blueprint 2
Thread

An execution sequence within a process that can share its memory.

Analogy: A worker operating in the same workshop.

Related topic: blueprint 13
Throughput

Completed work per unit time under a stated workload.

Analogy: How many customers finish service each minute.

Related topic: blueprint 1
Thundering herd

Many clients or workers reacting to the same event and overwhelming a shared resource.

Analogy: A crowd rushing the same doorway when it opens.

Related topic: blueprint 6
Timeout

A waiting bound after which a caller stops waiting or takes a defined action.

Analogy: A timer ending how long the customer remains on hold.

Related topic: blueprint 16
TLS

Transport Layer Security: a protocol for authenticating peers and protecting data in transit.

Analogy: An authenticated sealed conversation channel.

Related topic: blueprint 2
Token

A model-specific unit of encoded input or output, which need not equal a word.

Analogy: One tile in a model's own text alphabet.

Related topic: blueprint 32
Token bucket

An admission model replenishing bounded tokens that requests consume.

Analogy: A jar refilled steadily, with each visitor spending a token.

Related topic: blueprint 11
TPS

Transactions per second, with an explicitly defined transaction unit.

Analogy: The number of completed business exchanges per second.

Related topic: blueprint 1
Trace

A representation of a request's related operations across components.

Analogy: A shipment history across several depots.

Related topic: blueprint 15
Transaction

A group of operations governed by a commit or rollback boundary.

Analogy: A coordinated exchange accepted as one unit.

Related topic: blueprint 18
TTL

Time to live: a lifetime value whose exact expiry semantics depend on the protocol or store.

Analogy: An expiry label limiting how long a copy may be reused.

Related topic: blueprint 6

U

UDP

User Datagram Protocol: a datagram transport without built-in delivery or ordering guarantees.

Analogy: Individual postcards sent without tracked redelivery.

Related topic: blueprint 2
UTF-8

A variable-length encoding of Unicode code points into bytes.

Analogy: A writing system where different symbols need different packet sizes.

Related topic: blueprint 1

V

Vector database

A data service supporting storage and retrieval of vectors, often with approximate similarity indexes and metadata.

Analogy: A library that can find nearby meaning-coordinates.

Related topic: blueprint 51
Vertical scaling

Increasing resources available to an instance.

Analogy: Replacing a small oven with a larger one.

Related topic: blueprint 3
Virtual node

An additional logical ownership position assigned to a physical node in a placement scheme.

Analogy: One office operating several labeled desks on the directory.

Related topic: blueprint 9

W

WAL

Write-ahead log: a recovery log recorded before the corresponding data-page changes are made durable.

Analogy: A journal entry made before updating the main files.

Related topic: blueprint 5
Watermark

An event-time progress estimate used to reason about when older events may be considered late.

Analogy: A marker estimating how far incoming reports have caught up.

Related topic: blueprint 46
WebSocket

A protocol providing a persistent bidirectional message channel after establishment.

Analogy: An open phone line both sides can speak on.

Related topic: blueprint 24
Write path

The ordered operations that accept, validate and record a state change.

Analogy: The route a new order takes into the official ledger.

Related topic: blueprint 23
Write-behind

A pattern acknowledging a cached or buffered write before later propagation to backing storage.

Analogy: Recording an update at the desk and filing it centrally later.

Related topic: blueprint 6
Write-through

A pattern where writes pass through a cache layer to backing storage before the promised acknowledgment.

Analogy: Updating the desk copy and main file through the same clerk.

Related topic: blueprint 6