Skip to content

How is lmdb-store different from node-lmdb? #56

Answered by kriszyp
detj asked this question in Q&A
Discussion options

You must be logged in to vote

The most simplified distinction would be that node-lmdb is a low-level interface designed to directly expose the LMDB API functions, whereas lmdb-store is designed to provide a higher level interface for more efficient and idiomatic JS interaction. However, lmdb-store isn't really built "on top off" node-lmdb, since many/most of the improvements that lmdb-store makes actually involve extending/modifying the C++ code, for example adding the ability to coordinate batches of operations and commit (and compress) them in a separate thread, and perform multi-threaded coordination of asynchronous transactions, which is mostly done in C++. lmdb-store is written as a "branch" or fork of node-lmdb,…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@detj
Comment options

Answer selected by detj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants