Do you mean redis data is synchronized with mysql? This depends on the specific situation. Some data may need to be synchronized. Some data is not very important and can be placed in redis first, such as page views. Clicks. Often it is not particularly important and can be synchronized to the database and saved every night.
Do you mean redis data is synchronized with mysql? This depends on the specific situation. Some data may need to be synchronized. Some data is not very important and can be placed in redis first, such as page views. Clicks. Often it is not particularly important and can be synchronized to the database and saved every night.
In fact, redis itself also has reliable persistence function
As long as you make a backup, it is not a problem if it is not synchronized to mysql