Pipeline vs. MULTI

Difficulty: Advanced

Question

How does Pipelining differ from a MULTI transaction?

Answer

Pipelining only optimizes network RTT; it's NOT atomic. MULTI ensures all commands run together without interruption.

Concepts covered

Atomicity, Networking, Batches