forked from mtusi2026/mtusi2026lab3
579 lines
14 KiB
JSON
579 lines
14 KiB
JSON
{
|
|
"run_id": "2d3ae773",
|
|
"valid": true,
|
|
"complete": true,
|
|
"expected_samples": 4,
|
|
"profile": "closed-loop POST text, concurrency16,5seconds,2repetitions; fresh DB data for each run",
|
|
"samples": [
|
|
{
|
|
"phase": "pool",
|
|
"replicas": 1,
|
|
"repeat": 1,
|
|
"pool": 8,
|
|
"api_cpu_each": 2,
|
|
"api_memory_mb_each": 2048,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 5,
|
|
"elapsed_seconds": 5.149,
|
|
"concurrency": 16,
|
|
"successful_requests": 605,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0,
|
|
"successful_rps": 117.493,
|
|
"successful_latency_ms": {
|
|
"p50": 133.42,
|
|
"p95": 166.87,
|
|
"p99": 200.216
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"snapshot": [
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-api-1",
|
|
"cpu_percent": "8.11%",
|
|
"memory": "75.05MiB / 2GiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-lb-1",
|
|
"cpu_percent": "4.56%",
|
|
"memory": "18.96MiB / 128MiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-postgres-1",
|
|
"cpu_percent": "20.26%",
|
|
"memory": "42.62MiB / 768MiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-valkey-1",
|
|
"cpu_percent": "0.35%",
|
|
"memory": "10.83MiB / 128MiB"
|
|
}
|
|
],
|
|
"postgres_wait_samples": [
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 2
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 2
|
|
},
|
|
{
|
|
"wait_event_type": null,
|
|
"wait_event": null,
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
]
|
|
],
|
|
"messages": 605
|
|
},
|
|
{
|
|
"phase": "pool",
|
|
"replicas": 1,
|
|
"repeat": 2,
|
|
"pool": 1,
|
|
"api_cpu_each": 2,
|
|
"api_memory_mb_each": 2048,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 5,
|
|
"elapsed_seconds": 5.138,
|
|
"concurrency": 16,
|
|
"successful_requests": 610,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0,
|
|
"successful_rps": 118.725,
|
|
"successful_latency_ms": {
|
|
"p50": 133.434,
|
|
"p95": 133.604,
|
|
"p99": 166.758
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"snapshot": [
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-api-1",
|
|
"cpu_percent": "5.89%",
|
|
"memory": "75.96MiB / 2GiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-lb-1",
|
|
"cpu_percent": "4.76%",
|
|
"memory": "20.63MiB / 128MiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-postgres-1",
|
|
"cpu_percent": "22.08%",
|
|
"memory": "32.66MiB / 768MiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-valkey-1",
|
|
"cpu_percent": "0.32%",
|
|
"memory": "11.58MiB / 128MiB"
|
|
}
|
|
],
|
|
"postgres_wait_samples": [
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
]
|
|
],
|
|
"messages": 610
|
|
},
|
|
{
|
|
"phase": "pool",
|
|
"replicas": 1,
|
|
"repeat": 3,
|
|
"pool": 1,
|
|
"api_cpu_each": 2,
|
|
"api_memory_mb_each": 2048,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 5,
|
|
"elapsed_seconds": 5.139,
|
|
"concurrency": 16,
|
|
"successful_requests": 608,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0,
|
|
"successful_rps": 118.312,
|
|
"successful_latency_ms": {
|
|
"p50": 133.441,
|
|
"p95": 158.342,
|
|
"p99": 158.46
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"snapshot": [
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-api-1",
|
|
"cpu_percent": "5.92%",
|
|
"memory": "75.91MiB / 2GiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-lb-1",
|
|
"cpu_percent": "4.64%",
|
|
"memory": "19.86MiB / 128MiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-postgres-1",
|
|
"cpu_percent": "18.14%",
|
|
"memory": "32.81MiB / 768MiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-valkey-1",
|
|
"cpu_percent": "0.32%",
|
|
"memory": "11.08MiB / 128MiB"
|
|
}
|
|
],
|
|
"postgres_wait_samples": [
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
}
|
|
]
|
|
],
|
|
"messages": 608
|
|
},
|
|
{
|
|
"phase": "pool",
|
|
"replicas": 1,
|
|
"repeat": 4,
|
|
"pool": 8,
|
|
"api_cpu_each": 2,
|
|
"api_memory_mb_each": 2048,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 5,
|
|
"elapsed_seconds": 5.149,
|
|
"concurrency": 16,
|
|
"successful_requests": 608,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0,
|
|
"successful_rps": 118.075,
|
|
"successful_latency_ms": {
|
|
"p50": 133.445,
|
|
"p95": 166.842,
|
|
"p99": 183.626
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"snapshot": [
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-api-1",
|
|
"cpu_percent": "5.86%",
|
|
"memory": "75.98MiB / 2GiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-lb-1",
|
|
"cpu_percent": "4.73%",
|
|
"memory": "20.56MiB / 128MiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-postgres-1",
|
|
"cpu_percent": "24.58%",
|
|
"memory": "43.39MiB / 768MiB"
|
|
},
|
|
{
|
|
"name": "vp-lab3-research-2d3ae773-valkey-1",
|
|
"cpu_percent": "0.36%",
|
|
"memory": "11.07MiB / 128MiB"
|
|
}
|
|
],
|
|
"postgres_wait_samples": [
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 2
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "Client",
|
|
"wait_event": "ClientRead",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 2
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"wait_event_type": "IO",
|
|
"wait_event": "WalSync",
|
|
"count": 1
|
|
},
|
|
{
|
|
"wait_event_type": "Lock",
|
|
"wait_event": "transactionid",
|
|
"count": 3
|
|
}
|
|
]
|
|
],
|
|
"messages": 608
|
|
}
|
|
]
|
|
}
|