nowfound

Life & fun · April 9, 2025

Building a database engine

A book that shows how to build a database storage engine

Building a database engine launched on April 9, 2025 with 9 votes, #3,599 of 7,818 launches that month and more than 50% of that year's launches.

What it does

Learn how to build a database engine from scratch: storage layer, TLV encoding, Creating databases and tables, Insert/update/delete/select, Write-Ahead Log (WAL), data pages, B-Tree indexes, Buffer pools, Hash-based full-text indexes

Does a similar job

all alternatives →
  • I wrote a free eBook about many lesser-known/secret database tricks2022 · sqlfordevs.com · ▲865

    Stop treating the database as dumb storage and use its extended features. There's a lot you can use.

  • IW
    I Wrote a Book on Java2024 · ▲586

    https://www.manning.com/books/data-oriented-programming-in-j... This book is a distillation of everything I’ve learned about what effective development looks like in Java (so far!). It's about how to organize programs around data "as plain data" and the surprisingly benefits that emerge when we do. Programs that are built around the data they manage tend to be simpler, smaller, and significantly easier understand. Java has changed radically over the last several years. It has picked up all kinds of new language features which support data oriented programming (records,…

  • CaskDB – project to teach you building a key value store2022 · github.com · ▲175

    (educational) build your own disk based KV store. Contribute to avinassh/py-caskdb development by creating an account on GitHub.

  • Learn by rebuilding Redis, Git, a database from scratchJul 2026 · shipthatcode.com · ▲200

    Learn programming by building real systems from scratch. Redis, Git, a database, a compiler — every lesson is choose, write, run.

  • Book to help you build a PostgreSQL-like database server from scratch2025 · technicaldeft.com · ▲5

    I just finished writing my book that guides you through building your own SQL database server from scratch. The software engineering books I've enjoyed the most are the ones that let you learn through writing code and experimentation, which is why I wanted to create a practical book. More details and a preview at https://technicaldeft.com/build-a-database-server In summary: + Learn how parse and type check SQL + Execute complex queries that use JOIN and GROUP BY + Challenge yourself with suggested extensions + Comparisons with real databases including PostgreSQL, MySQL, SQLite…

  • Dbeel – A distributed thread-per-core db2024 · github.com · ▲73

    For a while now I had the urge to learn how to pick the "right" database for projects, I looked around online at different databases to try to understand their different traits, and was bombarded with marketing instead of actual info on the advantages and drawbacks. The only solution for me was to learn some database internals (I read the wonderful book written by Alex Petrov), and the problems seemed so interesting, I could not fight the urge and went ahead with trying to write my own db. Anyway, ~9 months have passed and I feel like I'm "done", I have learned a ton, and really proud of…

More life & fun this month

the category →

Source: Product Hunt launch ↗

Launched alongside, April 2025

the whole month →
  • Hi everyone, I built PyXL — a hardware processor that executes a custom assembly generated from Python programs, without using a traditional interpreter or virtual machine. It compiles Python -> CPython Bytecode -> Instruction set designed for direct hardware execution. I’m sharing an early benchmark: a GPIO test where PyXL achieves a 480ns round-trip toggle — compared to 14-25 micro seconds on a MicroPython Pyboard - even though PyXL runs at a lower clock (100MHz vs. 168MHz). The design is stack-based, fully pipelined, and preserves Python's dynamic typing without static type restrictions.…

    Dev tools · 2025 · runpyxl.com

  • The Unsure Calculator is an online tool that lets you calculate with numbers you’re not sure about.

    Life & fun · 2025 · filiph.github.io

  • https://the-pocket.github.io/Tutorial-Codebase-Knowledge/

    AI · 2025 · github.com

  • Whatting▲898

    The iPad diary, just for you

    Work · 2025 · whatting.com

  • Browser with AI companions that automate web tasks

    AI · 2025 · strawberrybrowser.com

  • Peek▲828

    AI personal finance coach that guides you through decisions

    Work · 2025 · peek.money