diff --git a/frameworks/morojs/README.md b/frameworks/morojs/README.md index 7373ae425f..a7e5789a63 100644 --- a/frameworks/morojs/README.md +++ b/frameworks/morojs/README.md @@ -67,8 +67,10 @@ MoroJS on its native HTTP engine, clustered by the framework itself. (TLS 1.3, ALPN `http/1.1`), when `/certs/server.crt` and `/certs/server.key` are mounted. Moro locks one configuration per process, so that listener is a second process running the same file with `MORO_ROLE=tls`, clustered the same way; it is not started when the certificates are absent. The - engine terminates TLS on its own OpenSSL BIOs (1.1.17): one copy in, ciphertext appended straight - into the buffer it sends from, and a body over 8 KiB encrypted from the caller's bytes rather than + engine terminates TLS with the BoringSSL it bundles (`@morojs/engine` 1.1.20; kept current by a + scheduled engine release for every upstream snapshot) on its own BIOs (1.1.17): one copy in, + ciphertext appended straight into the buffer it sends from, and a body over 8 KiB encrypted + from the caller's bytes rather than copied behind the head first. Measured at one worker on these three request mixes, CPU per request fell by a fifth on the static files, a seventh on the JSON bodies and a sixth on the 100 KB echo. - `tls_check` is opted into: a third process of the same file (`MORO_ROLE=tlscheck`) listens on @@ -76,16 +78,15 @@ MoroJS on its native HTTP engine, clustered by the framework itself. validated and swapped onto the running listener without a restart and without touching connections already established. Only started when `/certs-tls` is mounted, which validate.sh alone does. -- `baseline-h2`, `static-h2`, `baseline-h2c` and `json-h2c` run on Moro's HTTP/2 server, which is - Node's http2 module behind the framework's own request and response objects (`engine: 'node'` - with `http2: true`); the native engine speaks HTTP/1.1 only. `:8443` terminates TLS with ALPN - `h2` (HTTP/1.1 still accepted), `:8082` is cleartext prior-knowledge HTTP/2. Each is its own - process for the same one-configuration-per-process reason, clustered as node:cluster processes, - which is Moro's transport for its Node servers. +- `baseline-h2`, `static-h2`, `baseline-h2c` and `json-h2c` run on the native engine's own HTTP/2 + (`http2: true`; RFC 9113 and HPACK implemented in the engine, `@morojs/engine` 1.1.19), behind + the same request and response objects, routes and middleware as HTTP/1.1. `:8443` terminates TLS + with ALPN `h2` (HTTP/1.1 still accepted), `:8082` is cleartext prior-knowledge HTTP/2 with + HTTP/1.1 beside it. Each is its own process for the same one-configuration-per-process reason, + clustered on worker threads like the other listeners. - `/echo` sends back `req.rawBody`, the request body as it arrived, `Content-Length` or chunked - alike. The engine collects the body where its reads land and hands that storage to JavaScript - without a copy (`@morojs/engine` 1.1.18); `req.rawBody` is a Buffer view of it. A Buffer handed - to `res.send()` goes out `application/octet-stream` through the framework's prepared reply. + alike, in the framework's default body handling. A Buffer handed to `res.send()` goes out + `application/octet-stream` through the framework's prepared reply. - `/ws` is the engine's own RFC 6455 support through `app.websocket()` with `{ raw: true }`, so a text frame reaches the handler as the string it carried and `socket.send()` returns it as one. The engine corks the connection for the duration of each read (`@morojs/engine` 1.1.14), so diff --git a/frameworks/morojs/app.mjs b/frameworks/morojs/app.mjs index 9b2ee92905..219fe449e1 100644 --- a/frameworks/morojs/app.mjs +++ b/frameworks/morojs/app.mjs @@ -28,12 +28,11 @@ const CERTS_DIR = process.env.CERTS_DIR || '/certs'; // process. 'plain' serves :8080; 'tls' serves json-tls, static-tls and 8gbit // on :8081 from /certs; 'tlscheck' serves the opt-in TLS hardening section on // :9000 from /certs-tls, reloading the pair whenever the files change. The -// two HTTP/2 listeners run on Moro's own HTTP/2 server (Node's http2 module, -// `engine: 'node'` with `http2: true`): the native engine speaks HTTP/1.1 -// only. 'h2' is TLS with ALPN h2 on :8443 for baseline-h2 and static-h2; +// two HTTP/2 listeners are the native engine's too (`http2: true`, engine +// 1.1.19): 'h2' is TLS with ALPN h2 on :8443 for baseline-h2 and static-h2; // 'h2c' is cleartext prior-knowledge HTTP/2 on :8082 for baseline-h2c and -// json-h2c. Both cluster as node:cluster processes, Moro's transport for the -// Node servers. +// json-h2c. HTTP/1.1 is served beside HTTP/2 on both ports, and they cluster +// as every other listener here does, on worker threads. const ROLE = process.env.MORO_ROLE || 'plain'; const LISTENERS = { plain: { port: 8080 }, @@ -192,14 +191,10 @@ function defineRoutes(app) { app.post('/baseline11').handler(baseline11); // Behind the gateway proxies, which terminate TLS and h2 and forward this - // over loopback h1, and directly on the HTTP/2 listeners. On the native - // engine a bare number sent as a string is text/plain through the - // framework's prepared reply; on the HTTP/2 server the type is set by - // hand so it is text/plain there too, whatever a content sniff would make - // of it. - const textPlain = listener.http2 === true; + // over loopback h1, and directly on the HTTP/2 listeners. A bare number + // sent as a string is text/plain through the framework's prepared reply, + // on a stream as on an HTTP/1.1 connection. app.get('/baseline2').handler((req, res) => { - if (textPlain) res.setHeader('Content-Type', 'text/plain'); res.send(String(sumQuery(req.query))); }); @@ -255,9 +250,9 @@ function defineRoutes(app) { } // 8gbit: the body exactly as it arrived, Content-Length or chunked, sent - // back as the same bytes. req.rawBody is the framework's undecoded copy, - // and a Buffer sent as is goes out application/octet-stream through the - // framework's prepared reply. + // back as the same bytes. req.rawBody is the body undecoded, a Buffer of + // its own. A Buffer sent as is goes out application/octet-stream through + // the framework's prepared reply. app.post('/echo').handler((req, res) => { res.send(req.rawBody ?? Buffer.alloc(0)); }); @@ -442,7 +437,6 @@ if (listener.certs) { server.ssl = { ...pairIn(listener.certs), ...(listener.watch ? { watch: true } : {}) }; } if (listener.http2) { - server.engine = 'node'; server.http2 = true; } diff --git a/frameworks/morojs/meta.json b/frameworks/morojs/meta.json index 52f0748b04..38c50f8e70 100644 --- a/frameworks/morojs/meta.json +++ b/frameworks/morojs/meta.json @@ -10,7 +10,7 @@ "response": true }, "engine": "@morojs/engine", - "description": "MoroJS 1.8 on its native HTTP engine (@morojs/engine), default configuration, clustered by the framework itself with one worker thread per core sharing the port through SO_REUSEPORT. Routing, path and query parameters and body parsing through the Moro request, JSON through res.json, compression (brotli quality 3 or gzip level 3 as the client accepts, one reused encoder per setting per worker, handed to the engine's own response path by the route middleware), static files from the built-in middleware's in-memory cache and the cache-aside through the built-in cache adapters, WebSockets through the engine's own RFC 6455 support, upgrades included, HTTP/2 through Moro's HTTP/2 server on Node's http2 module.", + "description": "MoroJS 1.8 on its native HTTP engine (@morojs/engine), clustered by the framework itself with one worker thread per core sharing the port through SO_REUSEPORT. Routing, path and query parameters and body parsing through the Moro request, JSON through res.json, compression (brotli quality 3 or gzip level 3 as the client accepts, one reused encoder per setting per worker, handed to the engine's own response path by the route middleware), static files from the built-in middleware's in-memory cache and the cache-aside through the built-in cache adapters, WebSockets through the engine's own RFC 6455 support, upgrades included, HTTP/2 through the engine's own implementation (ALPN h2 on TLS, prior knowledge on cleartext), TLS through the BoringSSL bundled with the engine.", "repo": "https://github.com/Moro-JS/moro", "enabled": true, "tls_check": true, diff --git a/frameworks/morojs/package.json b/frameworks/morojs/package.json index 719192c433..a158e2a90d 100644 --- a/frameworks/morojs/package.json +++ b/frameworks/morojs/package.json @@ -2,7 +2,7 @@ "name": "httparena-morojs", "private": true, "dependencies": { - "@morojs/moro": "^1.8.22", + "@morojs/moro": "^1.8.24", "ejs": "^3.1.10", "pg": "^8.16.3", "redis": "^5.0.0" diff --git a/site/data/frameworks.json b/site/data/frameworks.json index 263dcc81ba..e22e0d909f 100644 --- a/site/data/frameworks.json +++ b/site/data/frameworks.json @@ -1616,7 +1616,7 @@ }, "morojs": { "dir": "morojs", - "description": "MoroJS 1.8 on its native HTTP engine (@morojs/engine), default configuration, clustered by the framework itself with one worker thread per core sharing the port through SO_REUSEPORT. Routing, path and query parameters and body parsing through the Moro request, JSON through res.json, compression (brotli quality 3 or gzip level 3 as the client accepts, one reused encoder per setting per worker, handed to the engine's own response path by the route middleware), static files from the built-in middleware's in-memory cache and the cache-aside through the built-in cache adapters, WebSockets through the engine's own RFC 6455 support, upgrades included, HTTP/2 through Moro's HTTP/2 server on Node's http2 module.", + "description": "MoroJS 1.8 on its native HTTP engine (@morojs/engine), clustered by the framework itself with one worker thread per core sharing the port through SO_REUSEPORT. Routing, path and query parameters and body parsing through the Moro request, JSON through res.json, compression (brotli quality 3 or gzip level 3 as the client accepts, one reused encoder per setting per worker, handed to the engine's own response path by the route middleware), static files from the built-in middleware's in-memory cache and the cache-aside through the built-in cache adapters, WebSockets through the engine's own RFC 6455 support, upgrades included, HTTP/2 through the engine's own implementation (ALPN h2 on TLS, prior knowledge on cleartext), TLS through the BoringSSL bundled with the engine.", "repo": "https://github.com/Moro-JS/moro", "type": "emerging", "engine": "@morojs/engine", @@ -2748,14 +2748,6 @@ "type": "engine", "engine": "veb" }, - "veil": { - "dir": "veil", - "description": "veil 0.10 reverse proxy from its published container image (full-container build: epoll readiness reactor, no tokio), one process with four listeners. A Proxy-Wasm module loaded into veil answers /baseline11 (including the POST body), /baseline2, /pipeline and /json/{count}, serializing the JSON body per request from the dataset veil loads at startup; /static/* is veil's File backend (sendfile, on-the-fly compression on every protocol, caches that follow the disk). TLS via rustls: HTTP/1.1 on :8081, h2 and h3 (quiche) on :8443, h2c on :8082.", - "repo": "https://github.com/aofusa/veil-proxy", - "type": "infrastructure", - "engine": "veil", - "website": "https://github.com/aofusa/veil-proxy" - }, "veil-api": { "dir": "veil-api", "description": "veil 0.10 API library (crates.io veil-proxy, full-container: epoll readiness reactor, no tokio or hyper). #[veil::route] handlers with path/query extraction, serde_json responses, compression through [api] compression, WebSocket through WebSocketUpgrade, gRPC services generated by veil-build (prost), /static/* through App::serve_dir. One process with four listeners from the configuration file; HTTP/3 via quiche.", @@ -2783,6 +2775,14 @@ "middleware": false } }, + "veil": { + "dir": "veil", + "description": "veil 0.10 reverse proxy from its published container image (full-container build: epoll readiness reactor, no tokio), one process with four listeners. A Proxy-Wasm module loaded into veil answers /baseline11 (including the POST body), /baseline2, /pipeline and /json/{count}, serializing the JSON body per request from the dataset veil loads at startup; /static/* is veil's File backend (sendfile, on-the-fly compression on every protocol, caches that follow the disk). TLS via rustls: HTTP/1.1 on :8081, h2 and h3 (quiche) on :8443, h2c on :8082.", + "repo": "https://github.com/aofusa/veil-proxy", + "type": "infrastructure", + "engine": "veil", + "website": "https://github.com/aofusa/veil-proxy" + }, "velocity": { "dir": "velocity", "description": "Velocity, a lightweight Express.js alternative on node:http with the cluster module for multi-core scaling.", diff --git a/site/data/results/morojs.json b/site/data/results/morojs.json index 18f769e91e..3e7dad0dd0 100644 --- a/site/data/results/morojs.json +++ b/site/data/results/morojs.json @@ -4,44 +4,44 @@ "8gbit-512": { "framework": "morojs", "language": "JS", - "rps": 49316, - "avg_latency": "111.9us", - "p99_latency": "139.0us", - "cpu": "284.3%", - "memory": "9.3GiB", + "rps": 49399, + "avg_latency": "94.8us", + "p99_latency": "124.0us", + "cpu": "242.5%", + "memory": "8.5GiB", "connections": 512, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "510.86MB/s", - "input_bw": "481.60MB/s", + "bandwidth": "511.73MB/s", + "input_bw": "482.41MB/s", "reconnects": 0, - "status_2xx": 246647, + "status_2xx": 247065, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "cpu_usec": 15772871, - "cpu_per_req_us": 63.9492, + "cpu_usec": 13326133, + "cpu_per_req_us": 53.9378, "target_rate": 50000, - "rate_ratio": 0.9863, - "p99_9_latency": "9724.0us" + "rate_ratio": 0.988, + "p99_9_latency": "5082.0us" }, "async-32000": { "framework": "morojs", "language": "JS", - "rps": 2296906, - "avg_latency": "13.82ms", - "p99_latency": "20.50ms", - "cpu": "5992.9%", - "memory": "9.9GiB", + "rps": 2454348, + "avg_latency": "12.94ms", + "p99_latency": "17.30ms", + "cpu": "5948.5%", + "memory": "8.7GiB", "connections": 32000, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "258.43MB/s", - "input_bw": "105.14MB/s", + "bandwidth": "276.14MB/s", + "input_bw": "112.35MB/s", "reconnects": 0, - "status_2xx": 22969065, + "status_2xx": 24543489, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -49,19 +49,19 @@ "async-db-1024": { "framework": "morojs", "language": "JS", - "rps": 211850, - "avg_latency": "4.22ms", - "p99_latency": "37.60ms", - "cpu": "5644.8%", - "memory": "9.0GiB", + "rps": 205912, + "avg_latency": "4.46ms", + "p99_latency": "42.30ms", + "cpu": "5459.0%", + "memory": "8.8GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "808.35MB/s", - "input_bw": "14.14MB/s", - "reconnects": 84729, - "status_2xx": 2118500, + "bandwidth": "785.60MB/s", + "input_bw": "13.75MB/s", + "reconnects": 82211, + "status_2xx": 2059129, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -69,19 +69,19 @@ "baseline-4096": { "framework": "morojs", "language": "JS", - "rps": 2406514, - "avg_latency": "1.70ms", - "p99_latency": "3.31ms", - "cpu": "6673.9%", - "memory": "8.5GiB", + "rps": 3012380, + "avg_latency": "1.36ms", + "p99_latency": "2.73ms", + "cpu": "6359.7%", + "memory": "7.8GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "270.75MB/s", - "input_bw": "185.90MB/s", + "bandwidth": "338.89MB/s", + "input_bw": "232.70MB/s", "reconnects": 0, - "status_2xx": 12032573, + "status_2xx": 15061904, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -89,18 +89,18 @@ "baseline-h2-1024": { "framework": "morojs", "language": "JS", - "rps": 732628, - "avg_latency": "121.37ms", - "p99_latency": "242.80ms", - "cpu": "6354.0%", - "memory": "13.8GiB", + "rps": 12981069, + "avg_latency": "3.88ms", + "p99_latency": "88.46ms", + "cpu": "3763.6%", + "memory": "7.8GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "18.42MB/s", + "bandwidth": "1.03GB/s", "reconnects": 0, - "status_2xx": 3707100, + "status_2xx": 65554400, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -108,18 +108,18 @@ "baseline-h2-256": { "framework": "morojs", "language": "JS", - "rps": 800059, - "avg_latency": "31.70ms", - "p99_latency": "128.46ms", - "cpu": "6355.2%", - "memory": "13.1GiB", + "rps": 13223015, + "avg_latency": "1.12ms", + "p99_latency": "9.49ms", + "cpu": "3805.2%", + "memory": "9.1GiB", "connections": 256, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "19.93MB/s", + "bandwidth": "1.04GB/s", "reconnects": 0, - "status_2xx": 4016300, + "status_2xx": 66644000, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -127,18 +127,18 @@ "baseline-h2c-1024": { "framework": "morojs", "language": "JS", - "rps": 829506, - "avg_latency": "120.37ms", - "p99_latency": "1.18s", - "cpu": "6424.3%", - "memory": "13.2GiB", + "rps": 13451873, + "avg_latency": "3.66ms", + "p99_latency": "17.17ms", + "cpu": "3331.8%", + "memory": "7.8GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "20.89MB/s", + "bandwidth": "1.07GB/s", "reconnects": 0, - "status_2xx": 4205600, + "status_2xx": 68201000, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -146,18 +146,18 @@ "baseline-h2c-256": { "framework": "morojs", "language": "JS", - "rps": 861130, - "avg_latency": "29.73ms", - "p99_latency": "183.09ms", - "cpu": "6386.4%", - "memory": "12.8GiB", + "rps": 13733300, + "avg_latency": "993us", + "p99_latency": "6.05ms", + "cpu": "3420.3%", + "memory": "7.8GiB", "connections": 256, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "21.53MB/s", + "bandwidth": "1.08GB/s", "reconnects": 0, - "status_2xx": 4340100, + "status_2xx": 69078500, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -165,18 +165,18 @@ "baseline-h2c-4096": { "framework": "morojs", "language": "JS", - "rps": 831355, - "avg_latency": "234.56ms", - "p99_latency": "3.93s", - "cpu": "6291.6%", - "memory": "13.8GiB", + "rps": 12500978, + "avg_latency": "15.60ms", + "p99_latency": "80.41ms", + "cpu": "3175.9%", + "memory": "8.0GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "21.06MB/s", + "bandwidth": "1023.51MB/s", "reconnects": 0, - "status_2xx": 4231600, + "status_2xx": 63880000, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -184,18 +184,18 @@ "echo-ws-16384": { "framework": "morojs", "language": "JS", - "rps": 3491776, - "avg_latency": "4.66ms", - "p99_latency": "9.02ms", - "cpu": "6448.7%", - "memory": "8.4GiB", + "rps": 3444631, + "avg_latency": "4.72ms", + "p99_latency": "8.76ms", + "cpu": "6123.1%", + "memory": "8.0GiB", "connections": 16384, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "23.71MB/s", + "bandwidth": "23.38MB/s", "reconnects": 0, - "status_2xx": 17458884, + "status_2xx": 17223155, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -203,18 +203,18 @@ "echo-ws-4096": { "framework": "morojs", "language": "JS", - "rps": 3783340, - "avg_latency": "1.08ms", - "p99_latency": "2.25ms", - "cpu": "6568.4%", - "memory": "8.2GiB", + "rps": 3813765, + "avg_latency": "1.07ms", + "p99_latency": "2.20ms", + "cpu": "6316.0%", + "memory": "7.6GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "25.26MB/s", + "bandwidth": "25.45MB/s", "reconnects": 0, - "status_2xx": 18916701, + "status_2xx": 19068826, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -222,18 +222,18 @@ "echo-ws-512": { "framework": "morojs", "language": "JS", - "rps": 3815720, - "avg_latency": "133us", - "p99_latency": "358us", - "cpu": "6381.8%", - "memory": "8.1GiB", + "rps": 3759073, + "avg_latency": "135us", + "p99_latency": "373us", + "cpu": "6372.1%", + "memory": "7.6GiB", "connections": 512, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "25.46MB/s", + "bandwidth": "25.09MB/s", "reconnects": 0, - "status_2xx": 19078603, + "status_2xx": 18795366, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -241,18 +241,18 @@ "echo-ws-limited-4096": { "framework": "morojs", "language": "JS", - "rps": 2452577, - "avg_latency": "1.19ms", - "p99_latency": "4.28ms", - "cpu": "6355.9%", - "memory": "8.8GiB", + "rps": 2429526, + "avg_latency": "1.21ms", + "p99_latency": "4.40ms", + "cpu": "6089.1%", + "memory": "8.5GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "46.54MB/s", - "reconnects": 1226403, - "status_2xx": 12262885, + "bandwidth": "46.10MB/s", + "reconnects": 1214920, + "status_2xx": 12147632, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -260,18 +260,18 @@ "echo-ws-limited-512": { "framework": "morojs", "language": "JS", - "rps": 1965691, - "avg_latency": "168us", - "p99_latency": "623us", - "cpu": "5557.3%", - "memory": "8.5GiB", + "rps": 1957321, + "avg_latency": "170us", + "p99_latency": "637us", + "cpu": "5814.0%", + "memory": "8.2GiB", "connections": 512, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "37.30MB/s", - "reconnects": 982886, - "status_2xx": 9828455, + "bandwidth": "37.14MB/s", + "reconnects": 978699, + "status_2xx": 9786605, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -279,18 +279,18 @@ "echo-ws-pipeline-16384": { "framework": "morojs", "language": "JS", - "rps": 34718252, - "avg_latency": "7.47ms", - "p99_latency": "14.40ms", - "cpu": "6583.0%", - "memory": "8.5GiB", + "rps": 34833705, + "avg_latency": "7.48ms", + "p99_latency": "13.80ms", + "cpu": "6564.5%", + "memory": "8.4GiB", "connections": 16384, "threads": 64, "duration": "5s", "pipeline": 16, - "bandwidth": "232.10MB/s", + "bandwidth": "232.86MB/s", "reconnects": 0, - "status_2xx": 173591264, + "status_2xx": 174168528, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -298,18 +298,18 @@ "echo-ws-pipeline-4096": { "framework": "morojs", "language": "JS", - "rps": 37225168, - "avg_latency": "1.76ms", - "p99_latency": "3.29ms", - "cpu": "6700.6%", - "memory": "8.3GiB", + "rps": 36104828, + "avg_latency": "1.81ms", + "p99_latency": "3.26ms", + "cpu": "6486.4%", + "memory": "8.0GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 16, - "bandwidth": "248.45MB/s", + "bandwidth": "240.96MB/s", "reconnects": 0, - "status_2xx": 186125840, + "status_2xx": 180524144, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -317,18 +317,18 @@ "echo-ws-pipeline-512": { "framework": "morojs", "language": "JS", - "rps": 37355545, - "avg_latency": "218us", - "p99_latency": "552us", - "cpu": "6722.7%", - "memory": "8.2GiB", + "rps": 36970048, + "avg_latency": "220us", + "p99_latency": "561us", + "cpu": "6667.0%", + "memory": "7.6GiB", "connections": 512, "threads": 64, "duration": "5s", "pipeline": 16, - "bandwidth": "249.31MB/s", + "bandwidth": "246.74MB/s", "reconnects": 0, - "status_2xx": 186777728, + "status_2xx": 184850240, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -336,18 +336,18 @@ "fortunes-1024": { "framework": "morojs", "language": "JS", - "rps": 62038, + "rps": 61999, "avg_latency": "15.28ms", - "p99_latency": "27.50ms", - "cpu": "6658.7%", - "memory": "10.0GiB", + "p99_latency": "28.60ms", + "cpu": "6458.3%", + "memory": "9.3GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, "bandwidth": "1.44GB/s", "reconnects": 0, - "status_2xx": 310191, + "status_2xx": 309996, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -355,115 +355,115 @@ "gateway-64-1024": { "framework": "morojs", "language": "JS", - "rps": 280712, - "avg_latency": "102.36ms", - "p99_latency": "1.02s", - "cpu": "5852.3%", - "memory": "4.3GiB", + "rps": 278843, + "avg_latency": "102.76ms", + "p99_latency": "970.51ms", + "cpu": "6070.4%", + "memory": "4.0GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "3.47GB/s", + "bandwidth": "3.43GB/s", "reconnects": 0, - "status_2xx": 1423214, + "status_2xx": 1408158, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "tpl_static": 426964, - "tpl_baseline": 284642, - "tpl_json": 498124, - "tpl_async_db": 213482, - "cpu_breakdown": "server: 2329% 2.6GiB | proxy: 3523% 1.7GiB" + "tpl_static": 422447, + "tpl_baseline": 281631, + "tpl_json": 492855, + "tpl_async_db": 211223, + "cpu_breakdown": "server: 2464% 2.4GiB | proxy: 3606% 1.7GiB" }, "gateway-64-512": { "framework": "morojs", "language": "JS", - "rps": 281802, - "avg_latency": "54.54ms", - "p99_latency": "455.33ms", - "cpu": "5625.7%", - "memory": "3.7GiB", + "rps": 277177, + "avg_latency": "55.46ms", + "p99_latency": "529.43ms", + "cpu": "5658.5%", + "memory": "3.4GiB", "connections": 512, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "3.43GB/s", + "bandwidth": "3.38GB/s", "reconnects": 0, - "status_2xx": 1420284, + "status_2xx": 1399747, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "tpl_static": 426085, - "tpl_baseline": 284056, - "tpl_json": 497099, - "tpl_async_db": 213042, - "cpu_breakdown": "server: 2368% 2.3GiB | proxy: 3258% 1.4GiB" + "tpl_static": 419924, + "tpl_baseline": 279949, + "tpl_json": 489911, + "tpl_async_db": 209962, + "cpu_breakdown": "server: 2371% 2.0GiB | proxy: 3287% 1.4GiB" }, "gateway-h3-256": { "framework": "morojs", "language": "JS", - "rps": 193319, - "avg_latency": "42.31ms", - "p99_latency": "174.79ms", - "cpu": "4979.5%", - "memory": "4.2GiB", + "rps": 194311, + "avg_latency": "43.36ms", + "p99_latency": "210.29ms", + "cpu": "5002.5%", + "memory": "3.8GiB", "connections": 256, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "2.33GB/s", + "bandwidth": "2.34GB/s", "reconnects": 0, - "status_2xx": 972395, + "status_2xx": 975442, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "tpl_static": 291718, - "tpl_baseline": 194479, - "tpl_json": 340338, - "tpl_async_db": 145859, - "cpu_breakdown": "proxy: 3275% 1.4GiB | server: 1705% 2.7GiB" + "tpl_static": 292632, + "tpl_baseline": 195088, + "tpl_json": 341404, + "tpl_async_db": 146316, + "cpu_breakdown": "proxy: 3281% 1.4GiB | server: 1721% 2.5GiB" }, "gateway-h3-64": { "framework": "morojs", "language": "JS", - "rps": 185827, - "avg_latency": "12.29ms", - "p99_latency": "51.81ms", - "cpu": "5193.7%", - "memory": "3.4GiB", + "rps": 192106, + "avg_latency": "11.44ms", + "p99_latency": "37.76ms", + "cpu": "4723.6%", + "memory": "3.2GiB", "connections": 64, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "2.23GB/s", + "bandwidth": "2.31GB/s", "reconnects": 0, - "status_2xx": 930997, + "status_2xx": 962453, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "tpl_static": 279299, - "tpl_baseline": 186199, - "tpl_json": 325848, - "tpl_async_db": 139649, - "cpu_breakdown": "proxy: 2962% 1023MiB | server: 2232% 2.4GiB" + "tpl_static": 288735, + "tpl_baseline": 192490, + "tpl_json": 336858, + "tpl_async_db": 144367, + "cpu_breakdown": "proxy: 3061% 1023MiB | server: 1663% 2.2GiB" }, "json-comp-16384": { "framework": "morojs", "language": "JS", - "rps": 430900, - "avg_latency": "37.75ms", - "p99_latency": "81.50ms", - "cpu": "6262.9%", + "rps": 441733, + "avg_latency": "36.71ms", + "p99_latency": "78.40ms", + "cpu": "6577.6%", "memory": "10.0GiB", "connections": 16384, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "568.58MB/s", - "input_bw": "32.05MB/s", - "reconnects": 79456, - "status_2xx": 2154501, + "bandwidth": "582.82MB/s", + "input_bw": "32.86MB/s", + "reconnects": 81270, + "status_2xx": 2208667, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -471,19 +471,19 @@ "json-comp-4096": { "framework": "morojs", "language": "JS", - "rps": 436734, - "avg_latency": "9.36ms", - "p99_latency": "26.20ms", - "cpu": "6519.4%", - "memory": "9.9GiB", + "rps": 447591, + "avg_latency": "9.14ms", + "p99_latency": "25.40ms", + "cpu": "6500.2%", + "memory": "9.7GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "576.30MB/s", - "input_bw": "32.49MB/s", - "reconnects": 85683, - "status_2xx": 2183671, + "bandwidth": "590.65MB/s", + "input_bw": "33.29MB/s", + "reconnects": 87864, + "status_2xx": 2237956, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -491,18 +491,18 @@ "json-h2c-1024": { "framework": "morojs", "language": "JS", - "rps": 739636, - "avg_latency": "43.83ms", - "p99_latency": "404.55ms", - "cpu": "6471.0%", - "memory": "13.2GiB", + "rps": 2863814, + "avg_latency": "11.06ms", + "p99_latency": "65.74ms", + "cpu": "6475.6%", + "memory": "8.3GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "2.48GB/s", + "bandwidth": "9.71GB/s", "reconnects": 0, - "status_2xx": 3749956, + "status_2xx": 14490901, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -510,18 +510,18 @@ "json-h2c-4096": { "framework": "morojs", "language": "JS", - "rps": 654131, - "avg_latency": "138.56ms", - "p99_latency": "3.99s", - "cpu": "6364.9%", - "memory": "13.0GiB", + "rps": 2892708, + "avg_latency": "43.40ms", + "p99_latency": "148.28ms", + "cpu": "6359.0%", + "memory": "9.1GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "2.20GB/s", + "bandwidth": "9.86GB/s", "reconnects": 0, - "status_2xx": 3329531, + "status_2xx": 14723886, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -529,18 +529,18 @@ "json-tls-4096": { "framework": "morojs", "language": "JS", - "rps": 1045809, - "avg_latency": "3.89ms", - "p99_latency": "42.10ms", - "cpu": "6580.6%", - "memory": "8.9GiB", + "rps": 1258448, + "avg_latency": "3.24ms", + "p99_latency": "48.26ms", + "cpu": "6411.5%", + "memory": "7.8GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "3.53GB", + "bandwidth": "4.25GB", "reconnects": 0, - "status_2xx": 5333484, + "status_2xx": 6417402, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -548,91 +548,91 @@ "latency-10k-1024": { "framework": "morojs", "language": "JS", - "rps": 9981, - "avg_latency": "79.5us", + "rps": 9979, + "avg_latency": "79.7us", "p99_latency": "112.0us", - "cpu": "31.0%", - "memory": "7.8GiB", + "cpu": "32.9%", + "memory": "7.6GiB", "connections": 1024, "threads": 64, "duration": "20s", "pipeline": 1, "bandwidth": "1.17MB/s", "reconnects": 0, - "status_2xx": 199634, + "status_2xx": 199610, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "cpu_usec": 6591657, - "cpu_per_req_us": 33.0187, + "cpu_usec": 6505266, + "cpu_per_req_us": 32.5899, "target_rate": 10000, - "rate_ratio": 0.9981, - "p99_9_latency": "178.0us" + "rate_ratio": 0.9979, + "p99_9_latency": "549.0us" }, "latency-1m-1024": { "framework": "morojs", "language": "JS", - "rps": 997707, - "avg_latency": "118.3us", - "p99_latency": "216.0us", - "cpu": "3068.3%", - "memory": "8.1GiB", + "rps": 997999, + "avg_latency": "112.5us", + "p99_latency": "206.0us", + "cpu": "2917.4%", + "memory": "7.9GiB", "connections": 1024, "threads": 64, "duration": "20s", "pipeline": 1, - "bandwidth": "116.73MB/s", + "bandwidth": "116.77MB/s", "reconnects": 0, - "status_2xx": 19957514, + "status_2xx": 19963492, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "cpu_usec": 556088817, - "cpu_per_req_us": 27.8636, + "cpu_usec": 529363077, + "cpu_per_req_us": 26.5166, "target_rate": 1000000, - "rate_ratio": 0.9977, - "p99_9_latency": "4334.0us" + "rate_ratio": 0.998, + "p99_9_latency": "4554.0us" }, "latency-500k-8cpu-1024": { "framework": "morojs", "language": "JS", - "rps": 396137, - "avg_latency": "2001803.2us", - "p99_latency": "5556224.0us", - "cpu": "790.6%", - "memory": "1.1GiB", + "rps": 427308, + "avg_latency": "1416935.8us", + "p99_latency": "3707904.0us", + "cpu": "796.8%", + "memory": "966MiB", "connections": 1024, "threads": 64, "duration": "20s", "pipeline": 1, - "bandwidth": "46.35MB/s", + "bandwidth": "49.99MB/s", "reconnects": 0, - "status_2xx": 7925437, + "status_2xx": 8548936, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "cpu_usec": 159562245, - "cpu_per_req_us": 20.1329, + "cpu_usec": 159627374, + "cpu_per_req_us": 18.6722, "target_rate": 500000, - "rate_ratio": 0.7923, - "p99_9_latency": "5998592.0us" + "rate_ratio": 0.8546, + "p99_9_latency": "4019200.0us" }, "limited-conn-4096": { "framework": "morojs", "language": "JS", - "rps": 2005333, - "avg_latency": "2.02ms", - "p99_latency": "6.68ms", - "cpu": "6541.4%", - "memory": "8.4GiB", + "rps": 2430174, + "avg_latency": "1.66ms", + "p99_latency": "5.24ms", + "cpu": "6433.3%", + "memory": "7.9GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "225.57MB/s", - "input_bw": "154.91MB/s", - "reconnects": 1001945, - "status_2xx": 10026668, + "bandwidth": "273.36MB/s", + "input_bw": "187.73MB/s", + "reconnects": 1213462, + "status_2xx": 12150870, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -640,18 +640,18 @@ "pipelined-4096": { "framework": "morojs", "language": "JS", - "rps": 37119811, - "avg_latency": "1.76ms", - "p99_latency": "3.38ms", - "cpu": "6657.5%", - "memory": "8.2GiB", + "rps": 37437401, + "avg_latency": "1.75ms", + "p99_latency": "3.25ms", + "cpu": "6407.1%", + "memory": "7.9GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 16, - "bandwidth": "4.08GB/s", + "bandwidth": "4.11GB/s", "reconnects": 0, - "status_2xx": 185599055, + "status_2xx": 187187008, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -659,66 +659,66 @@ "production-stack-1024": { "framework": "morojs", "language": "JS", - "rps": 111000, - "avg_latency": "109.47ms", - "p99_latency": "3.44s", - "cpu": "2923.6%", - "memory": "3.8GiB", + "rps": 109412, + "avg_latency": "107.45ms", + "p99_latency": "3.70s", + "cpu": "2940.3%", + "memory": "3.6GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "1.26GB/s", + "bandwidth": "1.23GB/s", "reconnects": 0, - "status_2xx": 564991, + "status_2xx": 554719, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "tpl_static": 169497, - "tpl_baseline": 56499, - "tpl_items": 282495, - "tpl_me": 56499, - "cpu_breakdown": "server: 554% 2.0GiB | authsvc: 720% 429MiB | edge: 1435% 1.4GiB | cache: 215% 10MiB" + "tpl_static": 166415, + "tpl_baseline": 55471, + "tpl_items": 277359, + "tpl_me": 55471, + "cpu_breakdown": "server: 587% 1.8GiB | authsvc: 745% 414MiB | edge: 1394% 1.4GiB | cache: 215% 11MiB" }, "production-stack-256": { "framework": "morojs", "language": "JS", - "rps": 114581, - "avg_latency": "36.48ms", - "p99_latency": "2.14s", - "cpu": "2957.5%", - "memory": "3.2GiB", + "rps": 121742, + "avg_latency": "34.44ms", + "p99_latency": "1.17s", + "cpu": "3031.4%", + "memory": "3.0GiB", "connections": 256, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "1.25GB/s", + "bandwidth": "1.32GB/s", "reconnects": 0, - "status_2xx": 577493, + "status_2xx": 611148, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "tpl_static": 173247, - "tpl_baseline": 57749, - "tpl_items": 288746, - "tpl_me": 57749, - "cpu_breakdown": "server: 604% 2.0GiB | authsvc: 759% 146MiB | edge: 1380% 1.0GiB | cache: 214% 19MiB" + "tpl_static": 183344, + "tpl_baseline": 61114, + "tpl_items": 305574, + "tpl_me": 61114, + "cpu_breakdown": "server: 612% 1.8GiB | authsvc: 733% 142MiB | edge: 1471% 1.1GiB | cache: 216% 20MiB" }, "static-h2-1024": { "framework": "morojs", "language": "JS", - "rps": 408400, - "avg_latency": "74.94ms", - "p99_latency": "337.87ms", - "cpu": "6464.8%", - "memory": "14.5GiB", + "rps": 899237, + "avg_latency": "34.68ms", + "p99_latency": "195.22ms", + "cpu": "6315.1%", + "memory": "12.0GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "6.29GB/s", + "bandwidth": "13.92GB/s", "reconnects": 0, - "status_2xx": 2066507, + "status_2xx": 4541151, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -726,18 +726,18 @@ "static-h2-256": { "framework": "morojs", "language": "JS", - "rps": 451211, - "avg_latency": "17.95ms", - "p99_latency": "201.04ms", - "cpu": "6445.2%", - "memory": "13.3GiB", + "rps": 939463, + "avg_latency": "8.96ms", + "p99_latency": "65.22ms", + "cpu": "6184.7%", + "memory": "9.5GiB", "connections": 256, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "6.91GB/s", + "bandwidth": "14.49GB/s", "reconnects": 0, - "status_2xx": 2269593, + "status_2xx": 4725501, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -745,18 +745,18 @@ "static-tls-1024": { "framework": "morojs", "language": "JS", - "rps": 781829, - "avg_latency": "1.31ms", - "p99_latency": "18.52ms", - "cpu": "6533.2%", - "memory": "8.6GiB", + "rps": 839519, + "avg_latency": "1.21ms", + "p99_latency": "18.95ms", + "cpu": "6518.8%", + "memory": "8.3GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "12.04GB", + "bandwidth": "12.93GB", "reconnects": 0, - "status_2xx": 3986968, + "status_2xx": 4281686, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 diff --git a/site/static/logs/baseline-h2c/4096/morojs.log b/site/static/logs/baseline-h2c/4096/morojs.log index 84159a8929..e69de29bb2 100644 --- a/site/static/logs/baseline-h2c/4096/morojs.log +++ b/site/static/logs/baseline-h2c/4096/morojs.log @@ -1 +0,0 @@ -2026-10-31 10:58:09 ERROR [Moro:LeaderElection] Failed to acquire file lock diff --git a/site/static/logs/baseline/4096/morojs.log b/site/static/logs/baseline/4096/morojs.log index f8dfd76968..e69de29bb2 100644 --- a/site/static/logs/baseline/4096/morojs.log +++ b/site/static/logs/baseline/4096/morojs.log @@ -1 +0,0 @@ -2026-10-31 10:50:34 ERROR [Moro:LeaderElection] Failed to acquire file lock diff --git a/site/static/logs/echo-ws-pipeline/16384/morojs.log b/site/static/logs/echo-ws-pipeline/16384/morojs.log index c84e68474c..e69de29bb2 100644 --- a/site/static/logs/echo-ws-pipeline/16384/morojs.log +++ b/site/static/logs/echo-ws-pipeline/16384/morojs.log @@ -1,3 +0,0 @@ -2026-11-07 16:33:25 ERROR [Moro:LeaderElection] Failed to acquire file lock -2026-11-07 16:33:25 ERROR [Moro:LeaderElection] Failed to acquire file lock -2026-11-07 16:33:25 ERROR [Moro:LeaderElection] Failed to acquire file lock diff --git a/site/static/logs/json-comp/4096/morojs.log b/site/static/logs/json-comp/4096/morojs.log index b5abb869ce..e69de29bb2 100644 --- a/site/static/logs/json-comp/4096/morojs.log +++ b/site/static/logs/json-comp/4096/morojs.log @@ -1 +0,0 @@ -2026-11-03 08:20:59 ERROR [Moro:LeaderElection] Failed to acquire file lock diff --git a/site/static/logs/json-h2c/4096/morojs.log b/site/static/logs/json-h2c/4096/morojs.log index 9b154aac0d..e69de29bb2 100644 --- a/site/static/logs/json-h2c/4096/morojs.log +++ b/site/static/logs/json-h2c/4096/morojs.log @@ -1 +0,0 @@ -2026-10-31 10:59:03 ERROR [Moro:LeaderElection] Failed to acquire file lock