futriis/config.toml

43 lines
989 B
TOML
Raw Normal View History

2026-03-01 00:55:51 +00:00
# /futriis/config.toml
# Конфигурационный файл СУБД futriis
[cluster]
name = "futriis-cluster"
coordinator_address = "127.0.0.1:7379"
replication_factor = 2
sync_replication = true
auto_rebalance = true
# Настройки шардинга
sharding_enabled = true
sharding_strategy = "consistent" # consistent, range, hash
initial_shards = 10
[node]
id = "node-1"
address = "127.0.0.1:7380"
data_dir = "./data"
aof_enabled = true
aof_file = "./data/futriis.aof"
[storage]
page_size = 4096
max_memory = "1GB"
eviction_policy = "noeviction"
# Включение сжатия для колонок (wide-column)
compression_enabled = true
compression_algorithm = "auto" # auto, rle, delta, dictionary
[replication]
enabled = true
sync_mode = "full" # full, async
heartbeat_interval = 5
timeout = 30
master_master = true # Включение мастер-мастер репликации
[lua]
enabled = true
plugins_dir = "./plugins"
max_memory = "128MB"