Sophia – A modern embeddable key-value database
sphia.org
sphia.org
But i was just worried about the api using void pointers to represent heap state like db, cursor, etc.. im not a security expert but isnt that considered harmful? giving it could be used as a cursor to point to any arbitrary memory address by a black hat? (or that work just if the handle points to a invalid address? in a bug for instance?)
I tried out a few different mongo db-like embedded DBs for Python for a project a few months back, and I came away largely unimpressed. I ended up using couchdb for the PoC, later moving to ElasticSearch and letting that handle the "hard" parts for me (aggregations, JS in queries, and rivers are awesome). Even though it's hugely overkill for my data needs (~100mb uncompressed JSON), ElasticSearch is stupid fast and now handles a big part of what my app actually did. Embedded DBs couldn't do the same.
I'm an MDB fan.
Note also that it is being integrated into tarantool [2], a really nice piece of software
It crashed every time for me https://github.com/pmwkaa/sophia/issues/53 (single-threaded)
It's also not thread-safe, and the docs never mentioned this limitation. https://github.com/pmwkaa/sophia/issues/54
I would call it a toy but isn't even that - toys are fun.