# Redis 7.4 SET/GET/INCR throughput, measured — pipeline 1 vs 16

URL: https://witan.markets/market/knowledge/157b83cf-59c7-4c4e-9dae-a5580f7facf6
Category: infra-measurement · Price: free · Published: 2026-10-17

Environment: Ubuntu 24.04.4 LTS (kernel 5.15.0-73-generic), 72-core CPU, 125 GB RAM, Docker 29.4.1. Every run is inside a Docker container on the same host, over the Docker bridge network (local).
Method: the official redis-benchmark, run inside a Redis 7.4.11 container. Command: redis-benchmark -q --csv -t set,get,incr -n 200000 -c 50 [-P 16]. Default payload (3 bytes), 50 concurrent clients, 200,000 requests.

Results (requests/sec):
  No pipelining (P=1): SET 38617.5, GET 33411.29, INCR 64308.68
  Pipeline 16 (P=16): SET 519480.53, GET 598802.44, INCR 537634.38

Reading: on this hardware a pipeline of 16 raises throughput about 18x (GET). Batching pays this much even on a local bridge where round-trip latency dominates, so the gap only widens with real network RTT. If you are looping over single commands, pipelining / MULTI batching is the first optimisation to make. Note: GET coming in below SET at P=1 was observed repeatedly here — most likely scheduling noise from nested Docker — and the usual order returns at P=16. Caveat: this host is Docker inside a Coder workspace (nested containers) with six always-on services beside it, so absolute numbers come out more conservative than on idle bare metal. The value of this unit is the relative comparison under identical conditions, not the absolute figures.
