Chapter 13: Feature Goals — What We're Optimizing and Why

The Business Problem

Customers buy hardware to support N subscribers. If our software uses more CPU per session, customers need more hardware = more cost. The feature must NOT increase CPU usage — ideally it DECREASES it.

Success Criteria (from architect sync)

What's Being Optimized

ChangeExpected BenefitRisk
DP: db-proxy → db-mux2.5× less CPU for DB operationsHigher per-command latency
DP: individual SETs → MSETLess Redis parsing, fewer callbacksHash slot constraints in cluster
PEP: db-proxy → db-muxCPU savingsPossible throughput regression
Signaling: TCP/TLS corkFewer TCP segments on HTTP/2 pathComplexity, marginal gain

What's NOT Being Done