Proyek
Lihat di GitHub
tikv/titan
Tentang
A RocksDB plugin for key-value separation, inspired by WiscKey.
Data dan analisisPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliTitan: 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 |
Jelajahi proyek terkait
Memuat…