https://github.com/brson/blocksy3
An in-process key value store.
https://github.com/brson/blocksy3
Last synced: 10 months ago
JSON representation
An in-process key value store.
- Host: GitHub
- URL: https://github.com/brson/blocksy3
- Owner: brson
- Created: 2021-01-11T04:18:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-14T04:15:14.000Z (almost 5 years ago)
- Last Synced: 2024-12-15T17:51:16.970Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 262 KB
- Stars: 6
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A simple key/value store
This is an in-process key/value store,
ala [RocksDB].
It is intended to be as simple as possible
while implementing the features required
by a [TiKV] storage engine.
In particular,
it is meant to validate that TiKV's
test suite can be implemented on top of engines other than RocksDB,
while also informing the implementation of its storage engine test suite.
It is not fast,
it is not memory-efficient,
and it is not for production use.
With its simplicity though,
it may eventually serve as a useful learning resource
for demonstrating concurrent and parallel Rust programming.
[RocksDB]: https://github.com/facebook/rocksdb
[TiKV]: https://github.com/tikv/tikv
## Features
- Tiny and readable
- Multiple key/value collections ("column families")
- Point reads and deletes
- Range deletes
- Consistent read views and cursors ("snapshots")
- Atomically-committed write batches
- With save points, rollbacks, and multiple commits
- On-disk or in-memory storage
## WIP
- Compaction