Skip to main content

Glossary

Key terms for distributed systems, data platforms, and principal-level architecture. Definitions emphasize decision criteria and failure behavior, not slogans.

Figure: Glossary term categories mapped to curriculum domains.

Related: Decision Frameworks, Reading List, curriculum chapters linked inline.


A​

TermDefinition
ACIDAtomicity, Consistency, Isolation, Durability—transaction properties for a single database. Distributed systems often relax or reinterpret these (see BASE, sagas).
ADR (Architecture Decision Record)Short document capturing context, decision, consequences, and alternatives for a significant architecture choice.
At-least-once deliveryMessage may be delivered one or more times; consumers must be idempotent or deduplicate.
At-most-once deliveryMessage delivered zero or one time; may be lost, never duplicated.
AvailabilitySystem remains operational and responds to requests. In CAP, formalized as every request receiving a non-error response (under a defined model).
Anti-entropyBackground process reconciling divergent replicas (e.g., Merkle trees, read repair).

B​

TermDefinition
BackpressureMechanism slowing upstream producers when downstream cannot keep pace; prevents unbounded buffering and cascading failure.
BASEBasically Available, Soft state, Eventually consistent—design philosophy contrasting with strict ACID in large-scale systems.
Blast radiusScope of impact when a component, AZ, or team fails; architecture goal is to contain it.
BulkheadIsolation pattern limiting resource sharing so failure in one pool does not exhaust all capacity (named after ship compartments).
Byzantine faultNode may behave arbitrarily or maliciously; requires stronger protocols (e.g., BFT) and typically 3f+1 replicas for f faults.

C​

TermDefinition
CAP theoremIn presence of a network partition, a distributed system cannot simultaneously provide linearizability (as defined in the CAP paper) and availability (every node responding). See CAP Theorem.
CAS (Compare-And-Swap)Atomic instruction testing a value and updating if unchanged; basis for lock-free algorithms and optimistic concurrency.
CDC (Change Data Capture)Streaming row-level changes from a database log for replication, analytics, or outbox relay.
Circuit breakerPattern stopping calls to a failing dependency after threshold, allowing recovery time; states: closed, open, half-open.
Causal consistencyOperations causally related are seen in same order by all nodes; concurrent operations may be seen differently.
Commit indexIn Raft, highest log index known to be committed on a majority; entries at or below are durable.
Compaction (LSM)Merging SSTable files in log-structured merge trees; trades write amplification for read efficiency.
ConsensusAgreement among nodes on a single value or ordered log despite failures. See Consensus.
Consistent hashingHash ring mapping keys to nodes; adding/removing nodes moves only adjacent key ranges.
CRDTConflict-free Replicated Data Type—data structure merging replicas without coordination if updates commute or converge.
CQRSCommand Query Responsibility Segregation—separate write and read models, often with async projection.

D​

TermDefinition
Dead letter queue (DLQ)Queue holding messages that failed processing after retries; requires operational triage.
Distributed leaseTime-bounded grant of authority (e.g., leadership); must combine with fencing at the protected resource.
Dual write problemUpdating database and external system separately without atomicity; solved by transactional outbox or saga.
DurabilityCommitted data survives process crash; typically via write-ahead log and replication.

E​

TermDefinition
EpochMonotonic generation number (e.g., ZAB, leader era) invalidating prior leader state after failover.
Error budgetAllowed unreliability derived from SLO; when exhausted, prioritize stability over feature velocity.
Eventual consistencyReplicas converge if no new updates; no bound on staleness without additional guarantees.
Exactly-once semanticsEnd-to-end illusion combining idempotent processing with deduplication; rare across system boundaries.
External consistencySpanner term: transactions appear in some serial order consistent with real-time ordering of transactions.

F​

TermDefinition
Failure detectorModule estimating whether a process has crashed; unreliable in theory, practical with timeouts (see φ-accrual).
Fan-outOne event triggering many downstream deliveries; bottleneck in feeds and notifications.
Fencing tokenMonotonic token from lock service; storage rejects writes with stale token. See Fencing Tokens.
FLP impossibilityNo deterministic consensus in fully asynchronous model with even one crash failure.
FLP / partial synchronyPractical systems assume eventual bounds on message delay (partial synchrony) to regain liveness.

G​

TermDefinition
Gossip protocolEpidemic dissemination of membership or state; eventually consistent, scalable.
Gray failureDegraded behavior (slow, flaky) not detected as hard crash; especially dangerous at scale.
Golden pathPaved, supported default for teams; faster than undifferentiated DIY if done well.

H​

TermDefinition
Happens-beforePartial order relation: if A happens-before B, all nodes observe A before B.
HeartbeatPeriodic signal proving liveness; missed heartbeats trigger suspicion or failover.
Hot key / hot partitionDisproportionate traffic to one shard; causes skew and tail latency.
Hybrid Logical Clock (HLC)Combines physical and logical time for ordering with bounded drift; used in CockroachDB, MongoDB.

I​

TermDefinition
Idempotency keyClient-supplied key ensuring duplicate requests produce same effect once.
InvariantProperty that must always hold (safety); e.g., no two leaders in same term.
Isolation (transaction)Degree to which concurrent transactions interfere; levels include read committed, snapshot, serializable.

J​

TermDefinition
Joint consensusRaft membership change technique using overlapping majorities to avoid two independent quorums.
JepsenFramework and historical analyses testing distributed databases under partition and failure.

K​

TermDefinition
KV cacheKey-value cache layer (Redis, Memcached) reducing database load; consistency with DB is application concern.

L​

