Concept Flow - Atomic operations with Lua
Start Lua script
Execute commands inside script
Commands run atomically
Return result
End script execution
Lua scripts in Redis run all commands inside them as one atomic operation, so no other commands run in between.