// library
Articles
Every article starts from the same place: trace the system, understand the tradeoff, write down what actually happens. New dispatches are published continuously.
Index
By topic
- 01software architectureThe Law of Demeter in PracticeMessage chains, the law of diminishing knowledge, and why 'don't talk to strangers' prevents the most brittle code you'll ever write.Nov 7, 20264 min
- 02cloudContainers Aren't Lightweight VMsNamespaces, cgroups, seccomp, and the real isolation boundaries — what containers actually isolate and what they don't.Oct 31, 20265 min
- 03backendConnection Pools Aren't FreePool sizing, exhaustion, idle connections, and the hidden queue — why 'just add a pool' is incomplete advice.Oct 24, 20265 min
- 04networkingHow HTTP/2 and HTTP/3 Change EverythingMultiplexing, server push, and QUIC — why keep-alive is the old answer and what the new protocols actually fix.Oct 17, 20264 min
- 05databasesWhy Your Query Is Slow (And It's Not the Index)Buffer pool misses, WAL contention, lock waits, and connection pooling — the non-index causes of database slowness.Oct 10, 20264 min
- 06operating systemsWhat Really Happens During a System CallTrap, ring transition, and the syscall table — the cost of asking the kernel for help and why it's never free.Oct 3, 20265 min
- 07operating systemsHow Virtual Memory WorksPage tables, TLB, and demand paging — why your 16GB laptop 'has' 128GB of addressable memory.Sep 26, 20266 min
- 08distributed systemsEventual Consistency Is a SpectrumStrong, causal, read-your-writes — the consistency zoo and when each model is the right engineering choice.Sep 19, 20264 min
- 09distributed systemsWhy Distributed Systems Are HardThe CAP theorem's real meaning, partial failures, and the eight fallacies — why networked code is a different discipline.Sep 12, 20265 min
- 10distributed systemsConsensus Algorithms Aren't About AgreementRaft, leader election, and split-brain — what consensus actually solves and what it doesn't.Sep 5, 20265 min
- 11databasesHow SQL Query Optimizers ThinkCost-based optimization, join ordering, and statistics — why your query plan changed overnight and what to do about it.Aug 29, 20265 min
- 12algorithmsHash Tables Aren't MagicLoad factors, collision strategies, and cache misses — why O(1) has a constant that bites when you least expect it.Aug 22, 20265 min
- 13runtimeJIT Compilation: Why Hot Loops Become Machine CodeTiered compilation, on-stack replacement, and deoptimization — when the runtime outperforms the ahead-of-time compiler.Aug 15, 20265 min
- 14distributed systemsWhat Is a Distributed System, Really?A system where the failure of a computer you didn't even know existed can render your own computer unusable. How to recognize a distributed system you never asked for.Aug 9, 20263 min
- 15runtimeWhat Happens When You Allocate an ObjectThread-local allocators, TLABs, bump allocation, and why object allocation is nearly free until the moment it isn't.Aug 8, 20264 min
- 16runtimeHow Garbage Collectors Decide What to FreeMark-sweep, generational hypothesis, and GC pauses — the physics of automatic memory management and why it's never truly free.Aug 1, 20265 min
- 17algorithmsBig-O Measures Scaling, Not SpeedO(n) says nothing about how fast your code is today — it predicts how it behaves as the input grows. What complexity analysis is really for, and when it misleads.Jul 5, 20263 min
- 18networkingWhat Happens When You Call an API?One request, traced end to end: DNS, TCP, TLS, HTTP, load balancing, server logic, and the database — with the real cost of every hop.Jun 18, 20267 min
- 19cloudServerless Is Still a ServerThere is no code without a machine, a kernel, and a cold start. What serverless actually automates, and where the abstraction leaks.May 22, 20263 min
- 20runtimeHow a Function Call Really WorksStack frames, registers, calling conventions, and tail calls — what the machine does between the opening brace and the first line of your function.May 4, 20263 min
- 21system designA Load Balancer Is Not a Magic BoxLayer 4 vs layer 7, hashing vs health checks, stickiness, and the failure modes hiding behind the most over-trusted building block in web infrastructure.Apr 10, 20264 min
- 22backendLatency Numbers Every Engineer Should KnowA working model of time on modern hardware: the real cost of a cache miss, a syscall, a network hop, and a disk read — and why these numbers are the vocabulary of systems thinking.Mar 2, 20263 min
- 23databasesThe Anatomy of a Database TransactionACID is a slogan; the write-ahead log is the mechanism. How a transaction commits, why the WAL exists, and what isolation levels actually change.Feb 15, 20263 min
- 24networkingHow TLS Actually Secures a ConnectionFrom the ClientHello to the session ticket: what every message in a TLS handshake does, why certificates are the center of the trust model, and how TLS 1.3 changed the game.Jan 20, 20263 min
- 25databasesWhy Databases Use B-Trees (and Not Hash Tables)Indexes are shaped by the physics of disk and memory. What a B-tree is, why hash indexes can't replace it, and what the shape of the tree says about your database.Nov 12, 20254 min
- 26operating systemsHow an Operating System Schedules a ThreadBetween your code and the CPU sits a scheduler making decisions every millisecond: priorities, context switches, and the physics of 'the thread was runnable but the OS said no'.Oct 8, 20253 min
- 27software architectureMonolith First: Why Simple Beats DistributedBefore microservices made sense for anyone, they were a cost center pretending to be scale. A review of when a monolith is the right architecture — and when the call for services is actually a cry for discipline.Sep 15, 20253 min