加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ssdb_slave.conf 703 Bytes
一键复制 编辑 原始数据 按行查看 历史
ideawu 提交于 2014-12-01 20:07 . update ssdb_slave.conf
# ssdb-server config
# relative to path of this file, must exist
work_dir = ./var_slave
pidfile = ./var_slave/ssdb.pid
server:
ip: 127.0.0.1
port: 8889
replication:
binlog: yes
# Limit sync speed to *MB/s, -1: no limit
sync_speed: -1
slaveof:
# to identify a master even if it moved(ip, port changed)
# if set to empty or not defined, ip:port will be used.
id: svc_1
# sync|mirror, default is sync
type: sync
ip: 127.0.0.1
port: 8888
#auth: password
logger:
level: debug
output: log_slave.txt
rotate:
size: 1000000000
leveldb:
# in MB
cache_size: 500
# in KB
block_size: 32
# in MB
write_buffer_size: 64
# in MB
compaction_speed: 200
# yes|no
compression: no
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化