Available on crate feature
high-perf only.Expand description
High-performance async-first HTTP/1 server primitives.
Structs§
- Perf
Limits - Runtime limits for the high-performance server mode.
Functions§
- start_
high_ perf - Starts an async-first accept loop with adaptive backpressure.
- start_
high_ perf_ multi_ thread high-perf-multi-thread - Synchronous entry point that builds a multi-threaded Tokio runtime
and runs
start_high_perfon it. Use this on multi-core hosts whenstart_high_perfcalled from acurrent_threadruntime is leaving cores idle — bombardier load tests showed syncServer::startoutperforming the async path 3× under 256-connection keep-alive purely because the async path was funneling all connections through one OS thread.