Redis Transaction Visualizer

See how `MULTI`, `EXEC`, `WATCH`, and `DISCARD` work behind the scenes.

Redis Client CLI

Welcome! Try an example or type commands below.
>
Start a transaction (MULTI) and
queue a command to enable.
Supported: MULTI, EXEC, DISCARD, WATCH, UNWATCH, SET, GET, INCR, DECR, PING, SADD, LPUSH, LPOP, RPOP, SPOP, RESET.

Example Scenarios

Redis Server State

Client Flags

CLIENT_MULTI
CLIENT_MULTI (1<<3):
This client is in a MULTI context.
CLIENT_DIRTY_CAS
CLIENT_DIRTY_CAS (1<<5):
Watched keys modified. EXEC will fail.
CLIENT_DIRTY_EXEC
CLIENT_DIRTY_EXEC (1<<12):
EXEC will fail for errors while queueing commands.
CLIENT_DENY_BLOCKING
CLIENT_DENY_BLOCKING (1ULL<<41):
Client should not be blocked (e.g., during EXEC).

Transaction State

INACTIVE

Command Queue

Queue is empty

Watched Keys

Not watching any keys

In-Memory Data

No data yet
0 ms
A watched key was modified!

Export Transaction Script