Pipelining sends a sequence of Redis commands in one write and reads all the replies afterwards, cutting round trips. The capture shows a TCP segment containing many RESP commands back to back and a response segment with the matching replies in order. Bulk writes by applications and bulk reads by attackers on an exposed instance both look like this.
Redis pipelining: many commands sent without waiting for replies, then the batch of responses, as seen in the RESP protocol.
Redis Pipeline (Batch Commands)
Redis pipelining: multiple commands sent in a single request batch including SET, MGET, INCR, GET, EXPIRE, TTL, and DEL operations. Shows how pipelined commands reduce round-trip overhead compared to individual command-response pairs.
1531.5 KB12