Redis transactions

A Redis transaction queues commands with MULTI and executes them together when EXEC is issued. Redis executes the queued commands without interleaving commands from other clients, but this is not the same as a relational database transaction with rollback on every command failure.

Learn this concept

Lesson 1.21 · Redis atomicity, transactions, Lua and failure handling

Used in exercises

Exercise 1.22 · Redis fixed-window limiter that fails open Exercise 1.29 · Optional: Token bucket in Redis with Lua and EVALSHA