项目
在 GitHub 查看
tikv/titan
关于
受 WiscKey 启发的 RocksDB 键值分离插件。
数据与分析实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Titan: A RocksDB Plugin to Reduce Write Amplification
Titan is a RocksDB Plugin for key-value separation, inspired by WiscKey. For introduction and design details, see our blog post.
Build and Test
Titan relies on RocksDB source code to build. You need to checkout RocksDB source code locally, and provide the path to Titan build script.
# To build:
mkdir -p build
cd build
cmake ..
make -j<n>
# To specify custom rocksdb
cmake .. -DROCKSDB_DIR=<rocksdb_source_dir>
# or
cmake .. -DROCKSDB_GIT_REPO=<git_repo> -DROCKSDB_GIT_BRANCH=<branch>
# Build static lib (i.e. libtitan.a) only:
make titan -j<n>
# Release build:
cmake .. -DROCKSDB_DIR=<rocksdb_source_dir> -DCMAKE_BUILD_TYPE=Release
# Building with sanitizer (e.g. ASAN):
cmake .. -DROCKSDB_DIR=<rocksdb_source_dir> -DWITH_ASAN=ON
# Building with compression libraries (e.g. snappy):
cmake .. -DROCKSDB_DIR=<rocksdb_source_dir> -DWITH_SNAPPY=ON
# Run tests after build. You need to filter tests by "titan" prefix.
ctest -R titan
# To format code, install clang-format and run the script.
bash scripts/format-diff.sh
Compatibility with RocksDB
| Titan Version | TiKV Version | RocksDB Version (TiKV fork) |
|---|---|---|
| master | 8.5.0 + | 8.10.tikv |
| tikv-7.5 | 7.5.0 + | 6.29.tikv |
| tikv-7.1 | 7.1.0 + | 6.29.tikv |
| tikv-6.5 | 6.5.0 + | 6.29.tikv |
| tikv-6.1 | 6.1.0 + | 6.4.tikv |
探索相关项目
加载中…