✳flâneur — a map of the web's best reading
Build Your Own Database
nan.fyi · 3,275 words · saved by 5 readers
A step-by-step guide to building a key-value database from scratch.
If you were to build your own database today, not knowing that databases exist already, how would you do it? In this post, we'll explore how to build a key-value database from the ground up. A key-value database works more or less like objects in JavaScript—you can store values using a key and retrieve them later using that same key: $ db set 'hello' 'world' $ db get 'hello' world Let's find out how they work! Credit where credit is due: This post is largely based off Martin Kleppmann's book Designing Data-Intensive Applications , specifically Chapter 3, "Data Structures that Power Your Databa
Explore this link on the map →saved by
related reading
- A More Human Approach To Databasesccorcos.github.io
- How We Store and Search 30 Billion Facesclearview.ai
- Database Fundamentalstontinton.com
- Log Structured Merge Trees | Ben Stopfordbenstopford.com
- Why databases use ordered indexes but programming uses hash tables (evanjones.ca)evanjones.ca
- Building data-centric apps with a reactive relational databaseriffle.systems
- Disks and Files - Database Systemscs186berkeley.net
- Merklizing the key/value store for fun and profit | Joel Gustafsonjoelgustafson.com
- Cleaned-up transcript of Rich Hickey's talk "Deconstructing the Database" · GitHubgist.github.com
- pthorpe92.devpthorpe92.dev
- In-memory database - Wikipediaen.wikipedia.org
- The Magic of Small Databasestomcritchlow.com