Key/Value Datastore for Persistent Memory
pmemkv
is a local/embedded key-value datastore optimized for persistent memory.
Rather than being tied to a single language or backing implementation, pmemkv
provides different options for language bindings and storage engines.
Installation guide
provides detailed instructions how to build and install pmemkv
from sources,
build rpm and deb packages and explains usage of experimental engines and pool sets.
- Building From Sources
- Installing on Fedora
- Installing on Ubuntu
- Building packages
- Using Experimental Engines
pmemkv
is written in C/C++ and includes bindings for Java, Ruby, and Node.js applications.
Examples for C and C++ can be found within this repository in examples directory.
Abovementioned bindings are maintained in separate GitHub repos, but are still kept
in sync with the main pmemkv
distribution.
- Java - https://github.com/pmem/pmemkv-java
- Node.js - https://github.com/pmem/pmemkv-nodejs
- Ruby - https://github.com/pmem/pmemkv-ruby
- Python - https://github.com/pmem/pmemkv-python (coming soon!)
pmemkv
provides multiple storage engines that conform to the same common API, so every engine can be used with
all language bindings and utilities. Engines are loaded by name at runtime.
Engine Name | Description | Experimental? | Concurrent? | Sorted? |
---|---|---|---|---|
blackhole | Accepts everything, returns nothing | No | Yes | No |
cmap | Concurrent hash map | No | Yes | No |
vsmap | Volatile sorted hash map | No | No | Yes |
vcmap | Volatile concurrent hash map | No | Yes | No |
tree3 | Persistent B+ tree | Yes | No | No |
stree | Sorted persistent B+ tree | Yes | No | Yes |
caching | Caching for remote Memcached or Redis server | Yes | No | - |
Contributing a new engine is easy and encouraged!
Benchmarks, examples and other helpful utilities are available here: