Environmental Installation Memo Redis redis-common.conf

Source: Internet
Author: User

#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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.