Glossary · Vol. IX · 2026 Every term on the site, in one place 129 entries · A — Z

Volume IX — opening pages

A vocabulary,
in one place.

Across all the volumes — guides, simulators, papers, foundations, data structures — the same terms keep showing up. This is the index of them. One definition each, a longer explanation, and a link back to where the term lives.

A
7 entries
ACID Storage

Atomicity, Consistency, Isolation, Durability — the database transaction guarantees.

Coined by Andreas Reuter and Theo Härder in 1983. Atomic = all-or-nothing; Consistent = invariants hold; Isolated = concurrent txns appear serial; Durable = once committed, survives crashes.

See: Guide transactions
Read full entry
AEAD · Authenticated Encryption with Associated Data Security

Encryption that integrates confidentiality and integrity in one operation.

AES-GCM and ChaCha20-Poly1305 are the canonical examples. Replaces the error-prone "encrypt-then-MAC" composition that gave us Lucky13, BEAST, and POODLE. Every TLS 1.3 cipher suite is AEAD.

See: Guide https
Read full entry
ALPN · Application-Layer Protocol Negotiation Networking

TLS extension that picks h2 / h3 / http/1.1 inside the handshake.

Avoids a second round trip after TLS finishes. Also how WebRTC and gRPC tell the server what protocol to switch to.

See: Guide https
Read full entry
Amdahl's Law Performance

Speedup = 1 / (s + p/N), where s is the serial fraction.

A 5% serial fraction caps speedup at 20× no matter how many cores you add. Why "make it parallel" doesn't scale forever.

See: Foundations foundations
Read full entry
Anti-entropy Distributed

Background process that reconciles divergent replicas.

Merkle-tree comparison or read-repair. Cassandra and Riak run anti-entropy continuously to converge eventually-consistent replicas.

Read full entry
Anycast Networking

One IP, advertised from many locations; routing picks the nearest one.

How DNS root servers work, how Cloudflare and AWS Global Accelerator route traffic, how DDoS mitigation absorbs traffic across regions.

See: Guide dns· Guide cdn
Read full entry
API Gateway Architecture

A traffic entry point that routes, authenticates, and rate-limits.

AWS API Gateway, Kong, Tyk, Envoy. Sits in front of microservices to provide a single client-facing surface.

See: Guide api gateway
Read full entry
B
9 entries
B-tree Storage

Balanced multi-way search tree; the shape of every relational index.

Bayer & McCreight, Boeing 1971. Wide fan-out keeps the tree shallow even at billions of records — 4 levels deep at fanout 200 vs 30 levels in a binary tree.

See: Simulators btree· DS data structures
Read full entry
Backoff Architecture

Wait longer between retries after each failure.

Exponential, jittered, decorrelated. Without jitter, all clients retry at exactly the same moment — the thundering herd that crashes a recovering service.

See: Simulators retry strategy
Read full entry
Backpressure Architecture

A signal from a slow consumer asking the producer to slow down.

Without it, queues grow until OOM. Reactive Streams and HTTP/2 flow control bake it in; most systems retrofit it badly.

Read full entry
Bayes' theorem ML

P(A∣B) = P(B∣A)·P(A)/P(B). The rule for updating belief.

Counterintuitive when P(A) is small: a 99%-accurate test on a 1-in-1000 disease still gives ~9% true-positive rate.

See: Foundations foundations
Read full entry
BBR · Bottleneck Bandwidth and RTT Networking

Congestion control that models the path instead of reacting to loss.

Cardwell et al at Google, 2017. Replaces CUBIC's "halve cwnd on loss" with active probing of bandwidth and RTT. Default in Linux 4.9+ and Google's edge.

See: Papers papers
Read full entry
BFF · Backend-for-Frontend Architecture

A per-client backend that aggregates and shapes services for one frontend.

A web BFF, a mobile BFF, a partner BFF. Keeps OAuth refresh tokens out of browsers (the Part 10 OAuth pattern). Adds a hop; saves a thousand frontend headaches.

See: Guide oauth
Read full entry
BGP · Border Gateway Protocol Networking

