Which command pipeline reduces round-trip latency for 100 independent SET operations?
- A Sending them individually and awaiting each reply
- B Pipelining all 100 commands and reading replies together (correct answer)
- C Using MULTI without EXEC
- D Using KEYS first
Shortcut: Pipelining writes all commands to the socket before reading replies, collapsing 100 round trips into roughly one. MULTI adds transactional semantics but not the latency benefit by itself.