69
When to use it?
When C++ is an option, libpmemobj-cpp is preferred for general-purpose persistent
memory programming over libpmemobj. Chapter 7 describes this library in detail.
libpmemkv
What is it?
libpmemkv is a generic embedded local key-value store optimized for persistent
memory. It is easy to use and ships with many different language integrations, including
C, C++, and JavaScript.
This library has a pluggable back end for different storage engines. Thus, it can
be used as a volatile library, although it was originally designed primarily to support
persistent use cases.
Chapter 9 describes this library in detail.
When to use it?
This library is the recommended starting point into the world of persistent memory
programming because it is approachable and has a simple interface. Use it when
complex and custom data structures are not needed and a generic key-value store
interface is enough to solve the current problem.
libpmemlog
What is it?
libpmemlog is a C library that implements a persistent memory append-only log file
with power fail-safe operations.
When to use it?
Use libpmemlog when your use case exactly fits into the provided log API; otherwise,
a more generic library such as libpmemobj or libpmemobj-cpp might be more useful.
libpmemblk
What is it?
libpmemblk is a C library for managing fixed-size arrays of blocks. It provides fail-safe
interfaces to update the blocks through buffer-based functions.
Chapter 5 IntroduCIng the persIstent MeMory developMent KIt
Précédent

- 97/457

Suivant