#GENERAL
Daemonize No
Tcp-backlog 511
Timeout 0
Tcp-keepalive 0
LogLevel Notice
Databases 16
Dir/var/redis/data
Slave-serve-stale-data Yes
#slave只读
Slave-read-only Yes
#not Use default
Repl-disable-tcp-nodelay Yes
Slave-priority 100
#打开aof持久化
AppendOnly Yes
#每秒一次aof写
Appendfsync everysec
The new write operation is fsync when the #关闭在aof rewrite
No-appendfsync-on-rewrite Yes
Auto-aof-rewrite-min-size 64MB
Lua-time-limit 5000
#打开redis集群
cluster-enabled Yes
#节点互连超时的阀值
Cluster-node-timeout 15000
Cluster-migration-barrier 1
Slowlog-log-slower-than 10000
Slowlog-max-len 128
Notify-keyspace-events ""
Hash-max-ziplist-entries 512
Hash-max-ziplist-value 64
List-max-ziplist-entries 512
List-max-ziplist-value 64
Set-max-intset-entries 512
Zset-max-ziplist-entries 128
Zset-max-ziplist-value 64
activerehashing Yes
Client-output-buffer-limit Normal 0 0 0
Client-output-buffer-limit slave 256MB 64MB 60
Client-output-buffer-limit pubsub 32MB 8MB 60
Hz 10
Aof-rewrite-incremental-fsync Yes
Environmental Installation Memo Redis redis-common.conf