6 ms·
Where does one get started building a simple database?
by ioddly 9y ago
Where does one get started building a simple database?
- bordercases 9y agoCan you develop a file format plus API that is ACID compliant in C?
- elvinyung 9y agoCareful with that word ("ACID"), it's ridiculously easy to get screwed by the filesystem arbitrarily lying about things like the order of system calls: https://queue.acm.org/detail.cfm?id=2801719 https://queue.acm.org/detail.cfm?id=2801719
- jmalicki 9y agoThe file system does not lie, it just does not provide guarantees of ordering.
- weavie 9y agoI found Martin Kleppmans book - Designing Data-Intensive Applications (http://martin.kleppmann.com/ http://martin.kleppmann.com/) to be a great primer.
- goostavos 9y agoAn absolutely _fantastic_ book. It was also one of the scariest books I've read recently. Made me realize just how much I don't know (and don't know that I don't know!) about the failure modes of distributed systems.
- gothy 9y agoThis is a must read book even if you're not building a database :)
- deleted 9y ago[deleted]
- tayo42 9y agoSomething like a kv store with a btree or sstable. https://github.com/antirez/otree https://github.com/antirez/otree simple example I think