Repository navigation
Description
Bug report / request for triage
On a macOS host accessing a container's published, certificate/hostname-verified TLS port, a fully consumed large RESP3 GET is followed by a PING taking about 14–16 ms. An 8,000-byte payload is followed by PING in about 0.2–0.3 ms. Payloads 8,191/8,192/8,193, 16,384 and 32,768 bytes reproduce the wait; the exact wire-byte boundary is not established.
The finding reproduces independently with go-redis and raw redis-py connections, without ADBC, SQL, Search, Lua or application request handling. The identical Go source against the unchanged TLS Software endpoint from a Linux client sharing its network namespace has no cliff: approximately 0.017 ms first-PING medians and all first observations below 0.1 ms. Linux redis-py independently has approximately 0.018 ms medians, maximum 0.0445 ms.
This is a request to investigate the observed Desktop host/network combination, not a confirmed Docker regression or a claim that forwarding, Nagle, TLS, the server or a client library has been identified as the cause. OS and route changed together; some client runtime/resources also differ.
Reproduction steps
-
Use an exclusively owned Redis Software TLS endpoint exposed through Docker's host published port. Our tests used Software 8.2.6-25, Redis 8.8.0, Search 80808, one RAM shard and verified active/effective 4× QPF. The standalone program uses only GET/PING; other distributions have not been tested.
-
Build the standalone Go reproducer from its repository Go module:
cd go go build -o /tmp/resp-reply-repro ../benchmarks/point-valid-isolation/repro/main.go -
Supply REDIS_BENCH_URI (rediss:// with RESP3) and SSL_CERT_FILE privately, then run the binary. Do not publish the endpoint/credentials or certificate files.
-
The binary checks every complete GET value and PONG, alternates sizes/routes for eight rounds, and reports every observation. It tests scalar/pipelined following PING, same/separate clients, and both default dedicated pipeline pools and pipeline_pool_size=-1. It performs no caller retries or server setting changes, and deletes only its own expiring synthetic keys.
-
Compare the same source from a Linux client in the server network namespace, retaining trusted TLS and the expected server hostname. Our isolated Linux Go client used 2 CPUs/256 MiB; the separate Linux Python control used 4 CPUs/4 GiB. The server retained 4 CPUs/8 GiB and the VM 18 CPUs throughout the recorded runs.
An independent redis-py reproducer explicitly holds same/different physical connections and performs raw no-retry send/read. It uses REDIS_URI and SSL_CERT_FILE privately and an --out result path. It validated 224 sequences per platform; the standalone Go control validated 448 per platform. These are finite observations, not confidence intervals or SQL speedups.
Expected behavior
After the preceding GET is completely consumed, the following tiny PING should not acquire a repeatable roughly 15 ms step solely when the preceding reply crosses this size region. Guidance on a missing control or an existing issue would also be helpful.
Version information / platform
- macOS 26.7.3, Apple M5 Max, arm64.
- Docker Desktop 4.99.0 (245822), Docker CLI/Engine 29.9.3, server arm64. These Desktop/engine versions were read at filing time; they were not independently recorded for each earlier sequence. No known-good Desktop version/regression range is claimed.
- Go 1.27.3 / go-redis v9.23.0; host Python 3.15.2 / redis-py 8.1.0; Linux Python 3.14.10 with the same redis-py package version.
- Native go-redis defaults use 32 KiB regular and 128 KiB pipeline readers, not an 8 KiB configured client reader. Disabling the dedicated pipeline pool did not remove the host-path wait.
Evidence and limitations
Complete report, raw observations, CSVs and scope. The earlier index-proof sequence observed zero client pool waits and no CPU-quota throttling during that short invocation; this is not per-request server CPU evidence. No threshold-selected SLOWLOG sample established server execution time. No packet trace or isolated OS-versus-forwarding control is yet available. A built-in bridge inventory ID change, with unchanged configuration/no attached containers and creation predating timed reads, is recorded in the linked cleanup audit; no cause is inferred from it.
Diagnostics ID: 72CAF9CF-107B-4572-8D54-62314ED19ECA/20261115055220 (uploaded successfully via docker desktop diagnose --upload on 2026-11-15 at approximately 05:52 UTC). This captures the current Desktop state after the benchmark fixture was removed; it is not a diagnostic capture during reproduction. The public repro/evidence excludes endpoints, infrastructure identifiers, credentials, certificate/key material, application data and full diagnostic bundles. The diagnostic bundle was uploaded through Docker’s diagnostic tooling; only its ID is posted here. Please advise which focused control would best localize this.
Activity