Today’s summary

Redis persistence mechanism: RDB and AOF

RDB persistence: the BGSAVE command fork a subprocess to generate an RDB file (binary)

AOF persistence: write commands are stored to log files according to configuration, sequential writes && asynchronous flusher (subthread), overwriting AOF files also requires fork subprocess

Mixed persistence is supported after Redis4.0. What persistence mechanism is used to view business scenarios

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


The Line interviewer seriesTwo updates a week!

Original is not easy!! Three company!!