What does the
MULTI command do in Redis?- aImmediately runs several commands in parallel on separate worker threads and returns their combined replies
- bMarks the start of a transaction block; subsequent commands are queued instead of executed✓
- cOpens a new connection so multiple clients can share one transaction
- dDuplicates the current database into a second logical database
Explanation:
MULTI starts a transaction block. Every command issued after it (until EXEC or DISCARD) is queued on the connection rather than run immediately.