| Crates.io | mehdb |
| lib.rs | mehdb |
| version | 0.1.0 |
| created_at | 2025-05-08 14:08:32.090672+00 |
| updated_at | 2025-05-08 14:08:32.090672+00 |
| description | A prototype consistent hashing index |
| homepage | https://github.com/chiefnoah/mehdb |
| repository | |
| max_upload_size | |
| id | 1665393 |
| size | 119,878 |
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.