How autonomous systems on the internet exchange routes.

Path-vector protocol with policy. Most internet outages that "took down half the internet" were BGP misconfigurations.

See: Guide bgp
Read full entry
Birthday bound Security

Hash collisions become likely at √(output space).

A 256-bit hash gives only ~128 bits of collision-resistance. Why MAC tags need to be at least 128 bits in modern protocols.

See: Foundations foundations
Read full entry
Bloom filter Storage

Probabilistic set: "definitely not" or "probably yes" in tiny space.

Burton Bloom, 1970. Cassandra row caches, every LSM-tree, Bitcoin SPV, Chrome safe-browsing. ~10 bits per element for 1% false-positive.

See: Simulators bloom filter· DS data structures
Read full entry
C
20 entries
Cache hit ratio Performance

Fraction of reads served from cache.

95%+ is a healthy target for read-heavy services. Below 80% suggests cache key design is wrong.

See: Handbook caching strategies
Read full entry
Cache stampede Performance

When a popular cache key expires and many concurrent requests miss simultaneously.

Each miss does the expensive backend work; backend gets crushed. Mitigations: probabilistic early expiration, request coalescing, lock-on-miss.

See: Handbook advanced caching
Read full entry
Cache-aside Architecture

App reads cache; on miss reads source and populates.

The most common caching pattern. Simple to reason about; staleness is the cost.

See: Handbook caching strategies
Read full entry
CAP theorem Distributed

Under partition, choose Consistency or Availability.

Eric Brewer, 2000. Often misread — it's about behaviour during a partition, not a permanent trade-off. Most real systems are AP with bounded staleness.

See: Simulators cap theorem
Read full entry
Cardinality Storage

Number of distinct values in a set.

High-cardinality columns make poor partition keys (uneven distribution); low-cardinality columns make poor indexes (each key matches many rows).

See: Foundations foundations
Read full entry
CDN · Content Delivery Network Networking

A global cache fabric with PoPs near users.

Cloudflare, Akamai, Fastly. Modern CDNs do more than caching — TLS termination, WAF, edge compute, image transforms.

See: Guide cdn
Read full entry
Certificate Transparency · CT Security

Append-only public logs of every TLS certificate issued.

RFC 6962. Browsers refuse certs without a Signed Certificate Timestamp embedded. Tools like crt.sh let you spot rogue certs for your domain in minutes.

See: Guide https
Read full entry
Cgroup Operations

Linux mechanism that limits and accounts CPU, memory, IO for a process tree.

Plus namespaces = container. cgroupv2 unified the interface in 2016; required for systemd and modern container runtimes.

Read full entry
Chain replication Distributed

Replicas in a linear chain; writes flow head→tail, reads from tail.

van Renesse & Schneider, 2004. Strong consistency with simpler failure handling than Paxos. Used in Microsoft's Azure storage and FoundationDB.

Read full entry
Choreography vs orchestration Architecture

In a saga: services react to each other's events vs a central coordinator drives steps.

Choreography is decentralised, harder to debug. Orchestration centralises the workflow; easier to reason about, single point of failure.

Read full entry
CIDR · Classless Inter-Domain Routing Networking

IP address + prefix length notation (e.g. 10.0.0.0/24).

Replaced the rigid Class A/B/C system in 1993. The /N tells you how many high bits identify the network.

See: Tools cidr calculator
Read full entry
Circuit breaker Architecture

A state machine that fails fast after a downstream is unhealthy.

Closed → Open → Half-open. Stops you from beating up an already-broken service. Hystrix popularised it; Resilience4j is the modern Java incarnation.

See: Simulators circuit breaker
Read full entry
CLOCK Algorithms

Approximate-LRU cache eviction with a circular reference bit.

Each entry has a referenced bit. Eviction sweeps a clock hand; sets the bit to 0; evicts when it sees a 0. Used by Redis (allkeys-lru), Postgres buffer pool.

See: Simulators cache eviction
Read full entry
Compaction Storage

Merging LSM SSTables to bound read amplification.

