目录
摘要:
测试redis的aof写入速度,
- 仅测试追加写, 关闭aof重写功能
- 配置每秒flush一次磁盘
向redis填充数据:
单点redis配置:
port 6379
daemonize no
pidfile redis.pid
protected-mode no
cluster-enabled no
cluster-config-file nodes.conf
cluster-node-timeout 5000
save ""
appendonly yes
appendfsync everysec
replica-read-only yes
cluster-migration-barrier 1
logfile "redis.log"
loglevel notice
slowlog-log-slower-than 10000
slowlog-max-len 128
cluster-node-timeout 3000
repl-diskless-sync no
unixsocket ./redis.sock
auto-aof-rewrite-percentage 0