From 4ebd1cd9108b135c1216bc6ae17832b77dcacaf3 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Sat, 26 Sep 2026 07:42:00 +0100 Subject: Compare the HTTP host with drogon and by CPU time A drogon 1.9 service with the axum baseline's contract joins the benchmark (memory, fdatasync and crash-safe modes, three IO threads), built from Debian's packages unpacked under .deps without installing them. drogon listens once per event loop, so the service picks a free port itself: with port 0 every loop got a port of its own and the load reached one. The load generator has one core and saturates near 150k answers a second, so the harness now also reports answers per second of server CPU time (all threads). Over three rotated rounds: small GETs 151.6k/s on three shards (drogon 145.3k, axum 120.9k) and 128k per CPU-second on one thread (drogon 65k, axum 62k); 1 MiB GETs 2,794/s (axum 1,372, drogon 708); crash-safe PUTs 5.1-5.8 times axum and 13-30 times drogon; peak RSS 5.0 MiB against 14.4 and 76.5 MiB. --workloads is now a regular expression. --- research/experiments/011-http-frameworks/README.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 research/experiments/011-http-frameworks/README.md (limited to 'research/experiments/011-http-frameworks/README.md') diff --git a/research/experiments/011-http-frameworks/README.md b/research/experiments/011-http-frameworks/README.md new file mode 100644 index 0000000..2b21595 --- /dev/null +++ b/research/experiments/011-http-frameworks/README.md @@ -0,0 +1,7 @@ +# 011 — HTTP 프레임워크 비교 원시 결과 + +[docs/research/075](../../../docs/research/075-http-host-against-axum.md)의 5단계 표의 원시 값이다. +`benchmarks/http/run.py --rounds 3 --seconds 3`(서버 순서를 라운드마다 회전)으로 Pure `156e1ad`, +axum 0.8.9, drogon 1.9.0을 같은 Raspberry Pi 5(서버 CPU 0–2, 부하 CPU 3, 저장소 ext4 SD)에서 쟀다. +한 줄이 (서버, 작업, 라운드) 하나이며 `ok_per_cpu_second`는 서버 CPU 시간(모든 스레드, user+system) +1초당 성공 응답 수다. -- cgit v1.2.3