4 ms·
Is the interleaving of redis and db transactions atomic?
by Orou 5y ago
Is the interleaving of redis and db transactions atomic?
- lf-non 5y agoNot 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.