1 GB server test · protocol v2 · Ubuntu 24.04.5 LTS on a $6 droplet (1 vCPU / 1 GB)

node-express-v01-baseline

Express 5.3.0 · pg 8.23.1 · pool: none (new connection per request) · Node v24.21.0 · Postgres 16.15 · load from do-blr1-loadgen-4vcpu-8gb · app f7584f8

Capacity100 VUs 46.7 req/s steady
First failing level110 VUs
Highest throughput seen49.8 req/s
Pass rulep50 < 500 · p95 < 800 · p99 < 1000 ms
errors < 1 %
Steady throughput46.7req/s · 2,804 req/min
Client p95 / p99742 / 959ms, steady phase
Server time p50227.1ms inside the app
Spent getting a connection80 %of server p50 (180.6 ms)
CPU (1 vCPU)98 %Node 32 · Postgres 61
Memory used446 MBof 961 MB · Node 108 · PG 70

Summary

Capacity: 100 VUs at 46.7 req/s (2,804 req/min), steady p50 242 ms / p95 742 ms / p99 959 ms, 0 % errors. This is a marginal pass: p99 was only 4 % under the 1000 ms limit. The first failing level is 110 VUs: 49.8 req/s, p95 852 ms (limit 800), still 0 % errors.

Levels tested

Latency is the client-observed steady phase (60 s hold). Red values miss the pass rule. Server and conn come from the app's Server-Timing header, p50 / p95 in ms.

VUsResultreq/sp50p95p99Errors %ServerConnCPU % (Node / PG)Used MBLoad gen CPU %
100Pass46.72427429590.00227 / 694181 / 59798 (32 / 61)4466
110Failp95 852>=800ms49.83628529920.00337 / 784280 / 66698 (31 / 62)43215

Across levels

Client latency vs. users steady phase, ms; dashed = limits
Where server time goes p50 per request, ms

During the run

From k6's 2-second snapshots and the 1-second server samples, aligned on the k6 start. The shaded band is the 60 s ramp; the hold phase follows.

Load active users, req/s, failed req/s
Latency over time 2 s windows, ms
Target droplet CPU % of 1 vCPU, memory used MB
p95 by endpoint client vs. server, ms, whole run

What changed vs. the previous tag

First tag under protocol v2 (Server-Timing header + same-region load-generator droplet). Baseline for the node-express stack.

Full configuration

Observations

Next idea

node-express-v02-pool: pg.Pool with default settings (max 10). One change, with Server-Timing kept.