Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codeworm96/laindb
Yet another key-value store
https://github.com/codeworm96/laindb
Last synced: about 2 months ago
JSON representation
Yet another key-value store
- Host: GitHub
- URL: https://github.com/codeworm96/laindb
- Owner: codeworm96
- Created: 2015-09-21T14:54:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T09:34:21.000Z (almost 7 years ago)
- Last Synced: 2024-08-01T21:42:09.130Z (5 months ago)
- Language: C++
- Size: 1.54 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-se - codeworm96-2014-project - lang.org) binding: [laindb-rs](https://github.com/codeworm96/laindb-rs)) (课程列表 / Data Structure (Stanford CS106b))
README
# LainDB
LainDB is a very simple key-value store engine. LainDB aims to be fast and flexible at the same time,
so it uses modern c++ features, including nullptr and template. Therefore, LainDB needs c++11
support. However, Laindb avoids any platform-specific API and can run on any platform.As a key-value store, you are able to store any kind of data (you may need to provide a serializer),
inside a key (a c-style string with a length limitation). This data can later be retrieved only if we
know the exact key used to store it. LainDB provides a minimal interface and it is easy to use but
also hard to write unsafe codes.LainDB’s index is implemented by a top-down B+tree. Cache are handled using LRU(Least Recently
Used) algorithm.Documentation is under /doc.