https://github.com/yinqiwen/mmkv
Data structures in memory mapping file with redis API.
https://github.com/yinqiwen/mmkv
Last synced: 6 months ago
JSON representation
Data structures in memory mapping file with redis API.
- Host: GitHub
- URL: https://github.com/yinqiwen/mmkv
- Owner: yinqiwen
- Created: 2015-05-19T09:29:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-12T10:08:08.000Z (about 10 years ago)
- Last Synced: 2025-04-01T15:12:44.914Z (7 months ago)
- Language: C++
- Homepage:
- Size: 957 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MMKV: Fast persistence key-value engine on memory mapped file
[](https://travis-ci.org/yinqiwen/mmkv)MMKV is a BSD licensed, fast persistence key-value engine built on memory mapped file.
## Building MMKV
It only can be compiled on Linux now.
To build the whole project, just type `make` to compile lib & tests.
It should compile to a static library and test executable in `src` directory, such as libmmkv.a, mmkv-test etc.MMKV depends on `boost`, if the `boost` headers could not found by the compiler defaulty, set env `BOOST_INC` first.
BOOST_INC=/boost_headers/include make## Features
- Designed for application servers wanting to store many complex data sturctures on locally in shared memory.
- Persistence Key-value store, the value could be any complex data structure
- Multiple processes concurrency suported
- Most redis data stuctures&api suported
- Custom POD type supported.
- Very fast, which have similar performance compared to same data structure in memory.## Warnings
- Application/System crashes may corrupt the whole data store if it doing write operations.## Status
- Still in development, but already used in a real project which need a very fast cache for multiple processes.