#index #segment #mehdb

bin+lib mehdb

A prototype consistent hashing index

1 unstable release

Uses new Rust 2024

new 0.1.0 May 8, 2025

#22 in #segment

Custom license

69KB
1.5K SLoC

MehDB

A prototype/research project that implements Cache-line Aware Exendible Hashing per this paper.

The code for this is quite ugly, but performs well for updating single u64 values. Can be combined with a LSM or similar structure to create a fully-functional, O(1) read/write KV store using at-most 3 disk reads maximum. Performance is only good on SSD-devices, but the hypothetical log-structure can exist on higher-capacity spinning rust HDDs as we only will read it for final value retrieval.

Dependencies

~7–17MB
~263K SLoC