// the find
arpitbbhayani/database-fundamentals
Prototype implementations of database internal concepts and algorithms in Golang.
A companion repo to Arpit Bhayani's YouTube series on database internals, with Go implementations of low-level concepts like varint encoding, delta compression, and sequential vs random I/O. It's a learning aid, not a library — the code exists to illustrate the YouTube videos, not to be imported or extended.
The Go code is minimal and readable, which is the right call for educational code — no abstraction getting in the way of the concept. Each topic lives in its own directory with its own README, making it easy to jump to a specific concept. The varint and delta modules include actual test files, so you can run the code and see it working rather than just reading it. Arpit's YouTube videos are genuinely good, and the code tracks closely enough to be useful alongside them.
Four topics in two years is not a lot of material — this is a thin repo. The README's checklist implies more is coming, but the last push was March 2024 and there's no sign of momentum. There's no B-tree, no WAL, no buffer pool manager — the concepts that would make this genuinely useful for someone studying how real databases work are missing. The HTTP protocol example is an odd inclusion that has nothing to do with database internals. Anyone hoping to use this as a structured self-study curriculum will run out of material fast.