Build Your Own Database
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!
The Humble FileDataba...
Read more at nan.fyi