The story of this e-book
Through 13 years of building applications - across languages, frameworks, and trends - one thing became clear: databases outlive every tech stack. And the truth is? We developers know very little about them. So let's build one!
I'm not good enough for low-level systems
I used to think systems programming required a genius-level IQ.
Then I navigated to /var/lib/mysql and found… files.
Plain, editable files that store table data.
That's when I realized: database engines aren't magic. But understanding these concepts still seemed daunting.
ThePrimeagen has a funny mustache
Then a random YouTube video changed everything.
The guy had a funny mustache so I clicked. Instantly. ThePrimeagen was building his own network protocol in Golang as a fun side project.
Then came tsoding - building a websocket protocol in his own programming language while being 100% cringe.
Come on… I was inspired and humiliated at the same time. A unique feeling that only those guys can give you. And your wife.
After a while, inspiration won. If this guy, with his mustache can do stuff like that, then I’m going to build my own database engine.
Why build a DB engine?
So why should you build your own database engine?
Because you will be unstoppable.
Move out of your comfort zone. Understand what 90% never will.
You'll architect solutions while others fight symptoms.
You won't be replaced by LLMs.
That's why.