2 Star 11 Fork 4

cocalele / rocksdb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

CircleCI Status TravisCI Status Appveyor Build status PPC64le Build Status

适配分布式Server SAN PureFlash的RocksDB 系统

这个版本的RocksDB提供了一个plugin以适配PureFlash PureFlash是一个采用Blob over Block架构的高性能存储系统。通过PureFlash系统提供的AOF(Append only File)可以支持rocksdb。

这样的架构可以使rocksdb直接访问ServeSAN系统,无需经过本地文件系统等中间层,以达到更好的性能。

使用方法

以rocksdb自带的simple_example为例, 0. 请参照https://gitee.com/cocalele/PureFlash/blob/master/build_and_run.txt 编译PureFlash系统。

  1. 编译rocksdb, 假定PureFlash被克隆到~/PureFlash目录,编译目录为~/PureFlash/build_deb
	# git clone https://gitee.com/cocalele/PureFlash.git
	# git clone https://gitee.com/cocalele/rocksdb.git
	# cd rocksdb
    # DEBUG_LEVEL=2 ROCKSDB_PLUGINS="pfaof" PF_INC=../PureFlash/common/include PF_LIB=../PureFlash/build_deb/bin make simple_example
  1. 运行 如果使测试,您可以以docker的方式快速运行PureFlash, 请参考https://gitee.com/cocalele/PureFlash/blob/master/run-from-docker.txt, 或者PureFlash上手指南 然后你可以将编译好的rocksdb simple_example可执行程序复制到PureFlash容器中进行运行测试

下面是原始rocksdb的README

CircleCI Status

RocksDB is developed and maintained by Facebook Database Engineering Team. It is built on earlier work on LevelDB by Sanjay Ghemawat (sanjay@google.com) and Jeff Dean (jeff@google.com)

This code is a library that forms the core building block for a fast key-value server, especially suited for storing data on flash drives. It has a Log-Structured-Merge-Database (LSM) design with flexible tradeoffs between Write-Amplification-Factor (WAF), Read-Amplification-Factor (RAF) and Space-Amplification-Factor (SAF). It has multi-threaded compactions, making it especially suitable for storing multiple terabytes of data in a single database.

Start with example usage here: https://github.com/facebook/rocksdb/tree/main/examples

See the github wiki for more explanation.

The public interface is in include/. Callers should not include or rely on the details of any other header files in this package. Those internal APIs may be changed without warning.

Questions and discussions are welcome on the RocksDB Developers Public Facebook group and email list on Google Groups.

License

RocksDB is dual-licensed under both the GPLv2 (found in the COPYING file in the root directory) and Apache 2.0 License (found in the LICENSE.Apache file in the root directory). You may select, at your option, one of the above-listed licenses.

空文件

简介

适配分布式Server SAN PureFlash的RocksDB 系统 展开 收起
C++ 等 6 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/cocalele/rocksdb.git
git@gitee.com:cocalele/rocksdb.git
cocalele
rocksdb
rocksdb
pureflash-aof-v8.10

搜索帮助

53164aa7 5694891 3bd8fe86 5694891