News for hackers. Stuff that matters.
Re:Writing a SQLite clone from scratch in C by zero_iq on Monday September 04, 2017 @12:19PM (#15169174)
Just going to chip in here to mention LMDB, which essentially provides an mmap btree database with single writer + multi-reader snapshot concurrency, ACID transactions, and is extremely robust.

If you think something may benefit from a shared memory data store, lmdb may be worth considering as a fast, reliable, high concurrency alternative to reinventing wheels with raw mmap + manual sync.

Re:Writing a SQLite clone from scratch in C by switchbak on Monday September 04, 2017 @04:49PM (#15170780)
Not the OP here, but why the downvotes? Is this person off-base, or is that a poor solution?
Re:Writing a SQLite clone from scratch in C by ovao on Monday September 04, 2017 @07:53PM (#15171566)
The poster's comment reads a bit like an advertisement, but LMDB would be a good solution for persisting data, in my opinion. It has a pretty simple C API and it's been described by its authors as "crash-proof".