redis transaction summary

 In redis, for the command of a problem, if you have an error in time into the team, commands within the entire transaction will not be executed (its subsequent commands can still be the team), if the wrong command in the team and when there is no error, but in the implementation of mistake, then redis default skip this command executes subsequent commands. In other words, Redis achieved only part of the transaction .

Summary redis affairs three properties:

1. Isolation separate actions: all the commands in the transactions are serialized, performed sequentially, in the course of execution is not interrupted command sent by other client
2. no concept of isolation levels: command queue is not actually executed until the transaction has not been submitted
3. does not guarantee atomicity: a transaction in redis if there is a command fails, the other commands will still be executed, there is no rollback mechanism

Guess you like

Origin www.cnblogs.com/zhaolei1996/p/12160883.html