Skip to content
/ kvdk Public
forked from pmem/kvdk

Reference example code of key/value store design for Persistent Memory

License

Notifications You must be signed in to change notification settings

Sean58238/kvdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KVDK

KVDK (Key-Value Development Kit) is a key-value store library implemented in C++ language. It is designed for persistent memory and provides unified APIs for both volatile and persistent scenarios. It also demonstrates several optimization methods for high performance with persistent memory. Besides providing the basic APIs of key-value store, it offers several advanced features, like transaction, snapshot as well.

Features

  • The basic get/set/update/delete opertions on unsorted keys.
  • The basic get/set/update/delete/iterate operations on sorted keys.
  • Multiple changes on unsorted keys can be made in one atomic batch.
  • User can create multiple collections of sorted keys.
  • Support read-committed transaction. (TBD)
  • Support snapshot to get a consistent view of data. (TBD)

Limitations

  • Maximum supported key-value size are 64KB-64MB.
  • The maximum write thread number can't be dynamicly changed after start-up.
  • No support of key-value compression.
  • Persistent memory space can't be expanded on the fly.

Getting the Source

git clone --recurse-submodules https://github.com/pmem/kvdk.git

Building

mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release && cmake --build .

Benchmarks

Here are the examples on how to benchmark the performance of KVDK on your own systems.

Documentations

User Guide

Architecture

About

Reference example code of key/value store design for Persistent Memory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.4%
  • Python 3.6%
  • CMake 1.0%