FineDB is a multi-threaded NoSQL DBMS written in C. Amaury Bouchard from France created this database for the pure reason of wanting to experiment with the skills required to create a database management system. It is based on Nanomsg and LMDB and is currently open-sourced and available on Github. It handles all basic queries. It uses LMDB as its internal storage manager, so all detailed information on the storage model can be found on LMDB's page.
There are three main types of threads in the server. The main thread creates the other threads while listening for connections. The write thread writes into the LMDB storage engine asynchronously. The communication threads read in the requests and communicate with the client-side.
http://github.com/Amaury/FineDB
http://www.finedb.org/page/show/1/protocol
Amaury Bouchard
2013