1 Star 0 Fork 29

浮沉杯酒/ssdb

forked from ideawu/ssdb 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ssdb_slave.conf 726 Bytes
一键复制 编辑 原始数据 按行查看 历史
ideawu 提交于 2016-01-14 15:58 . Binlog capacity can be set in config file
# 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
capacity: 20000000
# 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
host: localhost
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/121327583/ssdb.git
git@gitee.com:121327583/ssdb.git
121327583
ssdb
ssdb
master

搜索帮助