forked from spectre-project/rusty-spectre
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add RocksDB cache size and compression configuration
- Added `rocksdb_cache_size` option to `Config` and `Args` structs. - Updated `ConsensusFactory` and `ConnBuilder` to use configurable cache size. - Introduced `ApplyCacheSize` trait for managing cache size in RocksDB options. - Configured RocksDB compression with `DBCompressionType::None` for level 0 and `Lz4` for levels 1-6. - Optimized RocksDB settings: background jobs, compaction, buffer sizes, direct I/O, WAL settings, and block-based table options.
- Loading branch information
1 parent
bb574b2
commit 45e1c30
Showing
4 changed files
with
223 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.