System Design glossary
Every term the course teaches, in one plain sentence. Search for a word you just heard, or pick a unit to see the terms it teaches. Each unit tag takes you to that unit on the course page.
168 terms
A
- ACID
- Atomicity, consistency, isolation and durability: the guarantees a database transaction gives.Unit 5: Data storage
- Ambassador
- A sidecar that proxies a service's outgoing calls, adding retries, routing or monitoring.Unit 12: Cloud design patterns
- Anti-corruption layer
- A translation layer that keeps a legacy system's model from leaking into a new one.Unit 12: Cloud design patterns
- API gateway
- A single entry point for clients that handles routing, authentication, rate limits and other cross-cutting concerns for many services.Unit 3: Traffic managementUnit 8: Architecture styles
- At-least-once delivery
- A message is retried until acknowledged, so it is never lost but may arrive more than once.Unit 6: Async & messaging
- At-most-once delivery
- A message is delivered once or not at all, so it can be lost but never duplicated.Unit 6: Async & messaging
- Authentication
- Proving who a user or service is.Unit 11: Security essentials
- Autoscaling
- Adding or removing instances automatically as load rises and falls.Unit 12: Cloud design patterns
- Availability
- The share of time a system is up and answering correctly, often written in nines such as 99.9%.Unit 2: Scale basicsUnit 10: Reliability & operations
B
- B-tree
- A balanced tree of sorted pages that most databases use for indexes and reads in place.Unit 5: Data storage
- Back pressure
- A slow consumer signalling producers to slow down instead of letting work pile up without limit.Unit 6: Async & messaging
- Back-of-the-envelope estimate
- A rough calculation of traffic, storage or bandwidth that tells you which design choices matter.Unit 0: Start here
- Batch processing
- Processing a large, bounded set of data in one scheduled run.Unit 6: Async & messaging
- Blob storage
- Object storage for large files such as images and videos, addressed by key, like Amazon S3.Unit 5: Data storage
- Bloom filter
- A compact structure that says an item is definitely not in a set or probably is.Unit 9: Search & special data structures
- Blue-green deployment
- Running the old and new versions side by side and switching traffic from one to the other at once.Unit 10: Reliability & operations
- Bounded context
- A part of the business with its own model and language, often a good boundary for a service.Unit 8: Architecture styles
- Bulkhead
- Separate pools of threads or connections per dependency, so one slow dependency can't use them all.Unit 10: Reliability & operations
C
- Cache
- A fast store that keeps copies of data so repeat reads skip the slower source.Unit 4: Caching
- Cache hit ratio
- The share of reads the cache answers without going to the source.Unit 4: Caching
- Cache invalidation
- Removing or updating cached copies when the source data changes, so readers don't see stale data.Unit 4: Caching
- Cache stampede
- Many requests miss the same expired entry at once and all hit the database together.Unit 4: Caching
- Cache-aside
- The app checks the cache first and, on a miss, reads the database and puts a copy in the cache.Unit 4: Caching
- Canary release
- Rolling a change out to a small share of traffic first and watching it before going wider.Unit 10: Reliability & operations
- CAP theorem
- During a network partition, a distributed system must choose between consistency and availability.Unit 7: Distributed systems
- CDN
- Content delivery network: servers around the world that cache content close to users so it loads faster.Unit 3: Traffic management
- Cell-based architecture
- Splitting a system into independent copies, called cells, each serving a slice of customers, so a failure stays in one cell.Unit 12: Cloud design patterns
- Change data capture
- Streaming every insert, update and delete from a database's log to other systems.Unit 6: Async & messaging
- Circuit breaker
- Stops calling a failing dependency for a while, failing fast instead, then tests whether it has recovered.Unit 10: Reliability & operations
- Client-server model
- Clients send requests over a network and servers do the work and send back responses.Unit 0: Start here
- Concurrency
- Making progress on several tasks over the same period by switching between them.Unit 2: Scale basics
- Consensus
- Getting a group of machines to agree on one value or order of operations, even when some fail.Unit 7: Distributed systems
- Consistent hashing
- A way to map keys to servers so adding or removing a server moves only a small share of the keys.Unit 4: CachingUnit 5: Data storage
- Consumer group
- A set of consumers that share a topic's partitions, so each message is handled by one member of the group.Unit 6: Async & messaging
- Count-min sketch
- A small structure that estimates how often each item appears in a stream, never undercounting.Unit 9: Search & special data structures
- CQRS
- Command query responsibility segregation: separate models for writing data and for reading it.Unit 8: Architecture styles
- CRDT
- Conflict-free replicated data type: a data structure whose copies can be edited independently and always merge to the same result.Unit 7: Distributed systems
- CSRF
- Cross-site request forgery: another site tricks a signed-in user's browser into sending an unwanted request.Unit 11: Security essentials
D
- Dead-letter queue
- A side queue for messages that keep failing, so they don't block the rest.Unit 6: Async & messaging
- Deadline
- The time by which a whole request must finish, passed along so downstream calls don't keep working after it is too late.Unit 10: Reliability & operations
- Denormalization
- Storing duplicate copies of data so reads need fewer joins, at the cost of harder writes.Unit 5: Data storage
- Distributed tracing
- Following one request across every service it touches, with timing for each step.Unit 10: Reliability & operations
- DNS
- The Domain Name System, the internet's phone book that turns a name like example.com into an IP address.Unit 1: How the web talks
E
- Encryption at rest
- Encrypting stored data, so stolen disks or backups can't be read.Unit 11: Security essentials
- Envelope encryption
- Encrypting data with a data key, then encrypting that key with a master key held in a key management service.Unit 11: Security essentials
- Error budget
- The amount of failure an SLO allows, which a team can spend on risky changes.Unit 10: Reliability & operations
- Event sourcing
- Storing every change as an event and rebuilding current state by replaying them.Unit 8: Architecture styles
- Event-driven architecture
- Services communicate by publishing events about what happened, and others react to them.Unit 8: Architecture styles
- Eventual consistency
- Copies may disagree for a while, but they converge once writes stop.Unit 7: Distributed systems
- Exactly-once processing
- The effect of each message happens once, usually built from at-least-once delivery plus idempotent handling.Unit 6: Async & messaging
- Exponential backoff with jitter
- Waiting longer after each failed retry, with randomness added so clients don't retry in sync.Unit 10: Reliability & operations
F
- Feature flag
- A switch that turns code on or off at runtime without a new deploy.Unit 10: Reliability & operations
- Federation
- Splitting databases by function, such as users in one and orders in another.Unit 5: Data storage
- Fencing token
- An increasing number issued with a lock, so storage can reject writes from a holder whose lock already expired.Unit 7: Distributed systems
- Functional requirements
- What the system must do for its users, such as posting a message or shortening a link.Unit 0: Start here
G
- Geohash
- A short string that encodes a location, where nearby places tend to share a prefix.Unit 9: Search & special data structures
- Gossip protocol
- Nodes share state by repeatedly passing it to a few random peers, so news spreads through the cluster.Unit 7: Distributed systems
- Graceful degradation
- Turning off less important features under stress so the core keeps working.Unit 10: Reliability & operations
- GraphQL
- An API style where the client sends a query describing exactly which fields it wants back.Unit 1: How the web talks
- gRPC
- A remote procedure call framework that sends compact binary messages over HTTP/2 between services.Unit 1: How the web talksUnit 8: Architecture styles
H
- Hedged request
- Sending a backup copy of a slow request to another server and using whichever answers first.Unit 10: Reliability & operations
- Horizontal scaling
- Handling more load by adding more machines and spreading the work across them.Unit 2: Scale basics
- Hot spot
- One shard, partition or key that gets far more traffic than the rest.Unit 5: Data storage
- HTTP
- The request-and-response protocol of the web: a method, a path, headers and an optional body.Unit 1: How the web talks
- HTTPS
- HTTP sent over an encrypted TLS connection, so nobody in between can read or change it.Unit 1: How the web talksUnit 11: Security essentials
- HyperLogLog
- A tiny structure that estimates how many distinct items a huge stream contains.Unit 9: Search & special data structures
I
- Idempotency
- Doing the same operation twice has the same effect as doing it once, which makes retries safe.Unit 6: Async & messagingUnit 10: Reliability & operations
- Idempotency key
- A unique ID sent with a request so the server can spot and ignore a repeat of it.Unit 6: Async & messaging
- Index
- A data structure, usually a B-tree, that lets a database find rows without scanning the whole table.Unit 5: Data storage
- Infrastructure as code
- Defining servers, networks and other cloud resources in versioned files that a tool applies.Unit 12: Cloud design patterns
- Inverted index
- A map from each word to the documents that contain it, the core of full-text search.Unit 9: Search & special data structures
- IP address
- The numeric address that identifies a machine on a network so packets can reach it.Unit 1: How the web talks
- Isolation level
- How much concurrent transactions can see of each other's changes, from read committed to serializable.Unit 5: Data storage
J
- JWT
- JSON Web Token: a signed token that carries claims about a user and can be checked without a database lookup.Unit 11: Security essentials
K
- Kafka
- A distributed, append-only log that stores streams of events in partitions so many consumers can read and replay them.Unit 6: Async & messaging
L
- L4 vs L7 load balancing
- Layer 4 balancers route by IP and port; layer 7 balancers read the HTTP request and route by path, header or cookie.Unit 3: Traffic management
- Latency
- How long one request takes from start to finish.Unit 0: Start hereUnit 2: Scale basics
- Leader election
- Choosing one node to coordinate the work, and choosing a new one when it fails.Unit 7: Distributed systems
- Leader-follower replication
- One leader accepts writes and followers copy its changes and serve reads.Unit 5: Data storage
- Lease
- A lock or leadership role that expires after a set time unless it is renewed.Unit 7: Distributed systems
- Least connections
- A load balancing algorithm that sends each request to the server with the fewest open connections.Unit 3: Traffic management
- Least privilege
- Giving each user and service only the access it needs and nothing more.Unit 11: Security essentials
- LFU
- Least frequently used: an eviction policy that removes the entry read the fewest times.Unit 4: Caching
- Linearizability
- The strongest consistency model: every operation appears to take effect at one instant between its start and end.Unit 7: Distributed systems
- Load balancer
- A component that spreads incoming requests across a pool of servers and skips unhealthy ones.Unit 3: Traffic management
- Load shedding
- Rejecting some requests on purpose when overloaded, so the rest still succeed.Unit 10: Reliability & operations
- Long polling
- The client asks for updates and the server holds the request open until it has something to send.Unit 1: How the web talks
- LRU
- Least recently used: an eviction policy that removes the entry that hasn't been read for the longest time.Unit 4: Caching
- LSM tree
- A storage engine that buffers writes in memory and flushes sorted files to disk, making writes very fast.Unit 5: Data storage
M
- Memcached
- A simple, multithreaded in-memory key-value cache.Unit 4: Caching
- Message queue
- A buffer where producers leave messages and consumers take them off to process later.Unit 6: Async & messaging
- Microservices
- An application split into small services that are built, deployed and scaled independently.Unit 8: Architecture styles
- Modular monolith
- A monolith split into well-separated internal modules, deployed together.Unit 8: Architecture styles
- Monolith
- An application built and deployed as one unit.Unit 8: Architecture styles
- Multi-tenancy
- One deployment serving many customers, called tenants, while keeping their data apart.Unit 12: Cloud design patterns
N
- Network partition
- A network failure that splits machines into groups that can't reach each other.Unit 7: Distributed systems
- Noisy neighbour
- One tenant or workload using so much of a shared resource that others slow down.Unit 12: Cloud design patterns
- Non-functional requirements
- How well the system must do it: latency, availability, scale, consistency and cost targets.Unit 0: Start here
- NoSQL
- Databases that drop the relational table model for key-value, document, wide-column or graph storage.Unit 5: Data storage
O
- OAuth 2.0
- A standard for letting an app act on a user's behalf at another service without getting their password.Unit 11: Security essentials
- Observability
- How well you can tell what a system is doing from its logs, metrics and traces.Unit 10: Reliability & operations
- Offset
- A consumer's position in a log partition, saying which messages it has already processed.Unit 6: Async & messaging
- OpenID Connect
- A layer on OAuth 2.0 that adds a standard way to sign users in and learn who they are.Unit 11: Security essentials
P
- PACELC
- An extension of CAP: with a partition choose availability or consistency, else choose latency or consistency.Unit 7: Distributed systems
- Parallelism
- Running several tasks at literally the same moment on different cores or machines.Unit 2: Scale basics
- Partition key
- The field used to decide which shard or partition a record lives on.Unit 5: Data storageUnit 6: Async & messaging
- Password hashing
- Storing passwords with a slow, salted one-way function such as bcrypt or Argon2, so a leak doesn't reveal them.Unit 11: Security essentials
- Publish-subscribe
- Publishers send messages to a topic and every subscriber to that topic gets its own copy.Unit 6: Async & messaging
Q
- QPS
- Queries per second: how many requests a system handles each second, average or at peak.Unit 0: Start hereUnit 2: Scale basics
- Quadtree
- A tree that splits a map into four squares again and again where points are dense, for nearby searches.Unit 9: Search & special data structures
- Queue-based load leveling
- Putting a queue between a bursty producer and a service, so the service works at a steady rate.Unit 6: Async & messaging
- Quorum
- The minimum number of replicas that must agree on a read or write; with W + R > N, reads see the latest write.Unit 7: Distributed systems
R
- Raft
- A consensus algorithm that elects a leader and replicates a log of commands to a majority of followers.Unit 7: Distributed systems
- Rate limiting
- Capping how many requests a client can make in a time window, to protect a service from overload or abuse.Unit 3: Traffic management
- RBAC
- Role-based access control: permissions are given to roles, and users get roles.Unit 11: Security essentials
- Redis
- An in-memory data store used as a cache, queue and database, with rich data types and optional persistence.Unit 4: Caching
- Refresh-ahead
- The cache reloads popular entries shortly before they expire, so readers rarely see a miss.Unit 4: Caching
- Replication
- Keeping copies of the same data on several machines for availability and read scale.Unit 5: Data storage
- Replication lag
- The delay before a follower has a write the leader already accepted, which can show users stale data.Unit 5: Data storage
- REST
- An API style built on HTTP where URLs name resources and methods like GET and POST act on them.Unit 1: How the web talks
- Reverse proxy
- A server in front of your servers that receives client requests and forwards them, adding TLS, caching or compression.Unit 3: Traffic management
- Round robin
- A load balancing algorithm that sends each new request to the next server in turn.Unit 3: Traffic management
- RPO
- Recovery point objective: how much recent data you can afford to lose in a disaster.Unit 10: Reliability & operations
- RTO
- Recovery time objective: how long you can afford to be down before service is restored.Unit 10: Reliability & operations
S
- Saga
- A long business transaction split into local steps, each with a compensating step that undoes it if a later one fails.Unit 7: Distributed systemsUnit 8: Architecture styles
- Scalability
- A system's ability to handle more load by adding resources without being redesigned.Unit 2: Scale basics
- Secrets management
- Storing, rotating and handing out passwords, API keys and certificates safely, instead of in code.Unit 11: Security essentials
- Server-Sent Events
- A one-way stream of updates from server to browser over a normal HTTP connection.Unit 1: How the web talks
- Serverless
- Running code as functions the cloud provider starts, scales and bills per request, with no servers to manage.Unit 8: Architecture styles
- Service discovery
- How services find the current network addresses of the other services they call.Unit 8: Architecture styles
- Service mesh
- A layer of sidecar proxies that handles traffic, retries, encryption and metrics between services.Unit 8: Architecture styles
- Session
- Server-side state that remembers a signed-in user, found through a cookie holding a random ID.Unit 11: Security essentials
- Sidecar
- A helper process deployed next to each service instance to handle things like networking, logging or config.Unit 8: Architecture stylesUnit 12: Cloud design patterns
- Single point of failure
- One component whose failure takes the whole system down.Unit 2: Scale basics
- Single sign-on
- Signing in once with an identity provider to use many apps.Unit 11: Security essentials
- SLA
- Service level agreement: a promise to customers, with penalties if it is missed.Unit 10: Reliability & operations
- SLI
- Service level indicator: a measured number about user experience, such as the share of requests under 300 ms.Unit 10: Reliability & operations
- Sliding window
- A rate limiting algorithm that counts requests in a window that moves with time, avoiding bursts at fixed window edges.Unit 3: Traffic management
- SLO
- Service level objective: the target for an SLI over a period, such as 99.9% of requests succeeding in 30 days.Unit 10: Reliability & operations
- Snowflake ID
- A unique 64-bit ID built from a timestamp, a machine number and a counter, so IDs sort by time without coordination.Unit 5: Data storage
- Split brain
- Two nodes both believe they are the leader and accept conflicting writes.Unit 7: Distributed systems
- SQL database
- A relational database that stores data in tables with a fixed schema and is queried with SQL.Unit 5: Data storage
- SQL injection
- An attack where user input is run as part of a database query; prevented with parameterized queries.Unit 11: Security essentials
- Stateless service
- A service that keeps no per-user data between requests, so any instance can serve any request.Unit 2: Scale basics
- Strangler fig
- Replacing a legacy system piece by piece, routing more traffic to the new system until the old one can be switched off.Unit 12: Cloud design patterns
- Stream processing
- Handling events continuously as they arrive, rather than in scheduled batches.Unit 6: Async & messaging
- Strong consistency
- Every read sees the latest successful write, as if there were only one copy of the data.Unit 7: Distributed systems
T
- Tail latency
- The latency of the slowest requests, usually measured as p99 or p99.9, which users notice most at scale.Unit 2: Scale basicsUnit 10: Reliability & operations
- Task queue
- A queue of background jobs, such as sending email or resizing images, run by worker processes.Unit 6: Async & messaging
- TCP
- A transport protocol that delivers bytes reliably and in order, resending anything that gets lost.Unit 1: How the web talks
- TF-IDF and BM25
- Scoring formulas that rank documents by how often query words appear in them and how rare those words are overall.Unit 9: Search & special data structures
- Throughput
- How much work a system completes per unit of time, such as requests per second.Unit 2: Scale basics
- TLS
- Transport Layer Security, the protocol that encrypts and authenticates a connection between two machines.Unit 1: How the web talksUnit 11: Security essentials
- Token bucket
- A rate limiting algorithm where requests spend tokens from a bucket that refills at a steady rate, allowing short bursts.Unit 3: Traffic management
- Trie
- A tree where each path from the root spells a prefix, used for autocomplete.Unit 9: Search & special data structures
- TTL
- Time to live: how long a cached answer, such as a DNS record or a cache entry, stays valid before it must be fetched again.Unit 1: How the web talksUnit 4: Caching
- Two-phase commit
- A protocol where a coordinator asks every participant to prepare, then tells all of them to commit or abort.Unit 7: Distributed systems
U
- UDP
- A transport protocol that sends packets with no delivery or ordering guarantee, trading reliability for speed.Unit 1: How the web talks
V
- Vector clock
- A set of per-node counters that shows whether two events happened in order or concurrently.Unit 7: Distributed systems
- Vertical scaling
- Handling more load by moving to a bigger machine with more CPU, memory or disk.Unit 2: Scale basics
W
- Webhook
- An HTTP call one system makes to another when an event happens, instead of being polled.Unit 1: How the web talks
- WebSocket
- A long-lived, two-way connection between browser and server for real-time messages in both directions.Unit 1: How the web talks
- Write-behind
- Writes go to the cache first and are saved to the database later in batches, which is fast but can lose data.Unit 4: Caching
- Write-through
- Every write goes to the cache and the database together, so the cache is never stale.Unit 4: Caching
X
- XSS
- Cross-site scripting: an attacker gets their script to run in other users' browsers on your site.Unit 11: Security essentials
Z
- Zero trust
- Every request is authenticated and authorized, even from inside the network.Unit 11: Security essentials