Today’s summary

Redis persistence mechanism: RDB and AOF

RDB persistence: timed task, BGSAVE command fork a child process to generate RDB file (binary)

AOF persistence: Stores write commands to log files according to the configuration. Sequential && asynchronous flush (child threads). Overwriting AOF files also requires a fork process

Mixed persistence is supported after Redis4.0. What is the persistence mechanism for business scenarios


The article is explained from the perspective of pure interview, so there are many details that are not foreshadowed.

In view of the feedback of many students did not understand the “online interviewers” series, I did write articles related to the basic knowledge explained, but some students just do not like to read.

In order to make you have a better experience, I have also found the basic articles (important knowledge points I have also sorted out e-books, such as multi-threading, collection, Spring and other interview tests have already been converted to PDF format).

I’m gonna upload these to a disk, so you can download them if you want. You don’t want to fuck for nothing, do you? Likes and retweets are free.

Link: pan.baidu.com/s/1pQTuKBYs… Password: 3 wom

Welcome to follow my wechat official account [Java3y] to talk about Java interview

[Online interviewers] seriesTwo continuous updates a week!

Original is not easy!! Three times!!