Glossary
Every term is defined in the words of the board that teaches it. Select a board name to see the term in context.
1121terms
184boards defining them
15tracks
1121 of 1121 shown
A
- A/B testSearch That Learned From Its Own Misses
- half the users get the change, half do not, compare
- ABACAuthorization and Identity
- attribute-based
- abortTransactions
- roll back
- AbsorptionWhy the Ocean Is Blue
- a material soaks up certain wavelengths (water eats red). Scattering = light bounces off in new directions (sky).
- abstraction ladderLogic From Switches
- each layer built from the one below and hiding it: transistor → gate → adder/register → CPU. Moore's law = transistors-per-chip roughly doubling every ~2 years.
- access tokenAuthorization and Identity
- API access (authZ)
- accidental complexityWhat a Data System Promises
- complexity from the tools, not the problem
- ACIDTransactions
- atomicity/consistency/isolation/durability
- acknowledgmentDesign WhatsApp in the Interview
- a short reply saying I have it
- ACLAuthorization and Identity
- per-resource permission list
- activation functionWhat a Neural Network Is
- the non-linearity (ReLU / sigmoid / tanh)
- active vs passiveS2 - Build a Load Balancer
- active: LB pings on a timer. passive: LB marks a backend DOWN after a real request to it fails.
- actor / message passingConcurrency and the Hardware
- share nothing, send messages
- adaptive bitrateDesign Netflix in the Interview
- the player picks each chunk's quality
- Adaptive immunityA Wanted Poster for Your Immune System
- the slow-but-specific system that keeps MEMORY. mRNA vaccine = gives your cells the recipe to display the antigen themselves.
- adjacency listGraphs
- vertex→neighbours (O(V+E), sparse)
- adjacency matrixGraphs
- V×V grid (O(V²), O(1) edge test, dense)
- ADTLinked Lists Stacks and Queues
- abstract data type (interface, not storage)
- AES-GCMCryptography Foundations
- authenticated encryption (confidentiality + integrity)
- agentAgents and Tool Use
- an LLM that uses tools in a loop toward a goalAlso on The Map
- agent loopAgents and Tool Use
- think → act → observe → repeat (ReAct)
- Agent SkillFewer Details Up Front
- a packaged how-to the agent can load
- AggregationThe Statistic That Reverses Itself
- squashing groups into one number. Simpson's paradox = when doing so reverses the real trend.
- algorithmic biasWhere Data Systems Are Heading
- models encoding past discrimination
- alignmentFrom Transformer to LLM
- teaching assistant behavior on top of the base modelAlso on Fine-tuning and Alignment
- alignment taxFine-tuning and Alignment
- capability lost to safety
- allocation strategyDesign a Parking Lot
- the swappable rule that picks the spot
- allowlist vs denylistApplication Hardening
- accept-known-good vs block-known-bad
- ALULogic From Switches
- arithmetic logic unit (the adder + more)Also on The CPU
- Amdahl's lawConcurrency and the Hardware
- speedup capped by the serial fraction
- amortisationThe Tank
- each payment split into interest plus paying the loan downAlso on The Minimum Payment
- amortizedComplexity and Big-O
- cost averaged over a sequence of ops
- ampWhy a Fuse Is a Weak Link on Purpose
- how much charge flows past per second, volt = the push behind it, watt = volts x amps, the power an appliance pulls,
- AmphiphileHow Soap Destroys Germs
- a molecule with a water-loving (hydrophilic) end and a water-hating/oil-loving (hydrophobic) end. Soap is one.
- AmplitudeSilence Built From More Noise
- wave height = loudness. Phase = where in its cycle a wave is; 'out of phase' = shifted.
- analogy arithmeticTokens and Embeddings
- king−man+woman≈queen
- AND/OR/NOT/XORLogic From Switches
- both/either/invert/differ
- Angular sizeThe Moon Illusion
- how wide something looks in degrees of your view (the moon is ~0.5 deg, always, high or low).
- Anode/cathodeA Battery Stores a Chemical Cliff
- the two electrodes. The anode gives up electrons (oxidation), the cathode accepts them (reduction) = 'redox'.
- AntigenA Wanted Poster for Your Immune System
- a molecular 'face' the immune system recognises. Antibody = a protein that locks onto one specific antigen. B/T cells = the makers & killers.
- anycastDesign Cloudflare in the Interview
- one address announced from many cities, the nearest one answers
- API gatewayDesign Uber in the Interview
- the front door that checks who you are and routes the call
- API serverUnder the Hood
- the single front door to the cluster | etcd = Raft-backed key-value store holding ALL cluster state | scheduler = assigns pods to nodes
- Apparent distance / Ponzo illusionThe Moon Illusion
- the brain judging size by perceived distance & context, not the raw image.
- APRThe Tank
- the yearly interest rate on a loanAlso on The Minimum Payment
- arithmetic averageThe Borrowed Bucket
- the plain mean of yearly returns
- arrayArrays and Strings
- contiguous same-size slots (O(1) index)
- ASCIIEverything Is a Number
- 1-byte character code (A=65)
- askThe Water Market
- the best price a seller will take
- assume breachThe Security Mindset
- design for a compromised layerAlso on Anatomy of a Breach
- ASTHow Code Becomes Execution
- the parsed syntax tree
- asymmetric / public-keyCryptography Foundations
- a key pair (RSA/ECC, slow, key exchange)
- async / event loopConcurrency and the Hardware
- one thread, non-blocking I/O
- at least onceRun This at Nine
- a run may happen twice but never zero times
- atomicConcurrency and the Hardware
- uninterruptible op
- attack surfaceThe Security Mindset
- all points an attacker can interact with
- attention matrixAttention and the Transformer
- n×n who-attends-to-whom
- auditingWhere Data Systems Are Heading
- verify, don't trust
- authentication (authN)Authentication
- prove who you are
- authenticityThe Security Mindset
- provably who they claim
- authorisationThe Pipes
- the issuer agrees to pay later, and holds the amount
- authoriseDesign Stripe in the Interview
- ask the shopper's bank to hold the money
- authorization (authZ)Authentication
- what you may doAlso on Authorization and Identity
- automatic differentiationHow It Learns
- the framework doing it for you
- autoregressiveFrom Transformer to LLM
- generate one token at a time, feeding output back
- availabilityThe Cut Phone Line
- every request gets an answer
- average O(1) vs worst O(n)Hashing
- typical vs all-collide
B
- backoffThe Bouncer at the Door
- wait longer each retry (+ jitter)
- backpropagationHow It Learns
- the chain rule computing every weight's gradient in one backward pass
- backtrackingAlgorithm Design Patterns
- incremental build + prune dead branches (DFS over solutions)
- backward compatEncoding and Schema Change
- new code reads old data
- balanceWho Owes Whom
- paid minus owed
- BASETransactions
- the vague 'eventually consistent' opposite
- base caseRecursion and Dynamic Programming
- the stopping condition
- base modelFrom Transformer to LLM
- raw pretrained predictor (not an assistant)
- Base pairYou Are Written in 4 Letters
- one rung (A-T or G-C). Genome = your full set of ~3B pairs. Codon = 3 letters = 1 amino acid.
- Base rateThe 99 Percent Test That Is Usually Wrong
- how common it is BEFORE the test (1 in 1000). Ignore it and you'll fool yourself.
- base vs aligned modelFine-tuning and Alignment
- raw predictor vs assistant
- batchDesign Claude in the Interview
- conversations sharing one read of the weights
- batch / mini-batchHow It Learns
- a subset processed per step
- batch vs service vs streamBatch Processing
- offline bulk / online requests / near-real-time
- batchingDesign Food Delivery in the Interview
- one rider carrying two orders on one trip
- Bayes' theoremThe 99 Percent Test That Is Usually Wrong
- the math that folds the base rate back in: P(sick | +) = real / (real + false).
- bcrypt/scrypt/argon2Authentication
- slow, memory-hard password hashes
- Bellman-FordGraphs
- handles negatives
- best/average/worst caseComplexity and Big-O
- the input that gives least/typical/most cost
- betaThe Water Market
- how much one asset moves with the whole market
- BFTWhen Machines Fail
- tolerating it
- biasWhat a Neural Network Is
- a learned offsetAlso on Numbers for Real
- bidThe Water Market
- the best price a buyer will pay
- Big-OComplexity and Big-O
- upper bound on growth (drop constants & lower terms)
- Bijection (1-to-1)Some Infinities Are Bigger Than Others
- a perfect pairing between two sets. If one exists, the sets are the SAME size, even if infinite.
- binary searchSorting and Searching
- halve a SORTED range → O(log n)Also on Grep Without Reading Every File
- binary treeTrees
- ≤2 children
- binary-search-on-the-answerSorting and Searching
- search a monotonic predicate (optimization)
- bitEverything Is a Number
- one 0/1 switch
- Black-ScholesThe Drought Right
- the 1973 formula that prices it
- blameless post-mortemAnatomy of a Breach
- fix the bug class, not the person
- blast radiusAnatomy of a Breach
- what one compromise can reach (limited by least privilege)Also on Design Amazon in the Interview
- blockDesign Dropbox in the Interview
- a chunk of a file, up to 4 MB, named by its fingerprint
- blocking I/OIO Interrupts and the Bus
- thread parked until data arrives
- blocklistDesign Dropbox in the Interview
- the ordered list of block fingerprints that makes up one file
- Bloom filterStorage Engines
- probabilistic 'maybe/definitely-not' setAlso on Hashing, Design a Web Crawler
- board as a mapDesign Snake and Ladder
- square -> where you end up
- bootloader (GRUB)IO Interrupts and the Bus
- loads the kernel
- boundary layerWhy a Fan Cools You, Not the Room
- the stuck film on every surface, wet-bulb = temp limit evaporation can reach
- bounded inputBatch Processing
- finite dataset, so the job finishes
- BPETokens and Embeddings
- byte-pair encoding (merge frequent pairs → vocab)
- branch predictionThe CPU
- guessing a jump to keep the pipeline full
- breakThe Nightly Match
- an entry with no matching twin
- brittlenessAgents and Tool Use
- loops/stuck/compounding errors
- brute forceAlgorithm Design Patterns
- try all possibilities (correct baseline)
- bucketHashing
- an array slotAlso on Design Discord in the Interview
- buffer overflowHow Code Becomes Execution
- writing past a buffer (overwrites the return address → exploit)
- buffer poolThe Map
- page cache in RAM dirty = changed in RAM only checkpoint = 'all dirty pages <= this LSN are on disk' MVCC = readers get a snapshot, never block
- build contextThe Recipe
- the folder sent to the daemon | layer cache = reuse unchanged slabs | multi-stage = compile in one image, copy the artifact into a small one
- bulk stringS3 - Build a Redis Server
- a binary-safe string sent as $<byte-count>\r\n<bytes>\r\n (can hold nulls, newlines, anything).
- burstThe Bouncer at the Door
- a short spike
- busIO Interrupts and the Bus
- shared wiring (memory bus, PCIe)
- byteEverything Is a Number
- 8 bits (0–255)
- bytecodeHow Code Becomes Execution
- portable mid-level code for a VM
- Byzantine faultWhen Machines Fail
- a node that lies/acts arbitrarily
C
- C2Anatomy of a Breach
- command & control channel
- CATransport and Network Security
- certificate authority
- cacheThe Memory Hierarchy
- small fast memory near the CPUAlso on Design Amazon in the Interview, Design an LRU Cache
- cache coherence (MESI)Concurrency and the Hardware
- keeping cores' caches consistent
- cache hitChunks, Not Files
- the answer was already stored
- cache keyDesign Cloudflare in the Interview
- the facts that make two requests share one copy
- cache lineThe Memory Hierarchy
- the ~64B unit moved between levelsAlso on Cache Line Life
- cache missChunks, Not Files
- it was not, so do the work and store it
- CalibrationThe Less You Know the More Sure You Feel
- how well your confidence matches your actual accuracy. Well-calibrated = sure when right, unsure when wrong.
- callThe Drought Right
- the right to buy
- call stackLinked Lists Stacks and Queues
- the CPU/OS stack of frames
- CALL/RETHow Code Becomes Execution
- push-addr-and-jump / pop-and-jump
- candidateGrep Without Reading Every File
- a file that MIGHT match, checked for real afterwards
- canonicalizeApplication Hardening
- normalize before checking
- CAPThe Cut Phone Line
- under partition, pick A or C
- capacityDesign a Parking Lot
- how many vehicles fit: the count of spots
- capacity vs lengthArrays and Strings
- allocated vs used
- captureDesign Stripe in the Interview
- actually take the held money
- cardinalityIs It Up
- the number of distinct series, what fills memory
- CASConcurrency and the Hardware
- compare-and-swap (the lock-free primitive)
- causal consistencyConsistency and Consensus
- preserve cause→effect order, cheaply
- causal maskAttention and the Transformer
- can only attend to earlier tokens (for generation)
- CDCReplication
- change data captureAlso on Stream Processing
- CDNDesign Google Maps in the Interview
- copies of files kept on servers near the readerAlso on Design Instagram in the Interview, Design YouTube in the Interview
- certificateCryptography Foundations
- a public key signed by a CAAlso on Transport and Network Security
- Certificate Transparency (CT)Transport and Network Security
- public log of issued certs
- chain of responsibilityDesign a Logger
- each link decides, then passes it on
- change-makingDesign a Vending Machine
- picking coins that add up to what is owed
- channelDesign Discord in the Interview
- one topic corner inside a guild with its own historyAlso on Design Slack in the Interview
- checkpointDesign Figma in the Interview
- a full copy saved at one moment, so recovery replays only what came after
- ChinchillaFrom Transformer to LLM
- balance params & data
- Chirality / handednessWhy a Mirror Flips Left-Right but Not Up-Down
- 'left vs right' shape you can't rotate into its mirror (like gloves). Mirrors flip it.
- chunkRAG
- a passage-sized piece of a documentAlso on Chunks, Not Files, Everything, Design Cursor in the Interview
- chunk/segmentAdaptive Bitrate Streaming
- a few seconds of video, one file . bitrate = bits/sec = quality . manifest = list of available qualities + chunks . rebuffer = playback stalls to refill . QoE = quality of experience
- chunking strategyRAG
- size / overlap / boundaries
- CIThe Assembly Line
- build+test every commit | CD = auto deliver/deploy | runner = machine running the pipeline | artifact = the built image | gate = approval before prod
- CIA triadThe Security Mindset
- confidentiality (secret) / integrity (untampered) / availability (up)
- ciphertextDesign WhatsApp in the Interview
- the scrambled message only the two phones can unlock
- circuit breakerDesign Netflix in the Interview
- stop calling a failing service and serve a fallbackAlso on Design OpenRouter in the Interview
- CISC vs RISCThe CPU
- complex-variable vs simple-fixed instructions
- classNouns and Verbs
- a blueprint for objects
- Claude Code / this assistantAgents and Tool Use
- an agent (tools: read/write/bash/canvas + loop)
- clockLogic From Switches
- the tick that advances flip-flopsAlso on The CPU
- clock injectionDesign a Rate Limiter
- the class asks a clock it was given
- clock skew/driftWhen Machines Fail
- clocks disagree/wander
- cloud metadata endpointWeb Vulnerabilities
- 169.254.169.254
- clusterFrom One Crate to a Fleet
- the machines together | node = one machine | pod = smallest unit (1+ containers) | control plane = the brain running the reconcile loop
- ClusterIP/NodePort/LoadBalancerGetting Traffic In
- exposure levels | Ingress = L7 routing rules | Ingress controller = the proxy | TLS termination = decrypt at the edge
- coalescingDesign Discord in the Interview
- identical requests in flight share one database read
- Coastline paradoxHow Long Is a Coastline
- the measured length keeps growing as your measuring stick shrinks, so there's no single true coastline length.
- code retentionSearch That Learned From Its Own Misses
- how much of the agent's code is still there later
- cold missCache Line Life
- first touch, always RAM
- combinationalLogic From Switches
- output depends only on current inputs
- command patternDesign Chess
- an action as an object you can execute and undo
- commitWho Holds the Pen
- stored on a majority, now safe
- compactionStorage Engines
- merge segments, drop stale versionsAlso on S1 - Build Your Own Database
- compare-and-setDesign Uber in the Interview
- a write that only lands if the value is still what you read
- compare-and-set (CAS)Transactions
- write only if unchanged
- comparison sortSorting and Searching
- orders by comparing pairs (≥ n log n)
- compatibilism, free willFree Will Identity and the Self
- uncoerced, not uncaused
- compilerHow Code Becomes Execution
- source → machine code ahead of time
- complete mediationThe Security Mindset
- check every accessAlso on Authorization and Identity
- complete treeTrees
- filled level-by-level (→ array storage)
- compositionHas-a Beats Is-a
- a class built from parts it holds
- compoundingThe Tank
- growth on the growth
- compressionEvery Sound Is Sine Waves
- drop tones you won't miss.
- concatenated indexStorage Extras
- several fields glued into one key (prefix queries only)
- concurrencyConcurrency and the Hardware
- handling many tasks (structure)
- conditional decrementThe Ten O'Clock Rush
- subtract one only if a seat is left, in one step
- ConfigMapConfig, Secrets & Storage
- non-secret config | Secret = sensitive (base64, guard w/ RBAC) | PVC = a claim for storage | PV = the real disk | StatefulSet = stable pods w/ own disks
- conflicted copyDesign Dropbox in the Interview
- a second file kept when two edits collide, so neither is lost
- Confounder (lurking variable)The Statistic That Reverses Itself
- a hidden factor (stone size, department) that skews BOTH the groups and the outcome.
- confused deputyAuthorization and Identity
- a privileged component tricked into acting for someone (CSRF/SSRF)Also on Web Vulnerabilities
- consensusConsistency and Consensus
- nodes agree on one value (agreement/integrity/validity/termination)Also on Who Holds the Pen
- consentWhere Data Systems Are Heading
- meaningful, revocable permission to use data
- consistency (linearizable)The Cut Phone Line
- everyone sees the latest write, as if one copy
- consistent hashingSplitting the Ledger
- scheme where adding a shard moves only a small slice of keys, not all of them
- Constitutional AIFine-tuning and Alignment
- self-critique against written principles (Anthropic)
- constraint satisfactionAlgorithm Design Patterns
- find an assignment meeting all rules (backtracking)
- containerd / runcUnder the Hood
- pull image / create the namespaced + cgrouped process | CNI = gives pods their IPs & networking | kube-proxy = makes Service VIPs work
- content hashDesign a Web Crawler
- a fingerprint of a page's body, equal pages get equal hashes
- content proofProve You Have It
- a hash you could only have computed from the file itself, kept by the server to check you hold itAlso on Everything, Design Cursor in the Interview
- context switchProcesses Threads and the Kernel
- save one thread's state, load another's (~µs + cache cost)
- context windowInference
- max tokens the model sees at onceAlso on Fewer Details Up Front
- continuous batchingDesign Claude in the Interview
- finished chats leave and waiting ones join at every word step
- control planeDesign Netflix in the Interview
- the cloud half that decides what to play
- controller managerUnder the Hood
- runs the reconcile loops | kubelet = the per-node agent that runs pods | CRI = container runtime interface
- ConvectionHot Water Can Freeze Faster Than Cold
- heat moving via a fluid's own circulation. Evaporation = fastest molecules escaping as vapour, carrying heat off.
- convergenceHow It Learns
- the loss stops dropping
- coordination serviceConsistency and Consensus
- ZooKeeper/etcd, consensus-as-a-service
- coordinator/participantConsistency and Consensus
- the 2PC roles
- coroutine/channelConcurrency and the Hardware
- cooperative concurrency (Go/CSP)
- correlationThe Water Market
- how much two things move togetherAlso on One Cloud Many Rivers
- cosine similarityTokens and Embeddings
- closeness by angle between vectorsAlso on RAG
- count-min sketchCounting Clicks in Real Time
- a small grid of counters giving an approximate count in fixed space
- CountableSome Infinities Are Bigger Than Others
- pairs up with 1,2,3,... (aleph-0). Uncountable = provably can't (the reals, size c = the continuum).
- counting/radix/bucketSorting and Searching
- non-comparison sorts (integer keys, beat the wall)
- CRDTReplication
- auto-merging data type
- critical sectionConcurrency and the Hardware
- code that must not interleaveAlso on Two People, One Seat
- CRL/OCSPTransport and Network Security
- revocation checks
- CRLF framingS3 - Build a Redis Server
- every part ends in \r\n, so the parser always knows where a token stops -- no guessing.
- cron expressionRun This at Nine
- five fields saying which minutes and hours a job runs
- cross-attentionAttention and the Transformer
- attend to another sequence
- cross-shard querySplitting the Ledger
- a question that must visit every shard
- cryptographic hashCryptography Foundations
- one-way fixed digest (SHA-256. Deterministic, collision-resistant, avalanche)
- CSPWeb Vulnerabilities
- Content-Security-Policy (restrict script sources)
- CSRFWeb Vulnerabilities
- your browser tricked into an authenticated request (fix: CSRF token / SameSite)
- current stateTell Everyone Who Cares
- the situation the object is in now
- cursorDesign Slack in the Interview
- the last message a person has read in a channel
- CVEApplication Hardening
- a known published vulnerability
D
- daemonRunning a Container
- engine the CLI talks to | pull = fetch image from registry | volume = storage that outlives the box | exec = run a command in a live box
- data cubeStorage Extras
- precomputed aggregate grid
- data integrationWhere Data Systems Are Heading
- keeping many specialized stores in sync
- data minimizationWhere Data Systems Are Heading
- collect/keep less
- data planeDesign Netflix in the Interview
- the box half that only serves the files
- data-intensiveWhat a Data System Promises
- bottleneck is data (amount/complexity/change), not CPU
- dataflow engine (Spark/Flink)Batch Processing
- one DAG, in-memory, no forced materialization
- DDoSDesign Cloudflare in the Interview
- a flood of junk from many hijacked machines
- dead letter queueDesign Amazon in the Interview
- a side line for messages that keep failing
- dead-letter queueRun This at Nine
- where a job goes after N failed tries
- deadlockTransactions
- mutual lock-waitAlso on Concurrency and the Hardware
- debt simplificationWho Owes Whom
- new payments, same final balances
- decoder-onlyFrom Transformer to LLM
- a stack of causal transformer blocks (GPT-style)
- DecoherenceWatch a Particle and It Changes
- when contact with the environment (a detector) collapses that wave-ness into one definite outcome.
- deep learningWhat a Neural Network Is
- many hidden layers
- defense in depthThe Security Mindset
- layered controlsAlso on Anatomy of a Breach
- delegationHas-a Beats Is-a
- the held part does the real work
- dense vectorTokens and Embeddings
- all-numbers representation (vs one-hot)
- densityWhy Ice Floats
- mass per space
- dependency injectionSwap the Rule, Keep the Class
- handing an object its parts from outside instead of letting it build them
- dependency inversionFive Letters, One Shop
- pass the parts in from outside, so a test can hand in a fake
- dequeLinked Lists Stacks and Queues
- double-ended queue (O(1) both ends)
- derivation functionWhere Data Systems Are Heading
- app as input-streams → output-streams
- derived viewWhere Data Systems Are Heading
- a store computed FROM it (deterministic, rebuildable)
- design patternSwap the Rule, Keep the Class
- a named, reusable shape for a problem that keeps coming back
- desired stateFrom One Crate to a Fleet
- what you declared (5 replicas) | reconcile = observe, compare, act -- repeat | scheduler = decides which node a pod lands on
- device driverIO Interrupts and the Bus
- kernel code speaking one device's protocol
- Diagonal argumentSome Infinities Are Bigger Than Others
- Cantor's proof: from any list of reals, build one it missed. So the reals outnumber the list.
- dice as a strategyDesign Snake and Ladder
- the game asks a dice object it was given
- Dielectric heatingWhy the Microwave Heats the Food Not the Plate
- heat made by forcing polar molecules to flip in an oscillating field (the whole trick).
- Diffie-HellmanCryptography Foundations
- shared secret over a public channel
- digestCryptography Foundations
- the hash output
- digital signatureCryptography Foundations
- sign(private) / verify(public) → authenticity + non-repudiation
- dimension dTokens and Embeddings
- size of the vector (768…12288)
- directed vs undirectedGraphs
- one-way vs mutual
- dirty read/writeTransactions
- seeing/overwriting uncommitted data
- distributed filesystem (HDFS)Batch Processing
- replicated blocks across shared-nothing nodes
- distributed limitThe Bouncer at the Door
- shared redis count, usually approximate
- distributionFrom Transformer to LLM
- probabilities over the vocab
- diversificationOne Cloud Many Rivers
- owning many things so their bad years partly cancel
- divide & conquerAlgorithm Design Patterns
- split/solve/combine
- DMAIO Interrupts and the Bus
- device moves data to/from RAM itself, CPU freed
- dominant termComplexity and Big-O
- the fastest-growing part (all that survives Big-O)
- Doppler effectWhy the Siren Drops as It Passes
- motion squeezes/stretches wavelength, so a moving source sounds/looks shifted.
- Double helixYou Are Written in 4 Letters
- the twisted ladder shape. The two strands are mirror copies, which is how DNA duplicates.
- double-entryThe Pipes
- every movement written twice, out of one account and into another
- doubly linked listDesign an LRU Cache
- each node points both ways, so it unlinks itself in two moves
- DownwashHow Planes Actually Fly
- the sheet of air a wing pushes down. Angle of attack = tilt between wing and oncoming air.
- Drake equationWhere Is Everybody
- a chain of odds estimating alien civilizations. Great Filter = a barrier that keeps the galaxy empty.
- DRAMThe Memory Hierarchy
- main memory (RAM)
- dual writeWhere Data Systems Are Heading
- the anti-pattern (drifts)
- dwell timeAnatomy of a Breach
- how long undetected (often months)
- dynamicFewer Details Up Front
- pulled when needed
- dynamic arrayArrays and Strings
- auto-growing array (amortized O(1) append, l.01)
- dynamic contextEverything
- details the agent pulls from files instead of carrying them
- dynamic programmingRecursion and Dynamic Programming
- recursion + remembering solved subproblemsAlso on Algorithm Design Patterns
- dynamic/short-lived secretTransport and Network Security
- generated on demand, auto-expiring
E
- ECB penguinCryptography Foundations
- why block mode matters
- edge weightDesign Google Maps in the Interview
- the minutes to drive one stretch of road
- edit distanceStorage Extras
- # of edits between two strings (fuzzy match)
- edit graphThe Map
- the grid where a diff is a path. Diagonal edge = a matching line
- edit scriptThe Map
- the list of insert/delete ops that turns old into newAlso on Two Files, One Question
- Efference copyWhy You Cannot Tickle Yourself
- a duplicate of your motor command the brain keeps, to predict the result of your own action.
- egressDesign Netflix in the Interview
- bytes leaving your building toward viewers
- election timeoutWho Holds the Pen
- random wait before a follower runs
- ElectrolyteA Battery Stores a Chemical Cliff
- the paste/liquid that lets IONS move inside but blocks electrons, forcing them through your device instead.
- embeddingTokens and Embeddings
- a token's learned vector (d dims)Also on RAG, The Map, Chunks, Not Files, Everything, Design Cursor in the Interview
- embedding matrixTokens and Embeddings
- the vocab×d lookup table (learned)
- embedding modelChunks, Not Files
- the model that makes them
- EmergenceNo One Is in Charge, Emergence
- complex global behaviour arising from simple local rules with no central control. Self-organisation is its engine.
- emergent abilityFrom Transformer to LLM
- capability appearing abruptly at scale
- encapsulationThe Object That Keeps Its Rules
- state and its rules in one object, out of reach
- encoding / serializationEncoding and Schema Change
- object → bytes
- encrypted pathProve You Have It
- a file path the server stores scrambled
- end-to-end argumentWhere Data Systems Are Heading
- enforce correctness at the endpoints, not just each hop
- endiannessEverything Is a Number
- byte order of a multi-byte value (big = network order, little = x86)
- Endogenous opioidsThe Sugar Pill That Actually Works
- painkillers your own brain makes (endorphins). Naloxone = a drug that blocks them.
- entityNouns and Verbs
- a thing with its own identity, tracked over time
- enumDesign a Parking Lot
- a fixed list of named values, so a size cannot be mistyped
- envelope encryptionTransport and Network Security
- a key encrypts data keys
- EnzymeWhy Onions Make You Cry
- a protein that speeds a chemical reaction. Lachrymatory factor = the specific volatile gas that triggers tears.
- Episodic memoryWhy You Cannot Remember Being a Baby
- replayable personal events ('my 5th birthday'). Implicit memory = skills/associations you can't narrate (riding a bike).
- epochHow It Learns
- one pass over all data
- epsilon compareNumbers for Real
- |a-b| < tiny instead of ==
- Escape velocityThe Place Where Light Cannot Escape
- speed needed to break free of gravity. If it exceeds light speed, nothing escapes.
- eventStream Processing
- an immutable record of something that happenedAlso on Design an Elevator
- Event horizonThe Place Where Light Cannot Escape
- the boundary of no return. Singularity = the crushed point at the center.
- event loopIO Interrupts and the Bus
- one thread servicing many sockets
- event sourcingStream Processing
- events as source of truth
- event time vs processing timeStream Processing
- when it happened vs when seen
- eventual consistencyReplication
- copies converge given timeAlso on The Cut Phone Line
- evictionCache Line Life
- something had to leave to make roomAlso on Design an LRU Cache
- exactly-onceStream Processing
- a replayed event has no extra effect (idempotence / transactions)
- exchange argumentAlgorithm Design Patterns
- the proof technique that a greedy choice is safe
- exfiltrationAnatomy of a Breach
- stealing data out
- expenseWho Owes Whom
- who paid, how much, each person's share
- Exponential / geometric growthWhy You Cannot Fold Paper Past Seven Times
- multiply by a fixed factor each step (here x2). Grows past intuition fast.
- exposureThe Netting Window
- value promised but not yet moved
- extension pointSwap the Rule, Keep the Class
- where new behaviour plugs in without editing old code
- external sortSorting and Searching
- sorting data bigger than RAM
F
- fact/dimension tableStorage Extras
- event row / its descriptors
- factorsAuthentication
- know/have/are
- factorySwap the Rule, Keep the Class
- the one place that turns a request into the right object
- fail secureThe Security Mindset
- deny on error
- fail securelyApplication Hardening
- deny + generic error on failure
- failoverReplication
- promote a new leader
- failureWhat a Data System Promises
- whole system stops
- False positiveThe 99 Percent Test That Is Usually Wrong
- test says + but you're fine. Rare disease + big crowd = these dominate.Also on Grep Without Reading Every File
- fan-outWhat a Data System Promises
- reaching many targets from one op
- fan-out on writeDesign Twitter in the Interview
- do the copying when the post is made
- fanoutDesign Instagram in the Interview
- copying a new post's id into every follower's feed list
- faultWhat a Data System Promises
- one part wrong
- fault-tolerantWhat a Data System Promises
- a fault never becomes a failure
- featureWhat a Neural Network Is
- a learned intermediate representation (edges, words)
- feed listDesign Instagram in the Interview
- a user's ready-made list of photo ids to show
- feed-forward (FFN/MLP)Attention and the Transformer
- the per-token 'thinking' layer
- feedback loopWhere Data Systems Are Heading
- a prediction that makes itself come true
- fencing tokenWhen Machines Fail
- a rising number the resource checks to reject stale holders
- fetch-decode-executeThe CPU
- the CPU's core loop
- field tagEncoding and Schema Change
- a field's stable number (Protobuf/Thrift)
- filterProve You Have It
- drop results before they reach you, rather than trusting the client to ignore them
- fine-tuningFine-tuning and Alignment
- extra training on a specific task
- fingerprintDesign Dropbox in the Interview
- a short code worked out from the contents, so equal data gets equal labels
- firmware (BIOS/UEFI)IO Interrupts and the Bus
- first code at power-on
- fixed / sliding windowThe Bouncer at the Door
- count per clock-bucket / over a moving window
- fixed vs variable windowArrays and Strings
- constant size vs condition-driven
- fixed-partition-count / dynamic partitioningPartitioning
- pre-split many / split-on-growth
- flagDesign a Parking Lot
- a true/false field
- flip-flop / latchLogic From Switches
- 1 bit of memory via feedback
- floating pointNumbers for Real
- binary scientific notation (sign
- Floyd's cycle detectionArrays and Strings
- fast/slow pointers
- FLPConsistency and Consensus
- no async consensus can always terminate with 1 crash
- Fold ratioWhy You Cannot Fold Paper Past Seven Times
- length lost to the rounded bend per fold. It's what makes the length blow up faster than 2^n alone.
- fork/execProcesses Threads and the Kernel
- clone a process / replace its program
- formatterDesign a Logger
- turns a record into a line
- forward compatEncoding and Schema Change
- old code reads new data
- Forward modelWhy You Cannot Tickle Yourself
- the brain's simulator that turns that copy into an expected sensation. Cerebellum = where it runs.
- forward passWhat a Neural Network Is
- compute output from input
- forward secrecyCryptography Foundations
- past traffic stays safe if a key leaks
- FractalHow Long Is a Coastline
- a shape with detail at every scale that looks (statistically) like itself when magnified. Coined by Mandelbrot, 1975.
- fragile base classHas-a Beats Is-a
- a parent nobody can change safely, because children lean on its insides
- Front-back (depth) reversalWhy a Mirror Flips Left-Right but Not Up-Down
- the only thing a flat mirror does: it swaps toward-you with away-from-you.
- frontierDesign a Web Crawler
- the list of URLs still to visit, ordered by priority and due time
- full adderLogic From Switches
- adds a carry-in
- full-text indexStorage Extras
- search by words
- fully-connected (dense)What a Neural Network Is
- every neuron wired to the next layer
- functionalism, mindThe Mind-Body Problem
- functional/causal role, not the stuff
- fuseWhy a Fuse Is a Weak Link on Purpose
- a deliberate thin spot in the circuit that melts first, rated = the current a part is made to carry without getting dangerously hot
- futureThe Water Market
- a deal to trade later at a price fixed now
G
- GABA / NMDA receptorsThe Off Switch for You, Anaesthesia
- the brain's main 'brake' and 'accelerator' signalling. Anaesthetics push the brake and cut the gas.
- game loopDesign Snake and Ladder
- roll, move, jump, check for a win, next player
- game stateDesign Chess
- playing, check, checkmate or stalemate, computed from legal moves
- GCHow Code Becomes Execution
- garbage collector (auto-frees the heap)
- GeneYou Are Written in 4 Letters
- a stretch of DNA that codes one protein. Only ~1-2% of your genome is genes. The rest regulates & more.
- generalizationHow It Learns
- working on unseen data (the goal)
- geo indexDesign Uber in the Interview
- drivers filed by map cell, held in memory
- global (term-partitioned) indexPartitioning
- index split by term (cross-partition writes)
- gossipPartitioning
- nodes share the map peer-to-peer
- gradientHow It Learns
- slope of the loss w.r.t. the weights
- gradient descentHow It Learns
- step downhill to reduce loss
- greedyInference
- always take the top tokenAlso on Recursion and Dynamic Programming, Algorithm Design Patterns
- grepSearch That Learned From Its Own Misses
- find code by exact text or regex
- gross settlementThe Netting Window
- every payment moved on its own
- grounding/computation/action/memoryAgents and Tool Use
- what tools add
- guardrailsAgents and Tool Use
- limits, human approval, verification
- guildDesign Discord in the Interview
- a community room, called a server in the app
H
- half adderLogic From Switches
- XOR(sum)+AND(carry)
- hallucinationInference
- confident, fluent, but false output
- handlerDesign a Logger
- one destination with its own threshold
- handshakeTransport and Network Security
- authenticate + agree a key
- happens-beforeConcurrency and the Hardware
- the visibility guarantee you can rely on
- hardeningApplication Hardening
- l.01 principles applied everywhere
- harnessAgents and Tool Use
- the code around the model that executes tools
- hashThe Map
- a short fingerprint of some bytes, change one byte and it changesAlso on The Tree That Knows What Changed
- hash functionHashing
- arbitrary input → fixed-size int (fast, uniform, deterministic)
- hash ringDesign Slack in the Interview
- a circle of machines where each channel name lands on one
- hash set / mapHashing
- keys only / key→value
- hash tableHashing
- key→index→bucket store
- HEADA Chain of Snapshots
- the ref you are on
- head/tailLinked Lists Stacks and Queues
- first/last node
- health checkS2 - Build a Load Balancer
- a periodic probe. A backend that fails is marked DOWN and skipped until it passes again (self-healing).
- heapTrees
- complete tree, parent≤children (min) or ≥ (max)Also on How Code Becomes Execution
- heapsortSorting and Searching
- repeated extract-max (in-place)
- heartbeatWho Holds the Pen
- leader's 'still alive' ping
- hedged requestDesign Google Search in the Interview
- send the same request to two replicas, keep the first answer
- heuristicWho Owes Whom
- a rule of thumb with no guarantee
- hexadecimalEverything Is a Number
- base 16 (0–F), 1 hex digit = 4 bits (a nibble), 2 hex = 1 byte
- HHHFine-tuning and Alignment
- helpful, harmless, honest
- HippocampusWhy You Spend a Third of Life Unconscious
- the brain's memory-filer. Glymphatic system = the fluid 'plumbing' that rinses brain waste, mostly during deep sleep.
- hit rateThe Memory Hierarchy
- fraction of hits
- hit/missThe Memory Hierarchy
- found in cache / had to go slower
- HMACCryptography Foundations
- hash + secret key (integrity + authenticity)
- holdThe Ten O'Clock Rush
- a seat set aside for a few minutes while you payAlso on Design OpenRouter in the Interview
- hold with expiryTwo People, One Seat
- reserved for one buyer until a deadline
- hot shardSplitting the Ledger
- one overloaded sliceAlso on The Ten O'Clock Rush
- hot spot / hot keyPartitioning
- an overloaded partition / single key
- HSTSTransport and Network Security
- force-HTTPS header
- httpOnly / Secure / SameSiteAuthentication
- cookie flags (XSS-safe / HTTPS-only / CSRF-blocking)
- HTTPSTransport and Network Security
- HTTP over TLS
- hybridDesign Twitter in the Interview
- push for most accounts, pull for the giants
- hybrid searchRAG
- keyword + vector
- hydrationDesign Twitter in the Interview
- turning markers back into full posts at read time
I
- I/O-bound vs CPU-boundIO Interrupts and the Bus
- waiting on devices vs on compute
- IaCIaC and GitOps
- infra as files | Terraform = provision cloud | Helm = package k8s | GitOps = git as source of truth + a controller reconciles | drift = reality diverging from declared
- ID tokenAuthorization and Identity
- who the user is (authN)
- idempotenceEncoding and Schema Change
- a retried op is safe to apply twice
- idempotency idWhere Data Systems Are Heading
- a request id that makes retries safe
- idempotency keyThe Ten O'Clock Rush
- an id that makes a retried payment do nothing newAlso on Design Stripe in the Interview, Design Uber in the Interview, Design Food Delivery in the Interview
- idempotentCounting Clicks in Real Time
- counting the same click twice changes nothingAlso on Design Amazon in the Interview
- idiosyncratic riskOne Cloud Many Rivers
- the part one river has alone
- IDLEncoding and Schema Change
- interface definition language (the schema)
- IDORAuthorization and Identity
- accessing another user's object by changing an id (authN-but-not-authZ)
- IEEE 754Numbers for Real
- the standard (float32 = 1/8/23, float64 = 1/11/52)
- imageThe Shipping Container
- sealed box on disk | container = image running | Dockerfile = the recipe to build it | registry (Docker Hub) = the box warehouse (push / pull)
- immutableArrays and Strings
- can't edit in place (→ += in a loop is O(n²))
- impedance mismatchData Models and Query Languages
- app objects don't match flat tables (ORMs bridge it)
- in-context learningFrom Transformer to LLM
- learning from prompt examples, no weight change
- in-placeComplexity and Big-O
- uses O(1) extra spaceAlso on Arrays and Strings, Sorting and Searching
- incident responseAnatomy of a Breach
- contain→eradicate→recover→learn
- indexStorage Engines
- derived read-accelerator (slows writes)Also on The Map
- index fundThe Tank
- owning every share in a market at once, at low cost
- InfNumbers for Real
- overflowed-to-infinity
- Infantile amnesiaWhy You Cannot Remember Being a Baby
- the normal absence of episodic memories from early childhood. Neurogenesis = the brain making new neurons.
- information hidingThe Object That Keeps Its Rules
- each object hides one decision likely to change, so callers never notice
- inheritanceHas-a Beats Is-a
- a class declared a kind of another, getting all its doors
- init / systemdIO Interrupts and the Bus
- PID 1, starts everything
- init/systemdProcesses Threads and the Kernel
- PID 1, root of the process tree
- initial accessAnatomy of a Breach
- the foothold (phishing / exploit / stolen creds)
- injectionWeb Vulnerabilities
- untrusted input parsed as code
- input validationApplication Hardening
- check untrusted input at the boundary
- input-sensitiveComplexity and Big-O
- cost depends on which input, not just its size
- instruction tuningFine-tuning and Alignment
- SFT across many task types
- Integration / connectivityThe Off Switch for You, Anaesthesia
- brain regions exchanging signals to form one experience. Hard problem = why physical activity feels like anything.
- interfaceThe Object That Keeps Its Rules
- the short list of actions the outside may ask
- interface segregationFive Letters, One Shop
- small fronts, no call you cannot answer
- interface vs implementationLinked Lists Stacks and Queues
- the contract vs the swappable backing structure
- interpreterHow Code Becomes Execution
- runs source line-by-line
- interruptIO Interrupts and the Bus
- a device signal that yanks the CPU to a handler
- invariantSorting and Searching
- the loop condition that keeps the answer in range (off-by-one killer)Also on The Object That Keeps Its Rules
- inventoryDesign a Vending Machine
- slots with a price and a count
- inverted indexGrep Without Reading Every File
- for each piece, the list of files that contain itAlso on Design Google Search in the Interview, Design Twitter in the Interview
- ISR / interrupt handlerIO Interrupts and the Bus
- the code that runs on an interrupt
- iss/sub/audOIDC, Passport and Stamp-Book
- issuer/subject/audience
J
- jargonHow Learning Sticks
- the exact gap. teaching is the most demanding retrieval.
- JITHow Code Becomes Execution
- compile hot paths to native at runtime
- jitterRun This at Nine
- a random delay so jobs do not all fire on the same secondAlso on Design Slack in the Interview
- journalDesign Figma in the Interview
- an append-only list of every edit, numbered
- JWTOIDC, Passport and Stamp-Book
- the signed tokenAlso on Authentication
K
- K8s SecretTransport and Network Security
- base64 (not encryption!)
- Kelly fractionThe Borrowed Bucket
- the leverage that maximises long-run growth
- kernelProcesses Threads and the Kernel
- the privileged core of the OS
- key distributionCryptography Foundations
- the problem asymmetric solves
- keyed by contentChunks, Not Files
- looked up by a hash of the text itself
- kill chainAnatomy of a Breach
- the ordered stages of an intrusion (MITRE ATT&CK / Lockheed)
- KL penaltyFine-tuning and Alignment
- stay close to the original model
- KMPArrays and Strings
- O(n+m) substring search
- KMS/HSMCryptography Foundations
- key storage
- knapsack / edit distance / LCSRecursion and Dynamic Programming
- classic DP problems
- KV cacheInference
- stored Keys/Values of past tokens (speeds generation)Also on Design Claude in the Interview
L
- ladderDesign YouTube in the Interview
- the set of versions from small and cheap to big and sharp
- Lamport timestampConsistency and Consensus
- a counter giving causal total order
- last writer winsDesign Figma in the Interview
- the later edit to one property is kept
- latency vs bandwidthThe Memory Hierarchy
- per-access delay vs throughput
- latent heatWhy a Fan Cools You, Not the Room
- energy carried by phase change
- lateral movementAnatomy of a Breach
- spreading to other systems
- layerWhat a Neural Network Is
- a row of neurons
- layer normAttention and the Transformer
- stabilizes activations
- LCSTwo Files, One Question
- longest common subsequence = the most lines both files agree on, in order.
- LCS (longest common subsequence)The Map
- the longest set of lines, in order, present in both
- leader / follower / candidateWho Holds the Pen
- the three Raft roles
- leader electionRun This at Nine
- the pollers agree which one is in charge of a slice
- leader/followerReplication
- master/replica
- leaderlessReplication
- no primary (Dynamo)
- Leading digitReal Numbers Start With 1 Too Often
- the first non-zero digit (the '3' in 342 or 0.0389). Benford predicts how often each 1-9 appears.
- leaky bucketThe Bouncer at the Door
- queue drains at a constant rate
- learning rateHow It Learns
- step size
- leaseWhen Machines Fail
- a time-limited lockAlso on Run This at Nine, Design Amazon in the Interview, Design Figma in the Interview
- least privilegeThe Security Mindset
- minimum access needed
- ledgerThe Pipes
- the book of entriesAlso on Design Stripe in the Interview, Who Owes Whom
- lessons written AS explanationsHow Learning Sticks
- the FEYNMAN technique, baked in
- Let's Encrypt / ACMETransport and Network Security
- free automated certs
- LevenshteinTwo Files, One Question
- edit distance WITH substitution allowed (cost 1). git does not use it.
- leverageThe Water Market
- investing with borrowed moneyAlso on The Borrowed Bucket
- LIFO/FIFOLinked Lists Stacks and Queues
- last-in-first-out / first-in-first-out
- LiftHow Planes Actually Fly
- upward force = the rate of downward momentum the wing hands to the air (Newton's 3rd law).
- lightYour Phone Runs on Einstein
- 30 cm / ns.
- linearizabilityConsistency and Consensus
- act like one copy, reads always see the latest write (recency)
- linked listLinked Lists Stacks and Queues
- nodes + next pointers (non-contiguous)
- linkerHow Code Becomes Execution
- joins code + libraries
- liquidityThe Tank
- how fast you can get it out without a lossAlso on The Netting Window
- Liskov substitutionFive Letters, One Shop
- a child keeps every promise its parent made
- listener ruleThe Two Planes, Permission vs Network
- which URL goes to which target group
- livenessSelf-Healing and Autoscaling
- restart if dead | readiness = route only if ready | HPA = auto replica count from a metric | rollout undo = rollback | maxSurge = extra pods mid-update
- load balancing vs fan-outStream Processing
- share work vs everyone-gets-all
- load factor αHashing
- entries/buckets
- load parameterWhat a Data System Promises
- the number that describes load (e.g. fan-out)
- local (document-partitioned) indexPartitioning
- each partition indexes its own docs (scatter/gather reads)
- localityData Models and Query Languages
- related data stored together
- lockTwo People, One Seat
- one holder at a time
- lockfileApplication Hardening
- pinned dependency versions
- log compactionStream Processing
- keep latest value per key
- log entryWho Holds the Pen
- one command in order
- log levelDesign a Logger
- how loud a message is
- log-based broker (Kafka)Stream Processing
- append-only, retained, replayable log
- log-structuredS1 - Build Your Own Database
- never edit in place. Only append. Reads follow the index, not a scan.
- Logarithmic timeWhy Time Speeds Up as You Age
- equal FELT durations map to equal RATIOS of age (doublings), not equal counts of years.
- logic gateLogic From Switches
- a circuit computing a boolean rule
- logical clockWhen Machines Fail
- order by causality not time (Lamport/version vector)
- logitsFrom Transformer to LLM
- raw pre-softmax scores over the vocabAlso on Inference
- long-run (geometric) growthThe Borrowed Bucket
- what actually compounds
- LoRAFine-tuning and Alignment
- cheap parameter-efficient fine-tuning (small adapters)
- loss / cost functionHow It Learns
- how wrong the prediction is (cross-entropy, MSE)
- Lossy compressionThe Map Is Not the Territory
- keeping the useful signal, discarding the rest. No model is complete, see also Godel (board 12).
- lost updateTransactions
- one write clobbers another
- LRUDesign an LRU Cache
- least recently used goes first
- LRU/associativityThe Memory Hierarchy
- the cache's eviction policy
- LSMStorage Engines
- log-structured merge-tree
- LuceneStorage Extras
- the search library behind Elasticsearch/Solr
- LWWReplication
- last-write-wins
M
- MagnetronWhy the Microwave Heats the Food Not the Plate
- the tube that generates the waves. Standing wave = a fixed pattern of hot/cold spots from reflections.
- mailboxDesign WhatsApp in the Interview
- messages kept for a phone until it says it has them
- manifestDesign YouTube in the Interview
- a small file listing which segments exist
- mantissaNumbers for Real
- the significant digits
- many-to-one / many-to-manyData Models and Query Languages
- shared references (people → one company), relational/graph turf
- Map / territoryThe Map Is Not the Territory
- the model vs the reality it represents (Alfred Korzybski, 1931). Abstraction = deliberately dropping detail.
- map-side (broadcast hash) joinBatch Processing
- small table in every mapper's RAM
- MapReduceBatch Processing
- map → shuffle(sort) → reduce over a cluster
- marginThe Borrowed Bucket
- the share of your own money the lender insists on
- margin callThe Borrowed Bucket
- the demand to top up, or be sold out
- markerDesign Twitter in the Interview
- a post's id, nothing else
- masked variableApplication Hardening
- hidden in logs
- Master theoremComplexity and Big-O
- recurrence → complexityAlso on Algorithm Design Patterns
- materializationBatch Processing
- writing full intermediate output to disk
- materialized viewStorage Extras
- cached-on-disk query result
- matrix multiplyWhat a Neural Network Is
- a layer's core op (→ GPUs)
- MCPFewer Details Up Front
- Model Context Protocol, a standard way to plug tool servers into an agent
- MCP (Model Context Protocol)Agents and Tool Use
- a standard tool/data interface ('USB-C for AI')
- memoizationComplexity and Big-O
- cache results to trade space for timeAlso on Recursion and Dynamic Programming
- memory barrier/fenceConcurrency and the Hardware
- force write visibility & ordering
- memory leakHow Code Becomes Execution
- never freeing
- memory reorderingConcurrency and the Hardware
- CPU/compiler reorders for speed
- memory wallThe Memory Hierarchy
- CPU-vs-RAM speed gap
- memory-mapped I/OIO Interrupts and the Bus
- device registers appear as memory addresses
- memtableStorage Engines
- in-RAM sorted buffer
- merge commitA Chain of Snapshots
- a commit with two parents
- merge sortSorting and Searching
- split/sort/merge (stable, O(n) space)
- Merkle treeThe Map
- hashes of hashes, up to one root that fingerprints the whole repoAlso on The Tree That Knows What Changed, Everything, Design Cursor in the Interview
- message brokerEncoding and Schema Change
- async queue between services (Kafka, RabbitMQ)Also on Stream Processing
- MetacognitionThe Less You Know the More Sure You Feel
- thinking about your own thinking / judging your own ability. The core skill Dunning-Kruger says beginners lack.
- metadataDesign Dropbox in the Interview
- data about the data, such as names, folders, versions and who may see them
- MFAAuthentication
- 2+ factors
- MicelleHow Soap Destroys Germs
- a ball of soap molecules trapping oil inside. Lipid envelope = the fatty outer coat of many viruses that soap dissolves.
- microbatch / checkpointStream Processing
- recovery techniques
- MicrowaveWhy the Microwave Heats the Food Not the Plate
- an invisible radio/light wave. Polar molecule = one with a + end and a, end (like water).
- min-heapCounting Clicks in Real Time
- keeps the smallest on top, so holding the best 100 is cheap
- minimum paymentThe Minimum Payment
- the smallest payment the lender accepts. Often set near the interest, which is why it can take decades
- MITMTransport and Network Security
- man-in-the-middle
- MLPWhat a Neural Network Is
- multi-layer perceptron
- mmapGrep Without Reading Every File
- let the OS page a file into memory on demand
- MMU + page tableProcesses Threads and the Kernel
- the translator
- MMU/page tableThe Memory Hierarchy
- the address translator
- modular arithmeticNumbers for Real
- clock/wheel wraparound
- monotonic dequeLinked Lists Stacks and Queues
- keeps a sorted window (sliding-window-max)
- monthly rateThe Minimum Payment
- APR / 12 (2%)
- move validationDesign Chess
- pseudo-legal moves minus those that leave your king attacked
- Mpemba effectHot Water Can Freeze Faster Than Cold
- the observation that, in some conditions, initially HOTTER water freezes sooner than cooler water.
- MPPPartitioning
- massively parallel processing (analytic queries)
- mTLSTransport and Network Security
- both sides present certs
- MTTD/MTTRAnatomy of a Breach
- mean time to detect / respond
- multi-agentAgents and Tool Use
- specialized agents collaborating / dispatched in parallel
- multi-dimensional indexStorage Extras
- query several ranges at once (R-tree)
- multi-headAttention and the Transformer
- parallel attentions capturing different relations
- multi-leaderReplication
- many writable copies
- mutex/lockConcurrency and the Hardware
- serializes a critical section
- mutual exclusionConcurrency and the Hardware
- one-at-a-time
N
- n-gramGrep Without Reading Every File
- a piece n letters long, trigram = 3
- n-gram indexDesign Cursor in the Interview
- for each short piece of text, the files that contain it
- namespaceDesign Dropbox in the Interview
- roughly one shared folder, the unit of sharing
- namespaces + cgroupsProcesses Threads and the Kernel
- the kernel features that make a container
- NaNNumbers for Real
- 'not a number', ≠ itself
- NAND (NOT-AND)Logic From Switches
- UNIVERSAL, builds every other gate
- narrow waistWhere Data Systems Are Heading
- the shared log/dataflow interface
- nearest-neighbour / ANNRAG
- find the closest vectors fast (HNSW/IVF)
- net settlementThe Netting Window
- only each bank's difference moved, later
- nettingThe Pipes
- paying only the differenceAlso on The Netting Window
- neuronWhat a Neural Network Is
- weighted sum of inputs + bias, through an activation
- next-token predictionFrom Transformer to LLM
- the objective (predict the following token)
- no security through obscurity (Kerckhoffs)The Security Mindset
- assume the design is known
- nodeLinked Lists Stacks and Queues
- value + pointer(s)
- non-blocking / async I/OIO Interrupts and the Bus
- fire many, poll readiness (epoll/io_uring)
- non-linearityWhat a Neural Network Is
- the kink that stops layers collapsing into one
- Non-measurable setCut One Ball Into Two Identical Balls
- a point-cloud so pathological it has no definable volume. Axiom of Choice = pick one item from each of infinitely many sets at once. Rigid motion = rotate/slide only (no stretching).
- non-repudiationThe Security Mindset
- can't deny you did it
- nonceCryptography Foundations
- a number used once
- normaliseDesign a Web Crawler
- rewrite a URL to one standard form so duplicates match
- normalizationData Models and Query Languages
- store each fact once, reference it by id
- NREM vs REMWhy You Spend a Third of Life Unconscious
- deep dreamless stages vs Rapid-Eye-Movement (vivid dreams). Slow-wave = the deepest, most restorative NREM.
- NUMAThe Memory Hierarchy
- memory closer to some cores than others (many-socket)
O
- O(1)Design an LRU Cache
- the same few steps however big the cache gets
- O(n²)Attention and the Transformer
- attention's cost in sequence length (the context bottleneck)
- OAuth 2.0Authorization and Identity
- delegated authorization (scoped ACCESS TOKEN, no password shared)
- objectNouns and Verbs
- one thing made from a class
- observabilityThe Watchtower
- infer internal state from outputs | SLI/SLO = measured 'good' & its target | error budget = allowed failure | golden signals = latency/traffic/errors/saturation
- observerTell Everyone Who Cares
- one who subscribed to hear it
- OCADesign Netflix in the Interview
- a Netflix disk box racked inside an internet provider
- offsetStream Processing
- a consumer's positionAlso on S1 - Build Your Own Database
- OIDCAuthorization and Identity
- OAuth + an ID TOKEN (authentication / 'login with…')
- OIDC providerThe Two Planes, Permission vs Network
- whose tokens this acct trusts
- OIDC-to-cloudApplication Hardening
- short-lived CI creds, no static keys
- one-to-manyData Models and Query Languages
- a tree (résumé → jobs)
- one-wayThe Tree That Knows What Changed
- changes flow laptop -> server only
- one-way functionProve You Have It
- easy to compute forwards, no known way backwards (SHA-256 is one)
- open addressingHashing
- probe for the next free slot (linear/quadratic/double hash)
- open/closedFive Letters, One Shop
- add a class, do not edit code that already works
- operability / simplicity / evolvabilityWhat a Data System Promises
- the three faces of maintainability
- Optic disc / blind spotYou Have a Hole in Your Vision
- the patch of retina with no photoreceptors, where the optic nerve exits the eye.
- optimal substructureRecursion and Dynamic Programming
- optimum built from sub-optima
- optimistic lockingTwo People, One Seat
- no lock, a version check on the write
- optimizer (SGD/Adam)How It Learns
- the downhill-stepping algorithm
- optionThe Water Market
- a paid right to trade at a fixed priceAlso on The Drought Right
- order stageDesign Food Delivery in the Interview
- one named step an order is always in, moved only by the right event
- out-of-orderThe CPU
- reorder to avoid stalls
- outboxDesign Amazon in the Interview
- a table written with the order, then relayed to the queue
- output encodingWeb Vulnerabilities
- escape input to render as textAlso on Application Hardening
- overfittingHow It Learns
- memorizing train data, failing on new
- overflowNumbers for Real
- a result too big for the width, wraps around (mod 2^n)
- overlapping subproblemsRecursion and Dynamic Programming
- the same call recurs (the waste DP removes)
- OWASP Top 10Web Vulnerabilities
- the canonical web-risk list
P
- P(d)Real Numbers Start With 1 Too Often
- log10(1+1/d): digit 1 -> 30.1%, 2 -> 17.6%, ... 9 -> 4.6%. Holds across many independent real-world datasets.
- p99Your Teammate Already Did This
- the wait that 99 of 100 people beatAlso on Design Cursor in the Interview, Design Google Search in the Interview
- PACELCThe Cut Phone Line
- adds 'else: latency vs consistency'
- pageThe Map
- the 8KB unit of ALL I/O tuple = one row version WAL = write-ahead log, the append-only truth LSN = a byte position in the WAL
- page (~4KB) / frameProcesses Threads and the Kernel
- unit of virtual / physical memory
- page faultProcesses Threads and the Kernel
- touched a not-in-RAM page
- pairsThe Birthday Paradox
- n(n-1)/2
- paiseWho Owes Whom
- money as a whole number of the smallest coin
- parallelismConcurrency and the Hardware
- running many at once (needs cores)
- parameterDesign a Parking Lot
- a value handed to a method when it is called
- parameterized query / prepared statementWeb Vulnerabilities
- bind data separately from the query (the fix)
- parametersWhat a Neural Network Is
- all weights + biases (LLMs: billions)
- parameters / data / computeFrom Transformer to LLM
- the three scale levers
- parameters/weightsHow It Learns
- what's being tuned
- parentA Chain of Snapshots
- the commit just before this one
- ParityWhy a Mirror Flips Left-Right but Not Up-Down
- the physics word for a mirror-flip of space. It's why the reflection is a genuine 'opposite-handed' you.
- partial failureWhen Machines Fail
- some parts broken, others fine
- partial vs total orderConsistency and Consensus
- some-events-unordered vs one-timeline
- partitionThe Cut Phone Line
- the network drops messages between nodes (NOT a crash)Also on Counting Clicks in Real Time
- partition / shardPartitioning
- a slice of the data
- PaxosWho Holds the Pen
- the original (harder) consensus protocol
- Paxos/Raft/ZabConsistency and Consensus
- consensus algorithms
- PC (program counter)The CPU
- address of the next instruction
- pepperAuthentication
- app-wide secret added before hashing
- per-keyThe Bouncer at the Door
- tracked per user/IP/API-key
- per-key limiterDesign a Rate Limiter
- one bucket per API key
- percentile pNWhat a Data System Promises
- N% of requests are faster
- persistenceAnatomy of a Breach
- surviving reboots/rotations
- persistent connectionDesign WhatsApp in the Interview
- one long-lived line the phone holds open so the server can push
- pgvector/Pinecone/ChromaRAG
- vector-DB options
- phantomTransactions
- a write changes another query's result
- PhotoreceptorsYou Have a Hole in Your Vision
- the rod & cone cells that actually catch light. Filling-in = the brain guessing the missing area.
- PIDProcesses Threads and the Kernel
- process id
- pipeliningThe CPU
- overlapping instruction stages
- pivot/partitionSorting and Searching
- quicksort's split step
- PKITransport and Network Security
- public-key infrastructure
- PlaceboThe Sugar Pill That Actually Works
- an inert treatment that heals via expectation. Nocebo = expectation of harm causing real harm.
- places indexDesign Google Maps in the Interview
- places filed by map cell, so nearby means a few cells
- planningAgents and Tool Use
- decompose a goal into steps
- podThe Harbor Master
- 1+ containers together | replicaset = keeps N pods | deployment = manages replicasets + rollouts | service = stable name load-balancing pods | label = the glue
- pointerHow Code Becomes Execution
- a variable holding an address
- policyThe Two Planes, Permission vs Network
- what it opens
- politenessDesign a Web Crawler
- never hitting one host faster than it allows
- pollingIO Interrupts and the Bus
- busy-asking if a device is ready (wasteful)
- polymorphismDesign Chess
- one call, each class answers it its own wayAlso on Has-a Beats Is-a
- positional encodingTokens and Embeddings
- added so order is knownAlso on Attention and the Transformer
- posting listGrep Without Reading Every File
- that list of filesAlso on Everything, Design Google Search in the Interview
- PPOFine-tuning and Alignment
- the RL algorithm
- predicate lockTransactions
- a lock on a search condition
- preemptionProcesses Threads and the Kernel
- interrupting a thread on its time slice
- prefetchThe Memory Hierarchy
- CPU guesses & preloads the next lineAlso on Cache Line Life
- prefill vs decodeInference
- process the prompt vs generate token-by-token
- prefix sumArrays and Strings
- cumulative array for O(1) range queries
- prep timeDesign Food Delivery in the Interview
- minutes until the kitchen marks it ready
- presenceDesign Figma in the Interview
- live cursors and selections, sent fast and never saved
- present valueThe Tank
- what water promised later is worth today
- pretrainingFrom Transformer to LLM
- the big self-supervised training run
- principalThe Minimum Payment
- what you still owe before interestAlso on Compound Interest The 8th Wonder
- priority queueLinked Lists Stacks and Queues
- highest-priority-first (→ heap, l.05)Also on Trees
- privilege escalationAnatomy of a Breach
- gaining higher rights
- probeDesign Google Maps in the Interview
- an anonymous speed report from a phone in a moving car
- processProcesses Threads and the Kernel
- isolated running program (own address space)
- process pauseWhen Machines Fail
- a thread frozen mid-run (GC, VM, paging)
- producer/consumerStream Processing
- writer/reader
- projectionStorage Extras
- a copy of column data in a specific sort order
- prompt cachingDesign Claude in the Interview
- reusing those notes for an unchanged opening
- property graphData Models and Query Languages
- Neo4j + Cypher
- Proportional (Janet) theoryWhy Time Speeds Up as You Age
- a span feels like its share of your total life, so years shrink as you age.
- providerDesign OpenRouter in the Interview
- a company that runs a model and sells replies
- pruningAlgorithm Design Patterns
- cutting a branch that can't succeed
- purgeDesign Cloudflare in the Interview
- throw a stored copy away in every city at once
- push channelDesign Uber in the Interview
- an open line the server can send down without being asked
- putThe Drought Right
- the right to sell
Q
- query rewritingRAG
- reformulate the question for better recall
- Query/Key/ValueAttention and the Transformer
- 'what I seek / what I offer / what I give'
- queueLinked Lists Stacks and Queues
- FIFO (enqueue/dequeue, O(1))
- quicksortSorting and Searching
- pivot + partition (in-place, O(n²) worst)
- quorumReplication
- w + r > nAlso on When Machines Fail
R
- R-treeStorage Extras
- geospatial index structure
- race conditionConcurrency and the Hardware
- result depends on timingAlso on Two People, One Seat
- RaftWho Holds the Pen
- a readable consensus algorithm
- rainbow tableAuthentication
- precomputed hash→password lookup
- range vs hash partitioningPartitioning
- sorted intervals vs scrambleAlso on Splitting the Ledger
- rankingSearch That Learned From Its Own Misses
- an ordered list of what helped most
- rate limitThe Bouncer at the Door
- cap on requests per key per window
- RBACAuthorization and Identity
- role-based
- RDD / lineageBatch Processing
- recompute lost data from its recipe
- re-rankingRAG
- reorder retrieved results by relevance
- read committedTransactions
- no dirty reads/writes
- read repair / anti-entropyReplication
- fix stale copies on-read / in-background
- read skewTransactions
- inconsistent multi-read
- read-your-writes / monotonic / consistent-prefixReplication
- the three lag-read guarantees
- ReBACAuthorization and Identity
- relationship-based (Zanzibar)
- rebalancingPartitioning
- redistribute partitions across nodes
- rebaseA Chain of Snapshots
- replay your commits on top of a new base
- reconAnatomy of a Breach
- studying the target
- reconciliationThe Pipes
- checking your book against theirsAlso on The Nightly Match, Design Stripe in the Interview
- recurrenceRecursion and Dynamic Programming
- how a state depends on smaller states
- recursionRecursion and Dynamic Programming
- a function calling itself on a smaller input
- recursion treeRecursion and Dynamic Programming
- the tree of calls
- RedshiftWhy the Siren Drops as It Passes
- light stretched (moving away). Blueshift = squeezed (coming closer). Cosmic speedometer.
- reduce-side (sort-merge) joinBatch Processing
- join in the reducer after a shuffle
- refA Chain of Snapshots
- a file holding one commit hash
- refereeDesign Figma in the Interview
- the one program that puts every edit to a document in a single order
- refillDesign a Rate Limiter
- tokens owed for the time since last seen
- refresh tokenAuthentication
- re-issues short-lived access tokens
- refrigerantCold Is a Lie
- the loop liquid, chosen for its boiling point, latent heat = energy absorbed/released at
- refundDesign a Vending Machine
- giving back the tray, never coins from the bank
- regexGrep Without Reading Every File
- a search pattern (MAX_.*SIZE)
- registryDesign WhatsApp in the Interview
- the table of which connection server each phone is on
- Regression to the meanThe Less You Know the More Sure You Feel
- a statistical pull toward average that explains PART (not all) of the measured effect.
- regularizationHow It Learns
- dropout / weight decay to prevent overfitting
- relationshipNouns and Verbs
- which class holds a reference to which, and how many
- relax an edgeGraphs
- update a node's best-known distance
- reliabilism, knowledgeWhat Is Knowledge
- belief from a reliable process
- reliabilityAgents and Tool Use
- the current frontier
- ReLUWhat a Neural Network Is
- max(0,x)
- replicaDesign Google Search in the Interview
- an extra copy of a shard
- replication lagReplication
- how far a follower trails
- request queueDesign an Elevator
- the floors the car still owes
- request routingPartitioning
- find the node for a key
- requirementNouns and Verbs
- what the program must do or refuse
- reshardingSplitting the Ledger
- change shard count, re-file data
- residual connectionAttention and the Transformer
- add the input back (deep-net enabler)
- resize/rehashHashing
- grow the table & re-place keys (amortized O(1))
- ResonanceWhy the Microwave Heats the Food Not the Plate
- a system's natural 'easy' frequency. Here NOT used, so the waves reach the middle instead of the skin.
- RESPS3 - Build a Redis Server
- REdis Serialization Protocol: a tiny text protocol. Type is the first byte, strings are length-prefixed.
- response timeWhat a Data System Promises
- what the client sees (service time + queueing + network)
- responsibilityNouns and Verbs
- one job a class is trusted with
- RESTEncoding and Schema Change
- resource + HTTP-verb style
- retrieval hit-rate & faithfulnessRAG
- how you evaluate RAG
- Retrospective durationWhy Time Speeds Up as You Age
- your brain reconstructs 'how long' from memory density, so novelty literally lengthens time.
- Retry-AfterThe Bouncer at the Door
- when to try again
- reverse proxyS2 - Build a Load Balancer
- a server that forwards a client's request to a backend and relays the reply. The client never talks to the backend directly.
- reward hackingFine-tuning and Alignment
- over-optimizing the proxy
- reward modelFine-tuning and Alignment
- predicts human preference score
- RGBEverything Is a Number
- red/green/blue, one byte each
- ring / circular bufferLinked Lists Stacks and Queues
- array with wrapping head+tail (O(1) dequeue)
- ripgrep (rg)Grep Without Reading Every File
- a fast grep that still reads every file
- ripple-carryLogic From Switches
- chained full adders
- RLAIFFine-tuning and Alignment
- feedback from an AI instead of humans
- RLHFFine-tuning and Alignment
- reinforcement learning from human feedback
- robots.txtDesign a Web Crawler
- a site's file saying which pages crawlers may fetch
- rolling arrayRecursion and Dynamic Programming
- keep only the recent rows to cut space
- root / intermediate / leafTransport and Network Security
- the trust chain
- root hashThe Tree That Knows What Changed
- the one at the top, a fingerprint of the whole repo
- round-robinS2 - Build a Load Balancer
- hand each new request to the next backend in turn → even spread with zero per-request state.
- rounding errorNumbers for Real
- a value not exactly representable in binary (0.1)
- RPCEncoding and Schema Change
- remote call as a local one (gRPC)
- RSA / ECCCryptography Foundations
- asymmetric algorithms
- RTGSThe Netting Window
- real-time gross settlement
- Rule of 72Compound Interest The 8th Wonder
- quick doubling-time = 72 / annual-% . Works for growth AND debt.
S
- SaccadesYou Have a Hole in Your Vision
- tiny constant eye-jumps. Combined with filling-in, they hide the hole and stitch a seamless world.
- safety vs livenessWhen Machines Fail
- nothing-bad-ever vs something-good-eventually
- saltAuthentication
- random per-user value defeating rainbow tables
- saltingBatch Processing
- split a hot key
- sanitizationWeb Vulnerabilities
- strip dangerous markup
- SAST/DASTApplication Hardening
- static / dynamic app security testing
- SBOMApplication Hardening
- software bill of materials
- Scale invarianceReal Numbers Start With 1 Too Often
- the pattern looks the same in dollars, euros, or feet, a hallmark of log-distributed data.
- scaled dot-product attentionAttention and the Transformer
- softmax(QKᵀ/√d)V
- scaling lawsFrom Transformer to LLM
- loss falls predictably with params/data/compute
- SCANDesign an Elevator
- keep the heading while any stop lies ahead, then turn
- schedulerProcesses Threads and the Kernel
- picks who runsAlso on Design an Elevator
- schema evolutionEncoding and Schema Change
- changing schema without breakage
- schema registryEncoding and Schema Change
- versioned schema store
- schema-on-readData Models and Query Languages
- structure interpreted at read (flexible)
- schema-on-writeData Models and Query Languages
- DB enforces structure at write
- Schwarzschild radiusThe Place Where Light Cannot Escape
- how small you must squeeze a mass to make it a black hole (Sun -> ~3 km; Earth -> ~9 mm).
- scopeAuthorization and Identity
- a token's permission
- secondary indexPartitioning
- lookup by a non-key field
- secret scanningApplication Hardening
- detect committed keys (trufflehog/gitleaks)
- secrets managerTransport and Network Security
- Vault / KMS (encrypted, access-controlled, rotated)
- security headersApplication Hardening
- CSP/HSTS/X-Frame-Options/nosniff
- security mindsetThe Security Mindset
- think like an attacker
- security misconfigurationApplication Hardening
- unsafe defaults/settings (OWASP)
- seed / copy an indexYour Teammate Already Did This
- start yours from someone else's finished one, then fix the differences
- seeded randomnessDesign Snake and Ladder
- random that repeats on purpose
- segfaultHow Code Becomes Execution
- touching memory you don't ownAlso on Processes Threads and the Kernel
- segmentDesign YouTube in the Interview
- a few seconds of video kept as its own file
- segmentationAnatomy of a Breach
- isolate networks so lateral movement fails
- self-attentionAttention and the Transformer
- each token attends to the others in its own sequence
- self-balancing BST (AVL / red-black)Trees
- rotations keep O(log n) worst case
- Self-similarityHow Long Is a Coastline
- the part resembles the whole. Fractal dimension = a fraction (e.g. 1.25) measuring how 'rough' or space-filling it is.
- self-supervisedFrom Transformer to LLM
- labels come free from the text itself
- semantic searchTokens and Embeddings
- nearest-vector retrieval (RAG, l.08)Also on Search That Learned From Its Own Misses
- sender keyDesign WhatsApp in the Interview
- one group key, so a message is locked once
- Sensory attenuationWhy You Cannot Tickle Yourself
- dialling DOWN sensations you caused yourself, so external (surprising) ones stand out.
- serial execution / 2PL / SSITransactions
- one thread / locks (pessimistic) / detect-at-commit (optimistic)
- serializabilityTransactions
- as-if one-at-a-time
- serviceMany at Once
- one container-type in the file | compose network = auto private net with DNS by service name | this is the model K8s scales up
- service accountThe Two Planes, Permission vs Network
- pod's badge-hook
- serviceable setDesign Food Delivery in the Interview
- restaurants open now whose delivery radius covers you
- sessionAuthentication
- server-side state + a cookie id (revocable)
- SETIWhere Is Everybody
- Search for Extra-Terrestrial Intelligence (scanning radio for signals). Light-year = distance light travels in a year.
- settlementThe Pipes
- the money actually moves
- SFTFine-tuning and Alignment
- supervised fine-tuning on instruction→response pairs
- SFUDesign Discord in the Interview
- a server that forwards voice packets without decoding them
- SHA-256The Tree That Knows What Changed
- the hash used here, 32 bytes, written as 64 hex characters
- shardSplitting the Ledger
- one slice of the split dataAlso on Design Google Search in the Interview, Design Instagram in the Interview
- shard key (partition key)Splitting the Ledger
- the field that picks the slice
- shield tierDesign Cloudflare in the Interview
- a few big sites between the cities and your server
- shortcutDesign Google Maps in the Interview
- one precomputed edge that stands in for a chain of small roads
- shuffleBatch Processing
- partition + sort by key
- SIEM/EDRAnatomy of a Breach
- detection tooling
- sift up/downTrees
- restore heap property
- signedNumbers for Real
- allows negatives
- signed upload URLDesign Instagram in the Interview
- a one-time link that lets the phone send bytes straight to storage
- SimHashThe Map
- one fingerprint of a whole tree where SIMILAR trees get NEARBY valuesAlso on Your Teammate Already Did This, Everything, Design Cursor in the Interview
- Simple interestCompound Interest The 8th Wonder
- only the principal earns (a straight line). Compound = the curve (a hockey stick).
- single responsibilityFive Letters, One Shop
- one reason to change per class
- singletonDesign a Logger
- exactly one instance, shared by everyone
- singly / doubly linkedLinked Lists Stacks and Queues
- next only / next+prev
- skewPartitioning
- uneven distributionAlso on Batch Processing
- sliding windowArrays and Strings
- a growing/shrinking [L..R] rangeAlso on Design a Rate Limiter
- SLSA/sigstoreApplication Hardening
- build provenance & signing
- snapshotA Chain of Snapshots
- every file as it stood
- snapshot isolationTransactions
- read a consistent point-in-time (MVCC)
- snowflakeDesign Discord in the Interview
- a sortable id with a timestamp in its leading digits
- source of truthWhere Data Systems Are Heading
- the one authoritative log
- sparse n-gramEverything
- a variable-length piece cut at rare letter pairs
- sparse vs denseGraphs
- few vs many edges relative to V²
- spatial localityThe Memory Hierarchy
- use nearby dataAlso on Cache Line Life
- speed of lightThe Night Sky Is a Time Machine
- the speed of causality
- split brainReplication
- two leaders at once
- split strategyWho Owes Whom
- one of several interchangeable ways to divide
- split-brain fenceWho Holds the Pen
- old-term leaders ignored
- spreadThe Water Market
- the gap between them
- SQL injectionWeb Vulnerabilities
- input becomes SQL
- SRAMLogic From Switches
- fast memory made of flip-flops (cache)Also on The Memory Hierarchy
- SSRFWeb Vulnerabilities
- your server tricked into fetching an internal URL (fix: allowlist, block metadata IP)
- SSTableStorage Engines
- sorted on-disk segment
- stable sortSorting and Searching
- preserves order of equal keys
- stackLinked Lists Stacks and Queues
- LIFO (push/pop/peek, all O(1))Also on How Code Becomes Execution
- stack frameHow Code Becomes Execution
- one call's locals + args + return address
- stack of N blocksAttention and the Transformer
- the depth of the model
- stack overflowHow Code Becomes Execution
- too-deep recursion
- staged rolloutDesign Cloudflare in the Interview
- a change goes to 1% first and widens only while health stays green
- StallHow Planes Actually Fly
- when the tilt is so steep the smooth flow separates from the top and lift suddenly drops.
- star vs snowflake schemaStorage Extras
- flat dimensions vs normalized dimensions
- starvation / livelockConcurrency and the Hardware
- never / busy-never progressing
- stateRecursion and Dynamic Programming
- the parameters identifying a subproblemAlso on Design an Elevator, Design a Vending Machine, The Object That Keeps Its Rules
- state machineDesign an Elevator
- the states plus the arrows between themAlso on Tell Everyone Who Cares
- state patternTell Everyone Who Cares
- one class per state, every action handed to the current one
- static contextFewer Details Up Front
- always included
- static vs contextual embeddingTokens and Embeddings
- fixed per word vs context-shifted
- stepHow It Learns
- one weight update
- stopping distanceTwice the Speed, Four Times the Stop
- the two added together, kinetic energy = the energy of motion, 1/2 x m x v squared
- stragglerStream Processing
- a late event
- strategySwap the Rule, Keep the Class
- each rule in its own class behind one shared call
- stream-stream / stream-table joinStream Processing
- window-correlate / enrich
- streamingDesign OpenRouter in the Interview
- a reply sent piece by piece as it is made
- strict serializabilityConsistency and Consensus
- linearizable + serializable
- strideCache Line Life
- the gap between accessesAlso on The Security Mindset
- strikeThe Drought Right
- the fixed price
- stringArrays and Strings
- array of characters/code points
- StringBuilder / joinArrays and Strings
- the O(n) fix
- structured outputAgents and Tool Use
- force valid JSON matching a schema
- subjectTell Everyone Who Cares
- the object that announces 'I changed'
- subscribeTell Everyone Who Cares
- put your name on the list
- subsequenceTwo Files, One Question
- keep the order, may skip. ('ACE' is a subsequence of 'ABCDE')
- substringTwo Files, One Question
- must be contiguous. NOT what diff wants, one inserted line would break it.
- summarisationFewer Details Up Front
- squeezing old chat into a short note, which loses detail
- SupercoolingHot Water Can Freeze Faster Than Cold
- staying liquid BELOW the normal freezing point until something triggers ice. Unstable, can flip suddenly.
- SuperpositionSilence Built From More Noise
- when waves overlap, they simply ADD. Destructive interference = opposite waves cancel to flat.Also on Watch a Particle and It Changes
- superscalarThe CPU
- >1 instruction per cycle
- supply chainApplication Hardening
- your dependencies (+transitive)
- surgeDesign Uber in the Interview
- a price multiplier per cell when riders outnumber drivers
- swapProcesses Threads and the Kernel
- paging RAM to disk
- swap/pagingThe Memory Hierarchy
- spilling RAM to disk when full
- symmetric encryptionCryptography Foundations
- one shared key (AES, fast, bulk)
- syncThe Tree That Knows What Changed
- make the server's copy match yours
- sync/async/semi-syncReplication
- wait / don't wait / wait for one
- syntacticChunks, Not Files
- following the code's grammar (functions, classes), not line counts
- syscallProcesses Threads and the Kernel
- user code trapping into the kernel for a privileged op
- system modelWhen Machines Fail
- timing + failure assumptions
- systematic riskOne Cloud Many Rivers
- the shared part nobody can mix away (the cloud)
T
- tabulationRecursion and Dynamic Programming
- bottom-up table fill
- tailFewer Details Up Front
- print the end of a file
- tail latencyWhat a Data System Promises
- the slow high-percentile requests
- target groupThe Two Planes, Permission vs Network
- boxes behind a load balancer
- temperatureInference
- randomness dial (0 = deterministic)
- temporal localityThe Memory Hierarchy
- reuse soon
- termWho Holds the Pen
- an epoch that increments each election
- the 2038 problemNumbers for Real
- 32-bit Unix time overflow
- the cache caveatComplexity and Big-O
- Big-O ignores the constant, and the constant is often memory locality
- the KV cache grows with contextInference
- the memory cost of long context
- the meta-methodAlgorithm Design Patterns
- brute force → find bottleneck → apply the pattern that removes it → verify
- the O(n log n) wallSorting and Searching
- info-theoretic lower bound for comparison sorts
- the spaced-review scheduleHow Learning Sticks
- SPACED REPETITION (revisit, don't read once)
- the universal cureWeb Vulnerabilities
- separate data from code + validate/allowlist + least privilege (l.01) + defense in depth
- the whole trackAnatomy of a Breach
- the chain's defense
- the wikilinks / 'ties to'How Learning Sticks
- ELABORATION (connect new to known)
- thinking distanceTwice the Speed, Four Times the Stop
- road covered before your foot moves, braking distance = road covered once the brakes bite,
- threadProcesses Threads and the Kernel
- an execution unit sharing a process's memory
- threat modelThe Security Mindset
- the structured 'what can go wrong' at each trust boundary
- three-way matchThe Nightly Match
- order, invoice and payment all agree
- thresholdYour Teammate Already Did This
- how close is close enough to count as a match
- throttlingThe Bouncer at the Door
- slow/reject once over the cap
- throughputInference
- tokens/secAlso on What a Data System Promises
- thumbprintOIDC, Passport and Stamp-Book
- fingerprint of the office's stamp
- thundering herdDesign Slack in the Interview
- many clients coming back at the same moment
- tileDesign Google Maps in the Interview
- a square picture of the map at one zoom, baked in advance
- timeRecursion and Dynamic Programming
- #states × work/state
- time vs space complexityComplexity and Big-O
- ops vs memory as a function of n
- time-of-day vs monotonic clockWhen Machines Fail
- wall time (can jump) vs forward-only elapsed
- timelineDesign Twitter in the Interview
- a reader's ready-made list of markers
- timeliness vs integrityWhere Data Systems Are Heading
- up-to-date vs uncorrupted
- timeoutWhen Machines Fail
- the only failure detector
- timer interruptIO Interrupts and the Bus
- the tick that preempts
- timing breakThe Nightly Match
- the twin is coming, late
- Timsort/introsortSorting and Searching
- the real-world hybrids
- TLBThe Memory Hierarchy
- a cache of translations
- TLSTransport and Network Security
- transport-layer security (confidentiality + integrity + authenticity on the wire)
- TLS / HTTPSA Secret Shouted Across a Room
- the padlock.
- TLS 1.3Transport and Network Security
- 1-RTT, forward secrecy always
- tokenTokens and Embeddings
- the atomic unit a model reads (a subword)Also on The Ten O'Clock Rush, Design OpenRouter in the Interview
- token bucketThe Bouncer at the Door
- refill r, hold B, spend 1 per requestAlso on Design Claude in the Interview, Design OpenRouter in the Interview, Design a Rate Limiter
- token IDTokens and Embeddings
- an integer index
- token/JWTAuthentication
- stateless signed credential (scales, hard to revoke)
- tokenizerTokens and Embeddings
- text ↔ token IDs (a fixed pre-step)
- toleranceThe Nightly Match
- how far apart two entries may be and still match
- tombstoneStorage Engines
- a delete markerAlso on Hashing
- tool / function callingAgents and Tool Use
- the model emits a structured request. The harness runs it
- tool schemaAgents and Tool Use
- name/params
- tool serverAgents and Tool Use
- exposes tools over MCP
- top-k / top-p (nucleus)Inference
- sample only from the top tokens / the top cumulative mass
- topological sortGraphs
- a dependency-respecting order of a DAG (DFS post-order or Kahn's)
- total order broadcastConsistency and Consensus
- same-order delivery to all = a replicated log = consensus
- TOTPAuthentication
- time-based one-time code (HMAC of the clock)
- traceSearch That Learned From Its Own Misses
- the record of one agent run: every search, every file opened
- trainingWhat a Neural Network Is
- finding the weights
- transactionTransactions
- a group of ops that commit/abort together
- transcodingDesign YouTube in the Interview
- converting one upload into many versions
- transformer blockAttention and the Transformer
- attention + FFN + residual + LayerNorm
- transistor (MOSFET)Logic From Switches
- a voltage-controlled switch
- transitionDesign a Vending Machine
- an arrow from one state to another on an event
- triple-storeData Models and Query Languages
- (subject,predicate,object) + RDF/SPARQL
- TrueTimeWhen Machines Fail
- clock as an interval
- trust boundaryThe Security Mindset
- line between trust levels (validate crossings)
- trust policyThe Two Planes, Permission vs Network
- who may wear it
- trust storeTransport and Network Security
- the roots your device trusts
- truth tableLogic From Switches
- the gate's full input→output map
- TTLDesign Instagram in the Interview
- a countdown after which a record deletes itself
- tumbling windowCounting Clicks in Real Time
- fixed one-minute buckets that never overlap
- tunable consistencyThe Cut Phone Line
- choose per query via quorum, R + W > N guarantees a read sees the latest write (Cassandra/Dynamo)
- turn orderDesign Snake and Ladder
- a queue, front plays then rejoins at the back
- two-pointerArrays and Strings
- two indices sweeping (converging or fast/slow) → O(n) instead of nested O(n²)
- two's complementNumbers for Real
- negate by flip-bits-then-+1. One adder does both. Range -2^(n-1)..2^(n-1)-1
- typeEverything Is a Number
- the agreement on how to read bytes
U
- unbounded delayWhen Machines Fail
- no ceiling on network latency
- unbundling the databaseWhere Data Systems Are Heading
- compose storage/index/replication as separate tools over a log
- Unicode / UTF-8Everything Is a Number
- variable-length code for all writing
- union-findGraphs
- fast connected-components
- universal approximationWhat a Neural Network Is
- enough neurons can fit any function
- Unix pipeBatch Processing
- stream one tool's output into the next
- unsignedNumbers for Real
- non-negative, 0..2^n-1
- use-after-free / dangling pointerHow Code Becomes Execution
- using freed memory
- user vs kernel mode (ring 3/0)Processes Threads and the Kernel
- restricted vs full hardware access
V
- vacuumThe Map
- collect dead row versions latch = lock on a data structure (microseconds) lock = lock on data (whole txns) fsync = 'disk, PROMISE me it is durable'
- validation set / early stoppingHow It Learns
- monitor & stop in time
- vector databaseTokens and Embeddings
- stores/searches embeddingsAlso on RAG, Your Teammate Already Did This
- vector spaceTokens and Embeddings
- where meaning lives geometrically
- version vectorReplication
- per-replica versions
- vertex/edgeData Models and Query Languages
- node/relationshipAlso on Graphs
- vertical vs horizontalWhat a Data System Promises
- bigger box vs more boxes
- virtual memoryThe Memory Hierarchy
- per-process address spaceAlso on Processes Threads and the Kernel
- ViterbiRecursion and Dynamic Programming
- DP over sequences (ML/bio)
- vocabularyTokens and Embeddings
- the ~50-100k known tokens
- VolatileWhy Onions Make You Cry
- evaporates easily, so it flies to your eyes. Cornea = the eye's clear front surface, packed with irritant-sensing nerves.
- volatilityThe Water Market
- how widely returns swingAlso on One Cloud Many Rivers, The Drought Right
- VoltageA Battery Stores a Chemical Cliff
- energy per charge (the push). Capacity (mAh) = how much total charge is available before the cliff is flat.
W
- waiting roomThe Ten O'Clock Rush
- a cheap line that admits people at the rate the core can take
- WALStorage Engines
- write-ahead log (crash recovery)Also on S1 - Build Your Own Database
- watermarkStream Processing
- 'seen everything up to T'Also on Counting Clicks in Real Time
- wavelengthYour Remote Throws Invisible Light
- size of one wiggle, frequency = wiggles/sec (they're inverses) -Also on Why the Siren Drops as It Passes, Why the Ocean Is Blue
- WebAuthn / passkeysAuthentication
- phishing-resistant hardware auth
- webhookDesign Stripe in the Interview
- a message we post to the merchant's server
- weightWhat a Neural Network Is
- a learned knob (input importance)
- Weighted averageThe Statistic That Reverses Itself
- a total where big groups count more. Unequal groups let a subgroup winner lose the pooled number.
- weightsDesign Claude in the Interview
- the billions of stored numbers that make up the model
- windowStream Processing
- tumbling/sliding/session bucket
- word sizeEverything Is a Number
- bits the CPU handles at once (32/64-bit) → also the address space
- work factorAuthentication
- tunable slowness
- workflow/DAGBatch Processing
- chained jobs
- working setThe Memory Hierarchy
- the memory a program touches often
- workspaceDesign Slack in the Interview
- one company's private space, the boundary for who sees what
- write conflictReplication
- concurrent edits to one record
- write skewTransactions
- read-same/write-different breaks an invariant
- writer's/reader's schemaEncoding and Schema Change
- Avro's two schemas resolved by name
X
- XSSWeb Vulnerabilities
- attacker JS runs in a victim's browser (stored/reflected/DOM)
Y
- yieldThe Water Market
- what a bond pays, as a rate on today's price
Z
- zoneDesign Food Delivery in the Interview
- a slice of the city with its own assigner
- ZooKeeperPartitioning
- coordination service holding the map
#
- .well-known/openid-configurationOIDC, Passport and Stamp-Book
- where the office publishes its public keys
- 1 microsecondYour Phone Runs on Einstein
- 1000 nanoseconds
- 12-factorLeast Privilege and 12-Factor
- app rules for portability/scale | RBAC = role-based access | least privilege = minimum rights | supply chain = source->deploy trust | distroless = minimal base
- 2PCConsistency and Consensus
- two-phase commit (prepare → commit); BLOCKING if coordinator dies
- 429The Bouncer at the Door
- Too Many Requests
- Θ (theta)Complexity and Big-O
- tight bound (matches above & below)
- Ω (omega)Complexity and Big-O
- lower bound
No matching terms.
About this glossary
Terms come from the JARGON, DECODED line at the end of many boards, which lists each term with its meaning. Coverage varies by track. Some tracks contribute hundreds of terms, and tracks whose boards do not include that line contribute none.