audit(performance): Reality check for high volume, highly concurrent proxy use
Status
Rebranding is complete. Rewrite measurement scenarios against current public owners rather than copying historical performance-spec documents.
Problem
Public release capacity is not established by source audits or component tests.
Proposed slice
Measure a settled release candidate with a minimum measurement target of thousands of concurrent connections per server and an ambitious goal of tens of thousands. These are goals, not achieved capacity claims. Record feature profile, hardware, transport topology and exact public build identity. Diagnose and fix demonstrated blockers only; historical optimization proposals are hypotheses, not a mandatory implementation inventory.
Public OSS measurement checklist
This checklist replaces reliance on unavailable historical measurement documents; each scenario needs reproducible inputs and recorded results, or an explicit not-measured/not-proved disposition.
- HOLD: idle/slow long-lived streams, increasing 1k/5k/10k and beyond where feasible; measure fixed stream/socket costs and timeout behavior, including healthy 10–30 minute streams.
- DELTA: active low/high event-rate streaming, separating built-ins from negotiated executable connectors; measure forwarding delay, bounded buffers, scheduling and per-stream resource cost.
- START: simultaneous connection-open bursts with small through maximum-sized prompts; measure pre-first-output allocations, clones, startup work and pool waits.
- BODY: bounded ingress/materialization/decode admission, large/chunked bodies and supported compressed high-expansion inputs; verify overload and decompressed-size limits without requiring new compression support.
- OUTPUT: progressively longer responses on still-open streams; measure live-heap slope versus bytes already forwarded, for successful and cancelled paths, plus slow-downstream backpressure.
- COMPLETE: bursts of short-stream completion; measure nonfinancial terminal processing, session finalization, latency and resource return separately from active-stream capacity.
- RETRY: pre-output failures with one versus multiple attempts, including large prompts; measure repeated allocation, cleanup and lineage, and verify no transparent retry after visible output.
- OBSERVE: compare observation disabled, metadata-only and supported payload/redaction modes; measure CPU, allocation and sink backpressure without leaking captured content.
- AUTHZ: authentication/session-start sink behavior and technical admission contention; measure independent-request serialization and authorization-path latency.
- B2BUA: memory/durable session-continuity profiles, activity/expiry and sequence work; measure contention, query amplification and supported observation modes independently.
- DISCONNECT: cancel during launch/open and active streaming, one versus many sibling legs, deadline/forced-close behavior and actual process/resource cleanup.
- SOAK: sustained load with slow/stalled peers and reload while old generations remain pinned; record stable heap, goroutine, handle and queue trends after warm-up and teardown return-to-baseline.
Acceptance criteria
Executed evidence reports concurrency, throughput, forwarding latency, errors, heap/RSS, goroutines, handles, backpressure and resource return after teardown. Distinguish steady streams from completion bursts. State supported capacity and remaining limits honestly; refresh only scenarios affected by later runtime changes before acceptance under #737.
Open questions
Which initial release feature/hardware profile, scenario durations and evidence-based numeric budgets should be accepted against these concurrency goals? No numeric capacity certificate exists merely because the code builds.
Deferred / out of scope
Speculative optimization campaigns and new blanket ratchets. Commercial/Enterprise extensions are out of scope here.
Migrated from the pre-split tracker.