Tiered (size-tiered): merge files of similar size. Levelled (RocksDB default): each level is K× the size of the previous, single sorted run per level.

See: Guide kafka
Read full entry
Connection pooling Architecture

Reuse a fixed pool of long-lived connections instead of opening one per request.

Database connections are expensive; PgBouncer, HikariCP, and the like multiplex thousands of short requests over hundreds of long connections.

Read full entry
Consistent hashing Distributed

Hash both keys and nodes onto a ring; nodes own arcs.

Karger et al, MIT 1997. Adding/removing a node only moves K/N keys, not the whole keyspace. Powers every distributed cache and CDN.

See: Simulators consistent hashing
Read full entry
CQRS · Command Query Responsibility Segregation Architecture

Separate read and write models, often backed by different stores.

Pairs naturally with event sourcing. Read side can be denormalised, indexed, or materialised differently from the write side.

Read full entry
CRDT · Conflict-free Replicated Data Type Distributed

A data type whose merges are commutative, associative, idempotent.

Strongly eventual consistency without coordination. The math behind every collaborative editor (Yjs, Automerge).

See: Simulators crdt· Papers papers
Read full entry
CSP · Content Security Policy Security

HTTP header that whitelists which origins can load scripts, styles, frames.

The single most effective XSS mitigation when configured strictly. nonce or hash-based for inline scripts.

Read full entry
CSRF · Cross-Site Request Forgery Security

Attack: a third-party site causes the browser to send authenticated requests to your origin.

Defenses: SameSite cookies, anti-CSRF tokens, double-submit cookies. Largely solved by SameSite=Lax becoming the browser default.

Read full entry
D
7 entries
DAG · Directed Acyclic Graph Algorithms

Edges have direction; no cycles.

The natural shape for build systems, version control, schedulers, dataflow engines. Topological sort produces a valid execution order in O(V+E).

See: DS data structures
Read full entry
DAX Storage

AWS DynamoDB Accelerator — an in-memory cache in front of DynamoDB.

Sub-millisecond reads. Pattern transferable: every fast KV store benefits from a memory tier.

Read full entry
DDoS · Distributed Denial of Service Security

Coordinated traffic flood from many sources.

L3/L4 (volumetric, SYN floods) vs L7 (HTTP slow-loris, regex). Anycast + scrubbing centers (Cloudflare, AWS Shield) absorb the volumetric kind.

Read full entry
Deadlock Concurrency

Two or more transactions wait on each other forever.

Detected by cycle-finding in a wait-for graph; resolved by aborting the youngest transaction. Postgres detects deadlocks every 1 second by default.

Read full entry
Distributed tracing Operations

A request's path across services, captured as a tree of spans.

OpenTelemetry standardised the wire format. Sampling is the open problem at scale — head-based vs tail-based.

Read full entry
DPDK Networking

Data Plane Development Kit — userspace networking that bypasses the kernel.

Polled-mode drivers. Hundreds of millions of packets per second on commodity hardware. Used by load balancers, telecom NFV, high-frequency trading.

Read full entry
DPoP · Demonstrating Proof of Possession Security

Bind an OAuth token to a client-side public key.

RFC 9449. Theft of just the access token is useless without the matching private key. Replacing bearer tokens for high-value APIs.

See: Guide oauth
Read full entry
E
6 entries
eBPF Operations

Run sandboxed programs in the Linux kernel without loading modules.

Originally for packet filtering (Berkeley Packet Filter); now used for tracing, networking (Cilium), security (Tetragon), observability.

Read full entry
Edge compute Architecture

Run code at the CDN edge, milliseconds from the user.

Cloudflare Workers, AWS Lambda@Edge, Vercel Edge Functions. V8 isolates rather than full processes — cold start measured in microseconds.

See: Guide cdn
Read full entry
Epoll Concurrency

Linux IO multiplexing — register fds, get notifications on readiness.

Replaces select/poll which were O(N) per call. epoll_wait is O(1). The foundation of every async Linux network server.

Read full entry
Erasure coding Storage

Store k data shards + m parity shards; tolerate any m losses.

