Crates.io | dorea |
lib.rs | dorea |
version | 0.3.1 |
source | src |
created_at | 2021-06-21 11:45:13.023112 |
updated_at | 2021-12-25 04:20:42.303051 |
description | A key-value stroage system |
homepage | |
repository | https://github.com/mrxiaozhuox/Dorea/ |
max_upload_size | |
id | 412882 |
size | 210,398 |
Dorea is a key-value data storage system. It is based on the Bitcask storage model
Documentation | Crates.io | API Doucment
Dorea
have the basic data type and some compound type.
String
Number
Boolean
Binary
List <DataValue>
Dict <String, DataValue>
Tuple <DataValue, DataValue>
dorea
based on the Bitcask
storage model. (Log)
All insert, update, delete operations are implemented as appends.
key: foo | value: "bar" | timestamp: 1626470590043 # Insert Value
key: foo | value: "new" | timestamp: 1626470590043 # Update Value (append info)
key: foo | value: none | timestamp: 1626470590043 # Remove Value (append info)
When a storage file reaches a maximum capacity, it is archived and a new write file is created.
docker pull mrxiaozhuox/dorea