Files
mtusi2026lab3/evidence/track1_report.json
T

576 lines
16 KiB
JSON

{
"fixed_total": [
{
"profile": "1x2.0cpu_1g",
"replicas": 1,
"cpu_per_replica": "2.0",
"memory_per_replica": "1G",
"repetitions": 2,
"rps_median": 100.175,
"rps_min": 98.45,
"rps_max": 101.9,
"p95_ms_median": 308.635,
"errors_total": 0
},
{
"profile": "2x1.0cpu_512m",
"replicas": 2,
"cpu_per_replica": "1.0",
"memory_per_replica": "512M",
"repetitions": 2,
"rps_median": 99.05,
"rps_min": 95.15,
"rps_max": 102.95,
"p95_ms_median": 655.161,
"errors_total": 0
},
{
"profile": "4x0.5cpu_256m",
"replicas": 4,
"cpu_per_replica": "0.5",
"memory_per_replica": "256M",
"repetitions": 2,
"rps_median": 88.6,
"rps_min": 85.6,
"rps_max": 91.6,
"p95_ms_median": 1199.748,
"errors_total": 0
}
],
"growth": [
{
"profile": "4x0.5cpu_256m",
"replicas": 4,
"cpu_per_replica": "0.5",
"memory_per_replica": "256M",
"repetitions": 2,
"rps_median": 90.675,
"rps_min": 89.65,
"rps_max": 91.7,
"p95_ms_median": 1205.082,
"errors_total": 0
},
{
"profile": "4x1.0cpu_512m",
"replicas": 4,
"cpu_per_replica": "1.0",
"memory_per_replica": "512M",
"repetitions": 2,
"rps_median": 200.725,
"rps_min": 199.0,
"rps_max": 202.45,
"p95_ms_median": 422.798,
"errors_total": 0
},
{
"profile": "4x2.0cpu_1g",
"replicas": 4,
"cpu_per_replica": "2.0",
"memory_per_replica": "1G",
"repetitions": 2,
"rps_median": 279.1,
"rps_min": 277.9,
"rps_max": 280.3,
"p95_ms_median": 214.816,
"errors_total": 0
}
],
"runs": [
{
"label": "1x2.0cpu_1g_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 2038,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 101.9,
"successful_latency_ms": {
"p50": 228.683,
"p95": 303.852,
"p99": 341.608
},
"instances": {
"7a402f4155a4": 2038
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "1x2.0cpu_1g",
"replicas": 1,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_1x2.0cpu_1g_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 169.3,
"api_cpu_percent_max": 188.95,
"postgres_cpu_percent_max": 32.8,
"lb_cpu_percent_max": 4.54,
"postgres_connections_max": 11,
"postgres_active_max": 1,
"postgres_waiting_max": 0
}
},
{
"label": "1x2.0cpu_1g_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1969,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 98.45,
"successful_latency_ms": {
"p50": 237.575,
"p95": 313.417,
"p99": 367.208
},
"instances": {
"7a402f4155a4": 1969
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "1x2.0cpu_1g",
"replicas": 1,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_1x2.0cpu_1g_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 169.49,
"api_cpu_percent_max": 181.64,
"postgres_cpu_percent_max": 29.27,
"lb_cpu_percent_max": 4.29,
"postgres_connections_max": 11,
"postgres_active_max": 3,
"postgres_waiting_max": 0
}
},
{
"label": "2x1.0cpu_512m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 2059,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 102.95,
"successful_latency_ms": {
"p50": 250.436,
"p95": 628.531,
"p99": 747.701
},
"instances": {
"4192c1dc1495": 1030,
"b1b9281ba7d5": 1029
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "2x1.0cpu_512m",
"replicas": 2,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_2x1.0cpu_512m_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 154.57,
"api_cpu_percent_max": 202.63,
"postgres_cpu_percent_max": 40.47,
"lb_cpu_percent_max": 5.04,
"postgres_connections_max": 21,
"postgres_active_max": 2,
"postgres_waiting_max": 0
}
},
{
"label": "2x1.0cpu_512m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1903,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 95.15,
"successful_latency_ms": {
"p50": 268.314,
"p95": 681.792,
"p99": 778.125
},
"instances": {
"4192c1dc1495": 951,
"b1b9281ba7d5": 952
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "2x1.0cpu_512m",
"replicas": 2,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_2x1.0cpu_512m_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 173.27,
"api_cpu_percent_max": 202.01,
"postgres_cpu_percent_max": 35.54,
"lb_cpu_percent_max": 5.54,
"postgres_connections_max": 21,
"postgres_active_max": 2,
"postgres_waiting_max": 0
}
},
{
"label": "4x0.5cpu_256m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1712,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 85.6,
"successful_latency_ms": {
"p50": 54.575,
"p95": 1227.076,
"p99": 1441.681
},
"instances": {
"31647cf38f06": 428,
"366fd6ad531d": 427,
"5e8eec640f41": 429,
"b454ab735e17": 428
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 117.26,
"api_cpu_percent_max": 145.59,
"postgres_cpu_percent_max": 31.42,
"lb_cpu_percent_max": 4.97,
"postgres_connections_max": 36,
"postgres_active_max": 1,
"postgres_waiting_max": 0
}
},
{
"label": "4x0.5cpu_256m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1832,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 91.6,
"successful_latency_ms": {
"p50": 54.465,
"p95": 1172.42,
"p99": 1391.664
},
"instances": {
"31647cf38f06": 458,
"366fd6ad531d": 457,
"5e8eec640f41": 458,
"b454ab735e17": 459
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 102.6,
"api_cpu_percent_max": 128.44,
"postgres_cpu_percent_max": 28.98,
"lb_cpu_percent_max": 5.56,
"postgres_connections_max": 36,
"postgres_active_max": 1,
"postgres_waiting_max": 0
}
},
{
"label": "4x0.5cpu_256m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1793,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 89.65,
"successful_latency_ms": {
"p50": 54.121,
"p95": 1214.111,
"p99": 1402.774
},
"instances": {
"31647cf38f06": 447,
"366fd6ad531d": 448,
"5e8eec640f41": 448,
"b454ab735e17": 450
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 117.26,
"api_cpu_percent_max": 145.59,
"postgres_cpu_percent_max": 31.42,
"lb_cpu_percent_max": 4.97,
"postgres_connections_max": 36,
"postgres_active_max": 1,
"postgres_waiting_max": 0
}
},
{
"label": "4x0.5cpu_256m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1834,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 91.7,
"successful_latency_ms": {
"p50": 54.092,
"p95": 1196.053,
"p99": 1393.438
},
"instances": {
"31647cf38f06": 459,
"366fd6ad531d": 459,
"5e8eec640f41": 458,
"b454ab735e17": 458
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 102.6,
"api_cpu_percent_max": 128.44,
"postgres_cpu_percent_max": 28.98,
"lb_cpu_percent_max": 5.56,
"postgres_connections_max": 36,
"postgres_active_max": 1,
"postgres_waiting_max": 0
}
},
{
"label": "4x1.0cpu_512m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 4049,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 202.45,
"successful_latency_ms": {
"p50": 54.105,
"p95": 434.635,
"p99": 584.07
},
"instances": {
"8fa1148dad80": 1012,
"a0f4177ca995": 1012,
"c05c147b6fd6": 1013,
"d407b1c5f7da": 1012
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x1.0cpu_512m",
"replicas": 4,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x1.0cpu_512m_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 256.84,
"api_cpu_percent_max": 335.58,
"postgres_cpu_percent_max": 101.78,
"lb_cpu_percent_max": 10.55,
"postgres_connections_max": 36,
"postgres_active_max": 2,
"postgres_waiting_max": 0
}
},
{
"label": "4x1.0cpu_512m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 3980,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 199.0,
"successful_latency_ms": {
"p50": 54.843,
"p95": 410.962,
"p99": 581.582
},
"instances": {
"8fa1148dad80": 996,
"a0f4177ca995": 995,
"c05c147b6fd6": 995,
"d407b1c5f7da": 994
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x1.0cpu_512m",
"replicas": 4,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x1.0cpu_512m_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 266.73,
"api_cpu_percent_max": 336.77,
"postgres_cpu_percent_max": 74.69,
"lb_cpu_percent_max": 9.84,
"postgres_connections_max": 41,
"postgres_active_max": 2,
"postgres_waiting_max": 0
}
},
{
"label": "4x2.0cpu_1g_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 5558,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 277.9,
"successful_latency_ms": {
"p50": 64.486,
"p95": 216.9,
"p99": 285.827
},
"instances": {
"2a0a9d8f3c8f": 1390,
"3318d5ed950d": 1389,
"d160639a0384": 1391,
"fc4afe6a9bb3": 1388
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x2.0cpu_1g",
"replicas": 4,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x2.0cpu_1g_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 380.51,
"api_cpu_percent_max": 399.93,
"postgres_cpu_percent_max": 106.4,
"lb_cpu_percent_max": 15.19,
"postgres_connections_max": 41,
"postgres_active_max": 6,
"postgres_waiting_max": 0
}
},
{
"label": "4x2.0cpu_1g_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 5606,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 280.3,
"successful_latency_ms": {
"p50": 64.3,
"p95": 212.732,
"p99": 306.857
},
"instances": {
"2a0a9d8f3c8f": 1402,
"3318d5ed950d": 1402,
"d160639a0384": 1401,
"fc4afe6a9bb3": 1401
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x2.0cpu_1g",
"replicas": 4,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x2.0cpu_1g_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 438.81,
"api_cpu_percent_max": 526.87,
"postgres_cpu_percent_max": 106.65,
"lb_cpu_percent_max": 16.2,
"postgres_connections_max": 41,
"postgres_active_max": 3,
"postgres_waiting_max": 0
}
}
],
"note": "Closed-loop client on the same Docker host. RPS is HTTP 201 throughput, not a COMMIT counter; p95 covers successful requests only. Two repetitions per profile; medians are reported."
}