Hacker News new | ask | show | jobs
by lf-non 1645 days ago
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.