Reed-Solomon for cold storage. ~1.5× space overhead vs 3× for replication, at the cost of more compute on read with failures.

Read full entry
Event sourcing Architecture

Persist state as an append-only log of events; current state is a fold.

Audit, replay, and time-travel debugging come for free. The cost is querying — you usually pair with CQRS read models.

Read full entry
Eventual consistency Distributed

All replicas eventually agree if writes stop.

The default for AP systems under CAP. "Eventually" can be milliseconds (gossip in a healthy cluster) or hours (cross-region replication during a partition).

See: Simulators cap theorem
Read full entry
H
8 entries
Hash table Storage

O(1) average lookup via key → bucket index.

Hans Peter Luhn, IBM 1953. Collision strategies: chaining and open addressing. Every dictionary in every language.

See: DS data structures
Read full entry
Hedged requests Performance

Send a duplicate request to a second server if the first is slow; take whichever returns first.

Dean & Barroso 2013. Cuts tail latency at modest cost. Tied requests cancel the loser.

See: Papers papers
Read full entry
High water mark · HW Distributed

Highest offset acknowledged by all in-sync replicas.

Kafka concept. Consumers can only read up to the HW; this is what makes the log durable. HW lags the leader by one round-trip.

See: Guide kafka
Read full entry
Hinted handoff Distributed

When a replica is down, a temporary node holds its writes and replays them later.

Dynamo-style availability technique. Handoffs are time-bounded; if the replica stays down too long, anti-entropy takes over.

Read full entry
HLL · HyperLogLog Storage

Cardinality estimator in 12 KB with ~1% error.

Flajolet et al, INRIA 2007. Mergeable across shards. Powers every "unique users" dashboard at internet scale.

See: DS data structures
Read full entry
HNSW · Hierarchical Navigable Small World Algorithms

Multi-layer graph index for approximate nearest-neighbour search.

Malkov & Yashunin, 2016. Default ANN index in pgvector, Qdrant, Weaviate, Milvus. State-of-the-art recall; high memory cost.

See: Simulators vector embedding· Papers papers
Read full entry
HPACK Networking

Header compression for HTTP/2.

RFC 7541. Static + dynamic Huffman tables. A repeated 200-byte User-Agent header collapses to one byte after the first send.

See: Simulators http2 streams
Read full entry
HSTS · HTTP Strict Transport Security Security

Tells the browser: "no plaintext, ever again, for this domain".

Stops downgrade attacks once cached. The HSTS preload list ships in browsers and closes the first-visit gap.

See: Guide https
Read full entry
M
7 entries
Memoization Algorithms

Cache function results by argument tuple.

Bottom of dynamic programming. Trivially turns exponential recursion into polynomial time, at the cost of memory.

Read full entry
Memory barrier Concurrency

Instruction that prevents reordering of memory operations across it.

CPUs and compilers reorder for performance. Concurrent code uses barriers to ensure visibility ordering. acquire / release / sequentially-consistent.

Read full entry
Memory hierarchy Performance

L1 ~1ns, L2 ~4ns, L3 ~12ns, RAM ~100ns, SSD ~100µs, network ~1ms.

Each level is ~10× slower than the last. Cache locality dominates algorithmic complexity for small n.

See: Foundations foundations
Read full entry
Merkle tree Storage

Tree of hashes; root commits to all leaves.

Ralph Merkle, 1979. Bitcoin, Git, ZFS, Certificate Transparency, IPFS. Inclusion proofs are O(log n) hashes.

See: DS data structures
Read full entry
MinHash Algorithms

Set similarity estimation via minimum hash matching.

Andrei Broder at AltaVista, 1997. Compute Jaccard similarity in O(k) instead of O(|A∪B|). Used in web deduplication.

See: DS data structures
Read full entry
mTLS Security

Mutual TLS — both client and server present certificates.

Service mesh default for cross-service auth. Token-binding alternative is DPoP.

See: Guide oauth
Read full entry
MVCC · Multi-Version Concurrency Control Storage

Each row keeps versions; readers don't block writers.

