What method offers to guarantee data durability in Redis?

I checked Redis, and I'm curious how the database (which stores all the data in volatile memory) ensures data longevity in the event of a system crash.

+3
source share
3 answers

Look at the various persistence options in redis and how they guarantee what level of strength

+3
source

From what I understand, Redis writes the database to disk from time to time, so it does not provide 100% recovery after a design failure

+1
source

, node .

, node, node, . , .

You also have the option of saving it very often or in the form of a log, and the disk storage model in the next version offers several more options, but any system that must write to disk before the command is considered successful will be a lot slower than the one which is allowed to save changes in memory until the background storage system catches.

0
source

Source: https://habr.com/ru/post/1791823/


All Articles