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".
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.