Where can I buy 115 Resources Account

I believe that experienced developers may know, rdb, aof. But I do not know if you have carefully thought about several issues:

(1) rdb and aof in the end is how it works?

(2) Since there rdb why there are aof it?

(3) If I set both rdb has set aof, then in the end listen to whom?

Mixed (4) aof persistent how is going on here?

 

Now I mainly around these areas, combined with some specific cases. To share with you my side of the summary of experience.

 

First, we look rdb

Of course rdb must first know what it is, how to set up:

 

RDB: redis principle is to create a separate (fork) an identical with the current child process to persist, the child process all this data (variable environment variables, program the program counter, etc.) are exactly the same and the original process, will first data is written to a temporary file, to be persistent over, and then this temporary file to replace the last good persistence file, the whole process, the main process without any io operations, which ensures high performance

Guess you like

Origin www.cnblogs.com/ABCD1/p/12132486.html