Postgres, MySQL InnoDB, Oracle, CockroachDB. Vacuum/cleanup reclaims old versions.

Read full entry
S
9 entries
Saga pattern Architecture

Long-running distributed transaction as a sequence of compensable steps.

Each step has a corresponding compensation. Replaces 2PC for cross-service transactions where atomicity isn't feasible.

Read full entry
Sharding Storage

Splitting data across machines by key.

Range, hash, directory. The harder problems are rebalancing, cross-shard queries, hot keys.

See: Simulators database sharding
Read full entry
Skip list Storage

Probabilistic balanced search structure.

William Pugh, 1989. Tall nodes form an "express lane". Lock-free skip lists are easier to write than lock-free balanced trees — why Redis ZSET uses them.

See: DS data structures
Read full entry
SLO · Service Level Objective Operations

A target for an SLI (latency, availability).

Internal commitment, looser than SLA. Tied to error budget — burn it slowly or roll back.

Read full entry
Snapshot isolation Storage

Each transaction sees a consistent snapshot taken at start.

Postgres, Oracle default. Prevents dirty reads, non-repeatable reads, phantoms — but allows write-skew anomalies.

See: Simulators isolation levels
Read full entry
SNI · Server Name Indication Security

TLS extension that tells the server which hostname is being requested.

Lets one IP host many TLS sites. Travels in the clear; ECH (Encrypted Client Hello) hides it.

See: Guide sni· Guide https
Read full entry
Speed of light Performance

~3×10⁸ m/s vacuum, ~2×10⁸ m/s in fibre.

New York → London round-trip: ~56ms minimum. The floor under every cross-region replication.

See: Foundations foundations
Read full entry
Spinlock Concurrency

A lock implemented with a busy-wait loop instead of going to sleep.

Right when contention is rare and critical sections are short (microseconds). Wrong almost everywhere else — burns CPU.

Read full entry
Stream Networking

A logical flow of frames over a single connection.

HTTP/2 introduced streams to multiplex requests. HTTP/3 made each stream independent at the transport layer (no TCP HOL).

See: Simulators http2 streams
Read full entry
T
8 entries
Tail latency Performance

The slow end of the distribution — p95, p99, p99.9.

Dean & Barroso, 2013. For fan-out systems, the tail dominates. Hedged requests, redundant requests, soft timeouts mitigate.

See: Papers papers
Read full entry
TCP slow-start Networking

Begin with a small congestion window; double per RTT until loss.

Van Jacobson, 1988. The reason new connections are slow until they're warmed up; why HTTP keep-alive matters.

See: Simulators tcp congestion
Read full entry
Time-to-live · TTL Networking

A counter that limits how long something stays valid.

IP packets (hop count, used by traceroute), DNS records (cache duration), cache entries (eviction).

See: Guide dns
Read full entry
TLS 1.3 Security

2018 redesign of Transport Layer Security.

1-RTT handshake, AEAD-only ciphers, mandatory ECDHE, PSK resumption. The standard.

See: Guide https· Simulators tls handshake
Read full entry
Token bucket Performance

Rate limiter that accumulates tokens at a fixed rate.

Allows bursts up to bucket size, smooth rate at long term. Default for most rate limits in cloud APIs.

See: Simulators rate limiter
Read full entry
Transaction log Storage

Append-only record of every change for crash recovery.

Same idea as WAL. Postgres pg_wal, MySQL redo log, SQL Server transaction log. Replay on crash to recover committed transactions.

See: Guide wal
Read full entry
TrueTime Distributed

Google's globally-synchronised clock with a known uncertainty bound.

Hardware GPS + atomic clocks. Lets Spanner do externally-consistent transactions globally — wait out the uncertainty before committing.

See: Papers papers
Read full entry
Two-phase commit · 2PC Distributed

Coordinator-driven atomic commit across N participants.

Prepare → commit. Blocking: if the coordinator dies after prepare, participants are stuck. Saga and Calvin are alternatives.

Read full entry
Adjacent

From a term, to its source.

Every entry links to where the term is explained at length. Start with what you don't know; follow the link to what explains it.