jgj redis线上配置
关闭了持久化,和对客户端的链接进行了简单的调优,使用的是本地存储。
redis.conf: |-
dir /tmp
#appendonly yes
#appendfsync everysec
#auto-aof-rewrite-percentage 100
#auto-aof-rewrite-min-size 64mb
#aof-load-truncated yes
#dbfilename dump.rdb
#save 60 100000
save ""
maxclients 65535
maxmemory 6G
slowlog-log-slower-than 10000
slowlog-max-len 128
timeout 10
tcp-keepalive 30