Skip to content

Glossary

Every technical term underlined with dots in a lesson has its short definition here. If you want more, the lesson where it appears explains it in depth.

ACID

ACID stands for Atomicity, Consistency, Isolation, Durability.

The four guarantees of a transaction. It happens completely or not at all (atomicity), it leaves the data following the rules of its tables (consistency), it doesn’t see the half-finished work of the others (isolation) and, once confirmed, it survives a power outage (durability).

Explained in phase-5/08-transactions.md

ACK

ACK stands for acknowledgment.

TCP’s confirmation. Its number is the next byte the receiver expects, so it confirms every earlier byte at once.

Explained in phase-0/06-tcp-vs-udp.md

ACME

ACME stands for Automatic Certificate Management Environment.

The protocol a program on your server, such as certbot, uses to ask a certificate authority like Let’s Encrypt for a certificate, prove that it controls the domain (for example, by publishing a file on port 80) and renew it without you stepping in.

Explained in phase-8/05-https.md

Agent

A program that lets a model decide which tools to use and in what order, round after round, until a task is done. Inside, it is a loop: call the model, run what it asks for, give it the result.

Explained in phase-11/03-tool-use.md

Aggregate function

An SQL operation that sums up many rows of a table into a single value, such as how many there are (COUNT), what they add up to (SUM) or their average (AVG). If the rows are split into groups, for example one per product, it gives one value for each group.

Explained in phase-5/03-group-by.md

Alert fatigue

What happens when so many alerts arrive, many of them unimportant, that the people receiving them stop paying attention. One day they ignore the one that mattered. You avoid it by alerting only on what affects users and needs action now.

Explained in phase-10/06-alerts.md

ALPN

ALPN stands for Application-Layer Protocol Negotiation.

The part of the TLS handshake in which the client and the server choose which protocol they will speak next, for example HTTP/2 (h2) or HTTP/1.1. It’s settled without spending a single extra round trip.

Explained in phase-2/08-http-versions.md

API

API stands for Application Programming Interface.

The way a program offers its services to other programs, that is, what you can ask it for and how it answers. The frontend talks to the backend through an API.

Explained in phase-0/01-what-is-the-backend.md

API contract

API stands for Application Programming Interface.

What an API promises to whoever uses it: which routes it has, which data each one accepts and what it answers, including when something goes wrong. When it’s written in a format like OpenAPI, programs can read it too and check whether it’s kept.

Explained in phase-4/05-openapi.md

API key

API stands for Application Programming Interface.

A long, random piece of text that identifies a program, not a person, when it calls an API. It travels with every request, usually in the Authorization header. A good server keeps only its hash, and to take away its access, deleting it is enough.

Explained in phase-6/03-jwt.md

API versioning

API stands for Application Programming Interface.

Giving a number or a name to each shape an API has, so it can change without breaking whoever uses the previous one: /v1/ and /v2/ live side by side for a while and each client picks its own.

Explained in phase-4/04-versioning.md

Array

A list of values in order, such as [20, 8.5, 35]. Each value is read by its position, which starts counting at 0: prices[0] is the first one.

Explained in phase-3/02-javascript.md

Assertion

The line of a test that compares what happened with what should have happened and makes the test fail if they differ. For example, checking that an order’s total is 25 and not 20.

Explained in phase-10/01-writing-tests.md

async and await

Two JavaScript words for waiting for something that takes time, like reading a file or receiving a response, without stopping everything else. await waits for a promise to arrive, and async marks the function that uses it.

Explained in phase-3/02-javascript.md

At-least-once delivery

A queue’s promise that every message will arrive at least once, never zero times. In exchange, it may arrive twice, for example if the worker goes down just before confirming it finished. That is why what the worker does must be idempotent.

Explained in phase-9/01-queues.md

Authentication

Checking who is making a request, for example with their email and password. It answers “Who are you?”; what that person can do is decided afterward by authorization.

Explained in phase-6/00-introduction.md

Authoritative server

The DNS server that holds the official answer for a zone: the stretch of names someone runs, such as example.com and what hangs from it. Whoever runs that stretch chooses it, and it is the last one a resolver asks on its trip.

Explained in phase-0/07-dns.md

Authorization

Deciding whether whoever makes a request can do what they ask, like viewing an order or creating a product. It comes after authentication, on every request: first the server knows who you are, then what you can do.

Explained in phase-6/00-introduction.md

B-tree

The way a database stores almost all its indexes. The entries sit in order at the bottom, in the leaves, and above them a few blocks say which leaf to look in. Each level multiplies what fits by hundreds, so any value is three or four steps away, even with millions of rows.

Explained in phase-5/07-indexes.md

Backend

The part of a website or app you don't see. It's the programs that, on servers, receive requests, store the data and decide what to answer.

Explained in phase-0/01-what-is-the-backend.md

Background job

A task that is done after answering the user, not while they wait, such as sending a confirmation email. The request leaves it noted in a queue and another program runs it.

Explained in phase-9/01-queues.md

Backup

A copy of the data kept apart, to get it back if the original is lost or damaged. You only know it works if you have tried restoring it, and it does not save you from losing the disk if it lives on the same one.

Explained in phase-8/03-production.md

Base image

The image another one starts from, the one in the FROM of its Dockerfile, like node:26-slim. It provides the system and the programs that sit under your layers, so a good part of your image’s size and of its known security flaws depends on it.

Explained in phase-7/04-multi-stage.md

Bind mount

A folder on your computer that shows up inside a container. Both see the same files at the same time, without copying them, so what you save in your editor is read by the container right away. It’s used mostly for development.

Explained in phase-7/05-volumes.md

Blocking code

Code that holds the thread until it finishes, without letting anything else run in the meantime. In a Node.js server, a blocking route makes every other request wait, even the ones that have nothing to do with it.

Explained in phase-3/09-event-loop.md

Blue-green deployment

A way of releasing with two complete environments: blue, with the current version serving users, and green, with the new one. Once green is tested, traffic is switched from one to the other at once. If something goes wrong, you switch back to blue.

Explained in phase-9/04-zero-downtime.md

Body (of a request or response)

The data an HTTP message carries after the blank line that ends the headers, such as the fields of a form, some JSON or an image. The Content-Type header says what format it’s in, and Content-Length how many bytes it takes up.

Explained in phase-2/01-request-and-response.md

BOLA

BOLA stands for Broken Object Level Authorization.

The flaw in an API that lets you see or change someone else’s data, like an order or an invoice, just by changing its number in the URL. The API checks who you are, but not whether that data is yours. It’s very common: it tops OWASP’s list of API flaws.

Explained in phase-6/05-authorization.md

Branch (in Git)

A name that points to a commit, like main. When you make a new commit on a branch, the name moves forward to it on its own. Inside, it’s a file holding a hash.

Explained in phase-1/10-git-internals.md

Breaking change

A change in an API that makes a client that used to work fail, without anyone touching it. Removing or renaming a field, changing its type or its unit, or requiring a new piece of data breaks clients; adding an optional field doesn’t.

Explained in phase-4/04-versioning.md

Brute force

Guessing something secret, like a password, by trying possibilities one after another until one works, usually with a program. It’s slowed down by making each attempt expensive, with a slow hash, and by limiting how many are allowed, with rate limiting.

Explained in phase-6/08-rate-limiting.md

Build cache

The layers Docker keeps from earlier builds so it doesn’t repeat work. A step is reused if the one before it was reused and its own hasn’t changed, neither its text nor the files it copies. As soon as one changes, that step and every step after it run again.

Explained in phase-7/02-layers.md

Cache

A saved copy of an answer, so it doesn’t have to be fetched again. It saves time, at the cost of the copy possibly being stale until it expires.

Explained in phase-2/07-caching.md

Cache invalidation

Making sure the saved copies of something that has changed stop being used. It’s hard because the server can’t notify the browsers that already have a copy; it only answers when asked. That’s why short expiration times are used, or the file gets a new name.

Explained in phase-2/07-caching.md

Cache stampede

What happens when a heavily requested answer expires and, at that moment, many requests ask the database for it at once because none of them finds it in the cache. The database suddenly gets work that the cache used to save it.

Explained in phase-9/02-cache.md

Cache-aside

A way of using a cache in which your application does the work. It looks in the cache first; if the answer is there, it uses it, and if not, it asks the database and saves the answer in the cache for next time.

Explained in phase-9/02-cache.md

CAP theorem

CAP stands for Consistency, Availability, Partition tolerance.

A rule about distributed systems: when the network splits, the system has to choose between continuing to answer, even if some answers are out of date (availability), or refusing to answer until it has the correct data (consistency). While the network is healthy, there is no choice to make.

Explained in phase-9/06-cap.md

Cardinality

The number of different values a metric’s label can take. Labelling with the route has few values; labelling with the user id has millions, and each one creates a new series that fills up memory.

Explained in phase-10/05-metrics.md

CDN

CDN stands for Content Delivery Network.

A network of servers spread around the world that serves a website from the one closest to each user, so the round trip is short. example.com sits behind Cloudflare’s.

Explained in phase-0/09-from-url-to-page.md

Certificate

A document that binds a domain name to a public key, signed by a certificate authority and with an expiration date. The server sends it at the start of a TLS connection.

Explained in phase-0/08-tls-and-https.md

Certificate authority

An organization that checks that whoever requests a certificate controls the domain, and then signs it (CA for short). Browsers and operating systems ship with the list of authorities they trust.

Explained in phase-0/08-tls-and-https.md

Chunking

