2 ms·
Hey since my paragraph saying it's easy to swap out storage engines wasn't believable, here's a diff without any 3rd party library: https://github.com/eatonphi
by eatonphil 5y ago
Hey since my paragraph saying it's easy to swap out storage engines wasn't believable, here's a diff without any 3rd party library:
https://github.com/eatonphil/docdb/pull/1 https://github.com/eatonphil/docdb/pull/1
Took me about an hour for a +40/-40 diff that is still <500 lines of code. You may notice that the code basically looks identical. That's because I wasn't using anything specific to a key-value store.