Reference
System design glossary
210 terms from the lessons and labs, each in one or two short sentences. Most terms link to a lab or lesson where you can see the idea at work.
Showing all 210 terms.
A
- access tokenalso: access tokens
- The short-lived token sent with each request, to show that it comes from a logged-in user.
- ACID
- Four promises a database transaction can make. All or nothing, rules kept, kept apart from other transactions (as far as its isolation level says), and kept after a crash.
- acks
- How many copies of a write a producer waits for before treating it as done: 0, 1 (the leader), or all (every in-sync replica).
See it: Kafka: partitions, replication & delivery lab - active-active
- A setup where every region takes traffic and accepts writes at the same time, instead of one region standing by.
See it: Multi-region & disaster recovery lab - active-passive
- A setup where one region takes all the writes and a second region stands by, ready to take over if the first one fails.
See it: Multi-region & disaster recovery lab - allowed lateness
- How long a stream waits past a window's end for late events, before treating the window as closed.
- API gatewayalso: API gateways
- One front door for all outside requests. It checks logins and limits, then sends each request to the right service.
See it: API gateway lab - asynchronous
- Replying right away, without waiting for another step to finish. That step is done later, by itself.
- at-least-once
- A delivery guarantee where a message may be processed more than once, but is never silently lost.
See it: Kafka: partitions, replication & delivery lab - at-most-once
- A delivery guarantee where a message is never processed twice, but may be silently lost.
- authentication
- Checking who someone is, for example with a password.
See it: Authentication and authorization - autoscaleralso: autoscalers, autoscaling
- A program that adds copies when a signal such as CPU use is high, and removes them when it is low.
See it: Orchestrator: copies, machines and autoscaling lab - availability
- The share of time a service answers requests correctly, such as 99.9% of a year.
In the CAP theorem: every server that is still running answers each request without an error, even if the answer is old.
See it: Latency, throughput and availability - availability zonealso: availability zones
- One of several separate data centres inside one cloud region, each with its own power and network.
B
- backfillalso: backfills
- A job that fills in a new column or table for the rows that already exist. On a large table it runs in small batches.
- backoff
- Waiting longer after each failed attempt before trying again.
See it: Retries, backoff & jitter lab - backpressure
- Telling whoever is sending work to slow down or wait, instead of accepting more than can be handled.
See it: Queues & backpressure lab - batching
- Grouping several items, such as messages or requests, and handling them together instead of one at a time.
See it: Kafka: partitions, replication & delivery lab - Bloom filter
- A small row of bits that says an item is definitely not in a set, or probably is. It never says no to an item that was added.
- blue-greenalso: blue-green release, blue/green
- A release that starts a second full set of servers on the new version, then switches all traffic to it in one step. The old set stays ready for a fast switch back.
See it: Deployments lab - BM25
- A standard formula search engines use to rank documents by their words. A word counts more when it is rare across all documents and frequent in this one.
- broker
- A server that receives messages and passes them on to the services that read them. In Kafka, each broker stores some partitions and serves their reads and writes.
- burn rate
- How many times faster than sustainable a service is spending its error budget. A burn rate of 1 uses the whole 30-day budget in exactly 30 days.
C
- cache
- A small, fast store that keeps copies of popular data, so most reads skip the slower database.
See it: Cache eviction and stampedes - cache hit
- A read that the cache can answer by itself, without asking the database.
- cache miss
- A read the cache cannot answer because the value is not there. The app reads the database instead.
- cache-aside
- Cache-aside is a caching pattern where the app reads the cache first. If the value is missing, it reads the database, then saves the result in the cache for later.
See it: Caching lab - canaryalso: canary release, canaries
- A release that gives the new version to a small share of the traffic first, such as 10%. If it fails there, few users are hurt and it is pulled back.
See it: Deployments lab - CAP theoremalso: CAP
- When copies of data cannot reach each other, a system must choose. It can refuse some requests and stay consistent, or answer them and risk old data. CAP stands for consistency, availability and partition tolerance.
See it: CAP & consistency lab - CDNalso: content delivery network
- A content delivery network: many servers around the world that keep copies of files close to the people who ask for them.
See it: CDN and edge caching lab - CI/CDalso: CI, CD, continuous integration, continuous delivery
- Continuous integration and continuous delivery. CI builds and tests every saved change automatically. CD keeps every change that passes ready to release at any time. Releasing each one with no person in between is called continuous deployment.
See it: CI/CD and safe deployments - circuit breaker
- A switch that stops calls to a failing service for a while, so callers fail fast instead of waiting.
See it: Circuit breaker lab - client-side discovery
- The caller keeps the list of copies and picks one itself, with no load balancer in between.
- clusteralso: clusters
- A group of servers that work together as one system.
- coalescingalso: request coalescing
- Combining several requests for the same missing key into one database read, so the rest wait for its answer.
- commitalso: commits, committed
- Making a change final. A committed database write counts and will not be undone. In Git, a commit is one saved set of code changes.
In Kafka: a consumer saving how far it has read, so after a restart it carries on from that point.
In cloud pricing: promising to pay for a set amount of capacity for one or more years, in return for a lower price.
See it: Raft leader election lab - connection pool
- A few database connections that an app server opens once and keeps ready. Each request borrows one, so it does not wait for a new one to open.
- consistent hashing
- A way to spread keys across servers so that when one server joins or leaves, only a small share of keys move.
See it: Consistent hashing lab - consumer group
- A set of workers that share a topic's partitions. Each partition is read by one worker in the group, and one worker may read several.
- consumer lag
- How far behind a consumer group is: the gap between the last message written to a partition and the last one it has read.
- containeralso: containers
- A running package that holds an app and everything it needs. Many containers can share one machine, each with its own files and limits.
See it: Containers, orchestration and autoscaling - container imagealso: container images
- The package a container is started from: the app, the right versions of what it needs, and its settings.
See it: Containers, orchestration and autoscaling - CQRS
- Command query responsibility segregation: one model changes the data, and a separate model, often in its own store, answers reads.
See it: CQRS & event sourcing lab - CRDTalso: CRDTs
- A conflict-free replicated data type: data whose copies can be changed apart and always merge to the same result, with no one in charge.
- cursoralso: cursors
- In a paged list, a marker for the last item the reader saw. The next request asks for the items after it.
D
- dead-letter queuealso: DLQ
- A separate place a message goes after it fails processing too many times, so it stops blocking the messages behind it.
- DNSalso: Domain Name System
- The Domain Name System: the way the internet turns a name, such as example.com, into the address of a server.
See it: DNS and geo-routing - double writealso: double writes, dual write, dual writes
- Writing the same value to two places, such as an old column and a new one, so code that reads either place sees it.
E
- edge serveralso: edge servers
- One of a CDN's many servers, placed near readers. It answers from its own copy, or fetches the file once from the origin server.
- error budget
- The failures an SLO still allows. At 99.9%, that is 1 failed request in 1,000.
See it: Requirements and SLO worksheet lab - event time
- The time an event really happened, stamped by the device that made it, as opposed to the time it reached the server.
See it: Stream windows & late events lab - eventual consistencyalso: eventually consistent
- Copies of the data may differ for a short time after a write, but they all reach the same value once writes stop.
- eviction
- Removing an item from a full cache to make room for a new one.
See it: Cache eviction and stampedes - exactly-once
- A delivery guarantee where the effect of a message is applied one time only, even after a retry. Systems get it by delivering at least once and skipping repeats. It holds only inside the parts that system controls.
- expand and contract
- A way to change a table that is in use. First add the new column beside the old one, then move the code over, then remove the old column.
See it: Changing a database table without downtime
F
- failover
- Switching to a backup, such as promoting a replica to primary, after the original one fails.
See it: Kafka: partitions, replication & delivery lab - fallback
- A simpler answer sent instead of the real one, used when a call is skipped or fails.
See it: Circuit breakers and bulkheads - false positivealso: false positives
- A yes that should have been a no. A Bloom filter gives one when other items have already switched on all of an item's bits.
- fan-out
- Sending one piece of work to many places. That could mean copying one post into many followers' feeds, or one request calling several services and waiting for all of them.
See it: Event-driven fan-out: push vs pull - feature flagalso: feature flags
- A switch that the code reads while it runs. It turns a feature on or off, or shows it to a few users, without a new release.
- FIFOalso: first in, first out
- An eviction rule that removes the oldest item, however popular it is.
See it: Caching lab - fixed window
- A rate-limiting method that counts requests in a fixed clock interval, such as every 5 seconds, and resets the count when the interval ends.
See it: Rate limiting lab - follower
- A copy that takes its writes from the leader instead of from clients.
On social apps: a user who follows another account, so that account's posts appear in their feed.
See it: Event-driven fan-out: push vs pull - functional requirementalso: functional requirements
- Something a system must let users do, such as send a message or search old messages.
See it: Functional and non-functional requirements
G
- geohashalso: geohashes
- A short code that names one cell of a fixed grid over the map. Every place inside the cell starts with the same code.
See it: Geospatial indexes: finding what is nearby - geospatial indexalso: geospatial indexes, geospatial indexing
- An index that finds what is near a place on a map. Most cut the map into cells, and each cell lists what is inside it.
See it: Geospatial indexes: finding what is nearby - GraphQL
- A way for an app to ask a server for data with one query that names exactly the fields it wants.
- gRPC
- A fast way for services to call each other, using small binary messages in a fixed, typed format.
See it: API styles: REST, gRPC, WebSockets and SSE
H
- half-open
- A circuit breaker state that lets a few trial calls through, to test whether a failing service has recovered.
See it: Circuit breaker lab - handshake
- The first short messages two machines swap to set up a connection, before any real data moves.
See it: WebSockets & heartbeats lab - hash functionalso: hash functions
- A rule that turns a key, such as u42, into a number. The same key always gives the same number.
- hash ring
- A circle of hash values that servers and keys are placed on. Each key belongs to the next server going clockwise from it.
See it: Consistent hashing lab - health check
- A test that a load balancer or a service registry sends a server on a schedule, to find out if it is still working.
- heartbeatalso: heartbeats
- A small "I am alive" message sent again and again at a steady interval, to show that a server or connection still works. The interval depends on the system: milliseconds in some, seconds in others.
See it: WebSockets & heartbeats lab - hit rate
- The share of reads the cache answers by itself, without asking the database.
See it: Caching lab - horizontal scaling
- Handling more work by adding more machines and sharing the requests between them.
See it: Vertical and horizontal scaling - hot key
- A single key that gets far more reads or writes than the others.
See it: Batch jobs: map, shuffle, reduce lab - HTML
- The text format web pages are written in. The browser reads it and draws the page.
- HTTP
- The rules an app or browser uses to ask a server for something and get an answer, such as GET /profile/42 and then 200 OK.
See it: HTTP, TCP, UDP and connections - HTTPS
- HTTP with every message scrambled by a secret key, after the server proves who it is with a certificate a trusted authority signed.
See it: Reverse proxies and API gateways
I
- idempotency keyalso: idempotency keys
- A unique id the client sends with an operation and every retry of it, so the server does the work only once.
See it: Timeouts, retries and idempotency - idempotentalso: idempotence
- Safe to repeat. Doing it twice has the same effect as doing it once.
- indexalso: indexes, indices
- An extra structure, kept sorted or grouped, that lets a database find matching items without reading all of them.
See it: Indexes and storage engines - invalidation
- Removing or marking a cached copy as unusable, usually right after the real value changes.
See it: Caching lab - IP addressalso: IP addresses
- The number that identifies a machine on a network, such as 203.0.113.7. Packets are sent to it.
See it: DNS and geo-routing - IP hash
- A way to route requests: hash the client's IP address to pick a server, so the same client keeps landing on the same one.
See it: Load balancer lab - ISRalso: in-sync replicas
- The copies of a Kafka partition that are fully caught up with the leader.
J
- jitter
- Randomness in how long each client waits before a retry, up to the backoff wait, so clients do not all retry at the same moment.
See it: Retries, backoff & jitter lab - JSON
- A plain-text format for data, such as {"id": 42, "name": "Asha"}. Most web APIs send and receive it.
- JWTalso: JWTs, JSON Web Token
- A common format for a signed token: the facts about the user, an expiry time, and a signature that servers can check.
K
- Kafkaalso: Apache Kafka
- An open-source system that stores streams of messages in order on disk. Many services can read the same messages, each at its own pace.
See it: Kafka: partitions, replication & delivery lab - keep-alive
- Leaving a connection open after a request, so the next request can use it without a new handshake.
See it: HTTP, TCP, UDP and connections - Kubernetes
- The most used orchestrator. It calls a copy a pod and a machine a node.
L
- last-writer-wins
- A conflict rule that keeps whichever write has the newer timestamp and discards the other one.
See it: Clocks & ordering lab - latency
- How long one request takes, from sending it to getting the answer.
See it: Latency, throughput and availability - leader
- The one copy that takes every write for its data. The other copies, the followers, copy from it. Kafka has one leader for each partition.
See it: Raft leader election lab - leaky bucket
- A rate-limiting method: requests wait in a fixed-size queue that drains at a steady rate, smoothing bursts into steady traffic.
See it: Rate limiting lab - least connections
- A way to route requests to whichever server currently has the fewest requests in progress.
See it: Load balancer lab - LFUalso: least frequently used
- An eviction rule that removes the item asked for the fewest times.
See it: Caching lab - linger
- How long a producer waits before sending a batch, to let more messages join it.
- Little's law
- A rule that ties three numbers together. The number of items in a system equals the arrival rate times the average time each item spends in it.
See it: Queues & backpressure lab - load balanceralso: load balancers
- A server that receives every request first and passes each one to one of several servers behind it.
See it: Load balancer lab - load shedding
- Rejecting some work on purpose so the work that is still accepted keeps finishing in reasonable time.
See it: Cascading failures, load shedding and backpressure - long polling
- Polling where the server holds each request open until it has news or a time limit passes. Then the app asks again at once.
- LRUalso: least recently used
- An eviction rule that removes the item nobody has asked for in the longest time.
See it: Caching lab - LSM treealso: LSM-tree, LSM trees, LSM
- A storage design that puts writes in a sorted table in memory, then saves it to disk as new sorted files and merges them later. Writes are cheap. RocksDB and Cassandra use it.
See it: Storage engines: B+ tree vs LSM tree lab
M
- microservicealso: microservices
- A small service that owns one job and its own data, such as payments, and talks to other services over the network.
See it: Architecture evolution and service boundaries - min.insync.replicas
- The fewest in-sync replicas a partition must have before it will accept a write sent with acks=all.
- multi-tenancyalso: multi-tenant
- Serving many customers from one shared app and database, with each customer's data kept apart.
N
- network partition
- A broken link that splits machines into groups that cannot reach each other.
- NLP
- Natural language processing: software that works with human language, such as search, translation and sorting text by topic.
- nodealso: nodes
- One machine, or one running copy of a program, in a group that works together.
In a tree, such as a trie: one point that holds a value and links to the points below it.
See it: Consistent hashing lab - noisy neighbouralso: noisy neighbor, noisy neighbours
- One customer on a shared system whose heavy load slows the other customers down.
- non-functional requirementalso: non-functional requirements
- A promise about how well a system works, such as answering within 1 second or staying up 99.9% of the time.
See it: Functional and non-functional requirements - NTP
- Network Time Protocol: how computers set their clocks from time servers. It keeps clocks close, often within a few milliseconds, but never exactly equal.
O
- OAuthalso: OAuth 2.0, OAuth2, OpenID Connect
- The standard steps that let an app use your account at another site without seeing your password. OpenID Connect adds who you are, as in "Sign in with Google".
- object storage
- A huge, cheap store for files such as photos and videos. Each file is saved whole under a key, such as video.mp4.
See it: Object storage and large files - offset
- A position counted from a start. In Kafka it is a message's place in its partition: 0, 1, 2 and so on. In a paged list it is how many items to skip.
See it: Message queues and Kafka - orchestratoralso: orchestrators, orchestration
- A program that decides which machine runs each container, and keeps the number of copies you asked for running.
See it: Orchestrator: copies, machines and autoscaling lab - origin server
- The server that holds the real copy of a file. On a miss, an edge server fetches the file from it.
- OWASP
- The Open Worldwide Application Security Project, a non-profit known for its Top 10 list of the most common web security risks.
P
- p50also: median
- The time within which half of all requests finish.
- p95
- The time within which 95 out of 100 requests finish.
- p99
- The time within which 99 out of 100 requests finish. The slowest 1% take longer.
See it: SLOs, error budgets & alerting lab - PACELC
- An extension of CAP. If there is a partition (P), choose availability or consistency (A or C). Else (E), when all is well, choose lower latency or consistency (L or C).
See it: CAP, PACELC and quorums - packetalso: packets
- A small piece of data sent across a network. A big message is cut into many packets.
See it: HTTP, TCP, UDP and connections - pagination
- Sending a long list a page at a time, such as 20 items, so that no request has to carry the whole list.
- partition
- One slice of the data. In Kafka, one ordered log inside a topic.
In the CAP theorem, short for network partition: a broken link that splits servers into groups that cannot reach each other.
See it: CAP & consistency lab - percentilealso: percentiles
- The wait that a given share of requests beat. The 99th percentile, p99, is the wait that 99 in 100 requests are faster than.
See it: SLOs, error budgets & alerting lab - pilot light
- A cheap standby that keeps data replicated but runs only a small fleet, and must scale up before it can take full traffic.
- pipelinealso: pipelines
- A fixed chain of automatic steps, where each step hands its result to the next. A CI/CD pipeline builds, tests and releases every code change.
See it: CI/CD and safe deployments - podalso: pods
- The Kubernetes name for one running copy of an app: one container, or a few that always run together.
- polling
- Asking a service again and again, on a timer, whether anything new has happened.
- PostgreSQLalso: Postgres
- A widely used open-source SQL database.
- production
- The live system that real users reach, as opposed to a test or practice copy.
See it: CI/CD and safe deployments
Q
- QPSalso: queries per second
- Queries per second: how many requests a system receives or handles in one second.
See it: Capacity estimation lab - quadtreealso: quadtrees
- A way to cut a map into squares. A square that holds too many places splits into four smaller ones, so crowded areas get small squares.
See it: Map cells: find what is nearby lab - queuealso: queues, message queue, message queues
- A waiting line for work. One part adds messages, and another takes them off and handles them later, at its own pace.
See it: Queues & backpressure lab - QUIC
- A newer way to carry web traffic, built on UDP. It adds its own delivery checks and encryption. HTTP/3 runs on it, and it connects in fewer round trips than TCP with TLS.
See it: HTTP, TCP, UDP and connections - quorum
- The smallest group of machines that must agree, usually more than half.
See it: Raft leader election lab
R
- rate limit
- A cap on how many requests a client can make in a given time; requests over the cap are delayed or rejected.
- read-your-writes
- A guarantee that after you write data, your own later reads always see that write, even if other users might not yet.
See it: Replication lab - rebalance
- Reassigning a topic's partitions across a consumer group's members, for example after one joins or leaves.
- Redis
- A widely used data store that keeps its data in memory, so it answers much faster than a database on disk. It is often used as a cache.
- refresh tokenalso: refresh tokens
- A long-lived value, looked up by the login service, that is used to get a new access token.
- replay
- Reading a saved log again from an earlier point, to rebuild state or process events again. In Kafka, this means resetting a consumer group's offsets.
See it: Kafka: partitions, replication & delivery lab - replica
- A copy of a database kept on another machine.
See it: CAP, PACELC and quorums - replication
- Continuously copying every write from a primary database to one or more replicas, so each one ends up with the same data.
See it: Kafka: partitions, replication & delivery lab - replication lag
- How far behind a replica is: the time between a write on the primary and that same write showing up on the replica.
See it: Replication lab - resharding
- Moving data between shards after adding or removing one, so each shard ends up with a fair share again.
See it: Sharding lab - resolveralso: resolvers
- A server that looks up names for you. It asks other DNS servers in turn, then keeps each answer for a while.
- RESTalso: RESTful
- A common style for web APIs. Each thing has its own address, such as /users/42, and HTTP methods such as GET and POST read or change it.
See it: API styles: REST, gRPC, WebSockets and SSE - retention
- How long Kafka keeps a message before deleting it, whether or not it has been read.
See it: Kafka: partitions, replication & delivery lab - retry budget
- A cap that limits retries to a share of normal traffic, so retrying never adds unbounded extra load.
- retry storm
- A burst of retries from many clients at once after a failure. The retries themselves overload the system that was already struggling.
- rollbackalso: rollbacks, roll back, rolled back
- Undoing a change to return to the last good state. A release rollback puts the previous version back. A transaction rollback cancels its writes.
See it: Deployments lab - rolling updatealso: rolling updates, rolling release
- A release that replaces servers one at a time, or a few at a time, so most of them keep serving throughout.
See it: Deployments lab - round robin
- A way to spread work evenly: give each server a turn in a fixed order, one request at a time.
See it: Load balancer lab - routeralso: routers
- A network device that passes each packet on, one step at a time, towards the machine it is addressed to.
In a move to new services: the part in front of the app that sends each request path, such as /search, to the code that handles it.
See it: LLM serving and retrieval (RAG) - RPOalso: recovery point objective
- How much recent data a failure may lose, measured in time.
See it: Replication lab - RTOalso: recovery time objective
- How long a system may be down after a failure.
See it: Multi-region & disaster recovery lab
S
- salting
- Splitting one busy key into several keys, so its writes and reads spread across more than one shard.
See it: Sharding lab - scatter-gather
- A query pattern where one request goes out to many shards at once, and the results are combined into a single answer.
See it: Sharding lab - SDKalso: SDKs
- Software development kit: a ready-made library for calling a service from your code, such as the AWS SDK.
- semi-synchronous
- A replication mode where the primary waits for only one replica to confirm the write, not all of them.
- server-side discovery
- The caller sends to one fixed name, and a load balancer behind that name keeps the list of copies.
- service discovery
- How one service finds the addresses of another service's live copies, by name, when those copies start and stop all day.
See it: Service discovery: a registry, heartbeats and old lists lab - service mesh
- A small helper program beside every copy of every service. It finds other services and sends the calls, so the service's own code does not have to.
- service registryalso: service registries
- One place that keeps the list of a service's live copies and their addresses. Copies add themselves, and callers ask it by name.
- sessionalso: sessions
- A record the server keeps for a logged-in user. The browser holds only its id, and sends it with every request.
See it: Load balancer lab - session windowalso: session windows
- A window that holds one user's events and closes once that user has been quiet for a set time, such as 30 minutes.
- signed tokenalso: signed tokens
- A short note that says who the user is and when it expires, with a signature that proves the server made it.
See it: Authentication and authorization - sliding window
- A rate-limiting method that looks at the last few seconds from right now, not a fixed clock interval. There is no reset edge to exploit.
See it: Rate limiting - SLOalso: service level objective
- A target for how reliable a service should be, such as 99.9% of requests succeeding.
See it: Requirements and SLO worksheet lab - split brain
- Two servers or regions each believe they are the leader, and both accept writes at once. It usually happens during a network partition.
See it: Multi-region & disaster recovery lab - SQS
- Amazon Simple Queue Service: a message queue that AWS runs for you.
- SRE
- Site reliability engineering: running live systems with software methods, such as error budgets and automation. The name comes from Google.
- SSDalso: SSDs
- Solid-state drive: storage on memory chips with no moving parts. It reads from random places far faster than a spinning disk.
- staging
- A practice copy of production, where a release is tried before real users get it.
- stampedealso: cache stampede
- A burst of requests that all miss the cache for the same key at once and hit the database together.
See it: Caching lab - stateless
- Keeping no memory of earlier requests. Each request carries what the server needs, so any copy of the server can answer it.
See it: Vertical and horizontal scaling - status codealso: status codes
- A three-digit number in every HTTP answer that says how the request went: 200 means OK, 404 means not found, 500 means a server error.
See it: HTTP, TCP, UDP and connections - sticky session
- A load-balancing rule that sends the same client to the same server every time, instead of spreading its requests across servers.
- synchronous
- Waiting for another step to finish before confirming, instead of moving on right away.
T
- TCP
- The rules most internet traffic uses to deliver data in order, sending again any piece that gets lost.
See it: HTTP, TCP, UDP and connections - tenantalso: tenants
- One customer of a system that many customers share.
- threadalso: threads
- One line of work inside a running program. A server runs many threads, so it can work on many requests at the same time.
- throughput
- How much work a system finishes each second.
See it: Latency, throughput and availability - timeout
- The time a caller waits before giving up on a call and treating it as failed.
See it: Timeouts, retries and idempotency - TLS
- Transport Layer Security: the encryption behind the S in HTTPS. It hides the data on its way and lets the browser check it reached the real server.
See it: HTTP, TCP, UDP and connections - token bucket
- A rate-limiting method: a bucket holds a set number of tokens and refills at a fixed rate. Each request spends one token; an empty bucket rejects requests.
See it: Rate limiting lab - transactionalso: transactions
- A group of database changes that succeed or fail together: either all of them are saved, or none are.
See it: Transactions & isolation levels lab - triealso: tries
- A tree that stores words one letter per step, so words that start the same share a path.
See it: Search indexes and autocomplete - TTLalso: time to live
- How long a cached copy is kept before it is thrown away.
See it: CDN and edge caching lab
U
- UDP
- A simple way to send data over the internet with no delivery check. UDP itself does not resend a lost piece, so it is quick. DNS and video calls use it.
See it: HTTP, TCP, UDP and connections - utilization
- The share of a system's capacity currently in use, from 0% idle to 100% completely busy.
See it: Queues & backpressure lab - UUIDalso: UUIDs
- Universally unique identifier: a 128-bit ID that any machine can make without asking anyone. Version 4 is mostly random bits; version 7 starts with the time.
See it: IDs: from auto-increment to UUIDs and Snowflake lab
V
- vertical scaling
- Handling more work by moving to a bigger machine, with more CPU and memory.
See it: Vertical and horizontal scaling - virtual machinealso: virtual machines
- A whole pretend computer, with its own operating system, running on a real one. It takes longer to start than a container.
- virtual nodealso: virtual nodes
- One of several positions a server holds on a hash ring, so it owns many small slices of keys instead of one big one.
See it: Consistent hashing lab
W
- watermarkalso: watermarks
- In stream processing, the newest event time seen minus the allowed lateness. A window that ends before the watermark is closed, and its count is final.
See it: Stream windows & late events lab - webhookalso: webhooks
- A web address your app gives to a service, so the service can call your app the moment something happens.
- WebSocketalso: WebSockets
- A connection that starts as one web request, then stays open, so the server and the app can both send messages at any time.
See it: WebSockets & heartbeats lab - witness
- A third site that must agree a primary is truly down before another region takes over. This stops a network partition alone from causing a failover.
- write-behind
- A write strategy that updates the cache right away and writes to the database later, in a batch.
See it: Caching lab - write-through
- A write strategy that updates the cache and the database together before telling the caller it is done.
See it: Caching lab