Splitting a document into pieces that make sense on their own (in the shop, one per section, with its page's title) so each can be searched separately and the model gets only the ones it needs.

Explained in phase-11/06-rag.md

Client

The program that starts the conversation by asking another program, the server, for something. Your browser is a client.

Explained in phase-0/02-the-client-server-model.md

Code coverage

The percentage of your code’s lines that run when the tests run. A line with no coverage has not been tested by anyone; a covered line is not necessarily well tested, because running it is not the same as checking it.

Explained in phase-10/02-types-of-tests.md

Commit

A saved snapshot of a project in Git, with the contents of all its files at that moment, who made it, when, a message explaining the change and which snapshot came before. It’s called by its hash.

Explained in phase-1/10-git-internals.md

Compression

Shrinking a response before sending it, so it arrives sooner. The client says which formats it understands (gzip, br or zstd) in the Accept-Encoding header, and the server says which one it used in Content-Encoding. On a web page, it usually cuts the size by three quarters or more.

Explained in phase-2/04-headers.md

Connection pool

A few connections to the database that a server keeps open and reuses. Each query takes a free one and gives it back when it’s done. Opening a connection costs much more than using it, and the database only accepts a limited number at a time.

Explained in phase-5/05-node-and-postgresql.md

Constraint

A rule the database checks on every change, such as the price being greater than zero or no two categories having the same name. Data that breaks it doesn’t get in, wherever it comes from.

Explained in phase-5/04-modeling.md

Container

A program that runs isolated and carries inside everything it needs, with its own files, its own network and its own processes. It isn’t a virtual machine, because it doesn’t start a whole system; it shares the Linux kernel of the machine it runs on. That’s why it starts in less than a second.

Explained in phase-7/00-introduction.md

Content negotiation

When the client says in its headers what it prefers (a language, a format, a compression) and the server picks, among the versions it has of the same address, the one that fits best. The Vary header warns caches that the response depends on those headers.

Explained in phase-2/04-headers.md

Content Security Policy (CSP)

CSP stands for Content Security Policy.

A response header with which the server tells the browser where a page may load each thing from: code, images, styles… If someone manages to slip JavaScript code into the page, the browser doesn’t run it. It’s a second barrier against XSS, not the fix: the text that slipped in is still on the page.

Explained in phase-6/06-injection.md

Context propagation

Passing a trace’s identifier from one program to the next, usually in an HTTP header or in a queue message, so the spans of several programs end up in the same trace instead of in separate ones.

Explained in phase-10/04-traces.md

Context window

How many tokens a model can read at once: the instructions, the conversation and what the tools return, all together. What doesn't fit, it doesn't see.

Explained in phase-11/01-model-apis.md

Continuous deployment (CD)

CD stands for Continuous Deployment.

Every change that passes the continuous integration checks reaches production by itself, without anyone deploying it by hand. If the last step is a button a person presses, it is called continuous delivery, with the same initials.

Explained in phase-8/06-ci-cd.md

Continuous integration (CI)

CI stands for Continuous Integration.

Merging changes into the main branch often, with a program that checks each one before it is accepted (installs, checks the types, runs the tests). If something breaks, you know within minutes, and you know which change did it.

Explained in phase-8/06-ci-cd.md

Contract test

A test that checks that what your server answers matches what you promised in the API documentation, for example that every response has the fields and types of the schema. It warns you when a change would break clients.

Explained in phase-10/03-contract.md

A small piece of data, with a name and a value, that a server asks the browser to keep with the Set-Cookie header. The browser sends it back in the Cookie header of its next requests to that site, and that’s how the server recognizes the same visitor.

Explained in phase-2/05-cookies.md

CORS

CORS stands for Cross-Origin Resource Sharing.

The way a server tells the browser which other origins may read its responses from a page’s code, with headers such as Access-Control-Allow-Origin. The browser enforces it, not the server.

Explained in phase-2/06-cors.md

Cosine distance

How far apart two vectors are by the angle between them, regardless of their length: 0 if they point the same way, 1 if they have nothing to do with each other and 2 if they point in opposite directions. Between two embeddings, it says how alike two texts are. In pgvector, it’s the <=> operator.

Explained in phase-11/05-embeddings.md

Counter

A metric that only goes up, like the number of requests served since the program started. What matters is not its value but how fast it grows per second. If the program restarts, it goes back to zero.

Explained in phase-10/05-metrics.md

CSR

CSR stands for Certificate Signing Request.

The request sent to a certificate authority for it to sign a certificate. It carries the server’s public key and the names it must cover, signed with its private key, which never leaves the server.

Explained in phase-8/05-https.md

CSRF

CSRF stands for Cross-Site Request Forgery.

An attack in which a page makes your browser send a request to a site where you’re logged in, with your cookies, to do something on your behalf, such as changing your email or buying something. CORS doesn’t prevent it, because many requests reach the server even if the page can’t read the response.

Explained in phase-2/06-cors.md

Cursor (in pagination)

A piece of text that marks how far you’ve read in a list split into pages, so you can ask for “the ones after this one.” The server writes it, and the client only sends it back as it is. Unlike “skip the first 20,” it doesn’t get it wrong if the list changes between one page and the next.

Explained in phase-4/03-pagination.md

Daemon

A program that keeps running on its own, with no window or terminal, waiting to do its job. Web servers are daemons, and many have a d at the end of their name.

Explained in phase-1/06-services-and-packages.md

Data center

A building full of servers, with backup power, cooling, security and fast internet connections with public IP addresses. It’s where rented servers live.

Explained in phase-8/01-vps.md

Database

A program that stores data in an organized way and lets you search and change it quickly, even when many people use it at once. The backend keeps in it whatever needs to last.

Explained in phase-5/00-introduction.md

Database management system (DBMS)

DBMS stands for Database Management System.

The program that stores a database’s data and serves whoever wants to read or change it, many at once, without anyone erasing someone else’s changes and without losing anything if the power goes out. PostgreSQL, MySQL and SQLite are database management systems.

Explained in phase-5/00-introduction.md

Database schema

The description of a database’s tables: which columns each one has, of what type and what rules they follow. In SQL it’s written with CREATE TABLE.

Explained in phase-5/04-modeling.md

Datagram

A UDP message. It travels on its own, without a connection, and nobody confirms whether it arrived. It arrives whole or not at all.

Explained in phase-0/06-tcp-vs-udp.md

Deployment

Putting a new version of a program to work on the servers, where users use it. Also called a deploy.

Explained in phase-1/10-git-internals.md

Deployment rollback

Putting the previous version of a program back to work when the new one fails. It brings back the code, not the data or the database schema, because what the new version’s migrations changed stays changed. It is not a transaction’s ROLLBACK, which does undo the changes.

Explained in phase-8/06-ci-cd.md

Deprecated

Said of a part of an API that still works but is no longer recommended, because it’s going to be removed. In HTTP, the Deprecation header warns that something is deprecated, and the Sunset header says when it will stop working.

Explained in phase-4/04-versioning.md

DevTools

The developer tools that come with browsers such as Chrome or Firefox, opened with F12. Their Network tab shows every request the page makes, with its response and headers; the Console, the page’s errors; and Application (Storage, in Firefox), what the site stores in your browser, such as cookies.

Explained in phase-2/00-introduction.md

Digest (of an image)

The SHA-256 hash that names a Docker image by its content, written as sha256 followed by 64 characters. A digest always names exactly the same image, and Docker checks it when downloading it, so pinning an image by its digest keeps it from changing unless you decide so.

Explained in phase-7/08-registries.md

Digital signature

A few bytes someone computes from a message with their private key. With the public key, anyone can check that the message hasn’t changed and that the owner of that key signed it.

Explained in phase-0/08-tls-and-https.md

Directory

Another word for a folder. The terminal uses it a lot.

Explained in phase-1/01-the-shell-commands-and-paths.md

Distributed system

A system made of several computers that cooperate over the network and present themselves to the user as one. Because the network can fail or be slow, each computer may see different things at a given moment.

Explained in phase-9/06-cap.md

DNS

DNS stands for Domain Name System.

The system that turns names such as example.com into IP addresses (and stores other data about the domain, such as its mail servers). It is a database spread across the whole world, organized as a tree of names.

Explained in phase-0/07-dns.md

DNS record

DNS stands for Domain Name System.

A piece of data a domain publishes in the DNS, with a type: A (an IPv4 address), AAAA (an IPv6 address), CNAME (an alias for another name), MX (the mail server), TXT (free text) or NS (its DNS servers).

Explained in phase-0/07-dns.md

Docker

A program that creates containers and runs them. It has two parts, a daemon that does the work and the docker command you use to ask it, and it works the same on any computer where it’s installed.

Explained in phase-7/00-introduction.md

Docker Compose

A Docker tool that starts several containers from a file, compose.yaml, that describes each one with its image, its variables, its ports and its volumes. docker compose up starts them all, in order and on a network of their own, and docker compose down stops them.

Explained in phase-7/07-compose.md

Docker image

A read-only template with the files a program needs (the program itself, its libraries and a minimal system) and the command to start it. You can start as many containers as you want from one image, and none of them changes it.

Explained in phase-7/01-containers.md

Docker network

A private network Docker creates inside your computer so containers can talk to each other, each one with its own IP address. On a network you create yourself, with docker network create, each container finds the others by name, because Docker acts as their DNS.

Explained in phase-7/06-networks.md

Dockerfile

The text file with the recipe for a Docker image, one instruction per line. It says which image to start from, which files to copy, which commands to run while building it and which program each container starts. docker build reads it from top to bottom, and each step that changes files adds a layer.

Explained in phase-7/03-dockerfile.md

Document database

A database that stores each thing (an order, a user) as a document that looks like JSON, with data inside data, without requiring every document to have the same fields. MongoDB is the best known.

Explained in phase-5/10-nosql.md

Domain name

The name of a website or a server, such as example.com, which you buy by the year from a registrar. Whoever holds it decides, with its DNS records, which IP address it points to.

Explained in phase-8/05-https.md

Driver (database)

The package that lets a program talk to a database. It opens the connection, sends the queries using that database’s protocol and turns the answers into data in the program’s language. In Node.js, the most used one for PostgreSQL is pg.

Explained in phase-5/05-node-and-postgresql.md

Embedding

A piece of text turned into a list of numbers, a vector, by a model trained so that texts that mean the same thing give nearby vectors. It’s used to search by meaning: “something for the cold” lands near a scarf even though they share no words.

Explained in phase-11/05-embeddings.md

Encapsulation

What happens when a message goes down the layers. Each one wraps it in its own header, like an envelope inside another envelope. On arrival, it is unwrapped in reverse order.

Explained in phase-0/04-the-tcp-ip-model.md

Encryption

Transforming a message with a key so that only someone with the key to decrypt it can read it. If the same key encrypts and decrypts, it is symmetric; if there are two different keys, a public one and a private one, it is asymmetric.

Explained in phase-0/08-tls-and-https.md

End-to-end test

An automatic test that uses the whole program from the outside, the way a client would: it sends a real HTTP request and looks at the response. It is the closest to real use and also the slowest.

Explained in phase-10/02-types-of-tests.md

Endpoint

Each address of an API you can send requests to, together with its method. GET /orders and POST /orders are two endpoints on the same URL. It’s a server route seen from the outside, by whoever uses the API.

Explained in phase-4/01-rest.md

Environment variable

A name with a value, like PORT=3000, that a program receives when it starts from whoever starts it, for example the shell. It lets you configure the program without changing its code and give it secrets without writing them in it.

Explained in phase-1/07-environment-variables.md

Error budget

What an SLO lets you fail: with 99.5% monthly, 0.5% of requests. While budget is left you can take risks and deploy; once it runs out, it is time to stop new features and fix reliability.

Explained in phase-10/06-alerts.md

ETag

A tag the server puts on each version of a response, in the ETag header. The browser sends it back when asking whether its saved copy is still good; if it matches, the server answers with status code 304 and doesn’t send the content again.

Explained in phase-2/07-caching.md

Eval

A test case for an AI application: a question and a way to check the answer (in code, or with another model). Since the model doesn't always answer the same way, evals check the behavior, not the exact words.

Explained in phase-11/07-production.md

Event loop

The loop Node.js uses to handle many things at once with a single thread. It runs a piece of code to the end, checks what’s ready in its queue (a request that has arrived, a timer that has run out) and moves on to the next one. If a piece takes a long time, everything else waits.

Explained in phase-3/09-event-loop.md

Event-driven architecture

A way of organising a system in which each part announces what has happened (“order created”) and other parts react on their own. Whoever announces does not know who is listening, so reactions can be added without touching it.

Explained in phase-9/07-events.md

Eventual consistency

The guarantee that, if changes stop arriving, all copies of a piece of data will end up with the same value, even though for a while some show the old one. It is accepted in exchange for speed and for continuing to work when the network fails.

Explained in phase-9/06-cap.md

Eviction

Deleting data from a cache that has filled up to make room for other data. A rule decides what goes, such as removing whatever has gone unused the longest. Unlike expiry (TTL), which is based on time, eviction happens only because space ran out.

Explained in phase-9/02-cache.md

Exception

An error a program throws when it can’t go on with what it was doing, like reading a JSON that arrives cut off. It travels up through the code until some part catches it; if none does, the program ends.

Explained in phase-3/08-errors-and-logs.md

Exit code

The number a program leaves when it finishes. 0 means it went well, and any other, from 1 to 255, that something failed. The shell keeps it in $?, and scripts check it to decide whether to go on.

Explained in phase-1/03-pipes-and-redirection.md

Exponential backoff

A way of retrying something that failed by waiting longer each time: one second, then two, then four. It gives the problem time to clear and avoids piling retries onto a service that is already struggling.

Explained in phase-9/01-queues.md

Fingerprint (of a key)

A short summary calculated from a public key that serves to recognize it. If the key changes by a single character, the fingerprint comes out completely different.

Explained in phase-1/09-ssh.md

Firewall

A program that decides which connections may come into a computer, and which may go out, following rules such as “only ports 22, 80 and 443.” What it doesn’t let through, it usually drops without answering.

Explained in phase-8/02-server-security.md

Flaky test

A test that sometimes passes and sometimes fails although the code has not changed, almost always because it depends on the clock, the order of execution or something external. It is dangerous because it teaches people to ignore failures.

Explained in phase-10/02-types-of-tests.md

Foreign key

A column that stores the primary key of a row in another table, such as the product number of each order. The database won’t let you save a value that doesn’t exist in the other table and, unless told otherwise, won’t let you delete a row that others point to either.

Explained in phase-5/02-join.md

Framework

Ready-made code that solves what almost every program of one kind repeats, such as a server (reading each request, deciding which route handles it and responding), and that calls your functions when the time comes. You write only what’s specific to your application. Hono, Express and Fastify are frameworks for servers.

Explained in phase-3/05-frameworks.md

Frontend

The part of a website or app you see and touch. It runs on your device, in the browser or in the phone app, and asks the backend for what it needs.

Explained in phase-0/01-what-is-the-backend.md

Searching for words inside texts, taking their variants into account (glove, gloves) and leaving out the words that say nothing (the, for). PostgreSQL has it built in, with tsvector, tsquery and a GIN index. It finds words, not meanings.

Explained in phase-11/05-embeddings.md

Function

A named piece of code that takes some data, does something with it and returns a result. It’s written once and used as many times as needed.

Explained in phase-3/02-javascript.md

Gateway

The router your computer sends everything that isn’t for its own local network to. At home it is your router, for example 192.168.1.1.

Explained in phase-0/05-ip-ports-and-sockets.md

Gauge

A metric that goes up and down, like open connections or jobs waiting in a queue. Its value right now already says something, unlike a counter.

Explained in phase-10/05-metrics.md

Git

The most widely used program for keeping the history of a project’s files, with what changed, who changed it, when and why. Linus Torvalds created it in 2005 for the Linux code.

Explained in phase-1/10-git-internals.md

GitHub Actions

The GitHub service that runs tasks when something happens in a repository, such as a push or a pull request, for example running the tests or publishing an image. They are described in YAML files in .github/workflows, and every job runs on a fresh virtual machine GitHub lends.

Explained in phase-8/06-ci-cd.md

Graceful shutdown

Switching a program off by letting it finish what it has in hand. It stops accepting new requests, completes the ones in progress and only then closes, instead of cutting them off abruptly.

Explained in phase-9/04-zero-downtime.md

Grafana

A program that draws charts and dashboards from data such as Prometheus’s, and can also send you an alert when a chart passes a limit.

Explained in phase-10/05-metrics.md

GraphQL

A language for asking an API for data, in which the client writes a query with the exact fields it wants and gets them back in that same shape. Every query goes to the same address, and the server publishes a schema with what can be asked for. Facebook created it in 2012.

Explained in phase-4/09-alternatives.md

Group (in Linux)

A set of users with a name, to give them all permissions at once. Every file belongs to a group, and a user can be in several.

Explained in phase-1/04-users-and-permissions.md

gRPC

A way for two programs to talk in which one calls a function of the other as if it were in its own code. The data travels in Protobuf over HTTP/2, and a .proto file describes the functions and their data. It’s used mostly between the services of a single company. Google created it.

Explained in phase-4/09-alternatives.md

Hallucination

When a model confidently states something untrue, such as a returns policy the shop doesn't have. It's reduced by giving it the sources and asking it to say it doesn't know when they don't answer, and watched with evals.

Explained in phase-11/06-rag.md

Handshake

The exchange of messages two endpoints use to open a connection before sending data. In TCP there are three (SYN, SYN-ACK and ACK), and they cost one round trip.

Explained in phase-0/06-tcp-vs-udp.md

Hardening

Protecting a server by removing everything an attacker could use and you don’t need, such as ways in, open ports and software that isn’t up to date.

Explained in phase-8/02-server-security.md

Hash

A short, fixed-size summary calculated from some data, like a fingerprint. The same data always gives the same hash, and the smallest change gives a completely different one. Git calls each commit by its hash.

Explained in phase-1/10-git-internals.md

Head-of-line blocking

When the first thing in a line gets stuck and holds up everything behind it, even what’s ready to go. In HTTP/1.1 a slow response causes it; in TCP, a lost segment.

Explained in phase-2/08-http-versions.md

Information a protocol puts in front of its data to do its job. In HTTP they are text lines of the form “Name: value”, such as Host or Content-Type; in TCP or IP they are numbers in fixed positions, such as ports or addresses.

Explained in phase-0/03-what-a-protocol-is.md

Healthcheck

A command Docker runs every few seconds inside a container to find out whether its program really works, not just whether it’s running. If it ends well, the container is healthy; after several failures in a row, it’s unhealthy. Compose uses it to wait for a service before starting the ones that depend on it.

Explained in phase-7/04-multi-stage.md

Histogram

A metric that counts how many measurements fall into each range, for example how many responses took under 100 ms, under 500 ms and under a second. It is used to work out percentiles without storing every measurement.

Explained in phase-10/05-metrics.md

HMAC

HMAC stands for Hash-based Message Authentication Code.

A signature computed with a hash from a message and a secret that both parties know. Whoever has the secret can check that the message comes from the other party and that nobody has changed it; whoever doesn’t have it can’t forge one.

Explained in phase-4/07-webhooks.md

HNSW

HNSW stands for Hierarchical Navigable Small World.

An index to find the vectors nearest to a given one without reading the whole table: a graph in floors in which the search jumps from neighbor to neighbor until it gets close. It’s approximate: much faster than reading the whole table, but it doesn’t guarantee finding the truly nearest ones.

Explained in phase-11/05-embeddings.md

Horizontal scaling

Handling more users by adding more copies of the program, each on its own machine or process, with a load balancer sharing out the work. Its ceiling is much higher than that of a bigger machine, but it requires each copy to remember nothing between one request and the next.

Explained in phase-9/03-scaling.md

HSTS

HSTS stands for HTTP Strict Transport Security.

The Strict-Transport-Security header, with which a site asks the browser to connect to it only over HTTPS for as long as it says, even if you type http:// or follow an old link. The browser only takes it into account if it arrives over HTTPS.

Explained in phase-2/04-headers.md

HTTP

HTTP stands for HyperText Transfer Protocol.

The protocol of the web. It defines how a client asks a server for pages, images and other files, and how the server answers.

Explained in phase-0/03-what-a-protocol-is.md

HTTP method

HTTP stands for HyperText Transfer Protocol.

The word every HTTP request starts with, which says what the client wants to do with what it asks for. GET is reading, POST sending data, PUT replacing, PATCH changing a part and DELETE deleting.

Explained in phase-2/02-methods.md

HTTP/2

HTTP stands for HyperText Transfer Protocol.

The 2015 version of HTTP. It says the same as HTTP/1.1, but cut into pieces and in a format made for machines, not text, and it carries many requests at once over a single TCP connection. Browsers only use it with HTTPS.

Explained in phase-2/08-http-versions.md

HTTP/3

HTTP stands for HyperText Transfer Protocol.

The 2022 version of HTTP. It does the same as HTTP/2, but over QUIC, on UDP, instead of TCP. That way, a lost piece only delays its own request, and the connection survives a change of network.

Explained in phase-2/08-http-versions.md

HTTPS

HTTPS stands for HyperText Transfer Protocol Secure.

HTTP inside a TLS connection, usually on port 443. Nobody along the way can read or change the requests and responses, and the browser uses a certificate to check that the server really belongs to the domain.

Explained in phase-0/08-tls-and-https.md

IaaS

Infrastructure as a Service: you rent virtual servers, disks and networks, and you manage everything inside them, from the operating system to your application. A VPS and Amazon EC2 are IaaS.

Explained in phase-8/07-cloud-models.md

Idempotency key

A unique value the client sends in the Idempotency-Key header along with an operation, such as creating an order. If it repeats the request with the same key, the server returns the first response instead of doing it again.

Explained in phase-4/07-webhooks.md

Idempotent

Said of an operation that leaves things in the same state whether you do it once or ten times. In HTTP, GET, PUT and DELETE are idempotent and POST isn’t, so repeating a POST can create two orders.

Explained in phase-2/02-methods.md

Image registry

A service that stores Docker images so they can be downloaded with docker pull and published with docker push. The best known is Docker Hub, the one Docker uses unless you tell it another.

Explained in phase-7/01-containers.md

Incident

An event that makes the service stop working or work badly for users, such as a site answering with errors. It is handled in order: first reduce the damage, then look for the cause.

Explained in phase-10/07-incidents.md

Index (database)

A separate, sorted list with the values of one or more columns of a table and where each row is. With it, the database finds a few rows without reading the whole table. In exchange, it takes up disk space and every write has to update it.

Explained in phase-5/07-indexes.md

Infrastructure as code

Describing the servers, firewalls, DNS records and other pieces of a system in text files instead of creating them by hand in a dashboard. The files go to Git, get reviewed like code, and a program such as Terraform creates what they describe. Often shortened to IaC.

Explained in phase-8/08-terraform.md

Instrumentation

The code that makes a program emit data about itself, such as spans or metrics. It can be automatic, with a library that wraps Hono or PostgreSQL for you, or manual, with lines you write yourself.

Explained in phase-10/04-traces.md

Integration test

An automatic test that makes several real pieces work together, for example your code and a real PostgreSQL database, to check that they fit. It takes longer than a unit test, but it finds failures that a unit test cannot see.

Explained in phase-10/02-types-of-tests.md

IP address

IP stands for Internet Protocol.

The number that identifies a computer on a network, for example 192.168.1.133 (IPv4) or 2606:4700:10::6814:179a (IPv6). It is the address the network layer uses to take each packet to its destination.

Explained in phase-0/05-ip-ports-and-sockets.md

Isolation level

How much a transaction is protected from the ones running at the same time. PostgreSQL uses Read Committed by default, where each command sees what has already been confirmed; with Serializable, the result is the same as if they ran one after another, at the cost of having to retry some.

Explained in phase-5/08-transactions.md

Jaeger

A program that receives traces and lets you see them on a web page as a timeline: which spans a request had and how long each one took. It is open source and understands OpenTelemetry.

Explained in phase-10/04-traces.md

JavaScript

The programming language of web pages, which, with Node.js, is also used outside the browser to write servers. A JavaScript program is text with instructions that run one after another.

Explained in phase-3/02-javascript.md

Join (combining tables)

The part of an SQL query that puts together the rows of two tables that match on a condition, such as each order with its product. If a row matches several in the other table, it comes out once for each one.

Explained in phase-5/02-join.md

JSON

JSON stands for JavaScript Object Notation.

A format for writing data as text, with braces, quotes and colons: {"product":"mug","quantity":2}. People can read it, and so can almost any programming language, and it’s the most common format for the data that travels between a frontend and a backend.

Explained in phase-2/01-request-and-response.md

JSON Schema

JSON stands for JavaScript Object Notation.

A format, written in JSON, to describe what a piece of JSON data must look like: which fields it has, the type of each and which are required. A program can use it to validate data automatically.

Explained in phase-10/03-contract.md

JSON-RPC

JSON stands for JavaScript Object Notation.

A way to call a function in another program with a JSON message: the function’s name (method), its arguments (params) and an id, which the response repeats. A message without an id is a notification and expects no response. RPC stands for remote procedure call.

Explained in phase-11/04-mcp.md

jsonb (in PostgreSQL)

A PostgreSQL column type that stores a whole JSON document in each row, already broken down into a binary format so you can search inside it. It’s for data that doesn’t always have the same shape, without leaving your usual database. It’s often written JSONB.

Explained in phase-5/10-nosql.md

JWT

JWT stands for JSON Web Token.

A piece of text with some data in JSON, like who someone is and until when it’s valid, and a signature that proves who issued it and that nobody has changed it. It usually isn’t encrypted, so anyone who has it can read it, and it can’t be canceled before it expires without keeping a separate list.

Explained in phase-6/03-jwt.md

Key-value store

A database that stores each piece of data under a name, its key, and gives it back when you give it that name, like a dictionary. It doesn’t search by conditions or combine data, and in exchange it’s very fast. Redis is the best known, and it’s widely used as a cache.

Explained in phase-5/10-nosql.md

Latency

How long data takes to get from one place to another. It depends mostly on distance and on the routers along the way, and a faster plan (more bandwidth) barely improves it: that changes how much data fits per second, not how long each trip takes.

Explained in phase-0/09-from-url-to-page.md

Layer

Each of the levels the job of connecting two programs over a network is split into. Each layer solves a single problem and relies on the one below.

Explained in phase-0/04-the-tcp-ip-model.md

Layer (of an image)

Each of the read-only pieces that make up a Docker image. It holds the files that one step of the image’s recipe added, changed or deleted, and the layers stack up to form the container’s files. It’s named by the fingerprint of its content, so several images share the layers that are identical and they’re stored only once.

Explained in phase-7/02-layers.md

Least privilege

The rule of giving each user and each program only the permissions it needs, and no more. If something fails or someone gets in where they shouldn’t, the damage stays within the little it could touch.

Explained in phase-1/04-users-and-permissions.md

Let’s Encrypt

A nonprofit certificate authority that gives out certificates for free and automatically. Before signing one, it checks with the ACME protocol that whoever asks for it controls the domain.

Explained in phase-8/05-https.md

Liveness probe

A periodic check that answers “is this program still alive?”. If it fails several times, whatever supervises it restarts it. It must look only at the program itself: if it looked at the database, a database outage would restart everything without fixing anything.

Explained in phase-10/06-alerts.md

LLM

LLM stands for Large Language Model.

A program trained on a huge amount of text that, given some text, writes how it continues. Claude, GPT and Gemini are LLMs. Your backend uses one like any other API: it sends text and gets text back, and pays for what the model reads and what it writes.

Explained in phase-11/01-model-apis.md

Load balancer

What spreads requests across several copies of the same program, so that none of them carries everything and, if one goes down, the others keep serving. It can be a program, like nginx with its upstream block, or a service from a cloud provider.

Explained in phase-8/04-reverse-proxy.md

Load test

An experiment in which a program sends many requests in a row to your server to measure how many it can take and how long it takes to answer. It tells you where the limit is before your users find it.

Explained in phase-9/00-introduction.md

localhost

A name that always means “this same computer.” When you open localhost:8080, both the client and the server are on your machine.

Explained in phase-0/02-the-client-server-model.md

Log

A text file where a program writes down what happens, one line for each thing. A web server’s has a line for each request it receives, and it’s the first thing you look at when something fails.

Explained in phase-1/02-files-and-text.md

Log level

How important a line of the log is. From least to most: trace, debug, info, warn, error and fatal. The program is given a minimum level, and it only writes the lines of that level or a higher one, so the log doesn’t fill up with details.

Explained in phase-3/08-errors-and-logs.md

MAC address

MAC stands for Media Access Control.

The identifier of a network card within the local network, such as 3a:7f:c2:19:5e:d4. It only gets as far as the next device; the IP address is what reaches the final destination.

Explained in phase-0/04-the-tcp-ip-model.md

Managed service

A program, like a database, that a provider installs, updates, backs up and monitors for you. You use it as if it were yours, but you never log into its server. Amazon RDS is managed PostgreSQL.

Explained in phase-8/07-cloud-models.md

MCP

MCP stands for Model Context Protocol.

An open protocol that lets an AI agent discover a server’s tools and use them, whichever the agent and whichever the server. Underneath it’s JSON-RPC messages: tools/list to see the list, tools/call to use one. Anthropic published it in 2024.

Explained in phase-11/04-mcp.md

Message queue

A list of pending tasks that lives outside your server. One program adds messages at the end and another takes them from the front, one by one, at its own pace. That way whoever asks for the work does not have to wait for it to finish.

Explained in phase-9/01-queues.md

Metric

A number measured over time, like requests per second or the milliseconds a response takes. It weighs very little, so it is good for seeing trends and triggering an alert, although it does not say which request failed.

Explained in phase-10/05-metrics.md

Microservices

An application split into several small, independent programs, each with its own job and often its own database, talking to each other over the network. Each can be changed and scaled separately, at the cost of more pieces that can fail and need watching.

Explained in phase-9/05-microservices.md

Middleware

A function a server runs with the requests of the routes it’s registered on (all of them, or only some), before the code that answers them. It can answer the request itself or pass it on to the next one, and it sees the response on its way back. It’s used for what affects many requests, like writing them to the log, granting CORS permission or asking for a credential.

Explained in phase-3/06-middleware.md

Migration

A file with a change to a database’s tables, such as adding a column, that is applied only once and in order, without deleting the data already there. The database itself records in a table which ones have already been applied.

Explained in phase-5/06-migrations.md

MIME type

MIME stands for Multipurpose Internet Mail Extensions.

The label that says what kind of data a message carries, in the form type/subtype: text/html is a web page, application/json is data in JSON and image/png a PNG image. In HTTP it goes in the Content-Type header. It’s also called a media type.

Explained in phase-2/01-request-and-response.md

Mock

A test double that gives canned answers and also remembers how it was used, so the test can check “it was called once with this value”. Use it with care: a test full of mocks checks the mock more than your code.

Explained in phase-10/01-writing-tests.md

Model as judge

Using a model to grade another's answers (or its own) against a list of criteria. It helps with what code can't check, such as tone, but the judge makes mistakes too: it doesn't replace checks in code.

Explained in phase-11/07-production.md

Module

A code file that offers some of its pieces to other files, which bring them in with import. This way a program is split across several files and can use the pieces that come with Node.js or with a package.

Explained in phase-3/01-node-js.md

Monolith

A whole application in a single program that is deployed as one unit: orders, users and emails live in the same codebase and are released together. It is the simplest to build and understand, and almost always the best starting point.

Explained in phase-9/05-microservices.md

Multi-stage build

A Dockerfile with several stages, each one starting from its own FROM. The first ones install, compile or check, and the last one copies from them only what the program needs to run. Everything else, like the development tools, stays out of the final image.

Explained in phase-7/04-multi-stage.md

Multiplexing

Sending several things at once over the same channel, cut into pieces and interleaved, with a label on each piece that says which one it belongs to. HTTP/2 and HTTP/3 use it to carry many requests and responses over a single connection.

Explained in phase-2/08-http-versions.md

N+1 problem

A program asks the database for a list with one query and then makes one more for each item, instead of fetching everything together. With 1,000 products, that’s 1,001 round trips. It’s fixed with a JOIN or by asking for each relationship in one go.

Explained in phase-5/09-orm.md

NAT

NAT stands for Network Address Translation.

What the router does on the way out to the internet: it replaces your device’s private IP address with its own public one, and notes the change so it can undo it in the replies.

Explained in phase-0/05-ip-ports-and-sockets.md

Network partition

A network break that leaves the machines of a system divided into groups that cannot talk to each other, even though all of them are still running. Each group must decide what to do without knowing what the other is doing.

Explained in phase-9/06-cap.md

Node.js

A program that runs JavaScript outside the browser, on your computer or on a server. It uses the same engine as Chrome and adds what a web page can’t do, like reading files or listening on a port.

Explained in phase-3/01-node-js.md

Normalization

Splitting the data into tables so that each piece of data is stored in only one place, such as a product’s price in its row and not copied into every order. That way, a change is made once and the database can’t contradict itself.

Explained in phase-5/04-modeling.md

NoSQL

A label for the databases that don’t store data in related tables or use SQL for queries, such as key-value stores and document databases. It isn’t one specific technology but a group of them, and each one works its own way and fits different cases.

Explained in phase-5/10-nosql.md

npm

The package manager of Node.js, which comes installed with it. It’s both a command, which downloads packages into your project, and a public catalog on the internet where anyone can publish them. Although it’s often read as “Node Package Manager,” officially it isn’t an acronym.

Explained in phase-3/01-node-js.md

OAuth

A standard that lets an app get limited permission on your account with another service, like viewing your photos, without knowing your password. You give the permission on the service’s own website, and the service hands the app a key that opens only that and that you can take back whenever you want.

Explained in phase-6/04-oauth.md

Object

A value that groups several pieces of data, each with its own name, such as { name: "Mug", price: 8.5 }. Each piece is read with a period and its name, such as product.price.

Explained in phase-3/02-javascript.md

Observability

The ability to know what is happening inside a running program by looking only at what it sends out: logs, metrics and traces. If you can ask “why did this request take 3 seconds?” without having to add new code to find out, you have observability.

Explained in phase-10/04-traces.md

On-call

The shift in which one person on the team is available to answer an alert outside normal hours. Rotating the shift and alerting only on what matters stops on-call from burning anyone out.

Explained in phase-10/07-incidents.md

OpenAPI

A standard format for describing an API in a JSON or YAML document: each route, the data it receives and what it answers, including when it fails. People read it, and so do programs such as documentation pages and code generators. It used to be called Swagger.

Explained in phase-4/05-openapi.md

OpenID Connect

A layer on top of OAuth for signing in to a website with your account on another service, like “Sign in with Google.” That service checks who you are and gives the website a signed JWT that says who you are and which website it’s for.

Explained in phase-6/04-oauth.md

OpenTelemetry

An open standard, with libraries for many languages, for a program to send traces, metrics and logs in a common format. Any tool that understands it, such as Jaeger or Prometheus, can receive them.

Explained in phase-10/04-traces.md

Origin (on the web)

What identifies a website to the browser: the scheme (http or https), the server name and the port. https://shop.example and https://www.shop.example are different origins; the path doesn’t count.

Explained in phase-2/06-cors.md

ORM

ORM stands for Object-Relational Mapping.

A package that translates between a database’s tables and a program’s objects. You ask for the data in the program’s language, it writes the SQL and gives you back each row as an object. Drizzle and Prisma are ORMs for TypeScript.

Explained in phase-5/09-orm.md

OWASP

OWASP stands for Open Worldwide Application Security Project.

An open community, backed by a nonprofit foundation, that publishes free guides and tools for building secure web applications. Its best-known document is the OWASP Top 10, the list of the ten most serious risks for web applications.

Explained in phase-6/09-owasp.md

PaaS

Platform as a Service: you hand over your code or your Docker image, and the platform builds it, runs it and gives it a name with HTTPS. It manages the server and its operating system, and you never log into them.

Explained in phase-8/07-cloud-models.md

Package (of code)

Ready-to-use code that someone publishes with a name and a version number, so others can install it in their projects instead of writing it. In Node.js, packages are installed with npm and kept in the node_modules folder.

Explained in phase-3/01-node-js.md

Package manager

A program that installs, updates and removes other programs from a catalog, and also brings the ones each of them needs to work. On Ubuntu it’s apt, on a Mac, Homebrew, and for Node.js code, npm. Some catalogs are looked after by a team, like Ubuntu’s; in others, like npm, anyone can publish.

Explained in phase-1/06-services-and-packages.md

Packet

One of the pieces data travels in across a network; the network layer is the one that handles it. It carries the source and destination IP addresses, and routers pass it from network to network until it reaches its destination.

Explained in phase-0/04-the-tcp-ip-model.md

Pagination

Returning a long list in chunks, called pages, instead of all at once. The client says how many items it wants and where to start, usually in the query string, and the response tells it how to ask for the next page.

Explained in phase-4/03-pagination.md

Password hashing

Storing a password as its hash, calculated with a deliberately slow algorithm and with a salt, instead of the password itself. To check it, the calculation is repeated with what the person types and the two results are compared; the password can’t be recovered from what’s stored.

Explained in phase-6/01-passwords.md

Path

The address of a file or a folder inside the computer, with the folder names separated by slashes, like /Users/ana/backend-course. It’s absolute if it starts at the root (/) and relative if it starts from where you are.

Explained in phase-1/01-the-shell-commands-and-paths.md

Percentile

A number that says what share of the measurements falls below it. If the 99th percentile of the responses is 400 ms, 99% of the requests took 400 ms or less and only one in a hundred took longer. It shows the slow cases that an average hides.

Explained in phase-9/00-introduction.md

Permissions

What each user can do with a file or a folder. In Linux they are three letters, rwx (read, write and execute), for three cases, the owner, its group and everyone else, as in “rw-r--r--”.

Explained in phase-1/04-users-and-permissions.md

PID

PID stands for Process Identifier.

The number the operating system uses to identify each process while it’s running. It lets you address a specific process, for example to stop it.

Explained in phase-1/05-processes-and-signals.md

Pipe

The terminal’s | symbol: it connects two programs, so what the first one writes reaches the second one as input.

Explained in phase-1/03-pipes-and-redirection.md

PKCE

PKCE stands for Proof Key for Code Exchange.

A protection for signing in with OAuth. The website makes up a random secret and, at the start, only sends its hash; to exchange the code it receives on the way back, it has to show the secret, so a stolen code is useless to anyone else.

Explained in phase-6/04-oauth.md

Polling

Asking a server every so often whether something has changed, even though the answer is almost always no. It’s the opposite of being notified, the way a webhook does it.

Explained in phase-4/07-webhooks.md

Port

A number, from 0 to 65535, that says which program on a computer a connection is for. The computer has an address; each listening program has its port.

Explained in phase-0/05-ip-ports-and-sockets.md

Postmortem

The written analysis of an incident once it is solved: what happened, when, why and what will change so it does not happen again. It is written without looking for someone to blame, because what failed is the system, not a person.

Explained in phase-10/07-incidents.md

Preflight request

The check the browser sends to another origin before a request that isn’t simple (for example, one that deletes data or carries custom headers), to ask the server whether it accepts it. It uses the OPTIONS method, and if the server doesn’t allow it, the real request is never sent.

Explained in phase-2/06-cors.md

Primary key

The column, or group of columns, that identifies each row of a table. Its value can’t repeat or be missing, like an order number.

Explained in phase-5/02-join.md

Private IP address

IP stands for Internet Protocol.

An IP address that only works inside a local network, such as 192.168.1.133. The same ones are reused in millions of homes, and they can’t be reached from the internet.

Explained in phase-0/05-ip-ports-and-sockets.md

Private key

The half of a key pair that only its owner knows. It decrypts what was encrypted with its public key and signs messages anyone can check with the public key. If it leaks, it must be replaced.

Explained in phase-0/08-tls-and-https.md

Problem Details

The standard shape of the body of an error response in an API, written down in RFC 9457: a JSON with type (what kind of problem it is), title (its summary), status (the status code), detail (what happened this time) and instance (which of the times). It’s sent with the content type application/problem+json.

Explained in phase-4/02-errors.md

Process

A running program. When you start a server, the operating system creates a process that stays alive waiting for requests.

Explained in phase-1/05-processes-and-signals.md

Prometheus

A program that asks your server for its metrics every few seconds, stores them with their time and lets you query them with its own language, PromQL. It is the most widely used metrics store alongside Grafana.

Explained in phase-10/05-metrics.md

Promise

A value that isn’t there yet but will arrive, like the text of a file that is being read. Until it arrives, the program can go on with other things; with await, it waits for it.

Explained in phase-3/02-javascript.md

Prompt

The text the shell writes before the cursor, like “ana@laptop ~ %”, to tell you it’s waiting for a command.

Explained in phase-1/01-the-shell-commands-and-paths.md

Prompt (for a model)

The text sent to a language model for it to answer: the instructions, the conversation and whatever it needs to reply.

Explained in phase-11/01-model-apis.md

Prompt caching

A model API keeping the beginning of a prompt that repeats (the instructions, the tools) and charging much less for it on later requests. It only works if that beginning is identical, byte for byte, and above a minimum size.

Explained in phase-11/07-production.md

Prompt injection

Slipping instructions into text a model reads (what a customer writes, a page, a tool's result) so that it does what it shouldn't. The defense isn't in the prompt: it's in the code never giving the model more permissions than the person using it.

Explained in phase-11/03-tool-use.md

PromQL

The language used to query Prometheus metrics. With one line you can ask for, for example, requests per second over the last five minutes or the 99th percentile of latency.

Explained in phase-10/05-metrics.md

Protobuf

A format for serializing data in binary (bytes that aren’t text), created by Google; its full name is Protocol Buffers. The fields are described in a schema, a .proto file, and the bytes carry each field’s number instead of its name. It takes up less space than JSON, but without the schema it can’t be read.

Explained in phase-4/06-serialization.md

Protocol

An agreement on how two programs communicate: which messages they send, in what format, in what order and what to do if something goes wrong. HTTP, TCP and DNS are protocols.

Explained in phase-0/03-what-a-protocol-is.md

Pub/sub (publish and subscribe)

Publish and subscribe: a system in which some programs publish messages on a channel and every program subscribed at that moment receives them instantly, not just one as in a queue. If nobody is listening, the message is lost. Whoever publishes does not know who is listening.

Explained in phase-9/03-scaling.md

Public IP address

IP stands for Internet Protocol.

An IP address that is unique across the whole internet, so a computer can be reached with it from anywhere. At home, it usually belongs to your router and all your devices share it.

Explained in phase-0/05-ip-ports-and-sockets.md

Public key

The half of a key pair you can show to anyone. It is used to encrypt messages that only the private key will decrypt, and to check the signatures the private key makes.

Explained in phase-0/08-tls-and-https.md

Publishing a port

Connecting a port on your computer to a port in a container, with the -p option of docker run, so that whatever reaches the first one goes into the second. Without an IP in front, Docker opens the port on all of your computer’s addresses, and anyone on your network can reach it; with 127.0.0.1 in front, only your computer can.

Explained in phase-7/06-networks.md

Query

A command written in SQL for a database. Mostly the ones that ask for data (SELECT), whose answer is another table, although the ones that add, change or delete rows are called that too.

Explained in phase-5/01-sql.md

Query builder

A package that lets you write an SQL query with functions in the program’s language, one for each part (select, from, where), instead of as text. The editor checks the names of the tables and columns, and the values travel separately, as parameters.

Explained in phase-5/09-orm.md

Query plan

The steps the database chooses to answer a query, such as reading the whole table or going through an index, sorting or joining tables. In PostgreSQL you see it with EXPLAIN and, running the query for real, with EXPLAIN ANALYZE.

Explained in phase-5/07-indexes.md

Query string

The part of a URL that comes after “?”: data in name=value pairs separated by “&”, such as q=mug&sort=price. It travels to the server attached to the path, and it’s used to search, filter or choose a page of results.

Explained in phase-2/01-request-and-response.md

QUIC

QUIC stands for Quick UDP Internet Connections.

The transport protocol of HTTP/3. It runs over UDP and does what TCP did (confirming receipt, resending what was lost and putting things in order), but it orders each request separately, and it carries TLS inside. It was born at Google with that long name; today’s standard uses just QUIC, as a name rather than an acronym.

Explained in phase-2/08-http-versions.md

Race condition

A bug that only shows up when two operations run at the same time and the result depends on which one gets there first. For example, two buyers read that there’s one mug left, and both buy it.

Explained in phase-5/08-transactions.md

RAG

RAG stands for Retrieval-Augmented Generation.

Answering from your own documents: before the model answers, the pieces of text most similar to the question are found and given to it, so it answers from them and cites them.

Explained in phase-11/06-rag.md

Rate limiting

Setting a maximum on how many times something can be done in a period of time, like 10 login attempts every 15 minutes. Past it, the server answers 429 and says how long to wait. It slows down whoever tries passwords nonstop and whoever abuses an API.

Explained in phase-6/08-rate-limiting.md

RBAC

RBAC stands for Role-Based Access Control.

A way of organizing authorization in which each account has a role, like customer or administrator, and each role has a list of permissions. To change what someone can do, you change their role, not their permissions one by one.

Explained in phase-6/05-authorization.md

Readiness probe

A periodic check that answers “can this program serve requests right now?”. It looks at what the program needs to work, such as the database. If it fails, traffic stops going to it, but it is not restarted.

Explained in phase-10/06-alerts.md

RED method

RED stands for Rate, Errors, Duration.

A recipe for watching a service with just three metrics: how many requests arrive (Rate), how many fail (Errors) and how long they take (Duration). If any of the three goes wrong, something is happening to the people using your API.

Explained in phase-10/05-metrics.md

Redirect

An HTTP response that says “what you’re looking for is at another address.” It carries a code starting with 3, such as 301, and the Location header with the new address. The browser requests it on its own, without you doing anything.

Explained in phase-2/03-status-codes.md

Relational database

A database that stores data in tables, with rows and columns, and relates them through their values. For example, each order stores its product’s number instead of repeating its name and price.

Explained in phase-5/00-introduction.md

REPL

REPL stands for Read-Eval-Print Loop.

A way of working with a language in which you type a line of code, it runs and you see the result right away, without creating any file. In Node.js, you open it by typing node, with nothing else, in the terminal.

Explained in phase-3/01-node-js.md

Replication

Keeping copies of the same data on several machines. One machine receives the changes and sends them to the others. It spreads out reads and keeps the data safe if one machine goes down. It is not a backup: an accidental delete is replicated too.

Explained in phase-9/06-cap.md

Repository

A project’s folder together with all its history, which Git keeps inside it, in a hidden folder called .git. Every copy of a repository has the full history.

Explained in phase-1/10-git-internals.md

Request

The message a client sends to a server to ask for something, for example “give me the home page.”

Explained in phase-0/02-the-client-server-model.md

Resolver

The DNS server your computer asks. It walks the tree of names for you, from the root down, and keeps the answers in its cache. It is usually your internet provider’s or a public one, such as 1.1.1.1 or 8.8.8.8.

Explained in phase-0/07-dns.md

Resource (in an API)

API stands for Application Programming Interface.

Each thing an API talks about that has its own URL, such as a product (/products/2) or the list of orders (/orders). It’s named with a noun, and the HTTP method says what you do with it.

Explained in phase-4/01-rest.md

Response

The message the server sends back to the client after processing its request.

Explained in phase-0/02-the-client-server-model.md

REST

REST stands for Representational State Transfer.

A way of designing APIs on top of HTTP: each thing is a resource with its own URL, and you work with it using the usual methods (GET, POST, PATCH, DELETE) and status codes. Roy Fielding described it in 2000; today the name is used for almost any JSON API organized this way.

Explained in phase-4/01-rest.md

Restart policy

The rule that tells Docker what to do when a container stops. With unless-stopped, Docker starts it again if it crashes and every time the server boots, unless you stopped it yourself.

Explained in phase-8/03-production.md

Retransmission

Resending a segment that nobody acknowledged in time. TCP does it on its own when its timer expires; UDP never does.

Explained in phase-0/06-tcp-vs-udp.md

Revalidation

Asking the server whether a copy saved in a cache is still good, instead of downloading it again. If it hasn’t changed, the server answers with status code 304 and doesn’t send it again; if it has, it sends the new version.

Explained in phase-2/07-caching.md

Reverse proxy

A server that receives visitors’ requests and passes them on to the programs behind it, which stay out of sight. It usually takes care of HTTPS, spreads the work across several copies and answers with an error if the program behind it fails. nginx and Caddy are two of the most used.

Explained in phase-8/04-reverse-proxy.md

RFC

RFC stands for Request for Comments.

The public documents where the exact rules of internet protocols are written. HTTP/1.1, for example, is defined in RFCs 9110 and 9112.

Explained in phase-0/03-what-a-protocol-is.md

root

The Linux administrator, user number 0. Permissions don’t apply to it and it can do anything, so it’s used as little as possible.

Explained in phase-1/04-users-and-permissions.md

Route (on a server)

Each combination of HTTP method and URL path that a server knows how to handle, such as GET /products, together with the function that responds to those requests. A request that matches no route gets a 404.

Explained in phase-3/05-frameworks.md

Route parameter

A variable piece of a route, marked with a colon: in /products/:id, the :id. The route accepts any value there (/products/2, /products/7) and hands it to your code, always as text. It says which resource you’re asking for; to filter or search a list, you use the query string.

Explained in phase-3/05-frameworks.md

Router

A device that connects different networks and decides where to forward each packet based on its destination IP address. The one at home connects your local network to your internet provider’s.

Explained in phase-0/04-the-tcp-ip-model.md

Routing

How each router decides where to forward a packet to bring it closer to its destination. No router knows the whole path: it only knows which router to hand it to next.

Explained in phase-0/05-ip-ports-and-sockets.md

RTT

RTT stands for round-trip time.

The round-trip time between two computers. Every handshake costs at least one RTT, so with a faraway server everything starts later.

Explained in phase-0/09-from-url-to-page.md

Runtime

The program that runs a language’s code and gives it access to what lies outside it, such as the screen, the files or the network. Node.js is a JavaScript runtime, and the browser is another.

Explained in phase-3/01-node-js.md

SaaS

Software as a Service: you use a finished program that someone else runs on their servers, almost always in the browser, like web email or GitHub. You install and manage nothing.

Explained in phase-8/07-cloud-models.md

Safe method

An HTTP method that only asks to read, without changing anything on the server, such as GET or HEAD. That’s why browsers and search engines use it without asking you. It has nothing to do with security or encryption.

Explained in phase-2/02-methods.md

Salt (in passwords)

A random piece of data, different for each password, that’s mixed with it before calculating its hash and stored next to it. It makes the same password give different hashes, and it makes tables of already calculated hashes useless.

Explained in phase-6/01-passwords.md

Same-origin policy

The browser rule by which a page’s code can only read the responses from its own origin. It can send requests to other origins, but not read what they answer, unless the server allows it with CORS.

Explained in phase-2/06-cors.md

Sampling

Keeping only a share of the traces, for example one in ten, because keeping all of them would cost too much on a system with a lot of traffic. You decide what to keep when the trace starts or when it ends.

Explained in phase-10/04-traces.md

Schema

The description of what some data must look like: which fields it has, whether each one is a number or text, and which values are accepted. A program compares the incoming data with it and says whether it matches or what’s wrong.

Explained in phase-3/07-validation.md

Script

A text file with commands that the shell runs one after another, as if you typed them. It’s for repeating a task the same way every time.

Explained in phase-1/08-shell-scripts.md

SDK

SDK stands for Software Development Kit.

A package a company provides to use its API from a programming language: named functions and types instead of hand-written HTTP requests, with retries and errors already handled.

Explained in phase-11/01-model-apis.md

Secret

A piece of data that gives access to something and that only the people and programs that need it should know, like a database password or an API key. It’s never written inside the code.

Explained in phase-1/07-environment-variables.md

Security headers

Response headers with which the server asks the browser to protect itself: to always use HTTPS, what code the page may run and from where, not to guess a file’s type, or how much to tell other sites about the page you came from. They don’t fix the server’s flaws: they close doors in the browser.

Explained in phase-2/04-headers.md

Segment

One of the pieces TCP cuts the data into before sending it. It carries a header with the ports, the sequence number and the acknowledgment number (ACK), plus a chunk of the data. It travels inside an IP packet.

Explained in phase-0/06-tcp-vs-udp.md

Searching by what the question means, not by its words: the question and what’s searched are turned into embeddings, and the nearest come out. It always returns something, even if it’s no use, so each result carries its distance.

Explained in phase-11/05-embeddings.md

Sequence number

The number TCP gives each byte it sends. Each segment carries the number of its first byte (seq), so the receiver knows their order and whether any is missing.

Explained in phase-0/06-tcp-vs-udp.md

Serialization

Turning data that lives in a program’s memory into bytes that can be sent over the network or saved in a file: JSON text, for example, or a binary format like Protobuf. On the other side, deserializing turns them back into data.

Explained in phase-4/06-serialization.md

Server

A program that waits for requests and answers them. By extension, the computer it runs on is also called a server.

Explained in phase-0/02-the-client-server-model.md

Serverless

A way of running code where you never see a server. You upload functions, the platform starts copies when requests arrive and shuts them down when none do, and you pay per request and per execution time. The servers exist, but they are the provider’s.

Explained in phase-8/07-cloud-models.md

Session (on a website)

What a server remembers about a visitor from one request to the next, such as who they are or what’s in their cart. The server keeps that data under a long, random identifier, and the browser only keeps that identifier, almost always in a cookie.

Explained in phase-2/05-cookies.md

Shebang

The first line of a script, the one that starts with #!. It says which program has to read the rest of the file; for example, #!/usr/bin/env bash asks bash, one of the most used shells, to read it.

Explained in phase-1/08-shell-scripts.md

Shell

The program that reads what you type in the terminal, interprets it and runs it. The most used are bash, the one on almost every Linux, and zsh, the one on macOS.

Explained in phase-1/01-the-shell-commands-and-paths.md

Signal

A short notice the operating system delivers to a process, like “interrupt yourself” or “finish”. Each signal is a number with a name, like SIGTERM, and pressing Ctrl+C in the terminal sends one.

Explained in phase-1/05-processes-and-signals.md

SLI

SLI stands for Service Level Indicator.

A number that measures whether the service is doing well for the people using it, such as “the percentage of requests answered correctly in under 500 ms”. It is what you measure; the target you set for it is the SLO.

Explained in phase-10/06-alerts.md

SLO

SLO stands for Service Level Objective.

The target you set for an SLI, for example “99.5% of requests are answered correctly each month”. It is not a contract with anyone: it is the line from which you decide it is time to fix things.

Explained in phase-10/06-alerts.md

Socket

What the operating system gives a program to use the network, with its protocol, IP address and port. A server listens with a socket, and each conversation has a socket at each end, which also knows the other end’s IP address and port.

Explained in phase-0/05-ip-ports-and-sockets.md

Span

One piece of a trace: a specific operation with its start, its duration and some data, like “PostgreSQL query, 12 ms”. A span can contain others, so the trace forms a tree.

Explained in phase-10/04-traces.md

SQL

SQL stands for Structured Query Language.

The language for asking a database to read, add, change or delete the data in its tables. It reads almost like an English sentence, such as SELECT name FROM products, and it says what data you want, not how to find it.

Explained in phase-5/01-sql.md

SQL injection

SQL stands for Structured Query Language.

An attack that sends a value crafted so that, pasted inside the text of a query, it changes what the query does, such as returning every row or deleting a table. It’s prevented by sending the values separately, as parameters, and never pasting them into the SQL.

Explained in phase-5/05-node-and-postgresql.md

SSE

SSE stands for Server-Sent Events.

A way for the server to notify the client as soon as something happens. The client makes a normal HTTP request and the server leaves the response open, writing an event into it, a few lines of text, every time there’s news. It only goes one way, from the server to the client.

Explained in phase-4/08-real-time.md

SSH

SSH stands for Secure Shell.

The protocol for opening a terminal on another computer over the network, as if you were sitting in front of it. Everything travels encrypted, and you prove who you are with your private key instead of a password.

Explained in phase-1/09-ssh.md

SSH tunnel

SSH stands for Secure Shell.

An SSH connection that carries other connections inside it. With a tunnel, a port on your computer takes you to a port on the server that is closed from the outside, and everything travels encrypted.

Explained in phase-1/09-ssh.md

SSRF

SSRF stands for Server-Side Request Forgery.

An attack in which someone gives a server a URL to visit, and the server’s request reaches places only it can reach, like its own database, the internal network or the credentials the cloud gives it. It’s stopped by checking which IP address the URL points to before connecting.

Explained in phase-6/07-csrf-and-ssrf.md

Stack trace

The list of functions a program was going through when an error was thrown, from the most recent to the oldest, with the file, line and column of each one. It says where it failed, and that’s why it goes to the log and never to whoever made the request.

Explained in phase-3/08-errors-and-logs.md

Stateless

Said of a server that remembers nothing from one request to the next. Each request carries everything needed to understand it, such as who you are or which page you want, and that’s why any copy of the server can handle it. What it does keep is the data, such as the orders.

Explained in phase-4/01-rest.md

Status code

A three-digit number at the start of every HTTP response that sums up what happened. 200 means “all good,” 404 “that doesn’t exist” and 400 “your request is malformed.”

Explained in phase-2/03-status-codes.md

stderr

Standard error, a second output channel that programs use for warnings and errors. It goes to the screen even when the normal output goes to a file or to another program.

Explained in phase-1/03-pipes-and-redirection.md

stdin

Standard input, the channel through which a program receives data. Unless you say otherwise, it’s what you type; with a pipe, it’s what the previous program writes.

Explained in phase-1/03-pipes-and-redirection.md

stdout

Standard output, the channel through which a program writes its results. Unless you say otherwise, it goes to the screen; it can be sent to a file or to another program.

Explained in phase-1/03-pipes-and-redirection.md

Stream

Data that arrives or is sent little by little, in chunks, instead of all at once, so a program can read it as it arrives. In a Node.js server, the body of a request is a stream.

Explained in phase-3/04-http-server.md

Structured log

A log in which each line is a list of named data, almost always in JSON, instead of a free-form sentence: {"path":"/error","status":500}. That way a program can filter by any piece of data, such as “the requests that got a 500.”

Explained in phase-3/08-errors-and-logs.md

Subquery

A query written in parentheses inside another one. The database works it out and the outer query uses its result, for example to compare each row with an average or to read from it as if it were a table.

Explained in phase-5/03-group-by.md

sudo

A command that runs another command as root, only that one. It usually asks for your password and records each use in a log.

Explained in phase-1/04-users-and-permissions.md

System prompt

The part of the prompt written by whoever builds the application, not by whoever uses it: who the assistant is, what it may and may not do. In the shop it lives in a file, versioned like the code.

Explained in phase-11/01-model-apis.md

systemd

The first program Linux starts when it boots, process number 1. It starts the programs that must always be running (the services), restarts them if they crash and keeps what they write in a journal.

Explained in phase-1/06-services-and-packages.md

Table

Where a database stores one kind of thing, such as products. Each row is one of those things and each column a piece of data they all have, with its type (a number, some text, a date). It looks like a spreadsheet, but it doesn’t accept data of the wrong type.

Explained in phase-5/01-sql.md

Tag (of an image)

The version name that goes after the colon in a Docker image’s name, like 26-slim in node:26-slim. If you don’t write one, Docker uses latest. Anyone who can write to the registry can move a tag to another image whenever they want, so it doesn’t guarantee which image you get.

Explained in phase-7/08-registries.md

TCP

TCP stands for Transmission Control Protocol.

The transport layer protocol that makes data arrive complete and in order, and at the right program thanks to ports.

Explained in phase-0/06-tcp-vs-udp.md

Terminal

An application where you give the computer instructions by typing text instead of clicking. Almost every server is managed this way.

Explained in phase-1/01-the-shell-commands-and-paths.md

Terraform

A HashiCorp program that creates, changes and deletes infrastructure (servers, firewalls, DNS records, containers…) from files that describe how it should end up. Before touching anything, it shows a plan of what will change. It talks to each service through a provider, a plugin for that service’s API.

Explained in phase-8/08-terraform.md

Terraform state

The file, terraform.tfstate, where Terraform records which real objects it created for each resource in your files, with all their data. That is how it knows what is its own and what it needs to change. It stores the values in plain text, secrets included, so it never goes to Git; a team keeps it in a shared, protected place.

Explained in phase-8/08-terraform.md

Test double

A fake piece that takes the place of a real one during a test, like a “mail sender” that only writes down what it was asked to send instead of sending it. It avoids depending on slow, paid or unpredictable services.

Explained in phase-10/01-writing-tests.md

A cookie from a site other than the one you’re visiting, created by something embedded in the page, such as an ad or another company’s button. It makes it possible to follow a person from one site to another, which is why several browsers block or isolate them by default.

Explained in phase-2/05-cookies.md

Thread

A line of work inside a process, which the processor runs instruction by instruction. A process can have several threads working at once, but the JavaScript code of a Node.js server runs on just one.

Explained in phase-3/09-event-loop.md

Time to first token

How long the first word of a streamed answer takes to appear. It is what the person waiting notices: with streaming, a long answer can be read long before it ends.

Explained in phase-11/02-streaming.md

TLS

TLS stands for Transport Layer Security.

The protocol that encrypts a connection and uses a certificate to prove the server is who it claims to be. It sits between TCP and HTTP, and HTTP over TLS is HTTPS.

Explained in phase-0/08-tls-and-https.md

Token (of a model)

The piece of text a language model counts in: often a short word or part of a long one. Model APIs charge per token, and the limit on what a model can read at once is measured in tokens too.

Explained in phase-11/01-model-apis.md

Tool use

A model asking to run a function in your backend: you describe the tools (name, what each is for, what data it takes), it says which one it wants and with what data, your code runs it and gives it the result. Also called function calling.

Explained in phase-11/03-tool-use.md

Trace

The complete journey of one request through your system, from when it arrives until it is answered, through the database, the cache and other services. It is made of spans and shows where the time went.

Explained in phase-10/04-traces.md

Transaction

A group of SQL commands that the database treats as one: either all of them are saved, or none. It starts with BEGIN and ends with COMMIT, which saves it, or with ROLLBACK, which undoes all of it.

Explained in phase-5/08-transactions.md

Transactional outbox

A trick for not losing announcements: the order and the announcement to send are saved in the same database transaction, in an outbox table, and another program sends them afterwards. Either both are saved or neither is.

Explained in phase-9/07-events.md

TTFB

TTFB stands for time to first byte.

The time to the first byte of the response, counted from the start of the navigation. It includes DNS, the handshakes and the wait for the server.

Explained in phase-0/09-from-url-to-page.md

TTL (in DNS)

TTL stands for time to live.

The number of seconds a DNS answer may be kept in a cache before asking again. It has nothing to do with the TTL of IP packets, which counts how many routers they may go through.

Explained in phase-0/07-dns.md

Type

The kind of data that can go in a place, such as a number, a piece of text or a product with its name and its price. In TypeScript it’s written after a colon (price: number), and it helps find errors before running the program.

Explained in phase-3/03-typescript.md

TypeScript

A language that is JavaScript with types: annotations that say what kind of data goes in each place, such as a number or a piece of text. The editor and the TypeScript checker warn about errors before the program runs, and Node.js runs it by erasing the types.

Explained in phase-3/03-typescript.md

UDP

UDP stands for User Datagram Protocol.

The transport layer protocol that sends data without a connection, without confirming it arrives and without ordering it. In exchange, it is simpler and makes nobody wait.

Explained in phase-0/06-tcp-vs-udp.md

Unit test

An automatic test that checks one small piece of code, usually a function, with no database and no network. You give it some data, look at what comes back and check it is what you expected. It runs in milliseconds.

Explained in phase-10/02-types-of-tests.md

URL

URL stands for Uniform Resource Locator.

The address of something on the web, such as https://shop.example/products?sort=price. It says which protocol to ask for it with (https), which server to ask (shop.example) and which page or file on that server (/products), and it can carry extra data in the query string.

Explained in phase-2/01-request-and-response.md

User (in Linux)

An identity on the system, with a name and a number. Each person has their own, and each program on a server usually has another of its own. Every file has a user as its owner, and every process runs on behalf of one.

Explained in phase-1/04-users-and-permissions.md

User-Agent

The header in which the client says which program it is: “curl/8.7.1”, or the name and version of the browser and the operating system. The server can use it for statistics or to tailor a response, but not to trust the client: anyone can write whatever they want in it.

Explained in phase-2/04-headers.md

Validation

Checking, every time it arrives, that the data the client sends is what was expected before using it: that no field is missing, that a number is a number and that it’s within what’s allowed. If something doesn’t match, the server answers with an error and stops there.

Explained in phase-3/07-validation.md

Variable

A name that holds a value to use later, such as price = 8.5. In JavaScript it’s created with const, if it won’t be swapped for another value, or with let, if it will.

Explained in phase-3/02-javascript.md

Vector database

A database designed to store vectors, like embeddings, and find the ones nearest to a given one. There are separate ones, like Pinecone or Qdrant; PostgreSQL does it with the pgvector extension, next to the rest of the data.

Explained in phase-11/05-embeddings.md

Vertical scaling

Handling more users by giving the same machine more resources: more processor, more memory. It is the simplest because the program does not change, but it has a ceiling and, if that machine goes down, everything goes down.

Explained in phase-9/03-scaling.md

Virtual machine

A computer simulated inside another, with its own operating system, its own users and its own files. What happens inside doesn’t touch the computer outside.

Explained in phase-1/04-users-and-permissions.md

Volume (in Docker)

A folder Docker keeps outside the containers and mounts inside the ones that ask for it. What’s written to it survives when the container is deleted, so that’s where the data you need to keep goes, like a database’s.

Explained in phase-7/05-volumes.md

VPS

VPS stands for Virtual Private Server.

A virtual server you rent by the month in a data center. It’s a virtual machine with its own system, its own public IP address and administrator access, inside a physical computer it shares with other customers’ machines.

Explained in phase-8/01-vps.md

Webhook

An address on your server that another service sends a request to when something happens, such as a completed payment. Instead of you asking every so often whether something has changed, they let you know.

Explained in phase-4/07-webhooks.md

WebSocket

A protocol for the client and the server to send each other messages in both directions, whenever they want, over a single connection that stays open. It starts as an HTTP request that asks to switch protocols, and the server accepts with status code 101.

Explained in phase-4/08-real-time.md

Worker

A program that does not answer user requests: it keeps taking tasks from a queue and running them. It can be the same code as your server, started with a different command.

Explained in phase-9/01-queues.md

X-Forwarded-For

The header in which a proxy tells the program behind it which IP the request came from, because that program only sees the proxy’s. Each proxy adds an address to the end of the list. Anyone can write it, so the only entry to trust is the one your own proxy added.

Explained in phase-8/04-reverse-proxy.md

XSS

XSS stands for Cross-Site Scripting.

An attack in which a web page includes text someone else wrote, and that text carries JavaScript code that each visitor’s browser runs as if it were the page’s own. It’s prevented by replacing the special characters in each piece of data, like “<”, with a version the browser shows but never reads as code.

Explained in phase-6/06-injection.md

Zero-downtime deployment

Releasing a new version without users noticing any interruption, by updating one copy at a time while the others keep serving. Requests already in progress finish before anything is switched off.

Explained in phase-9/04-zero-downtime.md

backend-from-scratch