Skip to content

Commit 69fc6e8

Browse files
committed
Acknowledge rising coefficient across core counts in table footnote
Add an explanatory note clarifying that the coefficient rising with core count is not inconsistent with the linear scaling claim. Points to the ceiling table as the cleaner test of linearity, and honestly flags that the connection-count sweep conflates connections and throughput — a separate rate sweep at fixed connection count is needed to cleanly decompose the two effects. Preliminary analysis suggests per-byte cost is stable and the baseline Netty thread overhead is the driver. Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Sam Barker <sam@quadrocket.co.uk>
1 parent 0c28903 commit 69fc6e8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

_posts/2026-06-03-benchmarking-the-proxy-under-the-hood.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ The full picture — coefficient measured across all three core counts and three
188188

189189
*† 4-core 1-topic: at high producer counts, the Kafka partition limit caps single-partition throughput before the proxy saturates — the high stdev (±18.6) reflects this. Use the 10-topic or 100-topic rows for sizing.*
190190

191+
*The coefficient rises with core count, which might seem at odds with the linear scaling claim. The ceiling table above — 4-core sustaining double the throughput of 1-core — is the cleaner test of linearity. The coefficient is measured from a connection-count sweep where each data point adds both more connections and more throughput simultaneously; decomposing those two effects requires a separate rate sweep at fixed connection count, which we have not yet run. Preliminary analysis suggests the per-byte encryption cost is roughly stable across core counts, and the rising coefficient reflects a per-thread baseline overhead that scales with the number of Netty event loop threads.*
192+
191193
Setting `requests` equal to `limits` makes this practical: a pod that can burst above its CPU limit introduces headroom uncertainty that breaks the model. Fix the CPU budget; fix the ceiling.
192194

193195
## The flamegraph: where the CPU actually goes

0 commit comments

Comments
 (0)