top | item 29619333

(no title)

Orou | 4 years ago

Is the interleaving of redis and db transactions atomic?

discuss

order

lf-non|4 years 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.