Concept Flow - Pipeline vs transaction difference
Start Client Commands
Send all commands
Server queues cmds
Receive all replies
Process replies
End
End
Client sends multiple commands either batched (pipeline) or as an atomic block (transaction). Pipeline sends commands fast without atomicity; transaction ensures all commands run together or none.