|
Has anyone thought about trying other low-level storage backends to experiment with efficiency & performance? Perhaps something like VPack could be interesting to test. I'm asking despite seeing libmdbx's internals being rather more tightly bound to the current format (which seems nearly identical to LMDB). |
Replies: 3 comments
|
MDBX treat user's keys and data as opacity byte strings, except the On the other hand, using custom format for keys requires "custom comparators" which entails certain restrictions. Therefore, it is planned to implement minimal support for MessagePack. |
|
Oh, pardon me for not being clear with my question. I'm asking whether someone has tried to exchange the memory layout (and thus also the on-disk data layout) libmdbx uses internally for VPack or anything similar. |
|
Suggest to close since no answer is expected. |
MDBX treat user's keys and data as opacity byte strings, except the
MDBX_INTEGERKEYandMDBX_INTEGERDUPfeatures. So nothing prevents you from using any serialization format, including noted VelocyPack.On the other hand, using custom format for keys requires "custom comparators" which entails certain restrictions. Therefore, it is planned to implement minimal support for MessagePack.
However, I do think it is NOT reasonable to do same for VPack, since it is used rarely in comparison with MsgPack.