Spreads / Spreads.LMDB

Low-level zero-overhead and the fastest LMDB .NET wrapper with some additional native methods useful for Spreads
http://docs.dataspreads.io/spreads/libs/lmdb/api/README.html
Mozilla Public License 2.0
80 stars 9 forks source link

libmdbx #3

Closed jakoss closed 6 years ago

jakoss commented 6 years ago

Hey,

First of all - thanks for the great job here. I have been using Lightning.NET in our big project, and allocations made by it were killing our servers constantly. Spreads.LMDB seems to be working much better so far. I will be testing it further.

Have you looked at (and considered) using libmdbx instead of LMDB? It have many improvements over LMDB and project seems to be very active.

Check it out: https://github.com/leo-yuriev/libmdbx

buybackoff commented 6 years ago

I know about libmdbx but am neutral about it. You could switch binaries easily, put dll in 'lib/out' folder and run compress.bat, it will be deflated and packed as resource. There is small readme in lib folder how to build/pack native libs.

jakoss commented 6 years ago

Thanks, i'll try it out

buybackoff commented 6 years ago

BTW, look into compress.bat. To build without changing it you should put native shared libs not into lib/out as I wrote above but in the folder lib/libspreadsdb/src/libspreadsdb - where Make would produce LMDS's artifacts.

jakoss commented 6 years ago

Yes, i noticed that :)