Research papers, explained
The papers behind the systems you use every day, explained in plain English with diagrams: the problem, the design and what it means for your own work.
All papers
40 papersFreeSystem designConsistent hashingSpreading data so adding or losing a server moves only a small slice, not almost all of it.20 min read
FreeAI engineeringRAGThe 2020 paper that let a model look up passages before answering, training search and answerer together.15 min read
- Original paperSystem designPaxos Made SimpleRead the paper (opens in a new tab)
System designEnd-to-end argumentsWhy the programs at each end must check for damage, loss and repeats, and what the network can still do.20 min read
System designMaglevGoogle’s load balancer on ordinary servers that keeps each connection on one server as machines change.20 min read
- Original paperSystem designThe Chubby Lock Service for Loosely-Coupled Distributed SystemsRead the paper (opens in a new tab)
System designZanzibarAnswering “may this person open this?” millions of times a second, with permissions as small facts.20 min read
System designANSI SQL isolation levelsWhy SQL’s isolation levels let bugs through, and what Repeatable Read and Serializable mean today.20 min read
System designBigtableHuge tables on thousands of servers: one sorted map, row ranges per server, files never edited.20 min read
System designDynamoAmazon’s key-value store that accepts every write, even while servers fail and the network splits.20 min read
- Original paperSystem designMapReduce: Simplified Data Processing on Large ClustersRead the paper (opens in a new tab)
System designCassandraFacebook’s database for billions of writes a day, with copies everywhere and no single point of failure.20 min read
System designMemcache at FacebookA plain cache grown to over a billion requests a second worldwide, and what it gave up to get there.20 min read
System designLSM-treeTurning slow random disk writes into fast batched ones, and how LevelDB, RocksDB and Cassandra use it.20 min read
System designLamport clocksMachines with no shared clock can still agree on an order of events with a counter; where real clocks matter.15 min read
System designSpannerOne database across the world, using a clock that reports its own error to order transactions.20 min read
- Original paperAI engineeringDense Passage Retrieval for Open-Domain Question AnsweringRead the paper (opens in a new tab)
System designRaftKeeping servers agreed on one ordered command list with one leader, simple votes and followable rules.20 min read
System designKafkaLinkedIn’s simple log on disk that lets many programs read huge event streams fast; what changed since 2011.20 min read
System designThe tail at scaleRare slow answers become common when a request needs many servers; backup requests cut the slowest.20 min read
System designDapperTracing one request through hundreds of services, cheap enough to leave on everywhere.20 min read
System designHyperLogLogCounting distinct items in about 1.5 kB with roughly 2% error, and the fixes that made it production-ready.20 min read
System designGoogle File SystemHuge files on cheap machines that break daily: one master that knows where, servers that move the data.20 min read
AI engineeringChain-of-thought promptingWriting out steps first lifted a model’s maths score from 18% to 57%; what has changed since.15 min read
- Original paperAI engineeringSelf-Consistency Improves Chain of Thought Reasoning in Language ModelsRead the paper (opens in a new tab)
AI engineeringGuided generationMaking a model write only text that fits a pattern or grammar, using a table built in advance.15 min read
AI engineeringHNSWFinding the closest vectors among millions through stacked graphs, and what its three settings trade.20 min read
AI engineeringSentence-BERTOne vector per sentence from BERT, why pairwise comparison was too slow for search, and training today.20 min read
AI engineeringLost in the middleWhere a fact sits in a long prompt decides if a model uses it: strong at the ends, weak in the middle.20 min read
AI engineeringToolformerA model that taught itself to call a calculator, search and other tools, and what later systems kept.20 min read
AI engineeringReActA model that alternates thinking and acting to look things up, check its work and recover from dead ends.20 min read
AI engineeringReflexionAn agent learns from a failed attempt by writing itself a note and retrying; where that works and doesn’t.20 min read
AI engineeringLLM-as-a-judgeA strong model grades chatbot answers about as well as people, which habits skew it, and what changed.20 min read
AI engineeringRagasScoring answers from retrieved documents with no answer key: three checks, tested on 50 examples.20 min read
- Original paperAI engineeringGenerative Agents: Interactive Simulacra of Human BehaviorRead the paper (opens in a new tab)
AI engineeringIndirect prompt injectionHidden instructions in a page or email can steer an AI app that reads it; what limits the damage.20 min read
AI engineeringLoRAFine-tuning a huge model with thin matrices beside each weight, with no added serving delay once merged.20 min read
AI engineeringQLoRASqueezing a large model into 4 bits so one graphics card can fine-tune it, and what later work changed.20 min read
AI engineeringCLIPMatching photos to captions so one model sorts images it never saw labelled, and where it breaks.20 min read
Inference engineeringOrcaWhy early model servers wasted GPU time and kept users waiting, and how per-step scheduling fixed it.20 min read