Blogmark

Build Your Own Database From Scratch in Go

via jbranchaud@gmail.com

https://build-your-own.org/database/
Databases Go

Someone shared their Go-based database implementation on Reddit and mentioned that they used this book as a guide.

Understand databases from the bottom up by building your own, in small steps, and with simple Golang code.
- Start with a B+tree, the data structure for querying and manipulating the data.
- Make it durable, that’s what makes a DB different from a file.
- Relational DB with concurrent transactions on top of the copy-on-write B+tree KV.
- A SQL-like query language, the finishing touch.