Book: Code a database in 45 steps with Go
This series of test-driven small coding puzzles lets you code a database from scratch (no dependencies).
The full book
The web version only has simple instructions since chapter 04 while the full book has detailed explanations and background info. The full book also covers secondary indexes, transactions, and concurrency. You can buy the book to:
- Aid your journey.
- Dive deeper into related subjects.
- Learn database internals without committing to the full project.
- Support the author’s efforts.
Buy the book
More like this
I plan to release more projects like this. Subscribe to get updates.
Some potentially helpful resources:
- Build Your Own Database. For a B+Tree-based approach.
- Database Internals. For general DB internals.
- CodeCrafters.io. Build-Your-Own-X courses in many languages.