Commit 45f167c
authored
[docker] Use block-based RocksDB format by default in Docker configs and update block cache size (linkedin#2744)
Problem Statement
The Docker server config examples have rocksdb.plain.table.format.enabled=true, which enables plain table format. Plain table format requires mmap reads and is designed for read-only workloads on memory-mapped filesystems — it is not suitable for members outside of LinkedIn to start off with as it requires more expertise.
Additionally, the multi dc docker configs are using the default block cache size of 16GB which is too much for small docker environments.
Solution
Set rocksdb.plain.table.format.enabled=false in all three Docker server config files to default to block-based table format, which is the standard RocksDB format suitable for general production use.
Set block cache size to 2GB for the multi dc docker configs.1 parent cd4f10d commit 45f167c
3 files changed
Lines changed: 5 additions & 3 deletions
File tree
- docker/venice-server
- multi-dc-configs
- dc-0
- dc-1
- single-dc-configs
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments