Skip to content

Appendix · Architecture Glossary ​

Hit an unfamiliar term while reading the tutorial or templates? Look it up here. Each entry gives a one-line intuition + a link to the chapter or template that explains it in depth. No textbook definitions — just enough so you instantly get what it means.


Scale & Performance ​

TermOne-Line IntuitionWhere It's Explained in Depth
QPS / TPSQueries per second / transactions per second — measures how busy a system is.07 Back-of-the-Envelope Estimation
LatencyHow long a single operation takes (how fast it feels).06 Quality Attributes
ThroughputHow much work the system handles per unit time (how much volume it carries).06
P99 (Tail Latency)99% of requests finish faster than this value — watch P99 instead of the average, because the slowest 1% hurts user experience the most.06
Read/Write RatioWhether reads or writes dominate — decides whether the architecture leans toward read optimization or write optimization.02 Six Soul Questions
Back-of-the-Envelope EstimationUsing a few quick divisions to estimate orders of magnitude (QPS, storage) and spot what will crush the system first.07

Data & Consistency ​

TermOne-Line IntuitionWhere It's Explained in Depth
Strong vs. Eventual ConsistencyEveryone sees the new value immediately after a write (expensive) vs. everyone converges after a short delay (cheap, highly available).05 Data & State
CAPOnce a network partition happens, you must choose between Consistency (C) and Availability (A).05
ACID / BASEThe rigorous school (strong consistency, strict guarantees) vs. the pragmatic school (high availability, eventual consistency).05
TransactionA group of operations that either all succeed or all fail together.05
IdempotencyExecuting the same request multiple times produces the exact same effect as executing it once — retries won't cause double charges.Payment System Template
Stateless vs. StatefulRemembers nothing across requests (easy to clone and scale) vs. holds state (hard to clone, the root of distributed headaches).05

Scaling Levers ​

TermOne-Line IntuitionWhere It's Explained in Depth
Vertical vs. Horizontal ScalingMake one machine bigger (treats the symptom, hits a ceiling) vs. add more machines (cures the root cause, requires statelessness).06
ReplicationMaintain multiple read-only copies, primarily to scale reads and improve availability.05
ShardingPartition data across multiple machines by a rule, primarily to scale writes and storage capacity.05
CacheKeep hot data in a faster tier to cut latency and offload reads; the trade-off is cache invalidation and consistency.05
CDNPush static or cacheable content to edge nodes closest to users to cut latency and save origin bandwidth.Video Streaming Template
Peak Shaving / Rate LimitingUse queues or admission control to smooth sudden traffic spikes into a steady flow so the backend isn't crushed.04 Message Queues

Architecture Patterns ​

TermOne-Line IntuitionWhere It's Explained in Depth
Monolith vs. MicroservicesA single deployable unit (simple, badly underrated) vs. independently deployed small services (solves people scaling, badly overused).04
Event-Driven / Pub-SubBroadcast "what happened" and let interested subscribers react independently — decoupling and fan-out.04
CQRSSplit the write path and read path into separate models optimized for their own access shapes.04
Fan-outOne action triggers work across many recipients — push model (fan-out on write) vs. pull model (fan-out on read).Social Feed Template
Inverted IndexFlip "document → words" into "word → list of documents" — the foundation of full-text search engines.Search Engine Template
ANN (Approximate Nearest Neighbor)Trade a tiny bit of recall accuracy for massive speedups when searching millions of high-dimensional vectors.Vector Database Template

Reliability & Operations ​

TermOne-Line IntuitionWhere It's Explained in Depth
Availability / "Nines"The percentage of time a system is operational; 99.9% = three nines, and each extra nine raises cost by an order of magnitude.06
DurabilityHow unlikely stored data is to be lost (e.g., S3's 11 nines of durability).06
SLO / Error BudgetSet an availability target (SLO); the remaining allowed downtime is the error budget — once spent, freeze features and fix reliability.06
Single Point of Failure (SPOF)A component whose failure brings down the entire system — availability's #1 enemy, eliminated through redundancy.06

Process & Evolution ​

TermOne-Line IntuitionWhere It's Explained in Depth
Quality Attributes / Non-Functional RequirementsHow well the system performs (fast, reliable, scalable), as opposed to what it does (features).02
Trade-offEvery architectural decision trades A for B; there is no silver bullet.02
ADRArchitecture Decision Record: a one-page record capturing why a decision was made and what alternatives were given up.08 ADRs
Technical DebtA conscious expedient chosen for speed today — healthy only when recorded on a ledger and repaid on schedule.08
Conway's LawA system's architecture will mirror the communication structure of the organization that builds it.08
C4 ModelDraw architecture diagrams across four zoom levels like a map app: Context → Container → Component → Code.03 Drawing Diagrams

Didn't find the term you're looking for? Feel free to open an issue. A glossary is just an entry point — real understanding lives in the chapters linked above.

💬 Comments