b/bonnybooks by cuongnhung1234

Code a database in 45 steps (Go) - A series of test-driven small coding puzzles

Code a database in 45 steps (Go) - A series of test-driven small coding puzzles

English | 2025 | ISBN: NA | 105 Pages | PDF, EPUB | 1.8 MB

This series of test-driven small coding puzzles lets you code a database from scratch (no dependencies).

This series of test-driven small coding puzzles lets you code a database from scratch (no dependencies).

We'll cover KV storage engines, LSM-Tree indexes, SQL, concurrent transactions, ACID, etc.

This series of test-driven small coding puzzles lets you code a database from scratch (no dependencies).

There are 45 puzzles, most puzzles are fewer than 50 lines of code, covering ALL major aspects of databases, including KV storage engines, LSM-Tree indexes, SQL, concurrent transactions, ACID, etc.

This sounds complicated, but software dev often evolves dealing with complexities, a skill not learned from tutorial-ish code or simple CRUD jobs.

This is the 1st Trial of Code project (2025). I plan to release more next year. Subscribe to get updates.