From 5f7772d95704c5733fe113f133b120300104e7c4 Mon Sep 17 00:00:00 2001 From: Jun Kurihara Date: Tue, 20 May 2025 22:33:06 +0900 Subject: [PATCH] bench: updated all bench --- bench/README.md | 123 +++++++++++++++------------------ bench/docker-compose.amd64.yml | 9 ++- bench/docker-compose.yml | 1 - bench/sozu-config.toml | 2 +- 4 files changed, 61 insertions(+), 74 deletions(-) diff --git a/bench/README.md b/bench/README.md index a713931..e14bec8 100644 --- a/bench/README.md +++ b/bench/README.md @@ -3,7 +3,7 @@ This test simply measures the performance of several reverse proxy through HTTP/1.1 by the following command using [`rewrk`](https://github.com/lnx-search/rewrk). ```sh: -$ rewrk -c 512 -t 4 -d 15s -h http://localhost:8080 --pct +rewrk -c 512 -t 4 -d 15s -h http://localhost:8080 --pct ``` ## Tests on `linux/arm64/v8` @@ -94,12 +94,12 @@ Benchmarking 512 connections @ http://localhost:8100 for 15 second(s) ## Results on `linux/amd64` -Done at Jul. 24, 2023 +Done at May 20, 2025 ### Environment - `rpxy` commit id: `7c0945a5124418aa9a1024568c1989bb77cf312f` -- Docker Desktop 4.21.1 (114176) +- Docker Desktop 4.41.2 (192736) - ReWrk 0.3.2 and Wrk 0.4.2 - iMac '27 (2020, 10-Core Intel Core i9, 128GB RAM) @@ -107,8 +107,8 @@ The docker images of `nginx` and `caddy` for `linux/amd64` were pulled from the Also, when `Sozu` is configured as an HTTP reverse proxy, it cannot handle HTTP request messages emit from `ReWrk` due to hostname parsing errors though it can correctly handle messages dispatched from `curl` and browsers. So, we additionally test using [`Wrk`](https://github.com/wg/wrk) to examine `Sozu` with the following command. -```sh: -$ wrk -c 512 -t 4 -d 15s http://localhost:8110 +```bash +wrk -c 512 -t 4 -d 15s http://localhost:8110 ```