Glossary
What the words used on this site mean, in everyday language. No experience is assumed. Where a word is underlined with dots in a lesson or an exercise, selecting it shows the meaning from this page.
- Alert
- An automatic warning that a measurement has crossed a limit someone chose in advance, such as too many errors in the last five minutes.
- Big-O
- A short way to say how a program's running time or memory grows as its input grows. O(n) means twice the input takes about twice as long; O(n²) means about four times as long.
- Blast radius
- How much is affected if something goes wrong: how many users, servers or services. Careful changes keep the blast radius small.
- Cache
- A store of answers that were already worked out, kept so the next identical request is quick. The risk is serving an answer that has gone out of date.
- Canary
- Sending a new version to a small share of users or servers first and watching it before everyone gets it. If the canary looks unhealthy, the change stops there.
- Capacity
- How much work a system can handle before it slows down or fails. Headroom is the spare capacity kept on purpose, so a busy hour or a lost server is not an outage.
- Connection pool
- A fixed set of open links to a database that requests take turns using, because opening a new link each time is slow. When every link is busy, new requests have to wait: the pool is exhausted.
- Container
- A package holding a program and everything it needs to run, kept apart from other programs on the same computer. It lets the same package run the same way anywhere.
- Database
- The program that stores a service's lasting information, such as accounts and orders, and finds it again on request.
- Deploy
- Putting a new version of software onto the servers that users reach. Most incidents start with a change, so deploys are done carefully and in steps.
- Disk pressure
- A server running out of storage space. Programs that cannot write their files start failing. A disk can also run out of inodes, the slots that record each file, even when space remains.
- DNS
- The internet's address book. It turns a name such as example.com into the numeric address of a server. If DNS is wrong or slow, users cannot reach a service that is otherwise healthy.
- Error budget
- The amount of failure a target allows. If the target is 99.9% success, the budget is the other 0.1%. While budget remains, the team can take risks such as shipping changes; when it is spent, they slow down and fix reliability.
- Example: At 99.9% over 30 days, the budget is about 43 minutes of complete downtime.
- Error rate
- The share of requests that fail. A "5xx" is a failure on the service's side: the web's standard reply codes from 500 to 599 mean "the server could not do this".
- File descriptor
- The handle a program holds for each file or network connection it has open. A deleted file keeps taking up space until every program holding it open lets go.
- Hypothesis
- A specific guess about the cause that you can check. In an incident you say the guess, name the check that would prove or disprove it, then run the check.
- Idempotent
- Safe to repeat. Doing an idempotent action twice leaves things the same as doing it once, so it can be retried without harm.
- Example: "Set the quantity to 3" is idempotent. "Add 1 to the quantity" is not.
- Incident
- A period when something is broken or getting worse for users and people are working to fix it. It starts when someone notices and ends when the service is healthy again.
- Kubernetes
- A widely used system that runs containers across many servers: it starts them, restarts them when they fail and spreads them out. A pod is its smallest unit, usually one container. kubectl is the command used to talk to it.
- Latency
- How long a request takes, from asking to getting the answer. Lower is better. It is usually measured in milliseconds (thousandths of a second).
- Load balancer
- A component that sits in front of several copies of a service and shares incoming requests between them, skipping copies that are unhealthy.
- Logs
- A running diary a program writes, one line per event, with the time. Logs are where you look to see what a service was doing when it went wrong.
- Metric
- A number measured over and over, such as requests per second or free disk space, kept with the time of each measurement. A dashboard is a page of graphs drawn from metrics.
- Mitigation
- Stopping the harm to users first, before the cause is fully understood. Mitigating is not the same as fixing: it buys time.
- Example: Sending traffic away from a broken server is a mitigation. Finding out why it broke comes afterwards.
- Monitoring
- Watching a service through its logs, metrics and alerts so problems are noticed quickly. Observability is how well you can work out what is happening inside from what the service reports.
- NALSD
- Non-abstract large system design: a design interview where you sketch a large system and also do the arithmetic, working out roughly how many servers, how much storage and how much network it needs.
- On-call
- Being the person who must respond if a service breaks during a set period, including nights. The on-call engineer is contacted automatically when an alert fires.
- OOM
- Out of memory. When a program asks for more memory than it is allowed, the system stops it abruptly (an "OOM kill") to protect everything else.
- Outage
- A time when a service does not work at all, or not for a large share of its users.
- Paged
- To be paged is to be called or messaged urgently because a service needs attention now. The name comes from the pocket pagers engineers used to carry.
- Percentile
- A way to describe the slow requests, not just the typical one. "p99 is 2 seconds" means 99 of every 100 requests finished within 2 seconds and the slowest 1 took longer. p50 is the middle request.
- Example: If p50 is 100 ms and p99 is 3 s, most people get a fast page but one visit in a hundred waits three seconds.
- Postmortem
- A written review after an incident: what happened, why, and what will change so it is less likely to happen again. A good one looks for causes in the system, not for someone to blame.
- Process
- One running program on a computer. Each has a number, its PID (process ID), that tools use to refer to it.
- Queue
- A line of work waiting its turn. Queues smooth out bursts, but a queue that keeps growing means work is arriving faster than it is being done.
- Rate limiting
- Capping how many requests one caller may make in a period, so that one heavy user or a faulty program cannot use up the service for everyone.
- Reliability
- How often a service does what its users need when they ask. A reliable service is up, answers correctly and answers quickly enough.
- Replica
- A copy of a service or a database kept so that work can be shared and so one failure does not lose everything. Failover is switching to a healthy copy when the one in use breaks.
- Request
- One question sent to a service, such as "show me this page" or "save this order". The answer that comes back is the response.
- Retry
- Trying a failed request again. Retries help with brief glitches but can overload a struggling service, so they are limited and spaced out. Waiting longer after each failure is backoff; adding a small random delay is jitter.
- Rollback
- Going back to the previous version after a change causes trouble. It is often the fastest mitigation.
- Root cause
- The underlying reason something broke, as opposed to the symptom people saw. Most incidents have more than one contributing cause.
- Runbook
- Written steps for handling a known problem, so whoever is on call does not have to work it out from nothing at 3 a.m.
- Server
- A computer that runs services. Engineers also say host, node or machine; here they mean the same thing.
- Service
- A program that runs all the time and answers requests from people or from other programs. A shop's checkout, a login page and a search box are each usually a service.
- Severity
- A label for how bad an incident is. The smaller the number, the worse it is: SEV-1 is the most serious, where many users are affected and people are called in at once.
- Example: A checkout that fails for everyone is a SEV-1. A slow report page used by a few staff might be a SEV-3.
- SLA
- Service level agreement: a promise to customers, usually in a contract, with a penalty if it is broken. It is normally looser than the team's own SLO.
- SLI
- Service level indicator: a number that shows how well a service is doing for its users, such as the share of requests that succeeded.
- SLO
- Service level objective: the target a team sets for itself, such as "99.9% of requests succeed each month". It says how reliable is reliable enough.
- SRE
- Site Reliability Engineering: the job of keeping a website or app working, fast and safe to change. An SRE is an engineer who does that job, mostly by writing software and fixing causes rather than repeating manual work.
- STAR
- A way to tell a story about your own work in four parts: the Situation, the Task you had, the Action you took and the Result. Interviewers use it to follow what you personally did.
- Throughput
- How much work a service gets through in a given time. It is often counted as requests per second, written RPS or QPS (queries per second).
- Timeout
- A limit on how long to wait for an answer before giving up. Without timeouts, one slow part can make everything that depends on it wait for ever.
- TLS
- The encryption that protects traffic between a browser and a server (the padlock, and the "s" in https). A server proves who it is with a certificate, which has an expiry date; an expired certificate makes browsers refuse to connect.
- Toil
- Manual, repetitive work that keeps a service running but teaches nothing and grows as the service grows. SREs try to automate it away.
New to all of this? Start with the first lesson.