forked from mtusi2026/mtusi2026lab3
27 lines
919 B
Plaintext
27 lines
919 B
Plaintext
python student-tests/load_profile.py
|
|
{
|
|
|
|
"lab": 3,
|
|
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
|
|
"requested_duration_seconds": 30.0,
|
|
|
|
"elapsed_seconds": 30.203,
|
|
|
|
"concurrency": 4,
|
|
|
|
"successful_requests": 6347,
|
|
|
|
"failed_requests": 0,
|
|
|
|
"error_ratio": 0.0,
|
|
|
|
"successful_rps": 210.145,
|
|
|
|
"successful_latency_ms": {
|
|
|
|
"p50": 16.0,
|
|
|
|
"p95": 47.0,
|
|
|
|
"p99": 78.0
|
|
|
|
},
|
|
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
|
|
}
|
|
|
|
service cpu % max RAM max / limit, MiB
|
|
api 103.4 139.6 / 512
|
|
api 98.2 93.8 / 512
|
|
lb 25.5 15.8 / 128
|
|
postgres 31.5 49.0 / 512
|
|
valkey 6.7 8.2 / 128
|
|
PASS: load profile saved to evidence/load.json and evidence/load-stats.json
|