3 Star 0 Fork 0

Gitee 极速下载 / dorea

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/mrxiaozhuox/dorea
克隆/下载
README.md 2.05 KB
一键复制 编辑 原始数据 按行查看 历史
mr小卓X 提交于 2022-03-09 12:16 . Upload Icon Logo

Build GitHub Code

Dorea is a key-value data storage system. It is based on the Bitcask storage model

Documentation | Crates.io | API Doucment

简体中文 | English

Data Sturct

Dorea have the basic data type and some compound type.

  • String
  • Number
  • Boolean
  • Binary
  • List <DataValue>
  • Dict <String, DataValue>
  • Tuple <DataValue, DataValue>

Storage Model

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.

Screenshot

Docker

docker pull mrxiaozhuox/dorea
Rust
1
https://gitee.com/mirrors/dorea.git
git@gitee.com:mirrors/dorea.git
mirrors
dorea
dorea
master

搜索帮助