The main disadvantage of the redis AOF method is that appending the log file may cause the size to be too large. So what is a good solution to solve this kind of problem?
The best way is to use different redis instances for different data, and the memory size of the instance should not be too large
A considerable part of the commands in the aof file may be repeated. You can execute bgrewriteaof to rewrite the aof file. Try it
Use rdb to synchronize, rdb outputs a snapshot of the redis service status
The best way is to use different redis instances for different data, and the memory size of the instance should not be too large
A considerable part of the commands in the aof file may be repeated. You can execute bgrewriteaof to rewrite the aof file. Try it
Use rdb to synchronize, rdb outputs a snapshot of the redis service status