Glossary
Words, in plain English
Every technical word our lessons use, explained in one or two short sentences. Lessons link here the first time they use a word.
0–9
0-RTT
A TLS 1.3 option where a returning client sends data in its first message. It saves a round trip, but an attacker can replay that data.
Used in: TLS and secure connections
3-2-1 rule
Keep 3 copies of important data (1 primary and 2 backups), on 2 different types of storage, with 1 copy in another place.
Used in: Disaster recovery and backups
3-D Secure
An extra check during a card payment, where the card's bank asks the customer to prove it is them, for example with a one-time code.
Used in: The payment lifecycle
A
A/B test
An experiment where some real users get version A and others get version B at the same time. You compare a metric to see which version works better.
Used in: Feature flags and entitlements · Evals for LLM systems · Service mesh and sidecars · Web performance and Core Web Vitals
Access pattern
How an app reads and writes its data: which queries, by which keys, how often, and how fast the answer must be.
Used in: Choosing a database · Data models and query languages · DynamoDB in depth · Data modelling for NoSQL · Scaling writes and hot keys
ACID
Atomicity, consistency, isolation, durability: the four promises a database transaction makes.
Used in: CAP, PACELC and consistency models · Choosing a database · Transactions and isolation levels
Ack
Short for acknowledgement. A message a consumer sends to say "I am done with this one", so the broker can stop tracking it.
Used in: Exactly-once and effectively-once · Presence and real-time fan-out · Queues vs logs and delivery guarantees · TCP/IP and the network stack
ACME
A protocol that lets software prove it controls a domain and get or renew a certificate with no human involved. Let's Encrypt uses it.
Used in: TLS and secure connections
Acquiring bank
The bank that processes card payments for a merchant. It sends each payment to the card network and collects the money for the merchant.
Used in: The payment lifecycle · Reconciliation
Action item
A follow-up task from a postmortem, such as adding an alert or a safety check. A good one has an owner, a priority and a due date.
Used in: Chaos engineering and game days · Debugging production · Exactly-once and effectively-once · Incident response and postmortems · Runbooks and reducing toil · TLS and secure connections
Active-active
A setup where every site or region serves real users at the same time. If one fails, the others take its share of the traffic.
Used in: Disaster recovery and backups · Multi-region systems and data locality
Active-passive
A setup where one site or region serves all users while another keeps a copy and waits. On failure, you fail over to the waiting one.
Adapter pattern
A design pattern where a small class implements the interface your code expects by calling another API, often a vendor's. Vendor details stay inside it.
Used in: Design patterns that still matter · Clean and hexagonal architecture
Adaptive capacity
A DynamoDB feature that gives a busy partition more of the table's unused throughput, and can move hot items to their own partitions, so uneven traffic is throttled less.
Used in: DynamoDB in depth · Scaling writes and hot keys
Adaptive throttling
A client watches how many of its recent requests the backend accepted. When too many are rejected, it drops some new requests itself, before sending them.
Additive change
An API change that only adds something new, such as an optional field or a new endpoint, and leaves everything old working as before.
Used in: API versioning and deprecation
Address space
The private view of memory that each process gets. Every address the program sees is virtual; the OS and hardware map it to real RAM. This is called virtual memory.
Used in: OS essentials for backend engineers
Adjacency list
In graph code, a list of each node's neighbours. In DynamoDB, a pattern for many-to-many links: each entity is a partition, and each link is an item in it whose sort key is the linked entity's ID.
Used in: Data modelling for NoSQL
ADR
Short for "architecture decision record". A one- or two-page note, kept with the code, that records one decision, why it was made and what it costs.
Used in: Making architecture trade-offs · Design docs and RFCs
Advisory lock
A database lock on a number or name your app chooses, not on a row. The database does not enforce it. It only works if all your code asks for it.
Used in: Locking and MVCC in practice · Connection pooling and database limits · Coordination services: ZooKeeper and etcd
AGENTS.md
A shared Markdown file of project instructions for coding agents, like a README for agents. Many tools read it, and the file closest to the code being changed wins.
Aggregate root
The one entity at the top of a domain-driven design aggregate. Outside code may hold a reference only to the root, and the root checks the aggregate's rules.
Used in: Domain-driven design
Alert fatigue
What happens when people get so many alerts, most of them useless, that they start to ignore or miss the real ones.
Allowed lateness
How long a stream processor keeps a window after the watermark passes the window's end. Events for that window arriving in that time still update the result. In Flink it is 0 by default.
Used in: Stream processing
ALPN
A TLS extension where the client lists the protocols it speaks, such as h2 or http/1.1, and the server picks one, with no extra round trip.
Used in: HTTP/1.1, HTTP/2 and HTTP/3 · TLS and secure connections
Alt-Svc
An HTTP response header that tells the client the same site is also available another way, for example over HTTP/3 on UDP port 443.
Used in: HTTP/1.1, HTTP/2 and HTTP/3
Ambient mode
An Istio mode with no proxy in each pod. A shared proxy per node does mTLS, and optional waypoint proxies do HTTP features like routing.
Used in: Service mesh and sidecars
Ambiguity
When the problem is not clearly defined. Nobody has decided yet what to build, why, or what "done" means.
Used in: Behavioural interviews and STAR stories · Career ladders and level expectations · Evals for LLM systems · What "senior" really means
Analyzer
The rules a search engine uses to turn text into terms, for example split into words, lowercase them and cut them to a root form. Documents and queries must use the same rules.
Used in: Search systems and inverted indexes
Anchoring effect
The tendency of the first number named in a negotiation to pull later offers towards it, even when that number is extreme.
Used in: Negotiation and compensation
Anemic domain model
A design where objects only hold data, with getters and setters, and all the rules live in separate service classes. Fowler calls it an anti-pattern.
Used in: Low-level and object-oriented design
Anti-corruption layer
Code at the edge of your system that translates another system's model into your own words, so that the other design does not leak into yours.
Used in: Domain-driven design
Anti-entropy repair
A background job that compares replicas, finds data that differs, and copies the missing changes. Cassandra calls it repair and uses Merkle trees to compare.
Used in: Quorums and leaderless replication
Anti-pattern
A common answer to a problem that looks like a solution but makes things worse. The term was coined by Andrew Koenig.
Used in: Cassandra in depth · Design patterns that still matter
Anycast
Announcing the same IP address from many places, so the network sends each user to the nearest one.
Used in: Load balancing · Multi-region systems and data locality
API gateway
A server in front of your services that receives every API request. It does shared jobs such as checking logins, rate limits and sending each request to the right service.
Used in: API gateways and edge concerns · Load shedding and graceful degradation · Rate limiting · The system design method, worked on Ticketmaster
Append-only
Data you can only add to. Old records are never updated or deleted, so the full history stays.
Used in: Billing, metering and usage-based pricing · Money and double-entry ledgers · PostgreSQL in depth · Redis in depth · Secondary, composite and special indexes · Dependency and supply-chain security
Append-only file
Redis's log of every write command. On restart Redis replays it to rebuild its data. How much you can lose depends on how often it calls fsync.
Used in: Choosing a database · Redis in depth
Appetite
How much time a problem is worth to you, decided before you design a solution. You then shape the work to fit that time.
Used in: Working with PMs and the business
Asynchronous replication
The leader confirms a write to the client right away and sends it to followers in the background.
Used in: Redis in depth · Replication
At-least-once
A delivery promise. No message is lost, but some may be handled more than once.
Used in: Billing, metering and usage-based pricing · CQRS and read models · Event-driven architecture and event sourcing · Exactly-once and effectively-once · Queues vs logs and delivery guarantees · Sagas, outbox and CDC · Webhooks and async APIs
At-most-once
A delivery promise. No message is handled twice, but some may be lost.
Used in: Exactly-once and effectively-once · Queues vs logs and delivery guarantees
Atomic
An atomic operation happens completely or not at all. If it fails partway, every part of it is undone.
Used in: Time, clocks and ordering · Locking and MVCC in practice · Locks, atomics and deadlocks · Coordination services: ZooKeeper and etcd · Distributed transactions and two-phase commit · DynamoDB in depth · Multi-region systems and data locality · Rate limiting · Transactions and isolation levels
Attribute-based access control
An authorization model where a policy decides each request from attributes of the user, the resource, the action and the environment, such as department, owner or time of day.
Authentication
Checking who a user or service is, for example with a password, a second factor or a login at another provider. It answers "who are you?", not "what may you do?".
Used in: API gateways and edge concerns · Authentication and authorization · CDNs and HTTP caching · DynamoDB in depth · Leader election and leases · Enterprise SSO and SCIM · Threat modelling and zero trust · TLS and secure connections
Authoritative name server
The DNS server that holds the real records for a zone, such as example.com. Other servers only cache or point to it.
Used in: DNS and service discovery
Authoritative server
A game server that owns the true state of the game. Players' games only send inputs, and the server decides what really happened, which makes cheating harder.
Authorization
Checking what a known user or service may do, such as reading one order or deleting a project. It must run on the server for every request.
Used in: Authentication and authorization · Authorization models: RBAC, ABAC and ReBAC · Reconciliation · Service mesh and sidecars · Enterprise SSO and SCIM · Unique ID generation
Authorize and capture
Taking a card payment in two steps. Authorization holds the money on the card. Capture, done later, actually takes it. A hold expires if you wait too long.
Used in: Checkout and the order state machine · The payment lifecycle
Auto-increment
A database feature that gives each new row the next number in a counter, like 1, 2, 3. One database owns the counter.
Used in: Unique ID generation
Auto-remediation
Automation that fixes a known problem by itself when an alert fires, with no human in the loop. Good auto-remediation has limits: it stops and calls a person when something looks unsafe.
Used in: Runbooks and reducing toil
Autoscaling
Adding or removing servers automatically as traffic goes up or down.
Used in: Connection pooling and database limits · Why distributed systems are hard
Availability
The share of time, or of requests, in which a system works for its users. It is usually written as a percentage, such as 99.9% over a month.
Used in: Distributed transactions and two-phase commit · Leader election and leases · Load shedding and graceful degradation · Quorums and leaderless replication · Consensus and Raft · Requirements and non-functional needs · Secrets and key management · The system design method, worked on Ticketmaster
Avro
A compact binary data format from the Apache project. The data has no field names or numbers, so a reader needs the schema it was written with.
Used in: API versioning and deprecation · Schema evolution and encoding
B
B-tree
A sorted tree of fixed-size pages on disk. The database changes pages in place. Most SQL databases use it for indexes.
Used in: B-tree vs LSM-tree · PostgreSQL in depth · Secondary, composite and special indexes
Back-of-envelope estimate
A quick, rough calculation with round numbers and written assumptions. It tells you the size of a problem before you design for it.
Used in: Deep dives and explaining trade-offs · Latency numbers and back-of-envelope maths
Backend for frontend
A small backend built for one user interface, such as the mobile app. It shapes and combines data for that client, and the UI team usually owns it.
Used in: API gateways and edge concerns
Backfill
A job that fills in or fixes data in rows that already exist, for example copying a value into a new column. On a live database, run it in small batches.
Used in: Schema migrations without downtime · Webhooks and async APIs
Backpressure
A way for a slow part of a system to make faster parts slow down or wait, instead of being flooded.
Used in: Backpressure and flow control · Batching and pipelining · WebSockets, SSE and long polling · Tail latency and queueing
Backward compatibility
A change is backward compatible when things built for the old version keep working. New code reads old data, or a new API version still serves old clients.
Used in: Schema evolution and encoding
BAI2
A file format many US banks use to send account balances and transactions to their customers, usually every day.
Used in: Reconciliation
Bake time
The time you wait at each rollout stage, watching metrics, before sending a change wider.
Used in: Safe deploys and config changes
Bandwidth
How much data a network link can carry per second, usually in bits per second, such as 1 Gbit/s.
Used in: CDNs and HTTP caching · Client prediction and lag compensation · HTTP/1.1, HTTP/2 and HTTP/3 · Latency numbers and back-of-envelope maths · Web performance and Core Web Vitals · Why distributed systems are hard · Scaling from zero to millions of users
Bar raiser
At Amazon, a trained interviewer who joins a hiring loop as a neutral third party and helps lead the decision, so no single person decides alone.
Used in: Big-tech interview loops
Base backup
A full copy of a database's data files, taken while it runs. Point-in-time recovery starts from it and replays the change log on top.
Used in: Disaster recovery and backups
Batching
Grouping many items into one operation, such as one network call or one disk write, so they share its fixed cost. It raises throughput but an item may wait for others to join.
Used in: Batching and pipelining · Distributed tracing in practice · Money and double-entry ledgers
BATNA
Best Alternative to a Negotiated Agreement: what you will do if this deal does not happen. In a job offer, it might be staying in your current job or taking another offer.
Used in: Negotiation and compensation
Behavioural question
An interview question about what you really did in the past, such as "Tell me about a time you missed a deadline." It differs from a hypothetical question, such as "What would you do if…?"
Billing period
The stretch of time one invoice covers, for example 1 to 30 November. Usage counts toward the period in which it happened.
Bisection
Finding a problem by splitting the search space in half again and again, for example by time, version or region.
Used in: Debugging production
Blameless postmortem
A postmortem that looks for the causes in systems and processes, not for a person to blame, so people share what really happened.
Used in: Debugging production
Blast radius
How many users or systems a failure can reach. A small blast radius means a bad change hurts only a few.
Used in: Chaos engineering and game days · Disaster recovery and backups · Multi-tenancy and noisy neighbours · Consensus and Raft · Circuit breakers, bulkheads and fallbacks · Safe deploys and config changes
Bloom filter
A small data structure that says a key is surely not in a set, or may be in it. It is never wrong about "not".
Used in: B-tree vs LSM-tree · Cassandra in depth
BM25
A classic ranking function for keyword search. It scores documents by how well their exact words match the words in the query.
Used in: RAG: retrieval-augmented generation · Search systems and inverted indexes
Boring technology
Well-known, mature tools like Postgres or cron. Not bad, just old enough that their limits and failure modes are well understood. The idea is from Dan McKinley's essay "Choose Boring Technology".
Used in: Making architecture trade-offs
Bounded context
In domain-driven design, a clear boundary, often one subsystem or one team's work, inside which one model applies and each word has one meaning. The same word can mean something else in another bounded context.
Used in: Domain-driven design
Bounded queue
A queue with a fixed maximum size. When it is full, a new item must wait, be rejected or replace another item, so the queue cannot use up all memory.
Used in: Backpressure and flow control · Load shedding and graceful degradation · Presence and real-time fan-out · Tail latency and queueing
Branch prediction
The CPU guesses which way an if or a loop will go and starts work on that path early. A wrong guess throws that work away and costs time.
Breaking change
A change to an API or data format that makes existing clients fail, such as removing or renaming a field.
Used in: API versioning and deprecation · REST API design
Bridge model
A SaaS design that mixes silo and pool, for example a shared app with a separate database for some tenants or services.
Used in: Multi-tenancy and noisy neighbours
Broken object level authorization
A bug where an API takes an object ID from the client, like an order number, and uses it without checking that the caller may see that object.
Used in: Authentication and authorization · Authorization models: RBAC, ABAC and ReBAC · Unique ID generation
Broker
A server that holds messages between the services that send them and the services that read them. SQS, RabbitMQ and Kafka are brokers.
Used in: Backpressure and flow control · Batching and pipelining · CQRS and read models · Exactly-once and effectively-once · Kafka internals · Queues vs logs and delivery guarantees · Sagas, outbox and CDC
Build artifact
The file a build produces and you deploy, such as a container image, a JAR or an app bundle. Build it once and deploy that same file everywhere.
Used in: CI/CD and trunk-based development · Dependency and supply-chain security
Build provenance
A record of how a build artifact was made, such as which source, which build platform and which inputs. When the build platform signs it, you can check it before you install.
Used in: Dependency and supply-chain security
Bulkhead
A separate, limited pool of threads or call slots for one dependency. If that dependency gets slow, it can fill only its own pool, and the rest of the service keeps working.
Burn rate
How fast a service spends its error budget. At burn rate 1, the budget runs out exactly at the end of the SLO window.
Used in: Alerting and on-call · Observability, SLOs and error budgets
C
Cache
A fast copy of data that is slow or costly to get, kept close to where it is read.
Used in: Authorization models: RBAC, ABAC and ReBAC · Backoff, jitter and retry budgets · Caching and cache stampedes · CDNs and HTTP caching · Choosing a database · Connection pooling and database limits · CQRS and read models · Debugging production · Complexity and deep modules · Distributed caches · Distributed tracing in practice · DNS and service discovery · Error handling and defensive design · Failure detection and membership · Fan-out on write vs fan-out on read · Feature flags and entitlements · Inventory, overselling and flash sales · Latency numbers and back-of-envelope maths · Low-level and object-oriented design · LLM fundamentals for product engineers · Load balancing · Mechanical sympathy: CPU caches and memory · Money and double-entry ledgers · Multi-region systems and data locality · OS essentials for backend engineers · API pagination and filtering · PostgreSQL in depth · Prompt and context engineering · Redis in depth · Requirements and non-functional needs · Circuit breakers, bulkheads and fallbacks · Scaling reads · Scaling writes and hot keys · Sharding and consistent hashing · The system design method, worked on Ticketmaster · Web performance and Core Web Vitals · Why distributed systems are hard · Scaling from zero to millions of users
Cache busting
Putting a version or content hash in a file name, so each new version gets a new URL and caches can never serve an old copy.
Used in: CDNs and HTTP caching
Cache hit ratio
The share of requests a cache answers from its own copy. A ratio of 0.9 means the cache answers 9 of 10 requests from its own copy.
Used in: CDNs and HTTP caching
Cache key
The value a cache uses to decide which requests share one stored copy. In HTTP it is at least the method and the URL.
Used in: Caching and cache stampedes · CDNs and HTTP caching · Distributed caches · Multi-tenancy and noisy neighbours
Cache line
The fixed-size block that a CPU cache moves to and from memory, usually 64 bytes. When you read one byte, the CPU loads the whole line that holds it.
Cache miss
A cache hit is when the data is in the cache. A cache miss is when it is not, so you must read it from the source.
Used in: Caching and cache stampedes · CDNs and HTTP caching · Distributed caches · Mechanical sympathy: CPU caches and memory · Prompt and context engineering · Scaling reads · Sharding and consistent hashing
Cache purge
Telling a CDN to drop or mark stale its stored copies, by URL, tag or everything, so the next request fetches a fresh copy.
Used in: CDNs and HTTP caching
Cache stampede
When a popular cache key expires and many requests miss at once, all loading the same data from the database.
Used in: Caching and cache stampedes · Scaling reads
Cache-aside
A caching pattern where the app checks the cache, and on a miss reads the database and writes the value into the cache itself.
Used in: Caching and cache stampedes · Scaling reads
Camt.053
The ISO 20022 XML message for a bank account statement. It holds the opening and closing balances and every entry for the period, often one day.
Used in: Reconciliation
Canary
A small part of the fleet, such as 1% of servers, that gets a change first. You compare it with the rest before going wider.
Used in: Debugging production · Safe deploys and config changes · Service mesh and sidecars · Testing strategy that scales
CAP theorem
A proof that during a network partition, a replicated system cannot be both consistent (linearizable) and available. Each cut-off node must choose.
Used in: CAP, PACELC and consistency models · DNS and service discovery · LLM fundamentals for product engineers · Multi-tenancy and noisy neighbours · API pagination and filtering
Capacity unit
DynamoDB's unit of throughput. One read capacity unit is one strongly consistent read per second of up to 4 KB. One write capacity unit is one write per second of up to 1 KB.
Used in: DynamoDB in depth
Card network
The network of a card brand, such as Visa or Mastercard, that carries payment messages and money between the merchant's bank and the card's bank.
Used in: Exactly-once and effectively-once · The payment lifecycle
Career ladder
A company document that describes what is expected at each job level, for example scope, impact and how widely you work with others.
Used in: CAP, PACELC and consistency models · Career ladders and level expectations · Latency numbers and back-of-envelope maths · Mentoring and sponsorship · Scaling reads · What "senior" really means
Cascading failure
A failure that spreads. One part fails or gets slow, its callers run out of threads or connections, and then their callers fail too.
Used in: Failure detection and membership · Circuit breakers, bulkheads and fallbacks
Causal consistency
If one operation may have caused another, like a reply to a comment, everyone sees them in that order.
Used in: CAP, PACELC and consistency models
CDN
A content delivery network. Many data centers around the world that keep copies of your content close to users, so pages load faster and your servers get less traffic.
Used in: CDNs and HTTP caching · HTTP/1.1, HTTP/2 and HTTP/3 · WebSockets, SSE and long polling · Runbooks and reducing toil · Scaling reads · Web performance and Core Web Vitals · Scaling from zero to millions of users
Celebrity problem
One account with millions of followers overloads the system. With fan-out on write, each of its posts must be copied into millions of feeds.
Used in: Fan-out on write vs fan-out on read
Cell
A full, independent copy of a workload that serves only some customers. A router sends each customer to its cell, so one failure stays inside one cell.
Used in: Mechanical sympathy: CPU caches and memory · Multi-region systems and data locality · Multi-tenancy and noisy neighbours
Certificate authority
An organisation that signs certificates after it checks the requester. For most web certificates, it checks that the requester controls the domain. Clients trust a certificate if a trusted certificate authority signed it.
Used in: Dependency and supply-chain security · TLS and secure connections
Cgroup
A Linux feature that groups processes and limits what they may use together, such as memory and CPU. Containers use cgroups for their limits.
Used in: OS essentials for backend engineers
Chain of trust
The list of certificates from a site's certificate up to a trusted root. Each one is signed by the next one up, so the client can check them all.
Used in: TLS and secure connections
Change amplification
When a simple change needs edits in many places in the code. It is a sign that a design decision is spread across modules.
Used in: Complexity and deep modules
Change data capture
Reading every insert, update and delete from a database's change log, and sending them on as events to other systems.
Used in: Choosing a database · CQRS and read models · PostgreSQL in depth · Sagas, outbox and CDC · Scaling reads · Search systems and inverted indexes
Chaos engineering
Causing failures on purpose, in a small and controlled way, to learn whether a system keeps working when real failures happen.
Used in: Chaos engineering and game days
Chargeback
When a cardholder disputes a payment with their card issuer. The money is pulled back from the merchant, often with a fee, and the issuer later decides who is right.
Used in: The payment lifecycle
Check-then-act
A race where code checks a condition, such as 'is the seat free?', and then acts on it in a separate step. Another thread can change the state in between.
Used in: Low-level and object-oriented design
Checkpoint barrier
A marker a stream processor puts into the data stream. When the barrier has arrived from all of an operator's inputs, the operator saves its state, so all saved states match one point in the input.
Used in: Stream processing
Choreography
A way to run a saga with no one in charge. Each service listens for events and reacts with its own step.
Used in: Sagas, outbox and CDC
Chrome UX Report
A public Google dataset of how real Chrome users experience popular websites, including the Core Web Vitals.
Used in: Web performance and Core Web Vitals
Chunking
Splitting long documents into smaller pieces (chunks) before you index them for search. The size and borders of each piece change what search can find.
Used in: RAG: retrieval-augmented generation
CI
Continuous integration. A system that builds the code and runs the tests and other checks on every change, before it is merged.
Used in: CI/CD and trunk-based development · Reviewing code written by humans and AI · Clean and hexagonal architecture · Evals for LLM systems · Monolith, modular monolith or microservices · Multi-tenancy and noisy neighbours · The payment lifecycle · Project memory: CLAUDE.md and rules files · RAG: retrieval-augmented generation · Schema evolution and encoding · Secondary, composite and special indexes · Secrets and key management · SOLID, coupling and cohesion · Dependency and supply-chain security · Testing strategy that scales · Web performance and Core Web Vitals · Webhooks and async APIs
Circuit breaker
A guard around calls to another service. After many failures it stops sending calls for a short time, so the failing service can recover and the caller does not wait.
Used in: Backoff, jitter and retry budgets · Error handling and defensive design · Load shedding and graceful degradation · Circuit breakers, bulkheads and fallbacks · Why distributed systems are hard
Classitis
Splitting code into so many small classes that each one adds very little. You must learn many interfaces to get simple work done.
Used in: Complexity and deep modules · SOLID, coupling and cohesion
CLAUDE.md
A Markdown file of project instructions that Claude Code reads at the start of every session, like build commands and team rules.
Used in: Working with coding agents
Clean Architecture
Robert C. Martin's name for designs that put business rules in the centre and frameworks, databases and the UI at the edge, with all source code dependencies pointing inward.
Used in: Clean and hexagonal architecture
Clearing account
A ledger account that holds money only while it is on the way, for example between a payment and its payout. When every step finishes, it should go back to zero.
Used in: Money and double-entry ledgers · Reconciliation
Client-side prediction
The player's game shows the result of their own input at once, as a guess, instead of waiting for the server. The server's answer later confirms or corrects it.
Client-side rendering
Building a page in the browser with JavaScript that changes the DOM. The server sends little HTML and a script bundle.
Clock skew
The difference between the times shown by two clocks at the same moment, for example on two servers.
Used in: Time, clocks and ordering · Distributed tracing in practice · Leader election and leases · Enterprise SSO and SCIM
CNAME
A DNS record that makes one name an alias for another name. The resolver then looks up the other name.
Used in: Time, clocks and ordering · DNS and service discovery
Code hotspot
A part of the code that changes often and is hard to work with. Tools like CodeScene suggest improving hotspots first, because you pay the extra cost on every change.
Used in: Managing technical debt
Code splitting
Cutting a JavaScript bundle into smaller pieces, so the browser downloads only the code the first view needs and loads the rest later.
Used in: Web performance and Core Web Vitals
Coding agent
An AI tool that works in a loop on your code. It reads files, edits them, runs commands and checks the results until the task looks done.
Used in: CI/CD and trunk-based development · Reviewing code written by humans and AI · Working with coding agents · Project memory: CLAUDE.md and rules files · Prompt and context engineering · Dependency and supply-chain security
Cognitive load
How much information you must hold in your head at once to understand or change a piece of code.
Used in: Complexity and deep modules
Cohesion
How strongly the parts inside one module belong together. High cohesion means the parts serve one purpose and tend to change together.
Used in: SOLID, coupling and cohesion
Commit index
In Raft, the position of the last log entry known to be stored on a majority of servers. Entries up to it are safe to apply.
Used in: Consensus and Raft
Commit wait
In Spanner, the short wait after a write picks its timestamp. Nobody can see the data until that timestamp has surely passed, given the clock uncertainty.
Used in: Time, clocks and ordering · Distributed transactions and two-phase commit
Compaction
Background work in an LSM-tree that merges several SSTables into one and drops old versions and deleted keys.
Used in: Authentication and authorization · B-tree vs LSM-tree · Cassandra in depth · Choosing a database · Failure detection and membership · Scaling writes and hot keys · Tail latency and queueing
Compare-and-swap
One atomic CPU step: if a variable still holds the value you expect, set it to a new value and report success. Otherwise change nothing and report failure.
Used in: Locks, atomics and deadlocks · Coordination services: ZooKeeper and etcd
Compensating transaction
A new action that undoes the effect of an earlier step, such as a refund for a charge. It does not erase the first step.
Used in: Sagas, outbox and CDC
Composite index
An index on several columns, sorted by the first column, then by the second inside it, like a phone book. It helps queries that filter on its leading columns.
Conditional write
A write that the database applies only if a condition on the current item or row is true, such as "version is still 7". If the condition is false, nothing changes: DynamoDB returns an error, and SQL updates zero rows.
Used in: DynamoDB in depth · Inventory, overselling and flash sales · Leader election and leases · Multi-region systems and data locality · The system design method, worked on Ticketmaster
Cone of Uncertainty
A model by Steve McConnell. Early estimates can be far too high or too low. The possible error shrinks only as the team makes decisions and removes unknowns. It shows the best case.
Used in: Estimation and planning under uncertainty · Working with PMs and the business
Confirmation bias
Noticing only the facts that fit what you already believe, and missing the facts that do not.
Used in: Behavioural interviews and STAR stories · Debugging production
Congestion control
Rules that make a sender slow down when the network looks overloaded, for example when packets get lost, so the network does not collapse.
Used in: Backpressure and flow control · HTTP/1.1, HTTP/2 and HTTP/3 · TCP/IP and the network stack
Connascence
A vocabulary for kinds of coupling. For example, two functions that must agree on the order of values in a list are connascent by position.
Used in: SOLID, coupling and cohesion
Connection draining
Stopping new requests to a server you are removing, while letting the requests it already has finish.
Used in: Load balancing
Connection leak
A connection borrowed from a pool that is never given back, often because an error skipped the return. Each leak makes the pool one smaller, until no connections are left.
Connection migration
A QUIC feature that keeps a connection alive when the client's IP address or port changes, because the connection is found by an ID, not by its address.
Used in: HTTP/1.1, HTTP/2 and HTTP/3
Connection pool
A set of open database connections that are reused, so a new connection is not opened for every request. The pool can live inside the app. Or a separate program, a connection pooler such as PgBouncer, can keep one pool that many apps share.
Used in: Backpressure and flow control · Checkout and the order state machine · Locking and MVCC in practice · Connection pooling and database limits · Debugging production · Multi-tenancy and noisy neighbours · Replication · Secondary, composite and special indexes · Tail latency and queueing
Consensus algorithm
A way for a group of machines to agree on one value or one order of changes, even when some of them fail. Raft and Paxos are examples.
Used in: Consensus and Raft
Consistency level
In Cassandra and ScyllaDB, the number of replicas that must answer a read or write before it counts, such as ONE, QUORUM or ALL.
Used in: CAP, PACELC and consistency models · Cassandra in depth · Quorums and leaderless replication
Consistency model
A promise about what reads can see after writes in a system with many copies of the data, from strong to weak.
Used in: CAP, PACELC and consistency models
Consistent hashing
A way to map keys to servers so that adding or removing one server moves only a small share of the keys.
Used in: Distributed caches · Load balancing · WebSockets, SSE and long polling · Sharding and consistent hashing
Consumer group
A set of Kafka consumers that share the work of reading a topic. Each partition is read by only one member of the group at a time.
Used in: Kafka internals · Queues vs logs and delivery guarantees
Consumer lag
How far a consumer is behind the newest message in a log, such as a Kafka partition. Lag that keeps growing means the consumer cannot keep up.
Used in: Backpressure and flow control · DynamoDB in depth · Kafka internals · Queues vs logs and delivery guarantees
Context engineering
Choosing and arranging everything a model sees for one request, such as instructions, examples, documents, tool results and history, so the useful tokens fit and the noise stays out.
Used in: Prompt and context engineering
Context map
A picture of all the bounded contexts in a system, how they connect, and which team depends on which.
Used in: Domain-driven design
Context propagation
Passing the trace ID and the current span ID along with a call or a message, so the next service can add its spans to the same trace.
Used in: Distributed tracing in practice
Context rot
The drop in a model's accuracy and recall as its context window fills with more tokens. A long prompt can hide the one fact the model needs.
Used in: Prompt and context engineering
Context switch
The kernel stops one thread, saves its registers, and starts another. It lets many threads share one CPU, but each switch costs time.
Used in: OS essentials for backend engineers
Context window
Everything a model can see at once, such as messages, files it read and command output. It has a size limit, and quality drops as it fills.
Used in: Working with coding agents · LLM fundamentals for product engineers · Project memory: CLAUDE.md and rules files · Prompt and context engineering
Continuous delivery
Building software so that any version that passes the pipeline can be released to production at any time. A person still chooses when to deploy.
Used in: CI/CD and trunk-based development
Continuous deployment
Every change that passes the automated pipeline goes to production on its own, with no human step.
Used in: CI/CD and trunk-based development
Contract test
A test that checks two services agree on the requests and responses between them, without starting both services together.
Used in: API versioning and deprecation · Testing strategy that scales
Contributing factor
One of several conditions that together caused an incident. Many teams list contributing factors instead of looking for one single root cause.
Used in: Incident response and postmortems
Control plane
The part of a system that decides and configures, such as which routes and certificates proxies use. It is not on the path of each request.
Used in: Cassandra in depth · Distributed caches · Leader election and leases · Multi-region systems and data locality · Service mesh and sidecars
Controlled delay
A queue rule, first made for network routers (CoDel), that limits how long items may wait. When a queue stays full for a while, new items get a very short wait limit, so a standing queue cannot form.
Conway's law
Melvin Conway's 1968 idea that organisations which design systems produce designs that copy their own communication structure.
Coordination service
A small, strongly consistent store, such as ZooKeeper, etcd or Consul, that a cluster uses for leaders, locks, membership and config.
Used in: Coordination services: ZooKeeper and etcd · Leader election and leases · Consensus and Raft · Sharding and consistent hashing
Core Web Vitals
Three numbers from Google that describe how a page feels to real users: LCP for loading, INP for responsiveness and CLS for visual stability.
Used in: Web performance and Core Web Vitals
Correlation ID
An ID attached to one request and passed to every service it touches, so you can find all of its logs and spans. A trace ID is one kind.
Used in: API gateways and edge concerns · Debugging production · Event-driven architecture and event sourcing
Cost of delay
What you lose for each week a piece of work is not done. It combines how valuable the work is with how urgent it is, so you can rank features and cleanup work together.
Used in: Managing technical debt
Coupling
How strongly one module depends on another. With strong coupling, a change in one module forces changes in the other. Stevens, Myers and Constantine described it in a 1974 paper.
Used in: Event-driven architecture and event sourcing · Clean and hexagonal architecture · SOLID, coupling and cohesion
Covering index
An index that holds every column a query needs, so the database can answer from the index without reading the table rows.
CQRS
Using one model to change data and a different model, often a different store, to read it. Powerful for some parts of a system, but it adds complexity and lag.
Used in: CQRS and read models · Clean and hexagonal architecture · Scaling reads
Crash loop
When a program crashes, restarts, hits the same problem and crashes again, over and over.
Used in: Error handling and defensive design
Critical path
The longest chain of steps that must happen one after another. It sets the total time, so making any other step faster does not help.
Used in: Distributed tracing in practice
Critical rendering path
The steps a browser takes to turn HTML, CSS and JavaScript into pixels: build the DOM and CSSOM, make the render tree, do layout, then paint.
Critical section
A piece of code that reads or changes shared data. Only one thread may run it at a time, or the data can break.
Used in: Locks, atomics and deadlocks
Cross-site scripting
An attack where someone gets their JavaScript to run on your site in another user's browser. It can then read the page and act as that user.
Used in: Authentication and authorization · OWASP Top 10 and secure coding · Safe deploys and config changes
Crypto-shredding
Encrypting each person's data with their own key, then deleting the key to make that data unreadable in the store and its backups.
CTC
Cost to company, the yearly total an Indian employer spends on you. It often includes variable pay, the employer's provident fund share and gratuity, so it is more than your monthly in-hand pay.
Used in: Negotiation and compensation
Cumulative Layout Shift
A score for how much content on a page moves without the user asking for it. Good is 0.1 or less.
Used in: Web performance and Core Web Vitals
Cursor pagination
A way to page through a list where each answer gives an opaque token, the cursor. The client sends it back to get the items after that point.
Used in: REST API design
CVE
A public ID for one known security flaw, like CVE-2021-44228. Scanners use these IDs to tell you which of your package versions are affected.
Used in: OWASP Top 10 and secure coding · Dependency and supply-chain security
D
Daily active users
The number of different people who use a product on a given day.
Dark launch
Running new code on real traffic without letting it change results, so you can see what it would do before you turn it on.
Used in: Rate limiting
Data encryption key
The key that encrypts your data itself in envelope encryption. You store it only in encrypted (wrapped) form, next to the data.
Used in: Secrets and key management
Data flow diagram
A drawing of a system that shows where data comes from, where it goes, where it is stored, and which trust boundaries it crosses. The usual starting point for a threat model.
Used in: Threat modelling and zero trust
Data model
The shape you give your data, such as tables with rows, nested documents, or a graph of nodes and links.
Used in: Choosing a database · Data models and query languages
Data plane
The part of a system that carries the real traffic, request by request, such as the proxies in a service mesh. It follows rules set by the control plane.
Used in: Multi-region systems and data locality · Service mesh and sidecars
Data residency
Keeping certain data stored, and often processed, inside a given country or region, usually because a law, a contract or a customer requires it.
Dead reckoning
Guessing where something is now by assuming it kept its last known speed and direction. Works for cars and ships, but not for players who turn suddenly.
Dead tuple
In PostgreSQL, an old row version left behind by an UPDATE or DELETE that no transaction can see any more. VACUUM frees its space.
Used in: PostgreSQL in depth
Dead-letter queue
A separate queue for messages that failed too many times, so they stop blocking work and you can inspect them.
Used in: Exactly-once and effectively-once · Queues vs logs and delivery guarantees
Deadline
The time by which something must be done. For a request, passing the time left down to every call lets servers drop work nobody waits for.
Used in: Authentication and authorization · Backoff, jitter and retry budgets · Connection pooling and database limits · Design docs and RFCs · Error handling and defensive design · Load shedding and graceful degradation · Money and double-entry ledgers · OWASP Top 10 and secure coding · The payment lifecycle · Tail latency and queueing
Deadlock
Two transactions each wait for a lock the other one holds, so neither can go on. The database usually cancels one of them with an error.
Used in: Locking and MVCC in practice · Locks, atomics and deadlocks · Connection pooling and database limits · Inventory, overselling and flash sales · The system design method, worked on Ticketmaster
Declarative query
A query that says what result you want, not the steps to get it, as in SQL or Cypher. The database chooses the indexes and order.
Used in: Data models and query languages
Decorator pattern
A design pattern that wraps a function or object to add a step, such as logging or timing, and keeps the same interface. Callers and the wrapped code do not change.
Used in: Design patterns that still matter
Deep dive
The part of a design discussion where you take one hard piece, such as locking or scaling, and work it out in detail with its trade-offs.
Used in: Deep dives and explaining trade-offs · The system design method, worked on Ticketmaster
Deep module
A module with a small, simple interface that hides a lot of work behind it. Unix file I/O is the classic example.
Used in: Complexity and deep modules
Delayed acknowledgement
When a TCP receiver waits a short time before confirming data, so it can send fewer confirmations. RFC 9293 limits the wait to under 0.5 seconds.
Used in: Batching and pipelining
Delayed replica
A replica that applies changes on purpose some time after the primary, for example 1 hour later, so you can stop it before a bad change arrives.
Used in: Disaster recovery and backups
Denormalization
Storing a copy of data where it is read, such as a comment count on the post row, so reads need fewer joins. Every write must now update the copies too.
Used in: Data models and query languages · Data modelling for NoSQL · Scaling reads
Dependency confusion
An attack where someone publishes a package on a public index with the same name as your private one, so your installer picks the public, harmful package.
Used in: Dependency and supply-chain security
Dependency injection
Passing an object the things it needs, for example through its constructor, instead of letting it create them. It is about wiring, not design direction.
Used in: Design patterns that still matter · SOLID, coupling and cohesion
Dependency inversion principle
The "D" in SOLID. High-level business code should not depend on low-level details. Both depend on an interface shaped by the high-level code.
Used in: Clean and hexagonal architecture · SOLID, coupling and cohesion
Dependency rule
The main rule of Clean Architecture. Source code dependencies point only inward, so business rules never import the web framework or the database code.
Used in: Clean and hexagonal architecture
Deployment pipeline
The automated steps every change goes through, such as build, test, package and deploy. Each stage runs only if the one before it passed.
Used in: CI/CD and trunk-based development
Deprecation
Marking a feature, field or API version as old and due for removal, while it still works, so users have time to move off it.
Used in: API versioning and deprecation · REST API design · Schema evolution and encoding
Design doc
A short written plan for a piece of work, shared before you build it. It lists the goals, the options you considered, and the trade-offs.
Used in: CAP, PACELC and consistency models · Career ladders and level expectations · Working with coding agents · Locks, atomics and deadlocks · Deep dives and explaining trade-offs · Design docs and RFCs · Latency numbers and back-of-envelope maths · Scaling reads · The system design method, worked on Ticketmaster · Threat modelling and zero trust · What "senior" really means
Design pattern
A named, well-known answer to a design problem that keeps coming back in a certain situation. It gives a team a shared word and a list of trade-offs, not ready-made code.
Used in: Design patterns that still matter · Clean and hexagonal architecture
Deterministic
Code is deterministic when the same starting state and the same inputs always give exactly the same result, on every machine.
Used in: Client prediction and lag compensation · Working with coding agents · Evals for LLM systems · LLM fundamentals for product engineers · Consensus and Raft · Testing strategy that scales
Diff
The list of lines added, changed and removed between two versions of code. A pull request shows its diff for review.
Used in: CI/CD and trunk-based development · Reviewing code written by humans and AI · Working with coding agents · Mentoring and sponsorship · OWASP Top 10 and secure coding · Dependency and supply-chain security
Differential backup
A backup that holds everything that changed since the last full backup. To restore, you need that full backup plus the newest differential.
Used in: Disaster recovery and backups
Dirty read
Reading data another transaction has written but not yet committed. That data may still be rolled back.
Used in: Transactions and isolation levels
Disagree and commit
Saying openly that you disagree with a decision, then fully supporting it once it is made, so the team can move on.
Used in: Making architecture trade-offs · Behavioural interviews and STAR stories
Distributed lock
A lock that many servers share, often kept in a store like Redis. Only one server or user can hold it at a time, usually until it expires.
Used in: Locks, atomics and deadlocks · Redis in depth · The system design method, worked on Ticketmaster
DNS
The Domain Name System. A tree of names spread over many name servers, which turns names like www.example.com into IP addresses.
Used in: Chaos engineering and game days · Time, clocks and ordering · DNS and service discovery · DynamoDB in depth · Load balancing · Multi-region systems and data locality · Enterprise SSO and SCIM · Dependency and supply-chain security · TCP/IP and the network stack · TLS and secure connections · Web performance and Core Web Vitals
Do-nothing script
A script that prints each step of a manual task and waits for a person to do it. Later, you replace one step at a time with real code.
Used in: Runbooks and reducing toil
Document database
A database that stores records as JSON-like documents with nested fields, such as MongoDB.
Used in: Choosing a database · DynamoDB in depth
Domain event
A record of something that happened in the business that experts care about, such as "order placed". It does not change after it is created.
Used in: Domain-driven design · Event-driven architecture and event sourcing
Double-entry
A way to record money where every movement has at least two entries, one taking money out of an account and one putting it in, so they always sum to zero.
Used in: Money and double-entry ledgers
Dual write
Writing the same change to two systems in two separate calls, such as a database and a message broker. A crash in between leaves them out of step.
Used in: Checkout and the order state machine · CQRS and read models · Sagas, outbox and CDC · Schema migrations without downtime
Durability
How likely it is that data, once saved, stays saved and is not lost. It is different from availability, which is whether you can reach the data right now.
Used in: Quorums and leaderless replication · Requirements and non-functional needs · Transactions and isolation levels
Dynamic secret
A credential made on demand for one client, with a short lease. When the lease ends, it is revoked, so there is no long-lived password to leak.
Used in: Secrets and key management
E
Edge location
One CDN data center near users. It answers requests from its own cache and asks the origin server only when it has no fresh copy.
Used in: CDNs and HTTP caching · Scaling reads
Election timeout
How long a Raft follower waits without hearing from a leader before it starts an election. Each server picks it at random.
Used in: Failure detection and membership · Consensus and Raft
Embedding
A list of numbers (a vector) that a model makes from a piece of text. Texts with similar meaning get vectors that are close together, so you can search by meaning.
Used in: RAG: retrieval-augmented generation
End-to-end argument
A design rule from a 1981 paper by Saltzer, Reed and Clark (journal version 1984). Some functions, like suppressing duplicates, can only be done fully with the application's help at the ends. Lower layers can help only as a speed-up.
Used in: Exactly-once and effectively-once
End-to-end test
A test that runs the whole system the way a user does, for example by clicking through a checkout in a real browser.
Used in: Testing strategy that scales
Entitlement
What a customer is allowed to use because of their plan or contract, for example "Pro accounts can export to PDF".
Used in: Feature flags and entitlements
Entity interpolation
Drawing other players smoothly between the last two real server updates. They appear a little in the past, often about 100 ms, but based only on real positions.
Envelope encryption
Encrypting data with a data key, then encrypting that data key with a second key that stays in a key service. You store the encrypted data key next to the data.
Used in: Secrets and key management
Ephemeral node
A ZooKeeper entry that lives only while the session that created it is alive. If the client's session ends, ZooKeeper deletes it.
Used in: Coordination services: ZooKeeper and etcd · Leader election and leases
Error budget
The amount of failure an SLO allows, which is 100% minus the SLO. A 99.9% SLO gives a budget of 0.1% of requests.
Used in: Alerting and on-call · Distributed tracing in practice · Observability, SLOs and error budgets
ETag
An HTTP response header with a short ID for one version of the content. A client sends it back to ask "has this changed?" and may get a 304 Not Modified answer.
Eval
A repeatable test for an LLM feature. It is a set of test cases, a grader that scores each output, and a score you track over time.
Used in: Evals for LLM systems · LLM fundamentals for product engineers · Prompt and context engineering · RAG: retrieval-augmented generation
Evaluation context
The data passed to a feature flag check, such as user ID, plan or country, that the flag's rules use to decide the answer.
Used in: Feature flags and entitlements
Event loop
A loop on one thread that waits for events, such as data on a socket, a timer or a click, and runs a short handler for each, one at a time. A handler that blocks stalls everything else. Node.js, browsers and Redis work this way.
Used in: Backpressure and flow control · Redis in depth
Event notification
Fowler's name for the pattern where a service sends an event to say that something changed and does not expect a reply. Its events are often thin; a receiver that needs details calls the sender.
Event sourcing
Storing every change to your data as an event that is never edited. The current state is rebuilt by replaying the events in order.
Used in: CQRS and read models · Event-driven architecture and event sourcing
Event store
The database that holds the events in an event-sourced system. It is the source of truth, and it can check the expected version when you append.
Event time
The time an event really happened, on the device that produced it. Stream processors use it to put events in the right window, even when they arrive late.
Used in: Billing, metering and usage-based pricing · Stream processing
Event-carried state transfer
Events that carry the changed data, so receivers can keep their own copy and never need to call the sender.
Eventual consistency
Copies or services may disagree for a while after a change. If no new changes come in, they all end up with the same, latest value.
Used in: CAP, PACELC and consistency models · Choosing a database · Domain-driven design · DynamoDB in depth · Event-driven architecture and event sourcing · Monolith, modular monolith or microservices · Scaling reads
Eviction
Removing keys from a cache when it is full, for example the least recently used ones, to make room for new data.
Used in: Caching and cache stampedes · Distributed caches · Distributed tracing in practice · Redis in depth
Exactly-once
A promise that each message is handled once and only once. In practice it usually means at-least-once delivery plus an idempotent handler.
Used in: Billing, metering and usage-based pricing · Distributed transactions and two-phase commit · Exactly-once and effectively-once · Queues vs logs and delivery guarantees · Stream processing
Exemplar
One sample measurement stored with a metric, usually together with the trace ID of the request that produced it. It lets you jump from a graph to a real trace.
Used in: Distributed tracing in practice
Expand and contract
Making a breaking change in steps. First add the new thing next to the old, then move every user over, then remove the old thing.
Used in: API versioning and deprecation · Schema migrations without downtime
Exponential backoff
Waiting longer after each failed try, for example 1, 2, then 4 seconds.
Used in: Backoff, jitter and retry budgets · Checkout and the order state machine · Locking and MVCC in practice · DynamoDB in depth · Error handling and defensive design · Idempotency, retries and timeouts · LLM fundamentals for product engineers · WebSockets, SSE and long polling · Tail latency and queueing · TCP/IP and the network stack · Webhooks and async APIs
Expression index
An index on the result of an expression, such as lower(email), instead of a plain column. A query must use the same expression to use it.
Used in: PostgreSQL in depth · Secondary, composite and special indexes
Extensible enum
A list of allowed values that the API owner says may grow later, so clients must handle values they do not know yet.
Used in: API versioning and deprecation
External consistency
A guarantee that if transaction T1 commits before T2 starts, T1 gets the smaller timestamp. Spanner's paper treats it as the same as linearizability.
Used in: Time, clocks and ordering
F
Fail fast
Stopping quickly at the first sign of a problem, with a clear error, instead of waiting or carrying on in a bad state.
Used in: Connection pooling and database limits · Error handling and defensive design · Observability, SLOs and error budgets
Fail open
When a check breaks, letting traffic through instead of blocking it, so the check itself does not cause an outage.
Used in: API gateways and edge concerns · Error handling and defensive design · Load balancing · Rate limiting · Circuit breakers, bulkheads and fallbacks
Failing back
Moving work back to the original site or region after a failover, once it is healthy and has caught up. It is best done as a planned, separate step.
Failover
Making a follower the new leader when the old leader stops working, and sending writes to it.
Used in: CAP, PACELC and consistency models · Chaos engineering and game days · Choosing a database · DNS and service discovery · Error handling and defensive design · Failure detection and membership · Leader election and leases · Load balancing · Redis in depth · Replication · Search systems and inverted indexes · Scaling from zero to millions of users
Failure detector
The part of a distributed system that decides whether another node is still alive, usually from heartbeats or pings and a timeout. It can only guess, so it sometimes calls a slow node dead.
Used in: Failure detection and membership
Fallacies of distributed computing
Eight false beliefs that designers of distributed systems often hold, such as "the network is reliable" and "latency is zero". First written down at Sun in the 1990s.
Used in: Why distributed systems are hard
Fallback
A second way to get an answer or do a job, used when the normal way fails or is not available. Fallback code that rarely runs is hard to test, so it can fail when you need it.
Used in: Chaos engineering and game days · Error handling and defensive design · HTTP/1.1, HTTP/2 and HTTP/3 · Leader election and leases · LLM fundamentals for product engineers · WebSockets, SSE and long polling · Circuit breakers, bulkheads and fallbacks · Web performance and Core Web Vitals
False sharing
When threads on different cores write to different variables that sit in the same cache line. The cores keep taking the line from each other, so the code slows down even though no data is shared.
Fan-out
One request that calls many servers or services at once, then waits for their answers. In feeds and messaging, it also means copying one message to many receivers (see fan-out on write).
Used in: Tail latency and queueing
Fan-out on read
The system stores each new item once. When a reader asks, it fetches recent items from every source they follow and merges them, as in a feed. Writes are cheap, but every read does more work.
Used in: Fan-out on write vs fan-out on read · Presence and real-time fan-out
Fan-out on write
When something new is created, the system copies it (or its ID) at once into a ready-made list for every reader, such as every follower's feed. Reads are fast, but one item for a huge audience means millions of writes.
Used in: Fan-out on write vs fan-out on read · Presence and real-time fan-out
Fault injection
Adding a failure on purpose, such as delay, errors or a stopped server, to see how the rest of the system reacts.
Used in: Chaos engineering and game days
Feature flag
A switch read at runtime that turns a piece of code on or off, for some or all users, without a new deploy.
Used in: API gateways and edge concerns · CI/CD and trunk-based development · Debugging production · Error handling and defensive design · Feature flags and entitlements · Evals for LLM systems · Mentoring and sponsorship · Safe deploys and config changes
Fencing token
A number that grows each time a lock is given out. Storage rejects writes with an older number, so a client whose lock expired cannot overwrite newer data.
Used in: Locks, atomics and deadlocks · Coordination services: ZooKeeper and etcd · Leader election and leases · Redis in depth
Few-shot prompting
Putting a few worked examples of input and the output you want into the prompt, so the model copies their format and style. With no examples, it is called zero-shot.
Field data
Performance numbers collected from all the real users who visit a page, on their own devices and networks.
Used in: Web performance and Core Web Vitals
Field number
In Protocol Buffers, the number given to each field. It is written on the wire instead of the name, so it must never change or be reused.
Used in: Schema evolution and encoding
FIFO
First in, first out. Items are handled in the order they arrived. LIFO (last in, first out) handles the newest item first.
Used in: Exactly-once and effectively-once · Load shedding and graceful degradation · Queues vs logs and delivery guarantees · Tail latency and queueing
File descriptor
A small number the kernel gives your process for each open file, socket or pipe. Each process may hold only a limited number at once.
Used in: OS essentials for backend engineers
Fine-tuning
Training an existing model further on your own examples, so its weights change. It shapes how the model behaves, but facts stored in weights are hard to update or trace to a source.
First-class function
A function you can treat like any other value. You can store it in a variable, pass it to another function or return it.
Used in: Design patterns that still matter
Fixed window
A rate limit that counts requests in fixed blocks of time, like each calendar minute, and resets the count when a block ends.
Flag debt
Old feature flags that stay in the code after their job is done. Each one adds branches to test and a switch that can be flipped by mistake.
Used in: Feature flags and entitlements
Flaky test
A test that sometimes passes and sometimes fails on the same code, often because of timing, order or shared state.
Used in: CI/CD and trunk-based development · Working with coding agents · Testing strategy that scales
Flapping
When a check, an alert or a node keeps switching between two states, such as healthy and failed, again and again. Each switch can move traffic or data or page someone, so flapping can do more harm than a clean failure.
Used in: Failure detection and membership
Flash sale
A sale of limited stock that starts at a set time, so a very large crowd arrives within minutes.
Used in: Caching and cache stampedes · CAP, PACELC and consistency models · Inventory, overselling and flash sales
Float
A number type that stores values as binary fractions. It is fast but not exact for many decimals, like 0.1, so it must not hold money.
Used in: Billing, metering and usage-based pricing · Money and double-entry ledgers · Reconciliation
Flow control
A way for a receiver to tell the sender how much more data it can take right now, so a fast sender does not overflow a slow reader.
Used in: Backpressure and flow control · TCP/IP and the network stack
Flow-control window
The amount of data a receiver says it can accept right now. The sender may send only that much, then must wait until the receiver opens the window again.
Used in: Backpressure and flow control
FLP result
A 1985 proof by Fischer, Lynch and Paterson. In an asynchronous system, no consensus protocol is sure to finish if even one process may be faulty.
Used in: Consensus and Raft
Follow-the-sun
An on-call rotation split between teams in far-apart time zones, so each team covers its own daytime and nobody works at night.
Used in: Alerting and on-call
Follower
A database copy that only takes changes from the leader. It can answer reads, but it may be a little behind.
Used in: CAP, PACELC and consistency models · Disaster recovery and backups · Failure detection and membership · Kafka internals · PostgreSQL in depth · Consensus and Raft · Replication · Sharding and consistent hashing
Foreign key
A column whose value must match a row in another table, such as order_items.order_id pointing to orders.id. The database rejects values with no match.
Used in: Choosing a database · Data models and query languages · Schema migrations without downtime
Forward compatibility
Old code can still read data written by new code, usually by skipping fields it does not know.
Used in: Schema evolution and encoding
Four golden signals
Four things to measure for any service: latency, traffic, errors and saturation (how full it is).
Used in: Observability, SLOs and error budgets · Scaling from zero to millions of users
Fsync
A system call that waits until a file's changed data is stored on the disk. Without it, written data may sit only in RAM and be lost on a power cut.
Used in: OS essentials for backend engineers · Redis in depth
Full jitter
A backoff rule where each wait is a random time between zero and the capped backoff, min(cap, base × 2^n). It spreads retries evenly over that whole window.
Used in: Backoff, jitter and retry budgets
Functional requirement
Something a user can do with the system, such as "search for events" or "book a seat".
Used in: Requirements and non-functional needs · The system design method, worked on Ticketmaster
FX
Converting money from one currency to another. The rate and fees used can make the amount you receive differ from the amount you expected.
Used in: Reconciliation
G
Game day
A planned practice session where a team causes or acts out a failure on purpose, to test its systems and its incident response.
Used in: Chaos engineering and game days · Disaster recovery and backups · Incident response and postmortems · Runbooks and reducing toil
Garbage collection
The language runtime frees memory that the program no longer uses. In many runtimes this can pause the program for a short time.
Used in: Choosing a database · Locks, atomics and deadlocks · Failure detection and membership · Data modelling for NoSQL · Consensus and Raft · Tail latency and queueing · Why distributed systems are hard
Gc_grace_seconds
A Cassandra table setting: how long a tombstone must be kept before compaction may drop it. The default is 10 days. Repair must reach every replica within it.
Used in: Cassandra in depth
Glob pattern
A short pattern that matches file paths. For example, src/**/*.ts matches every TypeScript file under the src folder.
Global table
A DynamoDB table with replicas in several AWS Regions that copy each other's writes. By default the copying is asynchronous and conflicts are settled by last writer wins.
Used in: DynamoDB in depth · Multi-region systems and data locality
God class
One class that knows and does too much, such as a manager with dozens of methods. Almost every change touches it, so it is hard to change safely.
Used in: Low-level and object-oriented design
Goodput
The part of throughput that is handled without errors and in time to be useful.
Used in: Load shedding and graceful degradation · Tail latency and queueing
Gossip protocol
A way to spread news in a cluster. Each node passes what it knows to a few random nodes, and they pass it on, so the news reaches everyone quickly without a central server.
Used in: Failure detection and membership
Graceful degradation
Still serving users when part of the system fails, with less, for example a page without recommendations, instead of failing the whole request.
Used in: Error handling and defensive design · Load shedding and graceful degradation · Circuit breakers, bulkheads and fallbacks
Graph database
A database that stores nodes and the links between them, such as Neo4j. It is good at following many hops of links.
Used in: Data models and query languages
GraphQL
A query language for APIs. The client asks for exactly the fields it needs, often from many resources in one request.
Used in: API versioning and deprecation · Data modelling for NoSQL · API pagination and filtering · REST API design
Group commit
When a database writes the commit records of several transactions to disk with one flush, so they share the cost of that flush.
Used in: Batching and pipelining
GRPC
A framework for calls between services. A client calls a method on a remote server as if it were local, with the contract written in Protocol Buffers.
Used in: Backoff, jitter and retry budgets · Coordination services: ZooKeeper and etcd · HTTP/1.1, HTTP/2 and HTTP/3 · Load balancing · REST API design · Schema evolution and encoding
H
Half-open state
The test state of a circuit breaker. After a wait, it lets a few trial calls through. If they work, it closes again. If they fail, it opens again.
Hallucination
When a language model writes text that is false, or that does not match the context it was given, as if it were a fact.
Used in: RAG: retrieval-augmented generation
Happens-before
Lamport's rule for ordering events without clocks. Event a happens-before b if they are in one process and a comes first, if a sends a message that b receives, or through a chain of these.
Used in: Time, clocks and ordering
Hardware prefetching
The CPU notices a pattern in your memory reads, such as walking an array, and loads the next cache lines before your code asks for them.
Hardware security module
A tamper-resistant device that creates and stores keys and does crypto inside itself, so the keys never leave it in plain form.
Used in: Secrets and key management
Hash slot
One of the 16,384 buckets that Redis Cluster splits keys into. Each key maps to one slot, and each slot belongs to one primary node.
Used in: Distributed caches · Redis in depth
Head-based sampling
Deciding whether to keep a trace when the request starts, before you know if it will be slow or fail. Cheap and simple.
Used in: Distributed tracing in practice
Head-of-line blocking
When one lost or slow item at the front of a line holds back everything behind it, even items that are ready.
Used in: Batching and pipelining · HTTP/1.1, HTTP/2 and HTTP/3 · TCP/IP and the network stack
Health check
An automatic test of whether a server or service is working. Load balancers use it to stop sending traffic to failing servers. Deploys use it too. For example, a deploy watches the error rate to decide whether to continue or roll back.
Used in: Backpressure and flow control · Coordination services: ZooKeeper and etcd · DNS and service discovery · Failure detection and membership · Load balancing · Load shedding and graceful degradation · Observability, SLOs and error budgets · Consensus and Raft · Safe deploys and config changes · Why distributed systems are hard
Heartbeat
A small message sent again and again to say "I am still alive". If heartbeats stop, others assume the sender has failed.
Used in: Backpressure and flow control · Coordination services: ZooKeeper and etcd · Distributed transactions and two-phase commit · Failure detection and membership · Leader election and leases · Presence and real-time fan-out · Queues vs logs and delivery guarantees · Consensus and Raft · WebSockets, SSE and long polling
Hedged request
Sending a backup copy of a request to another replica when the first has not answered after a short delay, then using whichever answer comes first.
Used in: Tail latency and queueing
Herd effect
Many clients act on the same event at the same moment, such as one change notice or one restart, and all hit the same resource together. Often only one of them needed to act.
Used in: Backoff, jitter and retry budgets · Coordination services: ZooKeeper and etcd
Hexagonal architecture
A design by Alistair Cockburn. Business code sits in the middle and talks to the outside world only through interfaces it owns (ports). Small adapters connect each port to a real tool, such as a database.
Used in: Clean and hexagonal architecture
High watermark
In Kafka, the end of the committed part of a partition's log. Consumers can read only up to it.
Used in: Kafka internals
Hinted handoff
When a replica is down, another node keeps its writes with a note (a hint) saying who they belong to. It hands them over when the replica comes back.
Used in: Quorums and leaderless replication
Hiring committee
A group that reads all the written interview feedback on a candidate and decides whether to hire, instead of the interviewers deciding one by one.
Used in: Big-tech interview loops
HMAC
A short code made from a message and a shared secret key. Only someone with the key can make the right code, so it proves the message came from someone who has the key and that nobody changed it.
Used in: Webhooks and async APIs
Home region
The one region that owns a user's or tenant's data and takes all of its writes. Other regions may hold read-only copies.
Home timeline
The main feed a user sees when they open a social app, made of posts from the accounts they follow, and sometimes recommended posts.
Used in: Fan-out on write vs fan-out on read
Horizontal scaling
Handling more load by adding more machines that share the work. It avoids the size limit of one machine, and, if built for it, one machine can fail without taking the service down.
Hosted fields
Card input fields served by the payment processor inside your page, so the card number goes straight to the processor and never reaches your servers.
Used in: The payment lifecycle
Hot account
A ledger account that appears in a large share of transactions, so many writes wait on the same row.
Used in: Money and double-entry ledgers · Scaling writes and hot keys
Hot key
A single cache or database key that gets a very large share of all reads or writes.
Used in: Caching and cache stampedes · CDNs and HTTP caching · Deep dives and explaining trade-offs · Distributed caches · Queues vs logs and delivery guarantees · Scaling reads · Scaling writes and hot keys · Sharding and consistent hashing
Hot partition
A partition or shard that gets far more reads or writes than the others. It hits its limit while the rest of the cluster has spare capacity.
Used in: Choosing a database · Kafka internals · Scaling writes and hot keys · Sharding and consistent hashing
Hot row
A single database row that very many transactions update at once, such as the stock of a flash-sale product. They wait in line for its lock.
Used in: Locking and MVCC in practice · Inventory, overselling and flash sales · Scaling writes and hot keys
HOT update
A PostgreSQL update that changes no indexed column (BRIN aside) and fits the new row version on the same page, so no index needs a new entry.
Used in: Locking and MVCC in practice · PostgreSQL in depth
HPACK
The header compression format of HTTP/2. Both sides keep tables of headers they have seen, so a repeated header can be sent as a small number. HTTP/3 uses a similar format, QPACK.
Used in: HTTP/1.1, HTTP/2 and HTTP/3
HSTS
A response header that tells the browser to use only HTTPS for a site for a set time, and not to let users click through certificate errors.
Used in: TLS and secure connections
HTTP 429 Too Many Requests
The HTTP status code a server returns when a client has sent too many requests in a given time.
Used in: Backoff, jitter and retry budgets · LLM fundamentals for product engineers · Load shedding and graceful degradation · Rate limiting · REST API design
Hybrid logical clock
A timestamp that follows the happens-before order like a Lamport clock, but stays close to real clock time. It fits in 64 bits.
Used in: Time, clocks and ordering
Hybrid search
Running keyword search and vector search for the same query and merging the two result lists, so you get both exact matches and matches by meaning.
Used in: RAG: retrieval-augmented generation
Hydration
Running JavaScript in the browser to make server-rendered HTML interactive. Until it finishes, the page can look ready but not respond.
HyperLogLog
A small data structure that estimates how many different items you have seen, such as unique visitors, with a small error and a small, capped amount of memory (at most 12 KB in Redis).
Used in: Redis in depth
Hypothesis
A guess about the cause of a problem that a test can prove wrong, for example "the new pool size is too small".
Used in: Debugging production
Hyrum's law
The observation that, with enough users, every visible behaviour of an API is relied on by someone, even behaviour the docs never promised.
Used in: API versioning and deprecation
I
ID token
A signed JWT from an OpenID Connect provider that says who logged in. The app must check its issuer, audience, expiry and, in most cases, its signature.
Used in: Authentication and authorization · Enterprise SSO and SCIM
Idempotency key
A unique id the client sends with a request, so the server can spot a repeat and return the saved result.
Used in: Behavioural interviews and STAR stories · Checkout and the order state machine · Idempotency, retries and timeouts · Monolith, modular monolith or microservices · Queues vs logs and delivery guarantees · REST API design · Service mesh and sidecars · Unique ID generation · Why distributed systems are hard
Idempotent
An action is idempotent if doing it twice has the same effect as doing it once.
Used in: API gateways and edge concerns · Backoff, jitter and retry budgets · Caching and cache stampedes · Cassandra in depth · CQRS and read models · Domain-driven design · Distributed caches · Distributed transactions and two-phase commit · Error handling and defensive design · Event-driven architecture and event sourcing · Exactly-once and effectively-once · HTTP/1.1, HTTP/2 and HTTP/3 · Idempotency, retries and timeouts · Queues vs logs and delivery guarantees · REST API design · Runbooks and reducing toil · Sagas, outbox and CDC · Scaling reads · Search systems and inverted indexes · Service mesh and sidecars · Stream processing · Tail latency and queueing · TCP/IP and the network stack · Why distributed systems are hard
Idempotent producer
A Kafka producer setting. The broker gives the producer an ID and drops retried copies of a message by sequence number, so a retry does not write a duplicate. It holds only within one producer session.
Used in: Exactly-once and effectively-once · Kafka internals
Identity provider
The system that logs users in and vouches for who they are to other apps, such as Okta or Microsoft Entra ID. Often called the IdP.
Used in: Authorization models: RBAC, ABAC and ReBAC · Enterprise SSO and SCIM
Immutable backup
A backup that cannot be changed or deleted until a set retention time ends. In its strictest mode, not even an admin can delete it.
Used in: Disaster recovery and backups
In-doubt transaction
A prepared transaction whose participant does not know the final decision, usually because the coordinator failed. It cannot commit or abort on its own, so it keeps its locks.
In-sync replica
In Kafka, a copy of a partition that is up to date with the leader. The leader includes itself. A write is committed once every in-sync replica has it.
Used in: Kafka internals
Inbox
A table where a consumer saves the IDs of events it has already handled, so it can skip duplicates.
Used in: Exactly-once and effectively-once · Sagas, outbox and CDC
Incarnation number
A counter that only a node itself can raise, sent with news about it. When a node hears it is suspected, it raises the number, so its "I am alive" message beats the old suspicion.
Used in: Failure detection and membership
Incident commander
The person who leads an incident. They hold the overall picture and give out the work, but do not fix things themselves.
Used in: Debugging production · Incident response and postmortems
Incremental backup
A backup that holds only what changed since the previous backup. To restore, you need it and every earlier backup it builds on.
Used in: Disaster recovery and backups
Index-only scan
A query plan step that reads the answer from the index alone and skips the table rows. In PostgreSQL it skips the table only for pages marked all-visible.
Used in: Locking and MVCC in practice · Secondary, composite and special indexes
Information hiding
Giving one module sole knowledge of a design decision, such as a data format, so other modules do not depend on it. David Parnas made it famous in a 1972 paper.
Used in: Complexity and deep modules
Information leakage
When one design decision, such as a file format, is known by several modules. If it changes, all of them must change.
Used in: Complexity and deep modules
Innovation token
Dan McKinley's idea that a company can afford only a few new or unusual technologies, about three, because each one brings unknown problems.
Used in: Making architecture trade-offs · Choosing a database
Integration test
A test that checks that a few parts work together, for example your code with a real database.
Used in: API versioning and deprecation · Authorization models: RBAC, ABAC and ReBAC · CI/CD and trunk-based development · Clean and hexagonal architecture · OWASP Top 10 and secure coding · Schema evolution and encoding · Testing strategy that scales
Interaction to Next Paint
How long a page takes to show a visible response after a click, tap or key press. It reports the slowest one on the page, ignoring a few outliers. Good is 200 ms or less.
Used in: Web performance and Core Web Vitals
Interface segregation principle
The "I" in SOLID. Keep interfaces small, so a caller does not depend on methods it never uses.
Used in: SOLID, coupling and cohesion
Invalidation
Removing or updating a cached value when the source data changes, so readers do not see old data.
Used in: Caching and cache stampedes · Distributed caches · Scaling reads
Inverted index
A map from each term to the list of documents that contain it, like the index at the back of a book. Search engines use it to find matches without scanning every document.
Used in: PostgreSQL in depth · Search systems and inverted indexes · Secondary, composite and special indexes
IP address
The number that tells the network which machine a packet is for. IPv4 addresses are 32 bits, like 10.0.4.17. IPv6 addresses are 128 bits.
Used in: DNS and service discovery · Load balancing · Multi-region systems and data locality · Rate limiting · Service mesh and sidecars · TCP/IP and the network stack · Threat modelling and zero trust · TLS and secure connections
Isolation level
A setting that says how much transactions running at the same time can see and change each other's work.
Used in: Choosing a database · Transactions and isolation levels
Issuing bank
The bank that gave the customer their card. It approves or declines each payment and holds the money during authorization.
Used in: The payment lifecycle
Item collection
In DynamoDB, all the items that share one partition key value. They are stored together and sorted by sort key, so one Query can read them.
Used in: DynamoDB in depth · Data modelling for NoSQL
J
JIT provisioning
Creating a user account at the moment of their first single sign-on login, from the attributes in the login assertion. It does not remove users who leave.
Used in: Enterprise SSO and SCIM
Jitter
Adding a small random amount to each wait, so many clients do not retry at the same moment.
Used in: Backoff, jitter and retry budgets · Caching and cache stampedes · Client prediction and lag compensation · Idempotency, retries and timeouts · Rate limiting · WebSockets, SSE and long polling · Webhooks and async APIs
Join
A query step that combines rows from two tables by matching a column, such as orders.user_id = users.id.
Used in: Checkout and the order state machine · Choosing a database · CQRS and read models · Data models and query languages · Data modelling for NoSQL
JSON Schema
A standard way to describe the shape of JSON data, such as which fields exist, their types and which are required. Code can check a document against it.
Used in: API gateways and edge concerns · LLM fundamentals for product engineers · Prompt and context engineering
JSON Web Token
A compact string that carries claims, such as a user ID and an expiry time, often signed so changes are detected. A signed JWT is not secret, because anyone can read its payload.
Used in: Authentication and authorization
K
Keep-alive
Keeping an idle connection open and working. In HTTP, the connection stays open so the next request needs no new handshake. Keep-alive probes or pings check that an idle connection still works.
Used in: WebSockets, SSE and long polling · TCP/IP and the network stack
Kernel
The core of the operating system. It runs with full access to the hardware and shares the CPU, memory and disks among all programs.
Used in: Complexity and deep modules · OS essentials for backend engineers
Key encryption key
A key that encrypts other keys, not data. In envelope encryption it stays inside the key management service and wraps each data encryption key.
Used in: Secrets and key management
Key-value store
A database that stores each value under a key. You get and put by key. Examples are DynamoDB and Redis.
Used in: Coordination services: ZooKeeper and etcd · Circuit breakers, bulkheads and fallbacks
Keyed state
Data a stream processor remembers between events, split by key, such as a running count per city. Each key's state lives with the task that handles that key.
Used in: Stream processing
Keyset pagination
Paging that asks for the rows after the last row you saw, using its sort values, instead of skipping a number of rows. It stays fast on deep pages.
Used in: API pagination and filtering · Secondary, composite and special indexes
Kill switch
A quick way to turn off one feature or component everywhere, without a deploy, when it is causing harm.
Used in: Debugging production · Feature flags and entitlements · Load shedding and graceful degradation · Presence and real-time fan-out · Rate limiting · Circuit breakers, bulkheads and fallbacks · Safe deploys and config changes
KMS
A cloud service, such as AWS KMS or Google Cloud KMS, that creates and stores encryption keys and uses them for you. You call its API; the main keys never leave it unencrypted.
Used in: Secrets and key management
Knowledge cutoff
The date up to which a model's knowledge is most complete and reliable. It may know little or nothing correct about later events.
Used in: RAG: retrieval-augmented generation
KRaft
Kafka's built-in metadata quorum, based on Raft. It replaced ZooKeeper, which Kafka used to need for its cluster metadata.
Used in: Coordination services: ZooKeeper and etcd · Kafka internals · Consensus and Raft
L
Lab data
Performance numbers from loading a page in a controlled setup, with one device and one network. Repeatable, but not what real users get.
Used in: Web performance and Core Web Vitals
Lag compensation
The game server rewinds other players to where the shooter saw them, checks the hit there, then moves them back. Shots hit where you aimed despite delay.
Lamport clock
A counter on each process that goes up with every event and jumps past any counter it receives in a message. If a happens-before b, a gets the smaller number.
Used in: Time, clocks and ordering
Largest Contentful Paint
The time from when the user starts loading a page until the largest image, text block or video in view is shown. Good is 2.5 seconds or less.
Used in: Web performance and Core Web Vitals
Last write wins
A rule for conflicting writes: keep the one with the biggest timestamp and drop the rest. With skewed clocks, it can silently drop the newer write.
Used in: Time, clocks and ordering · Multi-region systems and data locality · Quorums and leaderless replication
Latency
How long one operation or request takes, from start to answer. Usually measured in milliseconds (ms) or smaller units.
Used in: Alerting and on-call · API gateways and edge concerns · Making architecture trade-offs · Backpressure and flow control · Batching and pipelining · Behavioural interviews and STAR stories · B-tree vs LSM-tree · CAP, PACELC and consistency models · Cassandra in depth · Chaos engineering and game days · Choosing a database · Client prediction and lag compensation · Connection pooling and database limits · Coordination services: ZooKeeper and etcd · Deep dives and explaining trade-offs · Distributed tracing in practice · DNS and service discovery · Fan-out on write vs fan-out on read · Latency numbers and back-of-envelope maths · Evals for LLM systems · Load balancing · Load shedding and graceful degradation · Monolith, modular monolith or microservices · Multi-region systems and data locality · Observability, SLOs and error budgets · Quorums and leaderless replication · Consensus and Raft · RAG: retrieval-augmented generation · Redis in depth · Requirements and non-functional needs · Circuit breakers, bulkheads and fallbacks · Safe deploys and config changes · Scaling writes and hot keys · Service mesh and sidecars · Sharding and consistent hashing · Stream processing · Tail latency and queueing · Why distributed systems are hard · Scaling from zero to millions of users
Layer 4
The transport layer of a network (TCP and UDP). A layer 4 load balancer sees connections and ports, not HTTP requests.
Used in: Load balancing · Service mesh and sidecars · TCP/IP and the network stack
Layer 7
The application layer of a network, such as HTTP. A layer 7 load balancer reads each request and can route by path or header.
Used in: Load balancing · Service mesh and sidecars · TCP/IP and the network stack
Lazy loading
Loading a resource, such as an image or a piece of code, only when it is about to be needed instead of at the start.
Used in: Web performance and Core Web Vitals
Leader
The one database node that accepts writes. It sends every change on to the other copies. Also called the primary.
Used in: CAP, PACELC and consistency models · Time, clocks and ordering · Coordination services: ZooKeeper and etcd · Disaster recovery and backups · Distributed transactions and two-phase commit · DynamoDB in depth · Failure detection and membership · Incident response and postmortems · Kafka internals · Quorums and leaderless replication · Consensus and Raft · Replication · Sharding and consistent hashing · Why distributed systems are hard
Leader election
The way a group of nodes picks one node to do a job alone, such as taking writes or running a scheduler, and picks a new one when it fails.
Used in: Coordination services: ZooKeeper and etcd · Leader election and leases · Consensus and Raft
Leadership Principles
Amazon's public list of 16 principles it says it uses every day, such as Ownership and Dive Deep. Its interviewers judge every candidate against them.
Used in: Behavioural interviews and STAR stories · Big-tech interview loops
Leaky bucket
A rate limit where requests wait in a queue that drains at a fixed rate. When the queue is full, new requests are rejected.
Used in: Rate limiting
Leap second
An extra second sometimes added to UTC. Code that assumes time never goes backwards can break when one is added.
Used in: Time, clocks and ordering · Unique ID generation
Leap smear
A way to add a leap second without a jump. Time servers make each second slightly longer over many hours, so the extra second is spread out.
Used in: Time, clocks and ordering
Lease
A lock or role that expires after a set time unless the holder renews it. If the holder crashes, others can take over later.
Used in: Caching and cache stampedes · Time, clocks and ordering · Locks, atomics and deadlocks · Coordination services: ZooKeeper and etcd · Leader election and leases · Consensus and Raft
Least connections
A load balancing rule that sends each request to the server with the fewest requests still in progress.
Used in: Load balancing
Least privilege
Giving each user, service or token only the access it needs for its job, and nothing more. A leak or bug then does less harm.
Used in: Authentication and authorization · LLM fundamentals for product engineers · Prompt and context engineering · Secrets and key management · Dependency and supply-chain security · Threat modelling and zero trust
Ledger
A record of every movement of money (or points, credits, stock) as entries that are only ever added, never changed. Balances are calculated from it.
Used in: Money and double-entry ledgers · The payment lifecycle · Reconciliation · Scaling writes and hot keys
Lexeme
A word after it has been normalized for search, for example lowercased and cut to its root. Postgres full-text search stores lexemes.
Used in: Search systems and inverted indexes
Lighthouse
Google's open-source tool that loads a page in a controlled setup and reports performance and other audits. It gives lab data, not data from real users.
Used in: Web performance and Core Web Vitals
Lightweight transaction
A Cassandra write with an IF condition, such as IF NOT EXISTS. Replicas agree on it with Paxos inside one partition, so it costs more round trips than a plain write.
Used in: Cassandra in depth
Linearizability
One of the strongest consistency models for a single piece of data. The system acts as if there is one copy of the data, and each operation takes effect at one instant.
Used in: CAP, PACELC and consistency models · Coordination services: ZooKeeper and etcd · Quorums and leaderless replication
Linter
A tool that reads your code without running it and flags style problems and common mistakes, the same way every time.
Used in: Reviewing code written by humans and AI · Working with coding agents · Schema evolution and encoding
Liskov substitution principle
The "L" in SOLID. A subtype must behave the way its supertype promises, so code written for the supertype still works. Matching method types is not enough.
Used in: SOLID, coupling and cohesion
Little's law
On average, items inside a system = arrival rate × time each item spends inside. For example, 2,000 requests a second × 0.05 s = 100 requests in progress.
Used in: Backpressure and flow control · Connection pooling and database limits · Tail latency and queueing
Livelock
Threads keep reacting to each other and retrying, so they stay busy, but none of them makes progress.
Used in: Locks, atomics and deadlocks
LLM
Large language model. A model trained on a lot of text to predict the next token. It writes likely text, not checked facts.
Used in: Evals for LLM systems · LLM fundamentals for product engineers · Prompt and context engineering
LLM token
The unit of text a language model reads and writes. A token can be a word, part of a word, a character or a byte. Providers count cost, limits and speed in tokens.
Used in: LLM fundamentals for product engineers · RAG: retrieval-augmented generation
LLM-as-judge
Using a language model to grade the output of another model, usually with a written rubric. It is fast and scales, but it has biases you must check.
Used in: Evals for LLM systems
Load balancer
A service with one address that sits in front of many servers and picks which server gets each connection or request.
Used in: API gateways and edge concerns · Connection pooling and database limits · DNS and service discovery · Failure detection and membership · HTTP/1.1, HTTP/2 and HTTP/3 · Inventory, overselling and flash sales · Load balancing · Load shedding and graceful degradation · Multi-tenancy and noisy neighbours · WebSockets, SSE and long polling · TCP/IP and the network stack · TLS and secure connections · Why distributed systems are hard · Scaling from zero to millions of users
Load shedding
Rejecting some requests on purpose when a service is overloaded, so it can keep serving the rest.
Used in: Backpressure and flow control · Load shedding and graceful degradation · Rate limiting · Circuit breakers, bulkheads and fallbacks · Tail latency and queueing
Load test
A test that sends a lot of fake traffic to a system, to find how much it can handle before it slows down or fails.
Used in: API gateways and edge concerns · Backpressure and flow control · Behavioural interviews and STAR stories · B-tree vs LSM-tree · Choosing a database · Connection pooling and database limits · Deep dives and explaining trade-offs · Latency numbers and back-of-envelope maths · Load balancing · Load shedding and graceful degradation · Data modelling for NoSQL · Presence and real-time fan-out · WebSockets, SSE and long polling · Scaling writes and hot keys · Service mesh and sidecars · Tail latency and queueing
Local secondary index
A DynamoDB index with the same partition key as its table but a different sort key. It allows strongly consistent reads, must be created with the table, and limits each partition key value to 10 GB.
Used in: DynamoDB in depth · Secondary, composite and special indexes
Lockfile
A file, such as package-lock.json, that records the exact version of every dependency, so every build installs the same ones.
Used in: CI/CD and trunk-based development · Dependency and supply-chain security
Log segment
One file in the series of files that stores a Kafka partition. Kafka writes to the newest segment and deletes old data one whole segment at a time.
Used in: Kafka internals
Logical backup
A backup written as SQL statements or rows, for example by pg_dump. It is portable, but it cannot be combined with the change log for point-in-time recovery.
Used in: Disaster recovery and backups
Logical replication
Copying row changes (inserts, updates, deletes) by table and key, not by disk block. In PostgreSQL it can copy chosen tables between different major versions.
Used in: PostgreSQL in depth
Long polling
The client sends a request, and the server holds it open until it has new data or a timeout. Then the client sends the next request at once.
Used in: WebSockets, SSE and long polling
Long task
Any piece of work on the browser's main thread that takes longer than 50 ms. While it runs, the page cannot respond to the user.
Used in: Web performance and Core Web Vitals
Long-lived branch
A branch that stays apart from main for weeks or months. The longer it lives, the bigger and riskier the final merge.
Used in: CI/CD and trunk-based development
Lost update
A bug where two transactions read the same value, both change it, and the second write wipes out the first.
Used in: Locking and MVCC in practice · Locks, atomics and deadlocks · Event-driven architecture and event sourcing · Inventory, overselling and flash sales · Transactions and isolation levels
LSM-tree
A storage design that buffers writes in memory, writes them out as new sorted files, and merges those files later in the background.
Used in: B-tree vs LSM-tree · Scaling writes and hot keys
M
Main thread
The browser thread that runs almost all of a page's JavaScript and handles user input. It can do only one task at a time.
Used in: Mechanical sympathy: CPU caches and memory · Web performance and Core Web Vitals
Managed database
A database that a cloud provider runs for you. It handles setup, patching, backups and failover, so your team does less operations work.
Many-to-many
A link where each record on both sides can connect to many on the other, like users and events. In SQL it needs a third table of id pairs.
Used in: Data models and query languages · Data modelling for NoSQL
Materialized view
A database view whose query result is stored like a table. Reads are fast, but the data is only as fresh as the last refresh.
Used in: Scaling reads
MCP
Model Context Protocol, an open standard that connects AI tools to outside systems such as files, databases and other tools.
Used in: Working with coding agents
Memtable
The sorted table in memory where an LSM-tree collects new writes before it writes them to disk as an SSTable.
Used in: B-tree vs LSM-tree · Cassandra in depth
Merkle tree
A tree of hashes. Each leaf is the hash of some data, and each parent is the hash of its children. Equal roots mean equal data.
Used in: Quorums and leaderless replication
Message queue
A place where one service leaves jobs or messages and another service picks them up later. It lets slow work happen in the background. SQS and RabbitMQ are examples.
Used in: Clean and hexagonal architecture · Scaling from zero to millions of users
Metric
A number measured again and again over time, such as requests per second or error rate. Cheap to store and good for graphs and alerts.
Used in: Alerting and on-call · API gateways and edge concerns · Backpressure and flow control · B-tree vs LSM-tree · Chaos engineering and game days · CI/CD and trunk-based development · Connection pooling and database limits · Debugging production · Complexity and deep modules · Distributed tracing in practice · Failure detection and membership · Feature flags and entitlements · Evals for LLM systems · Multi-tenancy and noisy neighbours · Observability, SLOs and error budgets · RAG: retrieval-augmented generation · Runbooks and reducing toil · Safe deploys and config changes · Service mesh and sidecars · Web performance and Core Web Vitals · Scaling from zero to millions of users
Microservices
A style that builds one application as many small services. Each runs on its own, talks over the network, and can be deployed and scaled on its own.
Used in: Making architecture trade-offs · Authorization models: RBAC, ABAC and ReBAC · Domain-driven design · Monolith, modular monolith or microservices · Scaling from zero to millions of users
Middleware
In web frameworks, a chain of functions that run in turn before a request handler, for example to log or check access. Each one either ends the request or passes control to the next.
Used in: Authentication and authorization · Design patterns that still matter · Webhooks and async APIs
Minor unit
The smallest unit of a currency, like paise for rupees or cents for dollars. Storing ₹10.50 as the integer 1050 paise keeps money exact.
Used in: Billing, metering and usage-based pricing · Money and double-entry ledgers · The payment lifecycle · Reconciliation
Mitigation
An action that stops or reduces harm to users quickly, like a rollback, before you know the exact cause.
Used in: Debugging production
Model snapshot
A fixed, dated version of a model with a name that does not change, such as one ending in a date. Pinning one keeps behaviour stable until you choose to upgrade.
Used in: Prompt and context engineering
Modular monolith
One application, deployed as one unit, whose code is split into parts with strictly enforced boundaries between business areas.
Monolith
An application that is built and deployed as one unit. A change to any part means deploying the whole thing.
Monorepo
One repository that holds the code for many projects or services, often owned by different teams.
Monotonic clock
A clock that only moves forward and cannot be set. Its value means nothing on its own, but the difference between two readings on one machine is a safe way to measure time.
Used in: Time, clocks and ordering · Leader election and leases · Redis in depth
Monotonic reads
A promise that your reads never go back in time. Once you have seen a change, later reads will not hide it again.
Used in: Replication
Multi-factor authentication
Login that needs more than a password, such as a code from an app or a security key. A stolen password alone is then not enough.
Used in: Authentication and authorization · Secrets and key management · Enterprise SSO and SCIM
Multi-tenancy
One running system serving many customer organisations (tenants), which share code, servers and often databases.
Used in: Authorization models: RBAC, ABAC and ReBAC · Multi-tenancy and noisy neighbours
Multiplexing
Sending many separate conversations over one connection at the same time, by cutting them into small labelled pieces and mixing them.
Used in: Batching and pipelining · HTTP/1.1, HTTP/2 and HTTP/3 · TCP/IP and the network stack
Multiwindow alert
A burn-rate alert that fires only when a long window (for example 1 hour) and a short window (for example 5 minutes) both pass the same threshold. Teams run several such rules with different burn rates: fast ones page, slow ones open a ticket.
Used in: Alerting and on-call
Mutation testing
A tool makes small changes (mutants) to your code, such as turning > into >=, and runs your tests. If no test fails, your tests missed that bug.
Used in: Testing strategy that scales
Mutex
A lock that only one thread can hold at a time. Other threads that want it wait until the holder unlocks it.
Used in: Locks, atomics and deadlocks · Inventory, overselling and flash sales
Mutual TLS
TLS where both sides show a certificate, so the server also knows which client is calling. Often used between internal services.
Used in: API gateways and edge concerns · Service mesh and sidecars · TLS and secure connections
MVCC
The database keeps several versions of a row, so readers can see an older version while a writer makes a new one.
Used in: Locking and MVCC in practice · Coordination services: ZooKeeper and etcd · Transactions and isolation levels
N
Nagle's algorithm
A TCP rule that holds small writes while earlier data is still unacknowledged, then sends them together. Applications can turn it off with TCP_NODELAY.
Used in: Batching and pipelining
NAT
Network address translation. A router or gateway swaps private addresses and ports for its own public IP address and ports. This lets many machines share one public address.
Used in: TCP/IP and the network stack
Near cache
A small cache inside each app server's own memory, in front of a shared cache. It answers the hottest keys with no network call.
Used in: Distributed caches
Near real-time
New documents become searchable after a short delay, not at once. In Elasticsearch, a refresh makes them visible, by default every second for indices that are being searched.
Negative caching
Caching the answer "this does not exist". In DNS, a resolver remembers that a name has no record, so a record you create later can stay invisible for a while.
Used in: DNS and service discovery
Network partition
A network failure where some nodes cannot reach others, while all of them keep running.
Used in: CAP, PACELC and consistency models · Leader election and leases · Redis in depth · Why distributed systems are hard
Nines
A short way to say availability: 99.9% is "three nines". Each extra nine allows 10 times less downtime.
Noisy neighbour
One user or tenant that puts so much load on shared resources that others sharing them become slow.
Used in: Multi-tenancy and noisy neighbours
Non-functional requirement
A quality the system must have, such as speed, scale, availability or "never sell a seat twice". It shapes how you build, not what users can do.
Used in: Deep dives and explaining trade-offs · Requirements and non-functional needs · The system design method, worked on Ticketmaster
Non-goal
Something that could reasonably be a goal of a project, but that you chose to leave out. Writing non-goals down keeps the scope from growing.
Used in: Design docs and RFCs · The system design method, worked on Ticketmaster · Working with PMs and the business
Normalization
Designing tables so each fact is stored in one place and other rows point to it by id. Updates touch one row, but reads need joins.
Used in: Data models and query languages · Data modelling for NoSQL
NTP
Network Time Protocol. Servers use it to keep their clocks close to a reference time. It makes clocks close, not equal.
Used in: Time, clocks and ordering · Unique ID generation
NUMA
Non-uniform memory access. In a server with several CPU sockets, each socket has its own memory. Reading memory attached to another socket is slower than reading local memory.
O
OAuth 2.0
A standard that lets an app get limited access to an API on a user's behalf, through a token, without the user's password. It is about delegation, not login.
Used in: Authentication and authorization · Secrets and key management · Enterprise SSO and SCIM
Observability
How well you can understand what a system is doing from the data it sends out, such as metrics, logs and traces.
Used in: API gateways and edge concerns · Design docs and RFCs · Observability, SLOs and error budgets
Observer pattern
A design pattern where an object tells a list of listeners when something changes, without knowing who they are. Event listeners and event emitters are common forms of it.
Used in: Design patterns that still matter
Offset
The position number of a message in a log, such as a Kafka partition. A consumer saves its offset to remember how far it has read.
Used in: Time, clocks and ordering · Exactly-once and effectively-once · Kafka internals · Queues vs logs and delivery guarantees · Stream processing
On-call
The engineer whose turn it is to answer alerts and fix problems, often outside work hours.
Used in: Alerting and on-call · Making architecture trade-offs · B-tree vs LSM-tree · Chaos engineering and game days · Choosing a database · Incident response and postmortems · Monolith, modular monolith or microservices · Multi-tenancy and noisy neighbours · Runbooks and reducing toil · TLS and secure connections · Transactions and isolation levels · Scaling from zero to millions of users
One-on-one
A regular private meeting between two people, often a manager or mentor and the person they support. It is for growth, problems and feedback, not status updates.
Used in: Career ladders and level expectations · Mentoring and sponsorship
One-way door
A decision that is hard or impossible to undo, so it deserves a slow, careful process. Jeff Bezos used the term in his 2015 shareholder letter.
Used in: Making architecture trade-offs
Onion Architecture
Jeffrey Palermo's 2008 design. The domain model is the centre, layers wrap around it, and code may depend only on layers closer to the centre. The database is an outer layer.
Used in: Clean and hexagonal architecture
OOM killer
The part of the Linux kernel that ends a process when memory runs out and cannot be freed. In a container, it runs when the container reaches its memory limit and the kernel cannot free enough memory.
Used in: OS essentials for backend engineers
Open-closed principle
The "O" in SOLID. A module should be open for extension and closed for modification, so new behaviour comes from new code, not edits to working code.
Used in: SOLID, coupling and cohesion
OpenAPI
A standard file format that describes an HTTP API, its endpoints, fields and errors. Tools use the file to make docs, client code and tests.
Used in: REST API design
OpenFeature
An open specification for a vendor-neutral API for checking feature flags. A provider connects it to the flag tool you use.
Used in: Feature flags and entitlements
OpenID Connect
A login layer on top of OAuth 2.0. It adds an ID token that tells the app who the user is, as checked by a provider such as Google or Okta.
Used in: Authentication and authorization · Secrets and key management · Enterprise SSO and SCIM · Dependency and supply-chain security
Optimistic locking
You read without a lock, then write only if the row has not changed since you read it, often by checking a version number. If it changed, you retry.
Used in: Locking and MVCC in practice · DynamoDB in depth · Event-driven architecture and event sourcing · Redis in depth
Orchestration
A way to run a saga where one component tells each service what to do next and keeps the state of the whole flow.
Used in: Monolith, modular monolith or microservices · Consensus and Raft · Sagas, outbox and CDC
Order of magnitude
A rough size in powers of ten. 300 and 700 have the same order of magnitude (hundreds); 300 and 30,000 do not.
Used in: Latency numbers and back-of-envelope maths · Mechanical sympathy: CPU caches and memory · Scaling reads · Stream processing · Unique ID generation
Origin server
Your own server that holds the real content. A CDN fetches from it when its cache has no fresh copy.
Used in: CDNs and HTTP caching
Origin shield
An extra cache layer between a CDN's edge locations and your origin server. Edges ask the shield, and only the shield asks the origin.
Output encoding
Changing data just before you show it, so the browser displays it as text and does not run it as code. HTML, JavaScript and URLs each need their own encoder.
Used in: OWASP Top 10 and secure coding
Overfitting
Tuning a system so closely to one set of test cases that it scores well on them but does worse on new, real inputs.
Used in: Evals for LLM systems
Overselling
Selling more units of a product than you have in stock, usually because two orders took the same last item.
Ownership
Being the person responsible for a result, not just a task. The owner makes sure the work is finished, works in production and solves the real problem.
Used in: Authentication and authorization · Behavioural interviews and STAR stories · Career ladders and level expectations · Monolith, modular monolith or microservices · OWASP Top 10 and secure coding · What "senior" really means
P
PACELC
An extension of CAP. During a partition (P), choose availability (A) or consistency (C). Else (E), choose latency (L) or consistency (C).
Used in: CAP, PACELC and consistency models
Packet
One small chunk of data sent across a network, with a header that says where it comes from and where it goes. Big messages are split into many packets.
Used in: Batching and pipelining · Chaos engineering and game days · Client prediction and lag compensation · Failure detection and membership · HTTP/1.1, HTTP/2 and HTTP/3 · Leader election and leases · TCP/IP and the network stack · Why distributed systems are hard
Page cache
File data the Linux kernel keeps in RAM after a read or write. It makes repeated reads fast. Written data waits there before it goes to disk.
Used in: Kafka internals · OS essentials for backend engineers
Page split
What a B-tree does when a new key does not fit in a full page: it moves some keys to a new page and adds a pointer in the parent page.
Used in: B-tree vs LSM-tree
Parameterized query
A SQL query with placeholders, like "WHERE id = ?", where the values are sent separately. The database never treats those values as code.
Used in: OWASP Top 10 and secure coding
Partial failure
When some parts of a distributed system fail while other parts keep working. For example, one server or one network link breaks, and the rest of the system keeps running.
Used in: Monolith, modular monolith or microservices · Why distributed systems are hard
Partial index
An index that holds only the rows matching a condition, such as unbilled orders. It is smaller, but only queries with a matching condition can use it.
Partition
One piece of a dataset or stream that has been split up. Databases often call it a shard. In Kafka, a partition is one ordered log inside a topic.
Used in: Backpressure and flow control · Batching and pipelining · Cassandra in depth · Choosing a database · Coordination services: ZooKeeper and etcd · CQRS and read models · Deep dives and explaining trade-offs · DynamoDB in depth · Exactly-once and effectively-once · Kafka internals · Data modelling for NoSQL · Queues vs logs and delivery guarantees · Sagas, outbox and CDC · Scaling writes and hot keys · Sharding and consistent hashing · Stream processing
Pass-through method
A method that only calls another method with the same arguments and adds nothing. It is a sign of a shallow layer.
Used in: Complexity and deep modules
Password hash
The result of running a password through a slow one-way function, such as Argon2id, scrypt or bcrypt. The server stores only this, never the password, and cannot turn it back.
Used in: Authentication and authorization
Paxos
An older consensus algorithm by Leslie Lamport. A value is chosen in two phases, and each phase needs a majority of the servers.
Used in: Cassandra in depth · Distributed transactions and two-phase commit · DynamoDB in depth · Consensus and Raft
Payout
A transfer from your balance at a payment processor to your own bank account, usually on a schedule. One payout can contain many payments, refunds and fees.
Used in: Checkout and the order state machine · Complexity and deep modules · The payment lifecycle · Reconciliation
PCI DSS
The security standard for any business that stores, processes or sends card data. The less card data touches your systems, the less of it applies to you.
Used in: The payment lifecycle
Peeker's advantage
In online shooters, a player who steps around a corner sees the enemy before the enemy sees them, because of network delay and buffering.
Percentile
The value below which a given share of measurements fall. A p99 latency of 300 ms means 99% of requests took 300 ms or less.
Used in: Cassandra in depth · Choosing a database · Distributed tracing in practice · Fan-out on write vs fan-out on read · Latency numbers and back-of-envelope maths · Load balancing · Observability, SLOs and error budgets · Requirements and non-functional needs · Circuit breakers, bulkheads and fallbacks · Scaling reads · Service mesh and sidecars · Tail latency and queueing · Web performance and Core Web Vitals
Performance budget
A set of limits on numbers that affect speed, such as JavaScript size or LCP. Build tools can warn when a change goes over a limit.
Used in: Web performance and Core Web Vitals
Pessimistic locking
You lock a row before you read and change it, for example with SELECT ... FOR UPDATE. Others who want to change it wait until you commit.
Used in: Locking and MVCC in practice
Phi accrual failure detector
A failure detector that gives a suspicion score (phi) instead of yes or no. The score grows the longer a heartbeat is late, compared with how heartbeats usually arrive. Cassandra and Akka use it.
Used in: Failure detection and membership
Pilot light
A disaster recovery setup where data is copied to a second site all the time, but the app servers there stay off until you need them.
Used in: Disaster recovery and backups · Multi-region systems and data locality
Pipelining
Sending the next request on a connection before the reply to the last one arrives, so you pay the round trip once for many requests, not once each.
Used in: Batching and pipelining · HTTP/1.1, HTTP/2 and HTTP/3
PKCE
An OAuth add-on where the app sends a hash of a random secret at the start and the secret itself at the end. A stolen authorization code is then useless without the secret.
Used in: Authentication and authorization
Plan mode
A Claude Code mode where the agent reads files and proposes a plan, but does not change your source files.
Used in: Working with coding agents
Planning fallacy
The habit of underestimating the time, cost and risk of your own plans, because you think about the plan's details instead of how similar work really turned out.
Point-in-time recovery
Restoring a database to its exact state at a chosen moment, by loading a base backup and then replaying the saved change log up to that moment.
Used in: Disaster recovery and backups
Pointer chasing
Walking a linked structure, such as a linked list or tree, where each step must load a node to find the address of the next one. The CPU cannot fetch ahead, so each step may wait for memory.
Policy engine
A library or service that answers "is this request allowed?" by evaluating authorization rules written as code, kept apart from the application's own code.
Polyglot persistence
Using several kinds of databases in one system, each for the data it fits best. It adds running cost and data to keep in sync.
Used in: Choosing a database
Pool model
A SaaS design where tenants share the same resources. Cheap and simple to run, but needs tenant ids and limits to keep tenants apart.
Used in: Multi-tenancy and noisy neighbours
Port number
A number that picks one program on a machine, such as 443 for a web server. An IP address finds the machine; the port finds the program.
Used in: TCP/IP and the network stack
Postings
In an inverted index, the list of documents (and often positions) that contain one term.
Used in: Search systems and inverted indexes
Postmortem
A written record of an incident after it ends. It covers the impact, what was done, the causes and the follow-up actions.
Used in: Alerting and on-call · Chaos engineering and game days · Debugging production · Incident response and postmortems · Runbooks and reducing toil · Why distributed systems are hard
Power of two choices
A load balancing rule that picks two servers at random and sends the request to the less busy one.
Used in: Load balancing
Prepared transaction
A transaction that has voted yes in two-phase commit. It is saved on disk and keeps its locks until someone commits or rolls it back, even after a restart.
Primary key
The column, or set of columns, that names each row of a table. No two rows may have the same value.
Used in: B-tree vs LSM-tree · Cassandra in depth · Event-driven architecture and event sourcing · Exactly-once and effectively-once · Data modelling for NoSQL · API pagination and filtering · Scaling writes and hot keys · Schema migrations without downtime · Secondary, composite and special indexes · Unique ID generation
Problem details
A standard JSON shape for API error bodies, defined in RFC 9457. It has fields such as type, title, status and detail, so clients can handle every error the same way.
Used in: Error handling and defensive design · REST API design
Process
A running program. Each process has its own private memory, its own open files and its own limits, so one process normally cannot read or damage another's memory.
Used in: Chaos engineering and game days · Locks, atomics and deadlocks · Connection pooling and database limits · Coordination services: ZooKeeper and etcd · Error handling and defensive design · Failure detection and membership · Feature flags and entitlements · Big-tech interview loops · Load balancing · Monolith, modular monolith or microservices · OS essentials for backend engineers · PostgreSQL in depth · Queues vs logs and delivery guarantees · Redis in depth · Secrets and key management · Service mesh and sidecars · Tail latency and queueing · TCP/IP and the network stack · Testing strategy that scales
Processing time
The time on the clock of the machine that handles an event. It is simple and fast to use, but results change if events arrive late or a job catches up on a backlog.
Used in: Stream processing
Product discovery
The work of finding out what to build before you build it, for example by talking to users and testing ideas cheaply.
Used in: Working with PMs and the business
Product manager
The person who decides what a team should build and why. They own whether customers want it and whether it works for the business.
Used in: Behavioural interviews and STAR stories · Requirements and non-functional needs · Working with PMs and the business
Projection
A read model kept up to date by applying events or data changes one by one. The word also names the code that does this. You can throw it away and rebuild it from the source data.
Used in: CQRS and read models · Event-driven architecture and event sourcing
Prompt caching
A provider feature that saves the work done on a fixed start of a prompt and reuses it on later requests. It lowers cost and latency when the start is exactly the same.
Used in: LLM fundamentals for product engineers · RAG: retrieval-augmented generation
Prompt injection
An attack where text the model reads, such as a web page, file or issue, contains instructions that change what the model does.
Used in: Reviewing code written by humans and AI · Evals for LLM systems · Project memory: CLAUDE.md and rules files · Prompt and context engineering · RAG: retrieval-augmented generation
Proration
Charging or crediting only part of a fixed fee because a plan was used for only part of a billing period, for example 20 of 30 days.
Protocol Buffers
A compact binary format from Google. You describe messages in a .proto file, and each field has a number that is written on the wire instead of its name.
Used in: API versioning and deprecation · REST API design · Schema evolution and encoding
Pub/sub
Publish/subscribe. Senders publish messages to a named topic or channel, and every subscriber of that topic gets a copy. Senders do not need to know who listens.
Used in: Design patterns that still matter · Presence and real-time fan-out · WebSockets, SSE and long polling
Pull request
A proposed code change that others can read, comment on and approve before it is merged into the main branch. GitLab calls it a merge request.
Used in: Career ladders and level expectations · CI/CD and trunk-based development · Reviewing code written by humans and AI · Working with coding agents · Connection pooling and database limits · Complexity and deep modules · Design docs and RFCs · Feature flags and entitlements · Low-level and object-oriented design · Mentoring and sponsorship · Project memory: CLAUDE.md and rules files · Prompt and context engineering · REST API design · Runbooks and reducing toil · Schema migrations without downtime · Secondary, composite and special indexes · Dependency and supply-chain security · Managing technical debt
Q
QPS
Queries (or requests) per second. The usual way to say how much traffic a service gets.
Used in: Cassandra in depth · Latency numbers and back-of-envelope maths
Query plan
The steps a database chooses to run a query, such as which index to use or whether to scan the whole table. EXPLAIN shows it.
Used in: Data models and query languages · Scaling reads · Secondary, composite and special indexes
QUIC
A newer transport protocol that runs over UDP. It has reliable streams and built-in TLS, and a lost packet only blocks the streams it carried. HTTP/3 runs on it.
Used in: HTTP/1.1, HTTP/2 and HTTP/3 · TCP/IP and the network stack · TLS and secure connections
Quorum
The smallest number of nodes that must answer before a read or write counts. With 3 copies, a common quorum is 2.
Used in: Coordination services: ZooKeeper and etcd · DynamoDB in depth · Multi-region systems and data locality · Quorums and leaderless replication · Consensus and Raft · Replication
Quota
The most of something one customer may use, such as requests per second, storage or running jobs.
Used in: API gateways and edge concerns · Error handling and defensive design · Load shedding and graceful degradation · Multi-region systems and data locality · Multi-tenancy and noisy neighbours · Scaling from zero to millions of users
R
Race condition
A bug where the result depends on the timing of threads. Two threads touch the same data at about the same time, and one change can be lost.
Used in: Locks, atomics and deadlocks · Load shedding and graceful degradation
Raft
A consensus algorithm. One elected leader copies its log of changes to the other servers, and a change counts once a majority has stored it. etcd and Consul use it.
Used in: Coordination services: ZooKeeper and etcd · Failure detection and membership · Leader election and leases · Consensus and Raft
Raft term
A numbered period of time in Raft. Each term starts with an election and has at most one leader. A higher term always wins.
Used in: Leader election and leases · Consensus and Raft
RAG
Retrieval-augmented generation. The app first searches your own documents for text that matches the question, then gives that text to the model so it can answer from it.
Used in: LLM fundamentals for product engineers · RAG: retrieval-augmented generation
Rate limit
A rule that caps how many requests a client may make in a period of time, and rejects the extra ones.
Used in: API gateways and edge concerns · Backoff, jitter and retry budgets · Backpressure and flow control · Error handling and defensive design · Load shedding and graceful degradation · Multi-region systems and data locality · Multi-tenancy and noisy neighbours · Rate limiting · Redis in depth
RDB snapshot
A compact file with a point-in-time copy of all Redis data, written by a forked child process. If it is your only persistence, a crash loses the writes made since the last snapshot.
Used in: Redis in depth
Re-ranking
A second step after search. A separate model scores the top results again, and only the best few go to the language model.
Used in: RAG: retrieval-augmented generation
Read amplification
How many places, such as pages or files, a storage engine must check to answer one read.
Used in: B-tree vs LSM-tree
Read committed
An isolation level where you only see data that other transactions have committed. Each statement can see newer data than the last.
Used in: Locking and MVCC in practice · Inventory, overselling and flash sales · Transactions and isolation levels
Read model
A copy of data shaped for one kind of read, such as a feed table or search index. It is built from the main data and updated after each change.
Used in: CQRS and read models · Event-driven architecture and event sourcing · Fan-out on write vs fan-out on read · Scaling reads
Read repair
During a read, the node that asked several replicas sends the newest value to any replica that returned an older one.
Used in: Cassandra in depth · Quorums and leaderless replication
Read-through
A caching pattern where the app only talks to the cache, and the cache loads missing data from the database itself.
Used in: Caching and cache stampedes
Read-write lock
A lock that lets many readers in at the same time, or one writer alone. It helps when data is read often and changed rarely.
Used in: Locks, atomics and deadlocks
Read-your-writes
A promise that after you save something, your own later reads will show it, even if other users see it a bit later.
Used in: CAP, PACELC and consistency models · DynamoDB in depth · Replication · Scaling reads
Real user monitoring
Measuring performance in the browsers of your real visitors and sending the numbers to your own analytics.
Used in: Web performance and Core Web Vitals
Rebalancing
Moving data or work between machines so each one has a fair share, for example after you add a machine.
Used in: Failure detection and membership · Kafka internals · Sharding and consistent hashing
Recall@k
A search metric. Of the documents that should be found for a question, the share that appear in the top k results.
Used in: Evals for LLM systems · RAG: retrieval-augmented generation
Reciprocal rank fusion
A simple way to merge several ranked result lists. Each document gets 1 / (k + rank) points from each list, and the points are added up. It needs no tuning.
Used in: RAG: retrieval-augmented generation
Reconciliation
Regularly comparing your own records with outside records, like bank statements, and explaining every difference.
Used in: Billing, metering and usage-based pricing · Checkout and the order state machine · Exactly-once and effectively-once · Money and double-entry ledgers · The payment lifecycle · Reconciliation · Webhooks and async APIs · Why distributed systems are hard
Reconciliation break
A difference found during reconciliation, such as a payment that is on only one side, a wrong amount or a duplicate. Each one needs a type, an owner and a fix.
Used in: Reconciliation
Recovery point objective
The most data you accept to lose in a disaster, measured as time. An RPO of 5 minutes means you may lose up to the last 5 minutes of writes.
Used in: Disaster recovery and backups · Multi-region systems and data locality · Requirements and non-functional needs
Recovery time objective
The longest you accept a service to be down after a disaster before it works again. An RTO of 1 hour means you must be back within an hour.
Used in: Disaster recovery and backups · Requirements and non-functional needs
Recursive resolver
The DNS server your app asks. It walks the DNS tree for you, from the root down, and caches the answers it gets.
Used in: DNS and service discovery
RED method
A checklist for services: rate (requests per second), errors (how many fail) and duration (how long they take).
Used in: Debugging production
Redlock
A distributed lock algorithm for Redis. A client takes the same lock on a majority of several independent Redis primaries, for a limited time.
Used in: Locks, atomics and deadlocks · Leader election and leases · Redis in depth · The system design method, worked on Ticketmaster
Reference class forecasting
Estimating from how a group of similar past projects really turned out, then adjusting for clear differences. It is a way of taking the "outside view".
Refresh token
A longer-lived token that an app uses only to get new short-lived access tokens. The server can revoke it to end the login.
Used in: Enterprise SSO and SCIM
Relation tuple
One stored fact in a Zanzibar-style system, in the form object, relation, user. For example, "doc:plan#owner@user:ravi" means Ravi owns doc:plan.
Relationship-based access control
An authorization model where access comes from relationships between users and objects, such as "owner of this doc" or "member of a group that can view this folder".
Relying party
In OpenID Connect and WebAuthn, the app that relies on the provider's ID token to know who the user is. It plays the same part as the SAML service provider.
Used in: Enterprise SSO and SCIM
Render-blocking
A file the browser must load and process before it can show the page, such as CSS or a normal script tag in the head.
Used in: Web performance and Core Web Vitals
Replay attack
An attacker copies a real, correctly signed message and sends it again later, so the receiver acts on it twice.
Used in: The payment lifecycle · Webhooks and async APIs
Replica
A full copy of a database that runs on another machine and is kept up to date with the original.
Used in: CAP, PACELC and consistency models · Cassandra in depth · Choosing a database · CQRS and read models · Disaster recovery and backups · Distributed caches · DynamoDB in depth · Exactly-once and effectively-once · Fan-out on write vs fan-out on read · Kafka internals · Leader election and leases · Data modelling for NoSQL · API pagination and filtering · PostgreSQL in depth · Quorums and leaderless replication · Redis in depth · Replication · Requirements and non-functional needs · Scaling reads · Scaling writes and hot keys · Schema migrations without downtime · Search systems and inverted indexes · Secondary, composite and special indexes · Sharding and consistent hashing · Tail latency and queueing · Scaling from zero to millions of users
Replicated state machine
Several servers that run the same commands in the same order from a shared log, so they all end up with the same state.
Used in: Consensus and Raft
Replication factor
How many copies of each piece of data a database keeps, on different nodes. Often written RF or N.
Used in: Quorums and leaderless replication
Replication lag
How far a follower is behind the leader. A write on the leader is not yet visible on a follower during this time.
Used in: CAP, PACELC and consistency models · Distributed tracing in practice · Multi-region systems and data locality · Replication
Replication slot
A PostgreSQL record of how far one replica or reader has got. The primary keeps the change log until that reader has received it, so a forgotten slot can fill the disk.
Used in: PostgreSQL in depth · Sagas, outbox and CDC
Request coalescing
Letting only one request load a missing key, while other requests for the same key wait and share its answer.
Used in: Caching and cache stampedes
Request router
The front door of a distributed database such as DynamoDB. It checks who sent each request, finds which partition holds the key, and forwards the request there.
Used in: DynamoDB in depth
Reservation
Stock held for one buyer for a short time, for example during checkout. It is released if the buyer does not pay in time.
Retry
Sending the same request again after it failed or timed out.
Used in: API gateways and edge concerns · Backoff, jitter and retry budgets · Batching and pipelining · Behavioural interviews and STAR stories · Billing, metering and usage-based pricing · Cassandra in depth · Chaos engineering and game days · Checkout and the order state machine · Reviewing code written by humans and AI · Locking and MVCC in practice · Locks, atomics and deadlocks · Domain-driven design · Design patterns that still matter · Distributed tracing in practice · DynamoDB in depth · Error handling and defensive design · Event-driven architecture and event sourcing · Exactly-once and effectively-once · Fan-out on write vs fan-out on read · HTTP/1.1, HTTP/2 and HTTP/3 · Idempotency, retries and timeouts · Kafka internals · Latency numbers and back-of-envelope maths · LLM fundamentals for product engineers · Load shedding and graceful degradation · Mentoring and sponsorship · Money and double-entry ledgers · Monolith, modular monolith or microservices · Multi-region systems and data locality · Multi-tenancy and noisy neighbours · The payment lifecycle · Queues vs logs and delivery guarantees · Quorums and leaderless replication · Rate limiting · Reconciliation · Redis in depth · Circuit breakers, bulkheads and fallbacks · REST API design · Sagas, outbox and CDC · Schema migrations without downtime · Search systems and inverted indexes · Secrets and key management · Service mesh and sidecars · The system design method, worked on Ticketmaster · Tail latency and queueing · TCP/IP and the network stack · Transactions and isolation levels · Webhooks and async APIs · Why distributed systems are hard
Retry amplification
When retries turn one request into many calls. They multiply when several layers each retry. Three layers that each try 4 times can send 64 calls to the bottom layer.
Used in: API gateways and edge concerns · Backoff, jitter and retry budgets · Exactly-once and effectively-once · Load shedding and graceful degradation
Retry budget
A limit on how many retries a client may send, such as retries under 10% of its requests. When the budget is used up, the client fails the request instead of retrying.
Used in: API gateways and edge concerns · Backoff, jitter and retry budgets · Tail latency and queueing
Retry-After
An HTTP header that tells the client how long to wait, in seconds or until a date, before it sends the next request.
Used in: Rate limiting
Reversal
New ledger entries with the same amounts and opposite signs, used to cancel wrong entries without editing or deleting them.
Used in: Money and double-entry ledgers · Reconciliation
RFC
Short for "request for comments". A written proposal shared so that others can comment before a decision is made. Many companies use it as another name for a design doc with a formal review.
Used in: Authentication and authorization · Batching and pipelining · CDNs and HTTP caching · Design docs and RFCs · DNS and service discovery · Error handling and defensive design · HTTP/1.1, HTTP/2 and HTTP/3 · WebSockets, SSE and long polling · Enterprise SSO and SCIM · TLS and secure connections · Unique ID generation
Role-based access control
An authorization model where permissions belong to roles, such as "editor", and users get permissions by being given roles.
Roll forward
Fixing a bad release by shipping a new fix, not by going back to the old version.
Rollback
Undoing a deploy or config change by going back to the last version that worked.
Used in: API gateways and edge concerns · CI/CD and trunk-based development · Debugging production · Design docs and RFCs · Incident response and postmortems · Evals for LLM systems · Runbooks and reducing toil · Safe deploys and config changes · Sagas, outbox and CDC · Schema migrations without downtime · Service mesh and sidecars · Transactions and isolation levels · Unique ID generation · Web performance and Core Web Vitals
Rollback netcode
Each player's game guesses the other player's inputs and keeps running. When the real inputs differ, it goes back and re-runs the game from that point.
Rolling deploy
A deploy that replaces old servers or pods with new ones a few at a time. For a while, old and new versions run side by side.
Used in: Connection pooling and database limits · Schema evolution and encoding · Schema migrations without downtime
Root cause
The deeper reason a problem happened, not just its visible symptom. Big incidents often have several contributing causes.
Used in: Checkout and the order state machine · Time, clocks and ordering · Debugging production · Incident response and postmortems · The payment lifecycle
Root name server
A DNS server at the top of the name tree. It does not know final answers. It tells resolvers which servers handle .com, .org and other top-level domains.
Used in: DNS and service discovery
Round-robin
A load balancing rule that gives each server the next request in turn, without looking at how busy it is.
Used in: Load balancing
Round-trip time
The time for a message to go from your computer to the server and for the answer to come back. Games often call it ping.
Used in: Batching and pipelining · Client prediction and lag compensation · Multi-region systems and data locality · WebSockets, SSE and long polling · TCP/IP and the network stack
Row lock
A lock on one database row. Other transactions that want to change or lock that row wait until the holder commits or rolls back.
Used in: Locks, atomics and deadlocks · Coordination services: ZooKeeper and etcd · Distributed transactions and two-phase commit · Inventory, overselling and flash sales · Scaling writes and hot keys · Schema migrations without downtime · Transactions and isolation levels
Row-level security
A database feature that adds a filter, such as "only this tenant's rows", to every query on a table, so one missed WHERE clause cannot leak data. Superusers, and usually table owners, skip it.
Used in: Multi-tenancy and noisy neighbours
RSU
Restricted stock unit. A promise from a company to give you shares once vesting conditions, such as staying for a set time, are met. You own no shares on the day of the grant.
Used in: Negotiation and compensation
Rubric
A written list of rules for grading an answer, such as what a strong interview answer must show, or that an AI reply "must mention the refund deadline".
Used in: Behavioural interviews and STAR stories · Big-tech interview loops · Evals for LLM systems
Rules file
A file of standing instructions that a coding tool loads into the agent's context, such as Cursor rules or Copilot instructions. It guides the agent but does not enforce anything.
Runbook
A short written guide for one alert or task. It says what the problem means, how to check it and what steps fix it.
Used in: Alerting and on-call · Chaos engineering and game days · Choosing a database · Disaster recovery and backups · Distributed transactions and two-phase commit · Multi-region systems and data locality · Runbooks and reducing toil
S
Saga
A chain of small local transactions across services. If a later step fails, earlier steps are undone by compensating transactions.
Used in: Distributed transactions and two-phase commit · Sagas, outbox and CDC
Salt
A random value added to each password before hashing, so two users with the same password get different hashes. Good libraries create and store it for you.
Used in: Authentication and authorization
SAML
Security Assertion Markup Language. An XML standard for single sign-on. The company's identity provider sends the app a signed XML assertion that says who logged in.
Used in: Enterprise SSO and SCIM
Savepoint
In Flink, a checkpoint you trigger by hand. You use it to stop a job, deploy new code or change parallelism, then resume from the same state.
Used in: Stream processing
SBI model
A way to give feedback in three parts. Name the situation, describe the behaviour you saw, and say what impact it had. It avoids judging the person.
Used in: Mentoring and sponsorship
Scatter/gather
Sending one query to every shard and merging the answers. It is as slow as the slowest shard.
Used in: Sharding and consistent hashing
Schema registry
A service that stores every version of a data schema under an id, so readers can look up how a message was written. It can also reject changes that break compatibility.
Used in: Schema evolution and encoding
Schema-on-read
The database does not force a structure on writes. The code that reads the data decides what it means, and must handle old and new shapes.
Used in: Data models and query languages
Schema-on-write
The database checks every write against a fixed schema, such as a SQL table definition, and rejects data that does not fit.
Used in: Data models and query languages
SCIM
System for Cross-domain Identity Management. A REST API standard that lets a company's identity provider create, update and deactivate users and groups in a SaaS app.
Used in: Enterprise SSO and SCIM
Scope
What a piece of work covers. In a project, it is the list of features that are in or out. In a career, it is the size of the work you own, from one task up to work across many teams.
Used in: Authentication and authorization · Behavioural interviews and STAR stories · Career ladders and level expectations · Design docs and RFCs · Estimation and planning under uncertainty · Incident response and postmortems · Big-tech interview loops · Low-level and object-oriented design · The payment lifecycle · Requirements and non-functional needs · The system design method, worked on Ticketmaster · Testing strategy that scales · What "senior" really means
Scribe
The person in an incident who writes down what happens, with the time, such as each decision, change and status update.
Used in: Incident response and postmortems
Secondary index
An extra index that lets you find rows by a field other than the main key, such as orders by customer ID.
Used in: CQRS and read models · DynamoDB in depth · Data modelling for NoSQL · Schema migrations without downtime · Secondary, composite and special indexes · Sharding and consistent hashing
Secret scanning
Searching code, commits and history for things that look like passwords, API keys or private keys, so you can revoke them before someone uses them.
Used in: OWASP Top 10 and secure coding · Secrets and key management
Secrets manager
A service that stores passwords, keys and tokens, controls who may read them, and hands them to apps at run time, so they never sit in code.
Used in: OWASP Top 10 and secure coding · Secrets and key management
Sequential consistency
Everyone sees all operations in the same order, and each client's own order is kept. The order may lag behind real time.
Serializable
The strictest isolation level. The result is the same as if the transactions had run one after another.
Used in: Transactions and isolation levels
Serializable read
In etcd, a read that one member answers from its own copy without asking the others. It is faster, but it may return stale data.
Server reconciliation
When an old server state arrives, the client resets to it and replays the inputs the server has not processed yet, so the player does not jump back.
Server-Sent Events
A web standard where the browser opens one long HTTP response and the server keeps writing events into it. Data flows one way, from server to client.
Used in: LLM fundamentals for product engineers · WebSockets, SSE and long polling · Webhooks and async APIs
Server-side rendering
Building a page's HTML on the server for each request, so the browser gets content instead of an empty page and a large script.
Server-side request forgery
An attack that tricks your server into sending requests to places the attacker picks, such as internal services or a cloud metadata address.
Used in: OWASP Top 10 and secure coding · Webhooks and async APIs
Service discovery
How one service finds the current network addresses of another service, while servers start, stop and move.
Used in: Backpressure and flow control · Coordination services: ZooKeeper and etcd · Distributed caches · DNS and service discovery · Consensus and Raft · Service mesh and sidecars
Service mesh
A layer of proxies, often one next to each service, that handles traffic between services, such as retries, mutual TLS and metrics, without changes to app code.
Used in: API gateways and edge concerns · Backoff, jitter and retry budgets · Service mesh and sidecars · Threat modelling and zero trust · TLS and secure connections
Service provider
In SAML, the app that receives the identity provider's signed assertion and logs the user in. Often called the SP.
Used in: Enterprise SSO and SCIM
Service registry
A shared list of running service instances and their addresses, kept current by health checks. Consul is a common example.
Used in: DNS and service discovery
Session window
A window that groups the events of one key, such as one user, and closes after a gap with no events, for example 30 minutes. Its length depends on the data.
Used in: Stream processing
Settlement
The step, often days after a payment, when banks actually move the money to the processor or merchant.
Used in: The payment lifecycle · Reconciliation
Severity level
A number that says how bad an incident is, often SEV-1 for the worst. It decides who gets paged and how fast the team must act.
Used in: Incident response and postmortems
Shallow module
A module whose interface is complex, or that does little work. Calling it is not much easier than writing its code yourself.
Used in: Complexity and deep modules
Shard
One piece of a large dataset that has been split across machines. Each shard holds a different part of the data.
Used in: CQRS and read models · Deep dives and explaining trade-offs · Distributed caches · Inventory, overselling and flash sales · Multi-tenancy and noisy neighbours · API pagination and filtering · PostgreSQL in depth · Presence and real-time fan-out · Redis in depth · Scaling writes and hot keys · Search systems and inverted indexes · Sharding and consistent hashing · Unique ID generation · Scaling from zero to millions of users
Shard key
The field, such as a user ID, that decides which shard a record lives on.
Used in: Cassandra in depth · Choosing a database · Deep dives and explaining trade-offs · DynamoDB in depth · Multi-tenancy and noisy neighbours · Data modelling for NoSQL · Scaling writes and hot keys · Secondary, composite and special indexes · Sharding and consistent hashing · Unique ID generation
Sharded counter
One count split across many rows. Each write adds to a random row, so no single row gets all the writes. To read the total, you add up all the rows.
Used in: Deep dives and explaining trade-offs · Scaling writes and hot keys
Shuffle sharding
Giving each customer a random small set of workers, so two customers rarely share the exact same set and one bad customer fully hurts very few others.
Used in: Multi-tenancy and noisy neighbours
Side output
An extra output stream from a stream processing step. Flink can send events that arrive too late for their window there, so they are not lost silently.
Used in: Stream processing
Sidecar proxy
A proxy that runs next to one app, in the same pod, and handles its network traffic. The app talks to it as if it were the network.
Used in: Service mesh and sidecars
Silo model
A SaaS design where a tenant gets its own resources, such as its own database or full stack. Strong isolation, higher cost.
Used in: Multi-tenancy and noisy neighbours
Single point of failure
One part that, if it fails, stops the whole system. You remove it by running more than one copy and making sure they do not all fail together.
Used in: API gateways and edge concerns · Coordination services: ZooKeeper and etcd · Disaster recovery and backups · Distributed transactions and two-phase commit · Sagas, outbox and CDC
Single responsibility principle
The "S" in SOLID. A module should have one reason to change, meaning one group of people who ask for its changes. It does not mean "one method per class".
Used in: SOLID, coupling and cohesion
Single sign-on
Logging in once with one account, often a company account, and then using many apps without a separate password for each.
Used in: Secrets and key management · Enterprise SSO and SCIM
Single-table design
A DynamoDB pattern that stores several kinds of item, such as users and orders, in one table, so related items can be read with one request.
Used in: Data modelling for NoSQL
Singleton
A class that allows only one instance and gives global access to it, often through getInstance(). Used as global state, it hides dependencies and can leak state between tests.
Used in: Design patterns that still matter · Low-level and object-oriented design
SLA
Service level agreement. A contract with customers that promises a level of service and has a penalty if it is missed.
SLI
Service level indicator. A measure of how well a service works for users, often good events divided by valid events.
Used in: Alerting and on-call · Observability, SLOs and error budgets
Sliding window
A rate limit that counts requests in the last N seconds, measured from now, so there is no reset edge to exploit.
Used in: Rate limiting
SLO
Service level objective. A target for an SLI over a time window, such as 99.9% of requests succeed over 4 weeks.
Used in: Alerting and on-call · Observability, SLOs and error budgets · Web performance and Core Web Vitals
Sloppy quorum
A quorum that counts the first healthy nodes it can reach, even if they are not the key's usual replicas. It keeps writes working during failures, but reads may miss them.
Used in: Quorums and leaderless replication
Slopsquatting
An informal name for a package confusion attack where someone publishes a real, harmful package under a name that AI models tend to invent, and waits for AI-written code to install it.
Used in: Reviewing code written by humans and AI · Dependency and supply-chain security
SLSA
Supply-chain Levels for Software Artifacts, a framework that grades how hard it is to tamper with your builds, from Build L0 (nothing) to Build L3 (hardened builds).
Used in: CI/CD and trunk-based development · Dependency and supply-chain security
Snapshot isolation
An isolation level where a transaction reads from one frozen view of the database, taken at its first statement.
Used in: Transactions and isolation levels
SNI
A TLS extension where the client sends the host name it wants in its first message, so one IP address can serve many sites with different certificates.
Used in: TLS and secure connections
Snowflake ID
A 64-bit ID built from a timestamp, a machine number and a counter, first made by Twitter. IDs from one machine sort by time.
Used in: Unique ID generation
Software bill of materials
A list of every component and version inside your software, including dependencies of dependencies. It tells you fast whether a newly found flaw affects you.
Used in: OWASP Top 10 and secure coding · Dependency and supply-chain security
Sort key
The second part of a primary key in DynamoDB or Cassandra. It sorts the items inside one partition, so you can read a range of them in order. Cassandra calls it a clustering key.
Used in: DynamoDB in depth · Data modelling for NoSQL · Secondary, composite and special indexes
Sorted set
A Redis data type that keeps unique members ordered by a number called a score. You can add, update and rank members quickly, so it suits leaderboards.
Used in: Fan-out on write vs fan-out on read · Redis in depth
Space amplification
How much disk a storage engine uses compared with the size of the live data, for example because of old versions.
Used in: B-tree vs LSM-tree
Span
One step inside a trace, such as one call to a database, with its start time and duration.
Used in: Debugging production · Distributed tracing in practice · DynamoDB in depth · Observability, SLOs and error budgets · Sagas, outbox and CDC · Service mesh and sidecars · Transactions and isolation levels
Spike solution
A very simple program that explores one hard technical or design question and ignores everything else. It is usually thrown away. It reduces risk or makes an estimate more reliable.
Split-brain
A failure where two nodes both think they are the leader and both accept writes. The two copies then disagree.
Used in: Leader election and leases · Multi-region systems and data locality · Consensus and Raft · Replication
Sponsorship
Using your own influence to create chances for someone else, such as naming them for a lead role or crediting their work in public. It is more than giving advice.
Used in: Career ladders and level expectations · Mentoring and sponsorship
SQL injection
An attack where user input changes the meaning of a SQL query, because the code glued the input into the query text. Parameterized queries stop it.
Used in: OWASP Top 10 and secure coding
SRV record
A DNS record that says where a service runs, as a host name and a port, with a priority and a weight for choosing between hosts.
SSTable
A sorted file on disk that an LSM-tree writes once and never changes. New data goes into new SSTables.
Used in: B-tree vs LSM-tree · Cassandra in depth
Stack trace
The list of function calls that were running when an error happened, printed with the error. It shows where in the code the error came from.
Used in: Working with coding agents · Locks, atomics and deadlocks · Error handling and defensive design · OWASP Top 10 and secure coding
Staff engineer
A level above senior on the technical (non-manager) path at many companies. A staff engineer often sets technical direction for problems that cross many teams.
Used in: Career ladders and level expectations · What "senior" really means
Staged rollout
Releasing a change to a growing share of servers or users in steps, checking health at each step before the next.
Used in: Safe deploys and config changes · Testing strategy that scales
Stale-while-revalidate
Serving an expired cached value for a short time while one request fetches a fresh copy in the background.
Used in: Caching and cache stampedes
STAR method
A way to tell a story about past work in four parts: Situation, Task, Action and Result. Companies such as Amazon and Google suggest it for behavioural interviews.
Used in: Behavioural interviews and STAR stories · Big-tech interview loops
Starvation
A thread never gets the lock or resource it waits for, because other threads always get it first.
Used in: Locks, atomics and deadlocks
State backend
The part of a stream processor that stores its state. In Flink, the default keeps state in memory on the Java heap; the RocksDB backend keeps it on local disk.
Used in: Stream processing
State machine
A model where a thing is always in exactly one named state, and only listed moves (transitions) can change that state. For example, an order can go from confirmed to shipped, but not from cancelled to shipped.
Used in: The payment lifecycle
Stateless
A stateless server keeps no user data in its own memory between requests. Any server can handle any request, so you can add or remove servers easily.
Used in: Load balancing · Scaling from zero to millions of users
Statically stable
A system that keeps working through a failure without needing control plane changes, such as launching new servers or creating DNS records. Recovery uses only what is already running.
Status page
A web page where a company tells users whether its services work, and posts updates during an incident.
Used in: Debugging production · Incident response and postmortems · Requirements and non-functional needs
Steady state
In a chaos experiment, a measurable output that shows the system is working normally, such as orders per second or p99 latency. You compare it with and without the fault.
Used in: Chaos engineering and game days
Stemming
Cutting a word to a root form, so "running" and "run" or "foxes" and "fox" match the same search term.
Used in: Search systems and inverted indexes
Sticky session
A load balancer setting that sends every request from one user to the same server, often using a cookie.
Used in: Load balancing
Stock option
The right, but not the duty, to buy company shares at a fixed price (the strike price) after they vest. It has value only while the share price is above that price.
Used in: Negotiation and compensation
Stop word
A very common word, like "the" or "for", that a search engine often drops because it does not help find documents.
Used in: Search systems and inverted indexes
Story bank
A short list of true stories from your past work, prepared before interviews. Each story is linked to the themes it can answer, such as conflict or failure.
Strangler fig
A way to replace an old system bit by bit. You build new parts next to it and move behaviour across one piece at a time, instead of one big rewrite.
Strategy pattern
A design pattern that puts each variant of one decision, such as how to price an order, behind the same shape so you can swap them. In modern languages it is often just a function you pass in.
Used in: Design patterns that still matter · Low-level and object-oriented design
Stretch assignment
Work that is a little above someone's current level, given on purpose so they can grow. It works best with clear goals and a way to undo mistakes.
Used in: Mentoring and sponsorship
Strike price
The fixed price per share at which a stock option lets you buy shares. It is set when the option is granted.
Used in: Negotiation and compensation
Structured interview
An interview where every candidate for a role gets the same planned questions, and answers are scored against the same written rubric.
Structured output
A model feature that forces the reply to match a JSON schema you give. It controls the shape of the data, not whether the values are true.
Used in: LLM fundamentals for product engineers · Prompt and context engineering
Subagent
A helper agent that works in its own, separate context and sends back only a short summary.
Used in: Reviewing code written by humans and AI · Working with coding agents
Suspense account
A ledger account where you put money you cannot explain yet, so it is not lost or counted as income. Someone owns each item and moves it out once it is explained.
Used in: Reconciliation
SWIM
A membership protocol where each node pings one random member per round, asks others to ping it when there is no reply, and spreads the result by gossip. HashiCorp memberlist is based on it.
Used in: Failure detection and membership
Synchronous replication
The leader waits until a follower confirms it has the change before it tells the client the write is done.
Used in: Replication
System call
A request from your program to the kernel, such as read, write or open. The CPU switches into kernel mode to do it, which costs time.
Used in: Batching and pipelining · OS essentials for backend engineers
System prompt
The fixed instructions an app sends to a model with every request, such as its role, rules and output format. It is not a secret and not a security control.
Used in: LLM fundamentals for product engineers · Prompt and context engineering
T
Table bloat
A table that takes much more disk space than its live rows need, because it is full of old, dead row versions or empty space.
Used in: Locking and MVCC in practice
Table rewrite
When a schema change makes the database copy every row of a table, and often rebuild its indexes. On a big table this can take a long time and lock it.
Used in: Schema migrations without downtime
Tail latency
The latency of the slowest requests, such as the p99 or p99.9. It is what your unluckiest users feel.
Tail-based sampling
Deciding whether to keep a trace after it has finished, so you can keep every slow or failed one. Needs servers that hold spans in memory until the trace ends.
Used in: Distributed tracing in practice
TCP
The transport protocol most of the internet uses. It opens a connection and delivers bytes reliably and in order, sending lost data again.
Used in: Backpressure and flow control · Batching and pipelining · HTTP/1.1, HTTP/2 and HTTP/3 · Load balancing · OS essentials for backend engineers · WebSockets, SSE and long polling · TCP/IP and the network stack · TLS and secure connections · Why distributed systems are hard
Technical debt
Weak spots in code or design that make future changes to that code slower. The extra effort is the "interest"; cleaning up is paying back the debt.
Used in: Working with PMs and the business
Temperature setting
A request setting that controls how random a model's word choice is. Higher gives more varied text. Lower sticks to the most likely words, but output can still vary.
Template Method pattern
A design pattern where a base class fixes the order of steps and subclasses fill in the steps that differ. Passing the changing step in as a function is often simpler.
Used in: Design patterns that still matter
Tenant
One customer organisation, such as one company, in a system that serves many customers. Its data and load must stay separate from other tenants.
Used in: Authentication and authorization · Authorization models: RBAC, ABAC and ReBAC · Debugging production · Multi-region systems and data locality · Multi-tenancy and noisy neighbours · Data modelling for NoSQL · Scaling writes and hot keys · Enterprise SSO and SCIM · Threat modelling and zero trust
Test double
A fake object that stands in for a real one in a test, such as a fake payment service that always says "paid".
Used in: Testing strategy that scales
Test pyramid
A picture of a healthy test suite. Many fast unit tests at the bottom, fewer integration tests, and a few slow end-to-end tests at the top.
Used in: Testing strategy that scales
TF-IDF
A way to score search matches. A term counts more if it appears often in the document and appears in few documents overall.
Used in: Search systems and inverted indexes
Thin event
An event that only says what changed and which object it was, with an id. The receiver calls the API to get the object's current data.
Used in: Webhooks and async APIs
Thread
One line of execution inside a process. Threads of one process share its memory and open files, but each thread has its own stack.
Used in: Backpressure and flow control · Batching and pipelining · Locks, atomics and deadlocks · Distributed tracing in practice · Error handling and defensive design · Idempotency, retries and timeouts · Low-level and object-oriented design · Load shedding and graceful degradation · Mechanical sympathy: CPU caches and memory · OS essentials for backend engineers · Redis in depth · Circuit breakers, bulkheads and fallbacks · Search systems and inverted indexes · Tail latency and queueing · Why distributed systems are hard
Threat model
A structured look at a design to find what could go wrong with its security and privacy, and to decide what to do about each risk. Best done during design and updated as the design changes.
Used in: Threat modelling and zero trust
Three-way handshake
How TCP opens a connection. The client sends SYN, the server answers SYN-ACK, and the client sends ACK. It costs one round trip before any data moves.
Used in: HTTP/1.1, HTTP/2 and HTTP/3 · TCP/IP and the network stack
Tick rate
How many times per second a game server updates the world. Each update is one tick. A 15 ms tick means about 66 ticks per second.
Ticket server
A small database server whose only job is to hand out unique numbers, for example for primary keys in a sharded system.
Used in: Unique ID generation
Tie-breaker
A unique column, such as the id, added at the end of a sort order. When two rows have the same value, it decides which comes first, so the order never changes.
Used in: API pagination and filtering
Tied request
Sending a request to two servers at once; the first server to start work on it tells the other to cancel.
Used in: Tail latency and queueing
Tiered pricing
A price plan where the unit price changes with volume. In the graduated form, each tier's units are charged at that tier's price.
Time to first byte
The time from the start of a page request until the first byte of the response arrives. It includes redirects, DNS, the connection, TLS and the server's work.
Used in: Web performance and Core Web Vitals
Time to first token
How long a model takes to send the first token of its reply after it gets the request. It is how long a user waits before any text appears.
Time-series database
A database built for timestamped data points, like metrics or sensor readings. It makes writes and time-range queries cheap.
Timeout
A time limit for waiting. If no answer comes back in time, the caller stops waiting.
Used in: Alerting and on-call · API gateways and edge concerns · Behavioural interviews and STAR stories · Caching and cache stampedes · Cassandra in depth · Chaos engineering and game days · Checkout and the order state machine · Locks, atomics and deadlocks · Connection pooling and database limits · Coordination services: ZooKeeper and etcd · CQRS and read models · Distributed transactions and two-phase commit · Error handling and defensive design · Exactly-once and effectively-once · Failure detection and membership · Idempotency, retries and timeouts · Kafka internals · Leader election and leases · LLM fundamentals for product engineers · Load balancing · Load shedding and graceful degradation · Monolith, modular monolith or microservices · PostgreSQL in depth · Presence and real-time fan-out · Queues vs logs and delivery guarantees · Quorums and leaderless replication · Consensus and Raft · Rate limiting · WebSockets, SSE and long polling · Redis in depth · Replication · Circuit breakers, bulkheads and fallbacks · Runbooks and reducing toil · Sagas, outbox and CDC · Schema migrations without downtime · Service mesh and sidecars · The system design method, worked on Ticketmaster · Tail latency and queueing · TCP/IP and the network stack · Testing strategy that scales · Webhooks and async APIs · Why distributed systems are hard
TLS
Transport Layer Security. A protocol that encrypts data on a connection, detects changes to it, and lets the client check the server's identity with a certificate. The server can also ask the client for one. HTTPS is HTTP over TLS.
Used in: API gateways and edge concerns · Authentication and authorization · HTTP/1.1, HTTP/2 and HTTP/3 · Service mesh and sidecars · TCP/IP and the network stack · TLS and secure connections · Web performance and Core Web Vitals
TLS termination
Ending the encrypted TLS connection at a proxy or gateway. The proxy decrypts the request, can inspect it, and then forwards it, ideally over a new TLS connection.
Used in: API gateways and edge concerns
Toil
Manual, repetitive work tied to running a service. A machine could do it, it leaves no lasting improvement, and it grows as the service grows.
Used in: Alerting and on-call · Runbooks and reducing toil
Token bucket
A rate limit where each request takes a token from a bucket that refills at a fixed rate. The bucket size sets the biggest burst.
Used in: API gateways and edge concerns · Backoff, jitter and retry budgets · Multi-tenancy and noisy neighbours · Rate limiting
Tokenization
Splitting text into small pieces, usually words, before they are cleaned and indexed for search.
Used in: LLM fundamentals for product engineers · Search systems and inverted indexes
Tombstone
A marker that says a key was deleted. Stores that never change old files write it instead of removing data, and clean it up later.
Used in: B-tree vs LSM-tree · Cassandra in depth · Kafka internals · Data modelling for NoSQL · Quorums and leaderless replication
Tool use
A model feature where the model asks your app to run a function, with arguments in a fixed format. Your code runs it and sends the result back.
Top-level domain
The last part of a domain name, like .com or .org. Its name servers know which servers hold each domain under it.
Used in: DNS and service discovery
Total Blocking Time
A lab metric: the total time after First Contentful Paint when long tasks block the main thread. Only the part of each task over 50 ms counts. It helps find INP problems but does not replace INP.
Used in: Web performance and Core Web Vitals
Trace
A record of the path one request takes through many services, with the timing of each step.
Used in: Debugging production · Distributed tracing in practice · Event-driven architecture and event sourcing · Evals for LLM systems · Monolith, modular monolith or microservices · Observability, SLOs and error budgets · REST API design · Search systems and inverted indexes · Service mesh and sidecars · TCP/IP and the network stack
Transaction
A group of database reads and writes that succeed or fail as one unit.
Used in: Batching and pipelining · B-tree vs LSM-tree · Checkout and the order state machine · Choosing a database · Time, clocks and ordering · Locking and MVCC in practice · Locks, atomics and deadlocks · Connection pooling and database limits · CQRS and read models · Domain-driven design · Disaster recovery and backups · Distributed transactions and two-phase commit · DynamoDB in depth · Exactly-once and effectively-once · Clean and hexagonal architecture · Idempotency, retries and timeouts · Inventory, overselling and flash sales · Kafka internals · Load shedding and graceful degradation · Monolith, modular monolith or microservices · Multi-region systems and data locality · Multi-tenancy and noisy neighbours · Data modelling for NoSQL · OS essentials for backend engineers · API pagination and filtering · The payment lifecycle · PostgreSQL in depth · Queues vs logs and delivery guarantees · Redis in depth · Replication · Sagas, outbox and CDC · Scaling reads · Scaling writes and hot keys · Schema migrations without downtime · Search systems and inverted indexes · Secondary, composite and special indexes · Stream processing · The system design method, worked on Ticketmaster · Transactions and isolation levels · Unique ID generation · Webhooks and async APIs
Transaction ID wraparound
PostgreSQL numbers transactions with a 32-bit counter that wraps around. VACUUM must freeze old rows in time, or Postgres stops new writes to keep old data from looking like it is in the future.
Used in: Distributed transactions and two-phase commit · PostgreSQL in depth
Transaction pooling
A pooler mode, as in PgBouncer, where a client gets a database connection only for one transaction. Many clients can share a few connections, but session state such as SET or LISTEN does not carry over.
Transactional outbox
A table where a service saves outgoing events in the same transaction as its data. A separate relay then publishes them.
Used in: Checkout and the order state machine · CQRS and read models · Domain-driven design · Sagas, outbox and CDC · Search systems and inverted indexes · Webhooks and async APIs
Transient error
An error that may go away on its own in a moment, such as a busy service or a dropped connection. These are the errors worth retrying.
Used in: Backoff, jitter and retry budgets · Error handling and defensive design
Transitive dependency
A package you did not add yourself, but that one of your dependencies needs. Most of the code in a typical app arrives this way.
Used in: Dependency and supply-chain security
Transparency log
A public, append-only record of events such as signatures or certificates. Anyone can check it, and nobody can quietly change past entries.
Used in: Dependency and supply-chain security
TrueTime
Google's clock API used by Spanner. It returns a time interval that is sure to contain the true time, instead of a single time.
Used in: Time, clocks and ordering
Trunk-based development
A way of working where every developer merges small changes into one shared branch (trunk or main) at least daily, instead of keeping long-lived branches.
Used in: CI/CD and trunk-based development
Trust boundary
A point where data enters your code from a source you do not control, such as a user, a partner or another team's service. Data should be checked there.
Used in: Error handling and defensive design · Threat modelling and zero trust
Trust store
The set of root certificates that an operating system, browser or runtime trusts. A certificate chain must end at one of them.
Used in: TLS and secure connections
TTL
Time to live. How long a stored value, such as a cache entry, a lock or a seat hold, lives before it expires.
Used in: Backoff, jitter and retry budgets · Backpressure and flow control · B-tree vs LSM-tree · Caching and cache stampedes · Cassandra in depth · Checkout and the order state machine · Coordination services: ZooKeeper and etcd · Distributed caches · DNS and service discovery · DynamoDB in depth · Exactly-once and effectively-once · Leader election and leases · Load balancing · Redis in depth · Scaling reads · The system design method, worked on Ticketmaster
Tumbling window
A time window of fixed size that does not overlap with the next one, like each minute. Every event belongs to exactly one tumbling window.
Used in: Stream processing
Two generals problem
A thought experiment. Two sides talk over a link that can lose messages. However many acknowledgements they exchange, neither can be certain the other got the last one.
Used in: Exactly-once and effectively-once
Two-phase commit
A way to commit across several databases. A coordinator asks every one to prepare, then tells all of them to commit or roll back.
Used in: Distributed transactions and two-phase commit · Sagas, outbox and CDC
Two-way door
A decision you can easily undo if it turns out wrong. It should be made quickly, by a small group, with a light process.
Used in: Making architecture trade-offs
Typosquatting
Publishing a harmful package with a name close to a popular one, like reqeusts for requests, and waiting for people to mistype it.
Used in: Dependency and supply-chain security
U
Ubiquitous language
In domain-driven design, the shared words that developers and business experts use for one model. The same words appear in talk, documents and code.
Used in: Domain-driven design
UDP
A simple transport protocol that sends single messages with no connection. It does not promise that messages arrive, arrive once, or arrive in order.
Used in: HTTP/1.1, HTTP/2 and HTTP/3 · TCP/IP and the network stack
ULID
A 128-bit ID with a millisecond timestamp first and random bits after it. It is written as 26 characters that sort in time order.
Used in: Unique ID generation
Unclean leader election
In Kafka, making a replica that is not in sync the new leader when no in-sync replica is left. The partition comes back sooner, but committed messages can be lost. It is off by default.
Used in: Kafka internals
Undo log
In MySQL InnoDB, a record of how a row looked before a change. It is used to roll back and to show older versions to readers.
Used in: Locking and MVCC in practice
Unit test
A test of one small piece of code, such as a function or a class, on its own. It runs fast, often in milliseconds.
Used in: CI/CD and trunk-based development · Clean and hexagonal architecture · Evals for LLM systems · Testing strategy that scales
Upcasting
Converting an old version of a stored event to the current shape when it is read. The stored event itself is not changed.
Usage-based pricing
Charging customers for what they actually use, such as API calls, messages or tokens, instead of only a fixed monthly fee.
USE method
A checklist for resources like CPU, memory and disks: utilization (how busy), saturation (extra work it cannot handle yet, often queued) and errors.
Used in: Debugging production
User mode
The restricted CPU mode your code runs in. It cannot do I/O or run privileged instructions. For that it asks the kernel, which runs in kernel mode with full access.
Used in: OS essentials for backend engineers
Utilization
How busy a resource is, as a share of its capacity. A server at 90% utilization is busy 9 tenths of the time.
Used in: Debugging production · DynamoDB in depth · Tail latency and queueing
UUID
A 128-bit ID that any server can create on its own, with almost no chance of a clash. It is usually written as 36 letters, digits and dashes.
Used in: B-tree vs LSM-tree · Design docs and RFCs · Leader election and leases · Unique ID generation
V
VACUUM
The PostgreSQL job that removes old row versions no transaction can see any more, so their space can be reused. Autovacuum runs it for you.
Used in: Locking and MVCC in practice · Distributed transactions and two-phase commit · PostgreSQL in depth · Secondary, composite and special indexes
Value object
An object defined only by its values, such as an amount of money. It has no ID and does not change. Two value objects with the same values are equal.
Used in: Domain-driven design
Vector clock
A list of (node, counter) pairs kept with each version of data. Comparing two lists shows whether one version came from the other, or whether they are in conflict.
Used in: Time, clocks and ordering · Quorums and leaderless replication
Vector database
A database that finds the stored vectors nearest to a given one, for example to find similar texts. pgvector adds this to Postgres.
Used in: Choosing a database · RAG: retrieval-augmented generation
Version change module
Stripe's name for one small piece of code that describes a single breaking change and turns a new response back into the older shape.
Used in: API versioning and deprecation
Vertical scaling
Handling more load by moving to a bigger machine, with more CPU and memory. Simple, but there is a largest machine, and it is still one machine.
Vertical slice architecture
A way to organise code by feature or request instead of by layer. Each slice holds everything one request needs, from the endpoint to the data access.
Used in: Clean and hexagonal architecture
Vesting
The schedule by which granted equity, such as RSUs or stock options, becomes yours over time, for example over four years. Parts that have not vested are usually lost when you leave.
Used in: Negotiation and compensation
Vesting cliff
A first period, often one year, in which no equity vests. At the end of it, the whole period's share vests at once. Leave before it ends and you get none.
Used in: Negotiation and compensation
Virtual node
One of many points that a single server owns on a consistent hash ring. Many small points spread keys more evenly than one big one.
Used in: Sharding and consistent hashing
Visibility timeout
In Amazon SQS, how long a received message stays hidden from other workers. If it is not deleted in that time, it comes back.
W
Waiting room
A queue page in front of a site. It lets visitors in at a rate the site can handle and shows the others their wait.
Used in: Inventory, overselling and flash sales · The system design method, worked on Ticketmaster
Wall clock
The clock that shows the real date and time. It can jump when someone sets it, and NTP changes its speed, so it is unsafe for measuring how long something takes.
Used in: Time, clocks and ordering · Leader election and leases · Unique ID generation
Warm standby
A disaster recovery (DR) strategy where a smaller but working copy of production always runs at a second site, ready to scale up and take traffic.
Used in: Disaster recovery and backups · Multi-region systems and data locality
Watermark
In stream processing, a marker that says event time has reached a given point. It tells the engine when a window can be closed. An event whose time is already behind the watermark is late.
Used in: Billing, metering and usage-based pricing · Stream processing
Webhook
An HTTP request that a server sends to your endpoint when an event happens, so you do not have to keep asking for changes.
Used in: API versioning and deprecation · Checkout and the order state machine · Reviewing code written by humans and AI · The payment lifecycle · Reconciliation · REST API design · Threat modelling and zero trust · Unique ID generation · Webhooks and async APIs
WebSocket
A protocol that starts as an HTTP request and then keeps one connection open, so the client and the server can both send messages at any time.
Used in: Load balancing · WebSockets, SSE and long polling
Wide-column store
A database that splits tables into partitions by key and spreads them over many nodes, such as Cassandra. Fast queries must give the partition key.
Working set
The data a system actually reads in a given time, such as one day. A cache that can hold the working set rarely has to go to the database.
Used in: Distributed caches
Workload identity
A name for a running service, proven by a certificate or token, so other services can check who is calling. In Istio it comes from the Kubernetes service account.
Used in: Service mesh and sidecars
Write amplification
How many bytes a storage engine writes to disk for each byte your app writes. Higher means more background disk work.
Used in: B-tree vs LSM-tree
Write sharding
Spreading the writes for one busy key over many keys by adding a suffix, such as post42#7. To read everything for the key, you must fetch every suffix and combine the results.
Used in: Deep dives and explaining trade-offs · Scaling writes and hot keys
Write skew
A bug where two transactions read the same data, then each writes a different row. Each write is fine alone, but together they break a rule.
Used in: Transactions and isolation levels
Write-ahead log
A log where a database records every change before it applies it, so it can recover after a crash. CDC tools read it.
Used in: B-tree vs LSM-tree · Disaster recovery and backups · PostgreSQL in depth · Sagas, outbox and CDC · Scaling writes and hot keys
Write-behind
A caching pattern where writes go to the cache first and reach the database later. Fast, but data can be lost if the cache fails.
Used in: Caching and cache stampedes
Write-through
A caching pattern where every write goes to the cache and the database together, so the cache stays fresh.
Used in: Caching and cache stampedes
X
XA
An X/Open standard for two-phase commit. A transaction manager coordinates several resource managers, such as database servers, in one global transaction.
XML signature wrapping
An attack on signed XML, such as SAML. The attacker keeps the signed part valid and adds an unsigned part that the app reads by mistake.
Used in: Enterprise SSO and SCIM
Z
Zero data retention
An arrangement with an LLM provider where it does not store your prompts and replies after it sends the response. It is usually set up by request, not on by default.
Zero trust
A security approach where no user, device or service is trusted because of its network location. Every request proves its identity and is checked against policy.
Used in: Threat modelling and zero trust
Znode
One entry in ZooKeeper's tree of paths, such as /app/config. It holds a small piece of data and can have child znodes.
Used in: Coordination services: ZooKeeper and etcd · Leader election and leases