PinnedShreyash Mogaveera·Jul 7The ShunyaDB Series: Full IndexBuilding a database from scratch, knowing nothing, and rewriting the whole thing once I knew more. Every part, in order, updated as they…
PinnedShreyash Mogaveera·Dec 15, 2025Building My Own LLM — The Complete SeriesWhen I started this series, I wasn’t trying to build the next ChatGPT.
Shreyash Mogaveera·Nov 4Putting It Together: The Flow of a Read and a WriteFive writes happen on every insert, and only two of them are the truth. Here is what I learned from tracing one record through the whole…
Shreyash Mogaveera·Oct 9The Write-Ahead Log: How a Database Survives a CrashBefore any data is written, the intention is recorded. That one rule is behind the durability of almost every serious database, and it took…
Shreyash Mogaveera·Aug 19Caching: Why Databases Don’t Hit the Disk Every TimeMemory is roughly ten thousand times closer than the disk. A cache is the engine’s bet on which pages you’re going to ask for again.
Shreyash Mogaveera·Jul 18Designing the Structure: How Data Gets Stored on DiskPart 5 of 24 in the ShunyaDB series.
Shreyash Mogaveera·Jul 7Why Rust (When I’d Never Written a Line of It)Part 4 of 24 in the ShunyaDB series.
Shreyash Mogaveera·Jun 14The B-tree: The Algorithm Behind Most DatabasesPart 3 of 24 in the ShunyaDB series.
Shreyash Mogaveera·Jun 7What a Database Actually IsPart 2 of 24 — ShunyaDB: A Storage Engine Built From Scratch
Shreyash Mogaveera·May 31Why I Decided to Build a DatabasePart 1 of 24 — ShunyaDB: A Storage Engine Built From Scratch.