TermDefinition
Lamport clockLogical counter incremented per event; provides total order but not concurrency detection.
Leader electionProcess selecting coordinator; must avoid split brain via quorum or fencing.
LinearizabilityStrongest single-object consistency: operations appear atomic in real-time order.
LivenessSomething good eventually happens (progress, termination); may be sacrificed during partitions.
Load sheddingDropping low-priority work under overload to protect core SLO.
Log compactionTruncating replicated log after snapshot; required for unbounded operation.

M​

TermDefinition
Majority quorumMore than half of replicas; intersection property enables consistency arguments.
Membership changeAdding/removing voters in consensus cluster; dangerous without joint consensus.
Monotonic readsSession guarantee: reads never return older data than previously read in session.
MVCCMulti-Version Concurrency Control—readers see snapshot without blocking writers.
Multi-PaxosPaxos variant with stable leader amortizing prepare phase over log entries.

N​

TermDefinition
NTPNetwork Time Protocol—synchronizes clocks; subject to skew and jumps; insufficient alone for ordering.
Noisy neighborTenant or workload consuming shared resources, degrading others in multi-tenant systems.

O​

TermDefinition
ObservabilityAbility to infer internal state from outputs (metrics, logs, traces).
Outbox patternTransactional table of events relayed to message broker; avoids dual writes.
OversellingAdmitting more work than capacity; requires admission control or queueing discipline.

P​

TermDefinition
PACELCIf Partition: choose A or C; Else: choose Latency or Consistency. See PACELC.
PaxosFamily of consensus protocols using ballots and majority quorums.
Partial failureSubset of components fail while others continue—the defining challenge of distributed systems.
Partition toleranceSystem continues despite network partitions (message loss/delay between nodes).
Phi-accrual failure detectorAdaptive suspicion based on heartbeat inter-arrival distribution.
Poison messageMessage causing repeated consumer failure; routed to DLQ after retry limit.
Primary-secondary replicationSingle leader accepts writes; replicas follow log; failover risk without fencing.
Paxos / Raft termLogical epoch in Raft; new term implies new election.

Q​

TermDefinition
QuorumMinimum replicas participating in read/write; R + W > N prevents stale reads in single-writer models.
QUICUDP-based transport with multiplexed streams and integrated TLS; used by HTTP/3.

R​

TermDefinition
RaftUnderstandable consensus algorithm: leader election, log replication, safety.
RAGRetrieval-Augmented Generation—LLM pipeline fetching context from vector store.
Read-your-writesSession guarantee: client sees own prior writes.
Replication lagDelay between primary update and replica visibility; drives staleness UX.
Retry stormAmplified load from synchronized retries; mitigated by jitter and budgets.
RPORecovery Point Objective—max acceptable data loss window.
RTORecovery Time Objective—max acceptable downtime.
RunbookOperational procedure for incident or maintenance; architecture should enable automation.

S​

TermDefinition
SafetyNothing bad happens (no invalid states, no split-brain commits).
SagaSequence of local transactions with compensating actions; alternative to 2PC across services.
Sequential consistencyAll operations appear in some total order consistent with each process program order.
Service meshInfrastructure layer for mTLS, routing, retries between services (sidecar or eBPF).
ShardingHorizontal partition of data by key range or hash.
SLIService Level Indicator—measurable aspect of service (availability, latency).
SLOService Level Objective—target for SLI over window; drives error budgets.
SLAService Level Agreement—contractual commitment, often stricter business framing of SLO.
Split brainTwo nodes believing they are primary; risks divergent writes without fencing.
State machine replicationReplicated log of commands applied in order to deterministic state machines.
Sticky sessionRouting client to same backend for session guarantees.
Strong eventual consistencyReplicas converge; concurrent updates commute via CRDTs or merge rules.

T​

TermDefinition
Tail latencyHigh-percentile latency (p99, p999); dominates user experience at scale.
Thundering herdMany clients simultaneously miss cache and hit backend.
Transactional outboxSee Outbox pattern.
TrueTimeGoogle Spanner API exposing clock uncertainty interval; enables external consistency waits.
Two-phase commit (2PC)Atomic commit protocol; blocking and coordinator SPOF concerns in distributed deployments.
TTLTime-to-live; expiration for cache entries, DNS, leases.

U​

TermDefinition
Unbounded queueQueue without backpressure; hides overload until OOM or catastrophic latency.

V​

TermDefinition
Vector clockPer-node counters detecting concurrent events; enables conflict detection.
Version vectorVector clock variant per replica for detecting write conflicts in Dynamo-style systems.
View changeTransition to new primary in Viewstamped Replication or similar protocols.

W​

TermDefinition
WAL (Write-Ahead Log)Append-only log persisted before applying state changes; basis for durability and CDC.
Witness replicaVotes in quorum without storing full data; reduces storage cost, changes fault math.
Write amplificationBytes written to storage per logical byte written; critical for SSD/LSM tuning.

Z​

TermDefinition
ZAB (ZooKeeper Atomic Broadcast)Total-order broadcast protocol underlying ZooKeeper; epoch-based leader recovery.
Zero trustSecurity model verifying every request regardless of network location; identity-centric.

Cross-Reference Index​

Concept clusterCurriculum chapters
Consistency modelsConsistency
ConsensusConsensus
ReplicationReplication
TransactionsTransactions
ObservabilityObservability
System designSystem Design

Term count: 110+ entries (including acronyms expanded inline).


References​

  • Martin Kleppmann, Designing Data-Intensive Applications (2017)
  • Maurice Herlihy & Jeannette Wing, linearizability (1990)
  • Daniel Abadi, PACELC (2012)
  • Leslie Lamport, time clocks (1978)

See Reading List for full bibliography.