Repository navigation
Document RocksDB WAL and multi-SSD configuration strategies - #248
Merged
Merged
Conversation
Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
Copilot
AI
changed the title
[WIP] Investigate WAL distribution in RocksDB for throughput
Document RocksDB WAL and multi-SSD configuration strategies
Jan 5, 2026
makr-code
marked this pull request as ready for review
January 6, 2026 05:33
11 tasks
7 of 25 tasks
7 tasks done
Copilot AI
added a commit
that referenced
this pull request
May 6, 2026
…alReplayFn injections Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/032ae062-25dd-49ca-b8d8-f5cfd69dfbfc Co-authored-by: makr-code <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RocksDB WAL cannot be distributed across multiple directories (sequential single-writer design). However, SSTables can be distributed via
db_paths, yielding 3-4x throughput vs single SSD. RAID provides minimal benefit (<10%) for WAL and underperforms nativedb_pathsby ~30% for SSTables.Documentation
German + English guides (
docs/{de,en}/performance/WAL_MULTI_SSD_CONFIGURATION.md):db_pathsImplementation summary (
docs/WAL_MULTI_SSD_IMPLEMENTATION_SUMMARY.md):Configuration Examples
High-performance 6-SSD setup (
config/config_multi_ssd.yaml):Simple 2-SSD setup (
config/config_2ssd_performance.yaml):Code Example
examples/example_multi_ssd_configuration.cppdemonstrates:db_pathsPerformance Impact
Key Recommendations
wal_diron lowest-latency SSD (not distributed)db_paths(2-6 SSDs optimal)enable_high_parallel_tuningwith 4+ SSDsNo code changes required - ThemisDB already supports these features via
RocksDBWrapper::Config.Original prompt
Erstellt aus VS Code.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.