-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take a look to libmdbx #24
Comments
@erthink I took a stab at getting libmdbx to run with lmdb-store. There certainly looks like there are some useful features there. However, I did run into some issues. We are primarily use lmdb-store with our Windows servers, where LMDB has excellent performance, so some of my questions and concerns from my initial prototyping are related to using it on Windows:
Anyway, thanks for the pointer and any thoughts you have on this. |
I apologize for my long silence.
It was a bug and now it is fixed, an enough time ago.
No, it is not compatible with any version of LMDB.
Ok, I will try done this within erthink/libmdbx#224.
The
Briefly: all done reasonable and perfectly.
The Nonetheless, I am not sure that the Windows kernel (it is a nightmare since pursues/adheres bug-as-feature) does not mistakenly try to reserve space in the swap file for mappings with expandable, but still small sections. |
@erthink A couple more questions: According to the documentation, it looks like write operations will return a thread mismatch error if performed on a different thread than the txn was started. Is that constraint necessary? In lmdb (contrary to its documentation), write operations can be performed on a different thread as long as they are synchronized and the commit takes place on the same thread as the txn is started. |
Yes, yes, yes.
This constraint was introduced to allow for more strict control, but there are no technical obstacles, just like in LMDB. |
https://github.com/erthink/libmdbx
Regards.
The text was updated successfully, but these errors were encountered: