转载;https://redisbook.readthedocs.io/en/latest/internal/rdb.html
RDB
https://redisbook.readthedocs.io/en/latest/internal/aof.html
AOF
AOF的write和SAVE是分开的,rewrite是为了压缩AOF文件
配置开启或关闭可以增加性能,因为SAVE等操作会阻塞主进程
转载;https://redisbook.readthedocs.io/en/latest/internal/rdb.html
RDB
https://redisbook.readthedocs.io/en/latest/internal/aof.html
AOF
AOF的write和SAVE是分开的,rewrite是为了压缩AOF文件
配置开启或关闭可以增加性能,因为SAVE等操作会阻塞主进程