lets say you have some ordered set of articles. each article entered the set on time of creation.
now for some reason the server crashed before redis persist the data and a new article was added and lost on redis.
so now the article never appear on the articles lists
how will you handle it?
or same scenario like a counter of unread mails, and server crashes before persist of last change and the counter now is wrong. so like user read all mails but the counter still show 1 unread mail.
how do you handle such scenario with redis? because of this reason I never used redis to more than caching.
I know about the option of always persist but then I lose the speed of redis
fsync every time a new command is appended to the AOF. Very very slow, very safe.