Skip to content
Before you ship

Glossary

Every key term from every lesson, in plain English. Each one links to the lesson that teaches it.

382 terms

3-2-1 rule
3 copies, 2 types of storage, 1 off-site Taught in 36. The AI deleted your production database. Now what?
429 Too Many Requests
the status code for "you went over the limit" Taught in 30. Bots signed up 10,000 times overnight. Now what?
ACID
atomicity, consistency, isolation, durability: what transactions promise Taught in 49. A customer got charged twice. How?
Acknowledgement (ack)
a consumer tells the broker "handled" Taught in 63. When everything calls everything, everything breaks
AI app builder
a website where an AI builds and runs a whole app from your prompts. Taught in 8. Your first app in an afternoon, with an AI doing the typing
Alert
a rule that tells a person when something needs action Taught in 40. Your app was down for six hours and nobody noticed
Alert fatigue
so many alerts that people stop paying attention Taught in 40. Your app was down for six hours and nobody noticed
Allowlist
a fixed list of accepted values, written by you. Taught in 25. How one line of text can dump your whole database · also in 32. The profile picture that ran code on your site
API
the menu of requests a server agrees to answer, and how to ask for each one. Taught in 7. The hidden conversation behind every button you tap
API key
a secret code that proves a request comes from you. Taught in 13. Your app's secrets don't belong in your code. Here's where they go
API route
the backend code that answers one endpoint. Taught in 7. The hidden conversation behind every button you tap
Architecture decision record (ADR)
a short file that records one decision, the reason for it, and its consequences Taught in 68. The decisions your AI can't make for you
Array
a list in [ ]. The first item is at index 0. Taught in 9. The AI wrote your code. Can you read it?
async and await
wait for slow work to finish. Taught in 9. The AI wrote your code. Can you read it? · also in 51. One slow request froze the whole server
At least once
a promise that a job will run, possibly more than once Taught in 42. Sign-up takes 10 seconds because of one email
Atomic operation
a step that nothing else can run in the middle of Taught in 57. How does a rate limiter count to 100?
Authentication
proof of who you are (you log in). Taught in 23. Change one number in the URL, see everyone's invoices
Authorization
the decision about what you are allowed to do. Taught in 23. Change one number in the URL, see everyone's invoices
Automated test
a small program that checks that your code gives the expected result Taught in 38. The AI fixed one bug and quietly broke three others
Availability
the share of time your app works, often written in "nines" Taught in 68. The decisions your AI can't make for you
B-tree
PostgreSQL's default index type, good for equals, ranges and sorting Taught in 46. Fast with 100 users, frozen at 10,000. The missing index
Background job
work done outside the user's request, such as sending an email Taught in 42. Sign-up takes 10 seconds because of one email
Backup
a copy of your data from an earlier moment, kept separately, that you can restore Taught in 36. The AI deleted your production database. Now what?
Bandwidth
how much data per second a connection can carry. It does not shorten the trip. Taught in 58. Fast in the US, painfully slow in India
Batch job
a copy of data in large groups, on a timetable Taught in 65. Your search results are an hour out of date. Why?
Batching
collecting many small requests into one, such as one IN (...) query Taught in 47. One page, 500 database queries
Blocking
keeping the main thread busy, so no other request can run Taught in 51. One slow request froze the whole server
Bot
a program that uses a website automatically Taught in 30. Bots signed up 10,000 times overnight. Now what?
Branch
a separate line of commits for experiments Taught in 15. The AI broke your working app. Here's your undo button
Budget alert
a warning when spending passes an amount. It does not stop anything. Taught in 44. You woke up to a $10,000 cloud bill. What happened?
Build
the step that turns your project into the final files a browser can use Taught in 18. From your laptop to a real website in one push
Build log
every message the build printed, including errors Taught in 18. From your laptop to a real website in one push
Bulkhead
a separate, limited share of resources for each dependency Taught in 62. One slow service took your whole app down
Cache
a saved copy of an answer, kept in a place that is faster to reach Taught in 55. Fast, but showing yesterday's data
Cache busting
new names for changed files, so old copies are never used Taught in 55. Fast, but showing yesterday's data
Cache invalidation
making copies match the real data again, by expiry or removal Taught in 55. Fast, but showing yesterday's data
Cache stampede (thundering herd)
many requests rebuild the same missing copy at once Taught in 56. Your cache expired and the database collapsed
Cache-aside (lazy loading)
your code checks the cache and fills it on a miss Taught in 56. Your cache expired and the database collapsed
Cache-Control
the header that tells browsers and CDNs whether to keep a copy, and for how long Taught in 55. Fast, but showing yesterday's data
Callback
a function that other code calls later. Taught in 9. The AI wrote your code. Can you read it?
CAPTCHA / bot check
a test that tries to tell humans from bots. The server must verify its result. Taught in 30. Bots signed up 10,000 times overnight. Now what?
Cascading failure
a failure in one part that spreads to parts that did not depend on it Taught in 62. One slow service took your whole app down
CD (continuous delivery / deployment)
changes that pass are ready to release, or go live automatically Taught in 39. Stop broken code before it ever goes live
CDN
servers in many countries that keep copies of your files close to visitors Taught in 18. From your laptop to a real website in one push
Certificate
a signed file that ties a domain name to a public key, with start and end dates Taught in 28. What the padlock icon really protects, and what it doesn't
Certificate authority (CA)
an organization that browsers trust to check domain ownership and sign certificates Taught in 28. What the padlock icon really protects, and what it doesn't
Change data capture (CDC)
reading the database's change log to react to changes Taught in 64. The order was saved, but the email never went out · also in 65. Your search results are an hour out of date. Why?
Check-then-act
reading something, deciding, then changing it in a separate step Taught in 49. A customer got charged twice. How?
CI (continuous integration)
a fresh computer checks every push automatically Taught in 39. Stop broken code before it ever goes live
Circuit breaker
a wrapper that stops calls to a failing service for a while and fails fast instead Taught in 62. One slow service took your whole app down
Client-side validation
checks in the browser. They help users, but anyone can skip them. Taught in 24. Can strangers read your whole database? Check in 5 minutes
Closed / open / half-open
normal / tripped, calls fail immediately / testing with a few trial calls Taught in 62. One slow service took your whole app down
Cloud provider
a company that rents out computers, storage and other services, like AWS, Google Cloud or Microsoft Azure Taught in 17. There is no cloud. It's someone else's computer
Code review
reading a change before it goes live, to find bugs and security holes Taught in 45. The AI wrote 500 lines. How do you know they're safe?
Command
a message that asks one specific receiver to do something Taught in 63. When everything calls everything, everything breaks
Commit
one snapshot, a save point you can return to Taught in 15. The AI broke your working app. Here's your undo button
Compensating event
a new event that corrects or cancels an earlier one Taught in 66. What if your database remembered everything that ever happened?
Concurrency
many tasks in progress at once, taking turns Taught in 52. How one server handles thousands of users at once
Configuration (config)
settings that change between places, while the code stays the same. Taught in 13. Your app's secrets don't belong in your code. Here's where they go
Connection pool
the limited set of open database connections that your app shares Taught in 47. One page, 500 database queries
Connection pool / pooler
a few database connections used again and again, inside one instance / shared by many instances Taught in 60. Your app went viral. Will it survive?
Console
the developer tools tab that shows the page's messages and errors Taught in 16. The error message is telling you what's wrong. Read it first
Content Security Policy (CSP)
a header that tells the browser which scripts it may run Taught in 26. A comment that runs code in every visitor's browser
Convergence
when all changes arrive, everyone sees the same document Taught in 67. Two people typed in the same document at once. Who wins?
Cookie
data that the browser keeps for a site and sends back with every request. Taught in 22. Never store a password. Here's what to store instead
Correlation ID
an ID that follows one action through every service and log line Taught in 63. When everything calls everything, everything breaks
CORS
headers that a server sends to let specific other origins read its responses Taught in 27. "Blocked by CORS policy": why the browser said no
CPU
the chip that follows a program's instructions, billions of tiny steps per second. Taught in 11. Your app restarted and all the likes vanished
CPU core
a part of the CPU that runs one list of instructions at a time Taught in 52. How one server handles thousands of users at once
CQRS
one model to change data (commands) and another to read it (queries) Taught in 66. What if your database remembered everything that ever happened?
CRDT
a data type where every piece has a permanent identity, so changes merge the same way in any order, without a central server Taught in 67. Two people typed in the same document at once. Who wins?
Credential stuffing
trying leaked email and password pairs on other sites. Taught in 22. Never store a password. Here's what to store instead
Credentials
cookies and similar login data sent with a request Taught in 27. "Blocked by CORS policy": why the browser said no
Critical path
a feature that costs money, loses data or leaks data when it breaks Taught in 38. The AI fixed one bug and quietly broke three others
Critical section
the code a lock protects Taught in 53. Two tasks waiting for each other forever
Cursor (keyset) pagination
"return rows after this one". The last row's sort values are the bookmark. Taught in 48. Your app tried to load 50,000 rows at once
Data modeling
deciding which tables you need, what goes in each one, and how they connect Taught in 20. You changed your name. Half the app still shows the old one
Database
a program that stores data safely and finds it quickly. Taught in 10. Your app forgot everyone's messages overnight. Why?
DataLoader
a library that batches lookups made at the same moment and removes repeats Taught in 47. One page, 500 database queries
DDoS attack
a flood of fake traffic from many computers, meant to stop a site from working Taught in 29. One company went down, and a big chunk of the internet went with it
Dead-letter queue
where events go after too many failed attempts Taught in 63. When everything calls everything, everything breaks
Deadlock
tasks that wait for each other in a circle, forever Taught in 53. Two tasks waiting for each other forever
Debezium
an open-source CDC tool that turns database changes into events Taught in 65. Your search results are an hour out of date. Why?
Denial of service
making an app unavailable to everyone, for example with input that blocks the server Taught in 51. One slow request froze the whole server
Dependency
a package that your project needs to work. Taught in 14. It works on my machine, but not on yours. Blame the packages · also in 62. One slow service took your whole app down
Deploying
putting a new version of your app online. Taught in 10. Your app forgot everyone's messages overnight. Why? · also in 12. It works on my laptop. Why can't my friend open it?
Deployment
one version of your app that the platform put online Taught in 18. From your laptop to a real website in one push
Development
your laptop, with fake data and test keys Taught in 37. Why you should never test on your real users
Development server
a server that runs on your laptop while you build and test. Taught in 12. It works on my laptop. Why can't my friend open it?
Diff
the removed (-) and added (+) lines of a change Taught in 45. The AI wrote 500 lines. How do you know they're safe?
Dirty / non-repeatable / phantom read
seeing uncommitted data / a changed row / new or missing rows in one transaction Taught in 50. Two transactions, one wrong answer
Disk (storage)
where files are kept, even without power. It is slower than memory, but bigger. Taught in 11. Your app restarted and all the likes vanished
DNS only (grey cloud)
traffic does not go through Cloudflare Taught in 29. One company went down, and a big chunk of the internet went with it
DNS record
an address book entry that points your domain at your app Taught in 18. From your laptop to a real website in one push
Document database
each record is a JSON-like document, grouped in collections Taught in 61. SQL or NoSQL? The AI chose for you. Was it right?
Dual write
one change written to two systems that cannot share a transaction Taught in 64. The order was saved, but the email never went out · also in 65. Your search results are an hour out of date. Why?
EC2
a rented computer that runs all the time Taught in 17. There is no cloud. It's someone else's computer
Egress
data sent out of a cloud to the internet, often billed per gigabyte Taught in 44. You woke up to a $10,000 cloud bill. What happened?
End-to-end (E2E) test
a robot user clicks through your app in a real browser Taught in 38. The AI fixed one bug and quietly broke three others
Endpoint
one item on that menu: an address and a method, like POST /api/likes. Taught in 7. The hidden conversation behind every button you tap
.env file
a file on your laptop with one environment variable per line. Taught in 13. Your app's secrets don't belong in your code. Here's where they go
Environment
the code plus its settings, data and outside services Taught in 37. Why you should never test on your real users
Environment variable
a named value that a process gets when it starts. Taught in 13. Your app's secrets don't belong in your code. Here's where they go
Error boundary
a React component that shows a fallback message when the components inside it fail. Taught in 34. Your error page showed your database details to everyone
Error ID
a random code that the user sees and that your logs contain. It lets you match the two. Taught in 34. Your error page showed your database details to everyone
Error message
a program tells you what went wrong. Type, then details. Taught in 16. The error message is telling you what's wrong. Read it first
Error tracker
a service that collects, groups and reports errors, like Sentry Taught in 40. Your app was down for six hours and nobody noticed
Escaping
turning special HTML characters into codes that the browser shows as plain text Taught in 26. A comment that runs code in every visitor's browser
Event
the message in a webhook. It has a type and a unique ID. Taught in 31. Free stuff with one fake "payment succeeded" message · also in 63. When everything calls everything, everything breaks
Event loop
Node's loop that picks the next ready piece of work and runs it to the end Taught in 51. One slow request froze the whole server
Event sourcing
store every change as an event, and treat the list of events as the truth Taught in 66. What if your database remembered everything that ever happened?
Event store and stream
the append-only list of events, and the events for one thing Taught in 66. What if your database remembered everything that ever happened?
Eventual consistency
different parts of a system catch up a short time after a change Taught in 63. When everything calls everything, everything breaks
Expand and contract
you add the new thing first, move over to it and remove the old thing last. The live app never breaks. Taught in 35. You renamed one column and the live app crashed
EXPLAIN ANALYZE
runs the query and shows the plan with real times Taught in 46. Fast with 100 users, frozen at 10,000. The missing index
Exponential backoff
waiting longer after each failed attempt Taught in 43. The payment timed out. Did it go through?
Failing open and fail-safe default
failing open allows access when a check fails (bad). A fail-safe default denies it (good). Taught in 34. Your error page showed your database details to everyone
Fallback
the answer that you use when the real call fails or the breaker is open Taught in 62. One slow service took your whole app down
File extension
the end of a file name, like .html, that tells you what kind of file it is. Taught in 8. Your first app in an afternoon, with an AI doing the typing
Fixed window
one counter per time block; resets at the boundary Taught in 57. How does a rate limiter count to 100?
Flaky test
a test that sometimes passes and sometimes fails with no code change Taught in 38. The AI fixed one bug and quietly broke three others
Foreign key
a column that holds another table's primary key, checked by the database Taught in 20. You changed your name. Half the app still shows the old one
Full table scan (Seq Scan)
reading every row to find the rows that you need Taught in 46. Fast with 100 users, frozen at 10,000. The missing index
Function
named steps. An arrow function uses =>. Taught in 9. The AI wrote your code. Can you read it? · also in 16. The error message is telling you what's wrong. Read it first
Garbage collector
the part of the engine that frees objects your code can no longer reach Taught in 54. Your server crashes every few days, like clockwork
Git
a program that saves snapshots of your project Taught in 15. The AI broke your working app. Here's your undo button
git bisect
a Git command that finds the commit that caused a bug, because it cuts the suspects in half again and again Taught in 41. It only breaks in production. How do you find out why?
Git history
every commit ever made. A deleted file only affects new commits. Taught in 21. Your API key leaked, and strangers are spending your money
GitHub
a website that stores copies of your repos online Taught in 15. The AI broke your working app. Here's your undo button
GitHub Actions
GitHub's built-in CI; workflows are in .github/workflows/ Taught in 39. Stop broken code before it ever goes live
.gitignore
a list of files that git must never save or upload. Taught in 13. Your app's secrets don't belong in your code. Here's where they go
Graceful degradation
the important parts continue to work while less important parts are switched off or simplified Taught in 62. One slow service took your whole app down
Hallucinated package
a package name that an AI invented. The package does not exist. Taught in 33. The AI suggested a package that didn't exist. Then someone made it
Handshake
the start of a TLS connection, where the server shows its certificate and both sides agree on a key Taught in 28. What the padlock icon really protects, and what it doesn't
Happy path
the normal case, done by the right person with normal input Taught in 45. The AI wrote 500 lines. How do you know they're safe?
Hard spending limit
a cap that refuses more usage, which also stops your feature Taught in 44. You woke up to a $10,000 cloud bill. What happened?
Headers
Name: value labels on requests and responses, like Content-Type Taught in 19. The app said "Saved!". The note was never saved
Health check
a route that tests if the app and its database work Taught in 40. Your app was down for six hours and nobody noticed · also in 60. Your app went viral. Will it survive?
Heap
the part of memory where your JavaScript objects live Taught in 54. Your server crashes every few days, like clockwork
Heap limit
the maximum size of the heap; when the heap reaches it, the process crashes Taught in 54. Your server crashes every few days, like clockwork
Heap snapshot
a record of every object in the heap and what keeps it alive Taught in 54. Your server crashes every few days, like clockwork
Horizontal scaling
more machines or instances behind a load balancer Taught in 60. Your app went viral. Will it survive?
Hosting
your app runs on someone else's always-on server. Taught in 12. It works on my laptop. Why can't my friend open it?
Hosting platform
a service that puts your code online and manages the computers for you, like Vercel or Netlify Taught in 18. From your laptop to a real website in one push
HSTS
a header that tells browsers to use only HTTPS for your domain Taught in 28. What the padlock icon really protects, and what it doesn't
HttpOnly, Secure, SameSite
cookie flags that block scripts, plain HTTP and other sites. Taught in 22. Never store a password. Here's what to store instead
HTTPS
HTTP sent inside a TLS connection Taught in 28. What the padlock icon really protects, and what it doesn't
Hypothesis
a one-sentence explanation of the cause that makes a prediction you can test Taught in 41. It only breaks in production. How do you find out why?
Idempotency key
a unique label for one operation, so the receiver can recognize repeats Taught in 43. The payment timed out. Did it go through?
Idempotent consumer
a consumer that does the work only once, however many times an event arrives Taught in 63. When everything calls everything, everything breaks
Idempotent handling
handling the same event twice has the same result as handling it once. Taught in 31. Free stuff with one fake "payment succeeded" message
Idempotent method
two of the same request have the same effect as one (GET, PUT, DELETE) Taught in 19. The app said "Saved!". The note was never saved
IDOR
you see or change someone else's data when you change an ID in a request. Taught in 23. Change one number in the URL, see everyone's invoices
Index
a separate, sorted list of a column's values with pointers to the rows, which the database keeps up to date Taught in 46. Fast with 100 users, frozen at 10,000. The missing index
Install script
a command in a package's package.json that npm runs automatically during install. Taught in 33. The AI suggested a package that didn't exist. Then someone made it
Instance
one running copy of your app. Platforms run several behind a load balancer. Taught in 52. How one server handles thousands of users at once · also in 59. How chat apps update without you refreshing
Integration test
checks several parts together, such as a route and a database Taught in 38. The AI fixed one bug and quietly broke three others
Isolation level
how much transactions that run at the same time can see of each other, and which anomalies can happen Taught in 50. Two transactions, one wrong answer
Jitter
randomness added to the wait, so that clients do not all retry together Taught in 43. The payment timed out. Did it go through?
JSON
a text format for data, with names and values in curly brackets. Taught in 7. The hidden conversation behind every button you tap
jsonb
PostgreSQL's indexed, searchable JSON column type Taught in 61. SQL or NoSQL? The AI chose for you. Was it right?
JWT
a signed token with readable data inside. Taught in 22. Never store a password. Here's what to store instead
Lambda
code that runs only when it's needed Taught in 17. There is no cloud. It's someone else's computer
Last write wins (LWW)
the version saved last replaces the other, and the other's changes are lost Taught in 67. Two people typed in the same document at once. Who wins?
Latency
how long a message takes to travel. Distance and the speed of light limit it. Taught in 58. Fast in the US, painfully slow in India
Lazy loading
an ORM runs a query by itself when you first read a related field Taught in 47. One page, 500 database queries
Leaky bucket
requests leave at a steady rate; as a queue, it delays requests and does not refuse them Taught in 57. How does a rate limiter count to 100?
Linter
a tool that marks risky code without running it, like ESLint Taught in 39. Stop broken code before it ever goes live
localhost
a name that always means "this same device". Taught in 12. It works on my laptop. Why can't my friend open it?
Lock
something that makes other tasks wait while one task works on shared data Taught in 53. Two tasks waiting for each other forever
Lock ordering
you always take locks in the same agreed order, so no circle can form Taught in 53. Two tasks waiting for each other forever
Lockfile (package-lock.json)
the exact version of every installed package. Taught in 14. It works on my machine, but not on yours. Blame the packages
Log levels
debug, info, warn, error: how serious a line is Taught in 40. Your app was down for six hours and nobody noticed
Logical decoding
turns WAL entries into readable changes Taught in 65. Your search results are an hour out of date. Why?
Long polling
the server holds each request open until there is news Taught in 59. How chat apps update without you refreshing
Lost message / ghost message
saved but never sent / sent but never saved Taught in 64. The order was saved, but the email never went out
Lost update
two requests read the same value, and one write silently overwrites the other Taught in 49. A customer got charged twice. How?
Magic bytes (file signature)
the first bytes of a file. They show its real type. Taught in 32. The profile picture that ran code on your site
Managed realtime service
a company that holds the open connections and delivers messages for you Taught in 59. How chat apps update without you refreshing
Many-to-many
many users like many posts. It needs a table in the middle. Taught in 20. You changed your name. Half the app still shows the old one
Mass assignment
the server saves fields that it never meant to let users change. Taught in 23. Change one number in the URL, see everyone's invoices
Maximum duration
the longest time a serverless function can run before the platform stops it Taught in 42. Sign-up takes 10 seconds because of one email
Memory (RAM)
the fast workspace for things in use now. It is cleared when the power goes off. Taught in 11. Your app restarted and all the likes vanished
Memory leak
memory that your code still refers to but will never use again, so it's never freed Taught in 54. Your server crashes every few days, like clockwork
Merge
to bring a branch's commits into another branch Taught in 15. The AI broke your working app. Here's your undo button
Message broker
a system that stores messages and delivers them to consumers Taught in 63. When everything calls everything, everything breaks
Message relay
a worker that publishes outbox rows to the broker and marks them as sent Taught in 64. The order was saved, but the email never went out
Method
the word that says what kind of request it is, like GET (give me) or POST (save this). Taught in 7. The hidden conversation behind every button you tap · also in 19. The app said "Saved!". The note was never saved
Metrics
numbers tracked over time, like error rate or sign-ups per hour Taught in 40. Your app was down for six hours and nobody noticed
Migration
one schema change written down as a file. You keep it in git and apply it in order. Taught in 35. You renamed one column and the live app crashed
Mixed content
an HTTPS page that loads something over plain HTTP Taught in 28. What the padlock icon really protects, and what it doesn't
Mock
a fake part that replaces a real part inside tests Taught in 38. The AI fixed one bug and quietly broke three others
Monitoring
you watch your running app, so you know if it is healthy Taught in 40. Your app was down for six hours and nobody noticed
Monolith and microservices
one app deployed as a unit, vs many small services deployed separately Taught in 68. The decisions your AI can't make for you
Multi-column index
one index on several columns, most useful when queries filter on its first column Taught in 46. Fast with 100 users, frozen at 10,000. The missing index
Mutex
a lock that lets exactly one task in at a time Taught in 53. Two tasks waiting for each other forever
N+1 query problem
one query for a list, then one more query for each item in it Taught in 47. One page, 500 database queries
Nameservers
the DNS servers that hold the official records for your domain Taught in 29. One company went down, and a big chunk of the internet went with it
node_modules
the folder where downloaded packages live. Taught in 14. It works on my machine, but not on yours. Blame the packages
NoSQL
databases that do not use the relational model, including document and key–value stores Taught in 61. SQL or NoSQL? The AI chose for you. Was it right?
npm
the tool that downloads packages from the npm registry. Taught in 14. It works on my machine, but not on yours. Blame the packages
npm audit
a command that checks your packages against reported security problems. Taught in 33. The AI suggested a package that didn't exist. Then someone made it
Object
details in { }, read with a dot, like player.score. Taught in 9. The AI wrote your code. Can you read it?
Object storage and bucket
a cloud service for files (S3, R2, Supabase Storage), and the container that holds the files. Taught in 32. The profile picture that ran code on your site
Offset pagination
"skip N rows, return the next M". Deep pages are slow and rows drift. Taught in 48. Your app tried to load 50,000 rows at once
One-to-many
one user, many posts. The foreign key goes on the "many" side. Taught in 20. You changed your name. Half the app still shows the old one
Operating system
the main program that runs the computer and manages processes. Taught in 11. Your app restarted and all the likes vanished
Operational transformation (OT)
adjust each change against the changes made at the same time, usually with a central server that sets the order Taught in 67. Two people typed in the same document at once. Who wins?
Origin
scheme + host + port, like https://app.example.com (port 443 implied) Taught in 27. "Blocked by CORS policy": why the browser said no
Origin server
your real server, behind the proxy Taught in 29. One company went down, and a big chunk of the internet went with it
ORM
a package that lets your code use the database without hand-written SQL. Taught in 25. How one line of text can dump your whole database
Out of sync
two copies of the same fact that now disagree Taught in 20. You changed your name. Half the app still shows the old one
Package
a bundle of code that someone wrote and shared, so that other people can use it. Taught in 14. It works on my machine, but not on yours. Blame the packages
package.json
the list of packages that your project needs. Taught in 14. It works on my machine, but not on yours. Blame the packages
Page size
rows per page. The server sets a default and a maximum. Taught in 48. Your app tried to load 50,000 rows at once
Pagination
returning a long list in pages, not all at once Taught in 48. Your app tried to load 50,000 rows at once
Parallelism
several tasks running at the same moment on different cores Taught in 52. How one server handles thousands of users at once
Parameterized query
a query with placeholders. The values go separately, and the database treats them only as data. Taught in 25. How one line of text can dump your whole database
Password hashing function
a hash that is slow on purpose, like Argon2id or bcrypt. Taught in 22. Never store a password. Here's what to store instead
Path traversal
../ in a file name, used to reach another folder. Taught in 32. The profile picture that ran code on your site
Pay-as-you-go
you pay only for what you use, measured in seconds, gigabytes or requests Taught in 17. There is no cloud. It's someone else's computer
Peer-to-peer
devices exchange changes directly, without a server in the middle Taught in 67. Two people typed in the same document at once. Who wins?
Persistent
data that stays after restarts and deploys. Taught in 10. Your app forgot everyone's messages overnight. Why?
Pipeline
the steps that run on every change Taught in 39. Stop broken code before it ever goes live
Point of presence (PoP)
one of a CDN's server locations, close to users. Taught in 58. Fast in the US, painfully slow in India
Point-in-time recovery (PITR)
a restore to any moment you choose, from a full copy plus a record of every change Taught in 36. The AI deleted your production database. Now what?
Policy
one RLS rule, like "users can read their own entries". Taught in 24. Can strangers read your whole database? Check in 5 minutes
Polling
the browser asks "anything new?" on a timer Taught in 59. How chat apps update without you refreshing
Polling publisher
a relay that checks the outbox table on a timer Taught in 64. The order was saved, but the email never went out
Port
a number that picks which program on a computer gets a request. Taught in 12. It works on my laptop. Why can't my friend open it?
Preflight request
an OPTIONS request that the browser sends first, to ask permission for requests that could change data Taught in 27. "Blocked by CORS policy": why the browser said no
Premature scaling
building for load you do not have, and paying for it now Taught in 60. Your app went viral. Will it survive?
Preview
your app while it runs inside the tool, as you build it. Taught in 8. Your first app in an afternoon, with an AI doing the typing
Preview link
a web address that opens the current version of your app in its own tab. Taught in 8. Your first app in an afternoon, with an AI doing the typing · also in 18. From your laptop to a real website in one push
Primary key
a column that is unique for every row and never changes, usually id Taught in 20. You changed your name. Half the app still shows the old one
Private vs shared cache
for one user (the browser) vs for many users (a CDN, your server cache) Taught in 55. Fast, but showing yesterday's data
Producer / consumer
the service that sends events / a service that reacts to them Taught in 63. When everything calls everything, everything breaks
Production
the live version of your app that real users visit. Taught in 12. It works on my laptop. Why can't my friend open it? · also in 37. Why you should never test on your real users
Production branch
the branch (usually main) that becomes your live site Taught in 18. From your laptop to a real website in one push
Program
a file of instructions on the disk. Taught in 11. Your app restarted and all the likes vanished
Project
one folder with all the files of one app. Taught in 8. Your first app in an afternoon, with an AI doing the typing
Projection (read model)
a normal table built from the events, made for fast reads, that you can build again Taught in 66. What if your database remembered everything that ever happened?
Prompt
the message that you type to an AI. Taught in 8. Your first app in an afternoon, with an AI doing the typing
Proxied (orange cloud)
traffic goes through Cloudflare Taught in 29. One company went down, and a big chunk of the internet went with it
Publish
put your app online, so that other people can open it. Taught in 8. Your first app in an afternoon, with an AI doing the typing
Publish/subscribe (pub/sub)
publish once, and every subscriber gets a copy Taught in 63. When everything calls everything, everything breaks
Publishable key
a key that a service made to be public, with limited powers. Taught in 21. Your API key leaked, and strangers are spending your money
Purge
empty the cache so that visitors get fresh copies Taught in 29. One company went down, and a big chunk of the internet went with it
Push
to upload your commits to GitHub Taught in 15. The AI broke your working app. Here's your undo button
Push protection
a block on a push that contains a known kind of secret. Taught in 21. Your API key leaked, and strangers are spending your money
Query
a command, written in SQL, that your code sends to the database. Taught in 25. How one line of text can dump your whole database
Query plan
the steps that the database chooses to run a query, shown by EXPLAIN Taught in 46. Fast with 100 users, frozen at 10,000. The missing index
Queue
a stored list of jobs that wait to be done Taught in 42. Sign-up takes 10 seconds because of one email
Race condition
a bug where the result depends on which request finishes first. Taught in 10. Your app forgot everyone's messages overnight. Why?
Race window
the gap between the check and the change Taught in 49. A customer got charged twice. How?
Rate limiting
counting requests per visitor in a time window and refusing the extra ones Taught in 30. Bots signed up 10,000 times overnight. Now what?
RDS
a database that AWS runs and looks after for you Taught in 17. There is no cloud. It's someone else's computer
Read Committed
PostgreSQL's default; a new snapshot for each statement Taught in 50. Two transactions, one wrong answer
Read replica
a read-only copy of the database that takes some of the reads Taught in 60. Your app went viral. Will it survive?
Read-through
the cache layer loads from the database on a miss Taught in 56. Your cache expired and the database collapsed
Redis
a fast in-memory store that all copies of your app can share Taught in 55. Fast, but showing yesterday's data
Reflected XSS
the code arrives in a request, often a link, and the server puts it directly into the page Taught in 26. A comment that runs code in every visitor's browser
Region
a group of data centers in one area. You choose one for your functions and one for your database. Taught in 58. Fast in the US, painfully slow in India
Regression
something that worked before and broke after a change Taught in 38. The AI fixed one bug and quietly broke three others
Regression test
a test that makes sure an old bug can't come back Taught in 41. It only breaks in production. How do you find out why?
Relational database
data in tables with fixed columns, linked by foreign keys and combined with joins Taught in 61. SQL or NoSQL? The AI chose for you. Was it right?
Repeatable Read
one snapshot per transaction; catches lost updates, not write skew Taught in 50. Two transactions, one wrong answer
Replay attack
someone sends an old, valid message again. Taught in 31. Free stuff with one fake "payment succeeded" message
Replaying
go through the events in order to calculate the current state Taught in 66. What if your database remembered everything that ever happened?
Replication slot
a reader's bookmark; Postgres keeps all WAL after it Taught in 65. Your search results are an hour out of date. Why?
Repository (repo)
a folder that Git watches Taught in 15. The AI broke your working app. Here's your undo button
Reproduce
make a bug happen again on purpose, in a place where you can study it Taught in 41. It only breaks in production. How do you find out why?
req and res
the request that came in, and the response you send back. Taught in 9. The AI wrote your code. Can you read it?
Request coalescing
requests for the same missing key share one rebuild Taught in 56. Your cache expired and the database collapsed
Restore
to bring data back from a backup Taught in 36. The AI deleted your production database. Now what?
Restore drill
a practice restore that you do on purpose, before you need it Taught in 36. The AI deleted your production database. Now what?
Retry
sending a failed request again Taught in 43. The payment timed out. Did it go through?
Retry-After
a header that says how long to wait before the next try Taught in 30. Bots signed up 10,000 times overnight. Now what?
Reverse proxy
a server that stands in front of yours and receives requests for it Taught in 29. One company went down, and a big chunk of the internet went with it
Review checklist
a fixed list of questions that you ask about every change Taught in 45. The AI wrote 500 lines. How do you know they're safe?
Rollback
making an earlier, working version live again Taught in 41. It only breaks in production. How do you find out why?
Rotating a key
you create a new key and turn off the old key. Taught in 21. Your API key leaked, and strangers are spending your money
Round trip
one query's trip to the database and back Taught in 47. One page, 500 database queries
Round-trip time (RTT)
the time to get there and back. About 10 ms per 1,000 km of cable, plus extra delay on the way. Taught in 58. Fast in the US, painfully slow in India
Row
one item in a table, like one message. Taught in 10. Your app forgot everyone's messages overnight. Why?
Row Level Security (RLS)
database rules that decide which rows each user can read or change. Taught in 24. Can strangers read your whole database? Check in 5 minutes
Row lock (SELECT ... FOR UPDATE)
makes other transactions wait before they change a row that you work on Taught in 49. A customer got charged twice. How?
RTO and RPO
the longest acceptable downtime, and the most data you can accept to lose Taught in 68. The decisions your AI can't make for you
Ruleset
GitHub rules for a branch, such as "require status checks to pass" Taught in 39. Stop broken code before it ever goes live
S3
storage for files like images, videos and backups Taught in 17. There is no cloud. It's someone else's computer
Safe method
only reads, never changes anything (GET) Taught in 19. The app said "Saved!". The note was never saved
Salt
a random value mixed into each password before hashing. Taught in 22. Never store a password. Here's what to store instead
Same-origin policy
the browser rule that stops a page from reading responses from other origins Taught in 27. "Blocked by CORS policy": why the browser said no
Sanitizer
a package, like DOMPurify, that removes dangerous parts from HTML Taught in 26. A comment that runs code in every visitor's browser
Schema
the shape of your database. It includes the tables, columns, types and rules. Taught in 35. You renamed one column and the live app crashed
Schema change
any change to that shape. Taught in 35. You renamed one column and the live app crashed
Schema validator
a package, like Zod, that checks data against a description of its shape. Taught in 24. Can strangers read your whole database? Check in 5 minutes
Schemaless
the database does not check the shape of the data, so your code must do it Taught in 61. SQL or NoSQL? The AI chose for you. Was it right?
Secret
a setting that lets someone act as you, like an API key or a password. Taught in 13. Your app's secrets don't belong in your code. Here's where they go · also in 21. Your API key leaked, and strangers are spending your money
Secret scanning
an automatic search of code for text that looks like keys. Taught in 21. Your API key leaked, and strangers are spending your money
Seed script
a program that fills a test database with fake data Taught in 37. Why you should never test on your real users
Semaphore
a lock that lets at most N tasks in at a time Taught in 53. Two tasks waiting for each other forever
Serializable
the result of running one at a time, or a serialization failure (SQLSTATE 40001) that you must retry Taught in 50. Two transactions, one wrong answer
Server-Sent Events (SSE)
one long response that the server keeps writing events into. Server to browser only Taught in 59. How chat apps update without you refreshing
Server-side validation
checks on your server. These checks protect your data. Taught in 24. Can strangers read your whole database? Check in 5 minutes
Serverless
you run code without managing any servers yourself (the servers still exist) Taught in 17. There is no cloud. It's someone else's computer
Serverless function
backend code that runs only when a request arrives Taught in 18. From your laptop to a real website in one push
Session
the server's record that a browser belongs to a logged-in user. Taught in 22. Never store a password. Here's what to store instead
Signature verification
your server calculates the signature again. This proves who sent the event and that nothing changed. Taught in 31. Free stuff with one fake "payment succeeded" message
Signed URL
a temporary link to one file. It works for anyone who has it, until it expires. Taught in 32. The profile picture that ran code on your site
Signing secret
a secret that only the service and your server know. The service uses it to sign events. Taught in 31. Free stuff with one fake "payment succeeded" message
Sliding window counter
estimates the last minute from two counters Taught in 57. How does a rate limiter count to 100?
Sliding window log
remembers the time of every request; exact, but uses a lot of memory Taught in 57. How does a rate limiter count to 100?
Slopsquatting
an attacker publishes a harmful package under a name that AI tools often invent. Taught in 33. The AI suggested a package that didn't exist. Then someone made it
Snapshot
a frozen view of committed data at one moment Taught in 50. Two transactions, one wrong answer
Source of truth and derived data
the place with the real answer, and copies that you can build again from it Taught in 65. Your search results are an hour out of date. Why?
SQL
a language that many databases understand. Taught in 10. Your app forgot everyone's messages overnight. Why?
SQL injection
user input that the database reads as part of a SQL command. Taught in 25. How one line of text can dump your whole database
SSL/TLS mode
how Cloudflare connects to your origin: Flexible, Full or Full (strict) Taught in 29. One company went down, and a big chunk of the internet went with it
Stack trace
the list of places the program was when it stopped, newest first Taught in 16. The error message is telling you what's wrong. Read it first
Staging
a copy that works like production, but no real users depend on it Taught in 37. Why you should never test on your real users
Stale data
a copy that no longer matches the real data Taught in 55. Fast, but showing yesterday's data
Stale-while-revalidate
serve the old copy while a new one loads in the background Taught in 56. Your cache expired and the database collapsed
Stateless
keeping nothing important in the memory of one instance Taught in 52. How one server handles thousands of users at once · also in 60. Your app went viral. Will it survive?
Status code
the number that says how it went: 2xx worked, 3xx look elsewhere, 4xx the request has a problem, 5xx the server failed Taught in 19. The app said "Saved!". The note was never saved
Stored XSS
the code is saved on your server, for example in a comment, and affects everyone who views it Taught in 26. A comment that runs code in every visitor's browser
Strict equality (===)
"exactly the same, and the same kind?" Taught in 9. The AI wrote your code. Can you read it?
String
text in quotes. A template literal uses backticks and ${...}. Taught in 9. The AI wrote your code. Can you read it?
Structured logging
log lines as data with named fields, usually JSON Taught in 40. Your app was down for six hours and nobody noticed
Supply chain attack
an attack that reaches your app through something that you use, like a package. Taught in 33. The AI suggested a package that didn't exist. Then someone made it
Swallowing an error
you catch an error and do nothing, so nobody learns that it happened. Taught in 34. Your error page showed your database details to everyone
Table
a set of rows that hold one kind of thing, like messages. Taught in 10. Your app forgot everyone's messages overnight. Why?
Test keys and live keys
separate keys from services like Stripe; only live keys touch real money Taught in 37. Why you should never test on your real users
The cloud
servers in data centers that you rent and reach over the internet Taught in 17. There is no cloud. It's someone else's computer
Thread
one line of work inside a process. Node.js runs your JavaScript on one main thread. Taught in 51. One slow request froze the whole server · also in 52. How one server handles thousands of users at once
Thread pool / worker threads
Node's helper threads for built-in tasks / for your own CPU-heavy JavaScript Taught in 52. How one server handles thousands of users at once
Threshold
how many failures, or what share of recent calls, trips the breaker Taught in 62. One slow service took your whole app down
Throw and catch
code throws an error when it cannot continue. try/catch stops the error and lets you decide what happens next. Taught in 34. Your error page showed your database details to everyone
Tiebreaker
a unique column like id that you add to the sort, so the order is always the same Taught in 48. Your app tried to load 50,000 rows at once
Timeout
the longest time that you will wait for an answer. It tells you that you stopped waiting, not what happened. Taught in 43. The payment timed out. Did it go through?
TLS
the rules that give a connection encryption, integrity and authentication (older name: SSL) Taught in 28. What the padlock icon really protects, and what it doesn't
Token
a small piece of text that AI APIs count to bill you, for both input and output Taught in 44. You woke up to a $10,000 cloud bill. What happened?
Token bucket
tokens refill at a steady rate; the bucket size allows controlled bursts Taught in 57. How does a rate limiter count to 100?
Total count
the number of matching rows. Exact counts on big tables cost a lot. Taught in 48. Your app tried to load 50,000 rows at once
Trade-off
you buy one quality (speed, safety, flexibility) and pay with another (money, complexity, fresh data) Taught in 68. The decisions your AI can't make for you
Transaction
a group of database changes that succeed or fail together Taught in 49. A customer got charged twice. How?
Transactional outbox
the message is saved in an outbox table, in the same transaction as the data Taught in 64. The order was saved, but the email never went out
TTL
how many seconds a copy lives before it is deleted Taught in 55. Fast, but showing yesterday's data
TTL jitter
a small random extra time, so keys don't expire together Taught in 56. Your cache expired and the database collapsed
Two-way and one-way doors
decisions that are easy to reverse, and decisions that are not Taught in 68. The decisions your AI can't make for you
Type check
a check that every value matches its declared type, with TypeScript Taught in 39. Stop broken code before it ever goes live
Typosquatting
a harmful package with a name close to a popular one. Taught in 33. The AI suggested a package that didn't exist. Then someone made it
undefined
JavaScript's way of saying "no value here" Taught in 16. The error message is telling you what's wrong. Read it first
Unique and check constraints
database rules that block duplicates and impossible values, whatever your code does Taught in 49. A customer got charged twice. How?
Unit test
checks one piece of code on its own; fast and precise Taught in 38. The AI fixed one bug and quietly broke three others
Upcasting
change old event shapes to the current shape while you read them Taught in 66. What if your database remembered everything that ever happened?
Uptime check
a robot visitor from outside that alerts you when your app doesn't answer Taught in 40. Your app was down for six hours and nobody noticed
Usage-based pricing
you pay for how much you use, like a taxi meter Taught in 44. You woke up to a $10,000 cloud bill. What happened?
Utility vs strategic software
what every business needs (buy it) vs what makes you different (build it) Taught in 68. The decisions your AI can't make for you
Validation
a check that data is correct before you use it. Taught in 24. Can strangers read your whole database? Check in 5 minutes
Variable
a name for a value. const can't get a new value, let can. Taught in 9. The AI wrote your code. Can you read it?
Version
a number like 5.1.0. The parts are major, minor and patch. Taught in 14. It works on my machine, but not on yours. Blame the packages
Vertical scaling
a bigger machine Taught in 60. Your app went viral. Will it survive?
WAF
a firewall that blocks requests that match known attack patterns Taught in 29. One company went down, and a big chunk of the internet went with it
Waterfall
requests that each wait for the one before. Their round trips add up. Taught in 58. Fast in the US, painfully slow in India
Webhook
a request that another service sends to your server when something happens. Taught in 31. Free stuff with one fake "payment succeeded" message
WebSocket
a connection that switches from HTTP to a two-way channel Taught in 59. How chat apps update without you refreshing
Worker
code that takes jobs from the queue and does them Taught in 42. Sign-up takes 10 seconds because of one email
Worker pool
Node's helper threads for files, some crypto and compression (4 by default) Taught in 51. One slow request froze the whole server
Worker threads
extra threads that you start yourself for heavy JavaScript Taught in 51. One slow request froze the whole server
Workflow, job, step, runner
the pipeline file, a group of steps, one command, the computer that runs it Taught in 39. Stop broken code before it ever goes live
Write skew
two transactions read the same data, write different rows, and together break a rule Taught in 50. Two transactions, one wrong answer
Write-ahead log (WAL)
the log where PostgreSQL records every change before it applies it Taught in 64. The order was saved, but the email never went out · also in 65. Your search results are an hour out of date. Why?
Write-back / write-behind
writes go to the cache first and reach the database later Taught in 56. Your cache expired and the database collapsed
Write-through
every database write also updates the cache Taught in 56. Your cache expired and the database collapsed
XSS (cross-site scripting)
user text that a site's pages run as code in visitors' browsers Taught in 26. A comment that runs code in every visitor's browser
Yjs and Automerge
popular open-source CRDT libraries Taught in 67. Two people typed in the same document at once. Who wins?