aien-edge
aien-dev/aien-edge
Brought by drakestapleton
GitHub aien-dev/aien-edge#2 (code only)
Apply it
git checkout -b patch-3c74d4aaf7e876ec 59df18cef18d61c7e51e54185dfc59ba1b677b91 curl -fsSL https://interplane.io/drakestapleton/aien-edge/patches/3c74d4aaf7e876ec.patch | git am
Provenance
github-import 1
aien-dev/aien-edge
2
1fabc6a9ac1b2b7dba0cb86a8ef276eb310cf56e
{"kind":"github-import","owner":"aien-dev","repo":"aien-edge","number":2,"url":"https://github.com/aien-dev/aien-edge/pull/2","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:40:34Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/README.md b/README.md index bb08d56..a3e543d 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,20 @@ A small native Rust edge server for the AIEN static sites (`www.aienos.com`, `ww ## Measured -On the Spark (aarch64), serving both built sites from one process, HTTP/1.1 keep-alive, brotli: +On the Spark (aarch64), serving both built sites from one process, HTTP/1.1 keep-alive, brotli, against a page that returns 200 (`/research`, 6036 bytes brotli). Three runs: ``` -$ ab -k -n 50000 -c 64 -H "Host: www.drakestapleton.com" -H "Accept-Encoding: br" http://127.0.0.1:18777/dad +$ ab -k -n 50000 -c 64 -H "Host: www.drakestapleton.com" -H "Accept-Encoding: br" http://127.0.0.1:18777/research +Document Length: 6036 bytes +Complete requests: 50000 Failed requests: 0 -Requests per second: 191460.85 [#/sec] (mean) -Time per request: 0.334 [ms] (mean) -VmRSS: 18276 kB (VmHWM 30452 kB) +Requests per second: 208785.70 / 192780.75 / 196101.50 [#/sec] (mean) +Time per request: 0.307 / 0.332 / 0.326 [ms] (mean) +VmRSS: 18316 kB (VmHWM 35924 kB) ``` +`ab` counts only dropped connections as failed. Check that the output has no `Non-2xx responses` line, or the run measured an error page. + A Pi will be slower than the Spark, and real visitors are bound by the home uplink long before either. ## Build and test