HttpArena
Frameworks

paozhu

Experimental · C++ · standard configuration · completeness 4/4

Paozhu C++20 web framework on standalone Asio, built from the upstream mini_project.sh clean scaffold. Annotated controller routes answer /baseline11, /baseline2, /pipeline, /json/{count}?m={multiplier}, /static/{filename}, /delay/{ms}, /async-db?min=&max=&limit= and /fortunes; the dataset is parsed once at startup and serialized per request, static files are read from /data/static with bodies cached in-process via pzcache (revalidated by a per-request stat of mtime+size), and the DB routes use paozhu's own async Postgres driver. Two server instances share the image: plaintext HTTP/1.1 on :8080 and ALPN h2 on :8443, plus a second instance whose TLS listener on :8081 advertises only http/1.1 for json-tls and whose cleartext :8082 listener serves h2c prior-knowledge for json-h2c.

Composite rank

Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
HTTP/1.125 of 292641
HTTP/215 of 1574

Every result

Alpha Round, 16 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0962,166,8761.90ms4.04ms6653.1%142MiB
ConnectionPipelined4,0963,087,49321.27ms33.60ms6632.4%131MiB
ConnectionShort-lived4,096437,3209.31ms94.00ms3160.1%72MiB
ConcurrencyAsync Delay32,0001,363,16621.48ms31.90ms5777.9%602MiB
EfficiencyLatency-10K1,0249,98180.2us105.0us46.2%67MiB
EfficiencyLatency-1M1,024997,557159.7us504.0us4637.2%81MiB
EfficiencyLatency-500K/81,024341,0633171722.5us6621184.0us806.2%72MiB
WorkloadJSON TLS4,096204,97522.37ms357.64ms797.2%449MiB
DatabaseAsync DB1,02490,57810.86ms54.70ms2572.2%86MiB
DatabaseFortunes1,02449,68519.63ms96.30ms2963.0%87MiB
HTTP/2Baseline256177,645140.87ms1.98s2678.4%622MiB
HTTP/2Baseline1,024164,777515.30ms4.97s2634.7%2.1GiB
HTTP/2Static25658,246137.58ms2.48s2083.6%1.7GiB
HTTP/2Static1,02456,193521.81ms4.96s2176.9%5.8GiB
HTTP/2JSON (h2c)1,024137,265225.70ms3.67s853.9%1.5GiB
HTTP/2JSON (h2c)4,09684,5931.31s4.98s724.3%5.0GiB

Compared with

The C++ entries around paozhu on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs paozhu
aegon7228+174%head to head
cutelyst4219+60%head to head
userver3025+15%head to head
proxygen1225-54%head to head
proxygen-coro1072-59%head to head

Compare paozhu with any C++ entry · Compare paozhu with any entry, in any language · Every C++ entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry