Hacker News new | ask | show | jobs
by Orou 1644 days ago
Is the interleaving of redis and db transactions atomic?
1 comments

Not technically, but you are guaranteed that if the db transaction fails, we don't end up with invalid data in redis.

The other side is not true though, but that will just cause a cache miss if the keys are timestamped.