A transaction in a relational database is a group of operations performed as an atomic action within a it. This means the group of operations must either complete or fail as a whole. However, the concept of transactions in Redis is a different story. In this recipe, we'll take a look at Redis transactions, and find out the differences in transactions between Redis and RDBMS.
Understanding Redis transactions
Getting ready…
You need to finish the installation of the Redis Server as we described in the Downloading and installing Redis recipe in Chapter 1, Getting Started with Redis.