השיעור הזה זמין כרגע באנגלית.
Several commands, one step
Every single Redis command is atomic. But real jobs often need two or three of them: take points from one player and give them to another. A transaction queues commands and runs them back to back, and a Lua script lets Redis decide things between the commands.