forked from mtusi2026/mtusi2026lab3
3408 lines
111 KiB
JSON
3408 lines
111 KiB
JSON
{
|
|
"started_at": "2026-11-17T13:36:12.673910+00:00",
|
|
"base_url": "http://localhost:8080",
|
|
"profile": {
|
|
"duration_s": 30,
|
|
"warmup_s": 10,
|
|
"concurrency": [
|
|
8,
|
|
16,
|
|
32,
|
|
64
|
|
],
|
|
"repeats": 2,
|
|
"tool": "tests/load.py (closed-loop, no retries)"
|
|
},
|
|
"configs": [
|
|
{
|
|
"series": "A",
|
|
"name": "A_r1",
|
|
"replicas": 1,
|
|
"api_cpu": 2.0,
|
|
"api_mem": "1024M",
|
|
"pg_cpu": 1.0,
|
|
"pool": 10,
|
|
"overflow": 20,
|
|
"pool_timeout": 30,
|
|
"nginx_mode": "baseline",
|
|
"observed_instance_ids": [
|
|
"api-d080c412"
|
|
],
|
|
"points": [
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.185,
|
|
"concurrency": 8,
|
|
"successful_requests": 2616,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 86.667,
|
|
"successful_latency_ms": {
|
|
"p50": 85.718,
|
|
"p95": 134.249,
|
|
"p99": 187.593
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "9",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "9",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r1_c8_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.28,
|
|
"concurrency": 8,
|
|
"successful_requests": 2286,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 75.496,
|
|
"successful_latency_ms": {
|
|
"p50": 100.869,
|
|
"p95": 150.892,
|
|
"p99": 185.123
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "9",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "9",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r1_c8_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.478,
|
|
"concurrency": 16,
|
|
"successful_requests": 2026,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 66.475,
|
|
"successful_latency_ms": {
|
|
"p50": 234.353,
|
|
"p95": 281.039,
|
|
"p99": 344.44
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "9",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r1_c16_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.525,
|
|
"concurrency": 16,
|
|
"successful_requests": 1849,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 60.574,
|
|
"successful_latency_ms": {
|
|
"p50": 248.988,
|
|
"p95": 336.154,
|
|
"p99": 461.645
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r1_c16_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.994,
|
|
"concurrency": 32,
|
|
"successful_requests": 2034,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 65.625,
|
|
"successful_latency_ms": {
|
|
"p50": 468.588,
|
|
"p95": 552.38,
|
|
"p99": 651.877
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r1_c32_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.009,
|
|
"concurrency": 32,
|
|
"successful_requests": 2038,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 65.724,
|
|
"successful_latency_ms": {
|
|
"p50": 465.812,
|
|
"p95": 576.753,
|
|
"p99": 610.491
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r1_c32_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 32.232,
|
|
"concurrency": 64,
|
|
"successful_requests": 1977,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 61.336,
|
|
"successful_latency_ms": {
|
|
"p50": 932.19,
|
|
"p95": 1549.981,
|
|
"p99": 1981.849
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r1_c64_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 32.24,
|
|
"concurrency": 64,
|
|
"successful_requests": 1960,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 60.795,
|
|
"successful_latency_ms": {
|
|
"p50": 931.875,
|
|
"p95": 1485.929,
|
|
"p99": 1885.831
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r1_c64_r1.csv"
|
|
}
|
|
],
|
|
"summary": {
|
|
"8": {
|
|
"median_rps": 86.667,
|
|
"runs": 2
|
|
},
|
|
"16": {
|
|
"median_rps": 66.475,
|
|
"runs": 2
|
|
},
|
|
"32": {
|
|
"median_rps": 65.724,
|
|
"runs": 2
|
|
},
|
|
"64": {
|
|
"median_rps": 61.336,
|
|
"runs": 2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"series": "A",
|
|
"name": "A_r2",
|
|
"replicas": 2,
|
|
"api_cpu": 1.0,
|
|
"api_mem": "512M",
|
|
"pg_cpu": 1.0,
|
|
"pool": 10,
|
|
"overflow": 20,
|
|
"pool_timeout": 30,
|
|
"nginx_mode": "baseline",
|
|
"observed_instance_ids": [
|
|
"api-3f523027",
|
|
"api-d0842496"
|
|
],
|
|
"points": [
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.224,
|
|
"concurrency": 8,
|
|
"successful_requests": 2982,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 98.663,
|
|
"successful_latency_ms": {
|
|
"p50": 75.859,
|
|
"p95": 120.146,
|
|
"p99": 269.584
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "16",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r2_c8_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.277,
|
|
"concurrency": 8,
|
|
"successful_requests": 2869,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 94.76,
|
|
"successful_latency_ms": {
|
|
"p50": 78.89,
|
|
"p95": 123.066,
|
|
"p99": 297.534
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r2_c8_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.512,
|
|
"concurrency": 16,
|
|
"successful_requests": 3027,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 99.205,
|
|
"successful_latency_ms": {
|
|
"p50": 153.453,
|
|
"p95": 285.16,
|
|
"p99": 493.002
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "19",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r2_c16_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.501,
|
|
"concurrency": 16,
|
|
"successful_requests": 2846,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 93.31,
|
|
"successful_latency_ms": {
|
|
"p50": 159.716,
|
|
"p95": 309.903,
|
|
"p99": 481.809
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "19",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "20",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r2_c16_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.99,
|
|
"concurrency": 32,
|
|
"successful_requests": 2989,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 96.452,
|
|
"successful_latency_ms": {
|
|
"p50": 308.318,
|
|
"p95": 488.57,
|
|
"p99": 774.614
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "20",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r2_c32_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.056,
|
|
"concurrency": 32,
|
|
"successful_requests": 2980,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 95.956,
|
|
"successful_latency_ms": {
|
|
"p50": 319.373,
|
|
"p95": 495.198,
|
|
"p99": 665.019
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r2_c32_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.945,
|
|
"concurrency": 64,
|
|
"successful_requests": 2936,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 91.909,
|
|
"successful_latency_ms": {
|
|
"p50": 637.034,
|
|
"p95": 1229.16,
|
|
"p99": 1584.022
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r2_c64_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 32.068,
|
|
"concurrency": 64,
|
|
"successful_requests": 2975,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 92.77,
|
|
"successful_latency_ms": {
|
|
"p50": 641.492,
|
|
"p95": 1037.372,
|
|
"p99": 1272.2
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r2_c64_r1.csv"
|
|
}
|
|
],
|
|
"summary": {
|
|
"8": {
|
|
"median_rps": 98.663,
|
|
"runs": 2
|
|
},
|
|
"16": {
|
|
"median_rps": 99.205,
|
|
"runs": 2
|
|
},
|
|
"32": {
|
|
"median_rps": 96.452,
|
|
"runs": 2
|
|
},
|
|
"64": {
|
|
"median_rps": 92.77,
|
|
"runs": 2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"series": "A",
|
|
"name": "A_r4",
|
|
"replicas": 4,
|
|
"api_cpu": 0.5,
|
|
"api_mem": "256M",
|
|
"pg_cpu": 1.0,
|
|
"pool": 10,
|
|
"overflow": 20,
|
|
"pool_timeout": 30,
|
|
"nginx_mode": "baseline",
|
|
"observed_instance_ids": [
|
|
"api-923bbde0",
|
|
"api-d86ffd5f",
|
|
"api-e3a19ea2",
|
|
"api-e8e88fa9"
|
|
],
|
|
"points": [
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.444,
|
|
"concurrency": 8,
|
|
"successful_requests": 2533,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 83.202,
|
|
"successful_latency_ms": {
|
|
"p50": 77.127,
|
|
"p95": 221.638,
|
|
"p99": 399.064
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "23",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "27",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r4_c8_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.258,
|
|
"concurrency": 8,
|
|
"successful_requests": 2434,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 80.44,
|
|
"successful_latency_ms": {
|
|
"p50": 90.472,
|
|
"p95": 203.446,
|
|
"p99": 310.23
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "27",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "28",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r4_c8_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.681,
|
|
"concurrency": 16,
|
|
"successful_requests": 2376,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 77.441,
|
|
"successful_latency_ms": {
|
|
"p50": 105.541,
|
|
"p95": 583.001,
|
|
"p99": 660.285
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "28",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "32",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r4_c16_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.722,
|
|
"concurrency": 16,
|
|
"successful_requests": 2434,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 79.226,
|
|
"successful_latency_ms": {
|
|
"p50": 141.848,
|
|
"p95": 474.128,
|
|
"p99": 722.98
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "32",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "35",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r4_c16_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.872,
|
|
"concurrency": 32,
|
|
"successful_requests": 2650,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 83.144,
|
|
"successful_latency_ms": {
|
|
"p50": 257.054,
|
|
"p95": 1070.315,
|
|
"p99": 1698.114
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "35",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "40",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r4_c32_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 32.15,
|
|
"concurrency": 32,
|
|
"successful_requests": 2404,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 74.775,
|
|
"successful_latency_ms": {
|
|
"p50": 334.773,
|
|
"p95": 1079.491,
|
|
"p99": 1308.01
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "40",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "41",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r4_c32_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 33.168,
|
|
"concurrency": 64,
|
|
"successful_requests": 2487,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 74.981,
|
|
"successful_latency_ms": {
|
|
"p50": 691.618,
|
|
"p95": 1469.65,
|
|
"p99": 2366.364
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "41",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "41",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r4_c64_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 33.445,
|
|
"concurrency": 64,
|
|
"successful_requests": 2507,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 74.959,
|
|
"successful_latency_ms": {
|
|
"p50": 769.191,
|
|
"p95": 1376.986,
|
|
"p99": 1608.463
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "41",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "41",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\A_r4_c64_r1.csv"
|
|
}
|
|
],
|
|
"summary": {
|
|
"8": {
|
|
"median_rps": 83.202,
|
|
"runs": 2
|
|
},
|
|
"16": {
|
|
"median_rps": 79.226,
|
|
"runs": 2
|
|
},
|
|
"32": {
|
|
"median_rps": 83.144,
|
|
"runs": 2
|
|
},
|
|
"64": {
|
|
"median_rps": 74.981,
|
|
"runs": 2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"series": "B",
|
|
"name": "B_cpu1",
|
|
"replicas": 2,
|
|
"api_cpu": 0.5,
|
|
"api_mem": "512M",
|
|
"pg_cpu": 1.0,
|
|
"pool": 10,
|
|
"overflow": 20,
|
|
"pool_timeout": 30,
|
|
"nginx_mode": "keepalive",
|
|
"observed_instance_ids": [
|
|
"api-11b1c0e9",
|
|
"api-c03cd23b"
|
|
],
|
|
"points": [
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.342,
|
|
"concurrency": 8,
|
|
"successful_requests": 1599,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 52.7,
|
|
"successful_latency_ms": {
|
|
"p50": 120.975,
|
|
"p95": 390.329,
|
|
"p99": 512.922
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu1_c8_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.373,
|
|
"concurrency": 8,
|
|
"successful_requests": 1705,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 56.136,
|
|
"successful_latency_ms": {
|
|
"p50": 118.07,
|
|
"p95": 281.239,
|
|
"p99": 479.55
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu1_c8_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.543,
|
|
"concurrency": 16,
|
|
"successful_requests": 2045,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 66.955,
|
|
"successful_latency_ms": {
|
|
"p50": 231.418,
|
|
"p95": 464.595,
|
|
"p99": 896.102
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu1_c16_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.52,
|
|
"concurrency": 16,
|
|
"successful_requests": 2001,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 65.564,
|
|
"successful_latency_ms": {
|
|
"p50": 218.925,
|
|
"p95": 489.238,
|
|
"p99": 797.207
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu1_c16_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.045,
|
|
"concurrency": 32,
|
|
"successful_requests": 1918,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 61.782,
|
|
"successful_latency_ms": {
|
|
"p50": 496.99,
|
|
"p95": 1004.052,
|
|
"p99": 1596.716
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu1_c32_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.933,
|
|
"concurrency": 32,
|
|
"successful_requests": 2167,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 70.055,
|
|
"successful_latency_ms": {
|
|
"p50": 490.549,
|
|
"p95": 891.009,
|
|
"p99": 1314.072
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu1_c32_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.903,
|
|
"concurrency": 64,
|
|
"successful_requests": 2064,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 64.697,
|
|
"successful_latency_ms": {
|
|
"p50": 873.782,
|
|
"p95": 1666.5,
|
|
"p99": 2075.07
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu1_c64_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.751,
|
|
"concurrency": 64,
|
|
"successful_requests": 2170,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 68.343,
|
|
"successful_latency_ms": {
|
|
"p50": 868.913,
|
|
"p95": 1334.096,
|
|
"p99": 1783.243
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu1_c64_r1.csv"
|
|
}
|
|
],
|
|
"summary": {
|
|
"8": {
|
|
"median_rps": 56.136,
|
|
"runs": 2
|
|
},
|
|
"16": {
|
|
"median_rps": 66.955,
|
|
"runs": 2
|
|
},
|
|
"32": {
|
|
"median_rps": 70.055,
|
|
"runs": 2
|
|
},
|
|
"64": {
|
|
"median_rps": 68.343,
|
|
"runs": 2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"series": "B",
|
|
"name": "B_cpu2",
|
|
"replicas": 2,
|
|
"api_cpu": 1.0,
|
|
"api_mem": "512M",
|
|
"pg_cpu": 1.0,
|
|
"pool": 10,
|
|
"overflow": 20,
|
|
"pool_timeout": 30,
|
|
"nginx_mode": "keepalive",
|
|
"observed_instance_ids": [
|
|
"api-2f2b2c43",
|
|
"api-c899f23f"
|
|
],
|
|
"points": [
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.169,
|
|
"concurrency": 8,
|
|
"successful_requests": 4375,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 145.015,
|
|
"successful_latency_ms": {
|
|
"p50": 50.258,
|
|
"p95": 84.407,
|
|
"p99": 176.587
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "15",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu2_c8_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.193,
|
|
"concurrency": 8,
|
|
"successful_requests": 3929,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 130.129,
|
|
"successful_latency_ms": {
|
|
"p50": 55.65,
|
|
"p95": 104.916,
|
|
"p99": 176.69
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu2_c8_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.378,
|
|
"concurrency": 16,
|
|
"successful_requests": 4292,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 141.288,
|
|
"successful_latency_ms": {
|
|
"p50": 104.807,
|
|
"p95": 186.077,
|
|
"p99": 314.013
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu2_c16_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.374,
|
|
"concurrency": 16,
|
|
"successful_requests": 4247,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 139.822,
|
|
"successful_latency_ms": {
|
|
"p50": 108.724,
|
|
"p95": 188.603,
|
|
"p99": 315.751
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu2_c16_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.746,
|
|
"concurrency": 32,
|
|
"successful_requests": 4413,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 143.532,
|
|
"successful_latency_ms": {
|
|
"p50": 207.516,
|
|
"p95": 328.611,
|
|
"p99": 585.259
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu2_c32_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.702,
|
|
"concurrency": 32,
|
|
"successful_requests": 4354,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 141.813,
|
|
"successful_latency_ms": {
|
|
"p50": 209.27,
|
|
"p95": 335.597,
|
|
"p99": 544.982
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu2_c32_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.457,
|
|
"concurrency": 64,
|
|
"successful_requests": 4383,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 139.332,
|
|
"successful_latency_ms": {
|
|
"p50": 405.878,
|
|
"p95": 693.679,
|
|
"p99": 932.377
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu2_c64_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.551,
|
|
"concurrency": 64,
|
|
"successful_requests": 4259,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 134.987,
|
|
"successful_latency_ms": {
|
|
"p50": 427.633,
|
|
"p95": 644.277,
|
|
"p99": 869.437
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu2_c64_r1.csv"
|
|
}
|
|
],
|
|
"summary": {
|
|
"8": {
|
|
"median_rps": 145.015,
|
|
"runs": 2
|
|
},
|
|
"16": {
|
|
"median_rps": 141.288,
|
|
"runs": 2
|
|
},
|
|
"32": {
|
|
"median_rps": 143.532,
|
|
"runs": 2
|
|
},
|
|
"64": {
|
|
"median_rps": 139.332,
|
|
"runs": 2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"series": "B",
|
|
"name": "B_cpu4",
|
|
"replicas": 2,
|
|
"api_cpu": 2.0,
|
|
"api_mem": "512M",
|
|
"pg_cpu": 1.0,
|
|
"pool": 10,
|
|
"overflow": 20,
|
|
"pool_timeout": 30,
|
|
"nginx_mode": "keepalive",
|
|
"observed_instance_ids": [
|
|
"api-013a5b67",
|
|
"api-d415a00b"
|
|
],
|
|
"points": [
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.19,
|
|
"concurrency": 8,
|
|
"successful_requests": 4416,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 146.276,
|
|
"successful_latency_ms": {
|
|
"p50": 51.785,
|
|
"p95": 78.57,
|
|
"p99": 112.757
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "11",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_c8_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.2,
|
|
"concurrency": 8,
|
|
"successful_requests": 4433,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 146.788,
|
|
"successful_latency_ms": {
|
|
"p50": 52.148,
|
|
"p95": 77.722,
|
|
"p99": 94.042
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_c8_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.383,
|
|
"concurrency": 16,
|
|
"successful_requests": 4496,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 147.976,
|
|
"successful_latency_ms": {
|
|
"p50": 108.467,
|
|
"p95": 176.095,
|
|
"p99": 202.449
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_c16_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.413,
|
|
"concurrency": 16,
|
|
"successful_requests": 4427,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 145.565,
|
|
"successful_latency_ms": {
|
|
"p50": 111.739,
|
|
"p95": 177.898,
|
|
"p99": 195.162
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_c16_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.804,
|
|
"concurrency": 32,
|
|
"successful_requests": 4546,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 147.581,
|
|
"successful_latency_ms": {
|
|
"p50": 215.344,
|
|
"p95": 350.556,
|
|
"p99": 396.933
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_c32_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.783,
|
|
"concurrency": 32,
|
|
"successful_requests": 4551,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 147.843,
|
|
"successful_latency_ms": {
|
|
"p50": 216.853,
|
|
"p95": 320.175,
|
|
"p99": 349.21
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_c32_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.592,
|
|
"concurrency": 64,
|
|
"successful_requests": 4427,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 140.131,
|
|
"successful_latency_ms": {
|
|
"p50": 427.55,
|
|
"p95": 542.637,
|
|
"p99": 632.95
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_c64_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.652,
|
|
"concurrency": 64,
|
|
"successful_requests": 4250,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 134.272,
|
|
"successful_latency_ms": {
|
|
"p50": 440.725,
|
|
"p95": 631.239,
|
|
"p99": 757.651
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_c64_r1.csv"
|
|
}
|
|
],
|
|
"summary": {
|
|
"8": {
|
|
"median_rps": 146.788,
|
|
"runs": 2
|
|
},
|
|
"16": {
|
|
"median_rps": 147.976,
|
|
"runs": 2
|
|
},
|
|
"32": {
|
|
"median_rps": 147.843,
|
|
"runs": 2
|
|
},
|
|
"64": {
|
|
"median_rps": 140.131,
|
|
"runs": 2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"series": "B",
|
|
"name": "B_cpu4_db2",
|
|
"replicas": 2,
|
|
"api_cpu": 2.0,
|
|
"api_mem": "512M",
|
|
"pg_cpu": 2.0,
|
|
"pool": 10,
|
|
"overflow": 20,
|
|
"pool_timeout": 30,
|
|
"nginx_mode": "keepalive",
|
|
"observed_instance_ids": [
|
|
"api-35066fa1",
|
|
"api-94a4809e"
|
|
],
|
|
"points": [
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.244,
|
|
"concurrency": 8,
|
|
"successful_requests": 4182,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 138.275,
|
|
"successful_latency_ms": {
|
|
"p50": 55.931,
|
|
"p95": 84.018,
|
|
"p99": 98.142
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_db2_c8_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.192,
|
|
"concurrency": 8,
|
|
"successful_requests": 4380,
|
|
"failed_requests": 1,
|
|
"error_ratio": 0.000228,
|
|
"successful_rps": 145.07,
|
|
"successful_latency_ms": {
|
|
"p50": 51.436,
|
|
"p95": 83.217,
|
|
"p99": 123.483
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_db2_c8_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.402,
|
|
"concurrency": 16,
|
|
"successful_requests": 4586,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 150.848,
|
|
"successful_latency_ms": {
|
|
"p50": 104.502,
|
|
"p95": 172.493,
|
|
"p99": 194.08
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_db2_c16_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.404,
|
|
"concurrency": 16,
|
|
"successful_requests": 4635,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 152.448,
|
|
"successful_latency_ms": {
|
|
"p50": 103.106,
|
|
"p95": 170.171,
|
|
"p99": 185.575
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_db2_c16_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.801,
|
|
"concurrency": 32,
|
|
"successful_requests": 4456,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 144.67,
|
|
"successful_latency_ms": {
|
|
"p50": 219.412,
|
|
"p95": 334.013,
|
|
"p99": 371.502
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_db2_c32_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.848,
|
|
"concurrency": 32,
|
|
"successful_requests": 4569,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 148.111,
|
|
"successful_latency_ms": {
|
|
"p50": 207.272,
|
|
"p95": 314.043,
|
|
"p99": 351.771
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_db2_c32_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.627,
|
|
"concurrency": 64,
|
|
"successful_requests": 4694,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 148.418,
|
|
"successful_latency_ms": {
|
|
"p50": 404.299,
|
|
"p95": 556.187,
|
|
"p99": 641.569
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_db2_c64_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.596,
|
|
"concurrency": 64,
|
|
"successful_requests": 4670,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 147.803,
|
|
"successful_latency_ms": {
|
|
"p50": 403.418,
|
|
"p95": 558.308,
|
|
"p99": 665.799
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\B_cpu4_db2_c64_r1.csv"
|
|
}
|
|
],
|
|
"summary": {
|
|
"8": {
|
|
"median_rps": 145.07,
|
|
"runs": 2
|
|
},
|
|
"16": {
|
|
"median_rps": 152.448,
|
|
"runs": 2
|
|
},
|
|
"32": {
|
|
"median_rps": 148.111,
|
|
"runs": 2
|
|
},
|
|
"64": {
|
|
"median_rps": 148.418,
|
|
"runs": 2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"series": "C",
|
|
"name": "C_before",
|
|
"replicas": 2,
|
|
"api_cpu": 1.0,
|
|
"api_mem": "512M",
|
|
"pg_cpu": 1.0,
|
|
"pool": 10,
|
|
"overflow": 20,
|
|
"pool_timeout": 30,
|
|
"nginx_mode": "baseline",
|
|
"observed_instance_ids": [
|
|
"api-9d7ded8a",
|
|
"api-f9fec23a"
|
|
],
|
|
"points": [
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.183,
|
|
"concurrency": 8,
|
|
"successful_requests": 4301,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 142.496,
|
|
"successful_latency_ms": {
|
|
"p50": 51.983,
|
|
"p95": 80.987,
|
|
"p99": 148.524
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_before_c8_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.194,
|
|
"concurrency": 8,
|
|
"successful_requests": 3919,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 129.792,
|
|
"successful_latency_ms": {
|
|
"p50": 55.238,
|
|
"p95": 104.713,
|
|
"p99": 181.21
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_before_c8_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.394,
|
|
"concurrency": 16,
|
|
"successful_requests": 4062,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 133.644,
|
|
"successful_latency_ms": {
|
|
"p50": 119.527,
|
|
"p95": 215.968,
|
|
"p99": 343.529
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "14",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_before_c16_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.453,
|
|
"concurrency": 16,
|
|
"successful_requests": 3822,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 125.505,
|
|
"successful_latency_ms": {
|
|
"p50": 117.086,
|
|
"p95": 221.724,
|
|
"p99": 300.679
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_before_c16_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.784,
|
|
"concurrency": 32,
|
|
"successful_requests": 4200,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 136.436,
|
|
"successful_latency_ms": {
|
|
"p50": 225.049,
|
|
"p95": 338.21,
|
|
"p99": 565.592
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_before_c32_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.739,
|
|
"concurrency": 32,
|
|
"successful_requests": 4209,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 136.927,
|
|
"successful_latency_ms": {
|
|
"p50": 217.814,
|
|
"p95": 338.734,
|
|
"p99": 588.003
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_before_c32_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.497,
|
|
"concurrency": 64,
|
|
"successful_requests": 4305,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 136.679,
|
|
"successful_latency_ms": {
|
|
"p50": 417.647,
|
|
"p95": 717.13,
|
|
"p99": 932.864
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_before_c64_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 32.048,
|
|
"concurrency": 64,
|
|
"successful_requests": 4070,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 126.997,
|
|
"successful_latency_ms": {
|
|
"p50": 484.389,
|
|
"p95": 795.946,
|
|
"p99": 943.134
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_before_c64_r1.csv"
|
|
}
|
|
],
|
|
"summary": {
|
|
"8": {
|
|
"median_rps": 142.496,
|
|
"runs": 2
|
|
},
|
|
"16": {
|
|
"median_rps": 133.644,
|
|
"runs": 2
|
|
},
|
|
"32": {
|
|
"median_rps": 136.927,
|
|
"runs": 2
|
|
},
|
|
"64": {
|
|
"median_rps": 136.679,
|
|
"runs": 2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"series": "C",
|
|
"name": "C_after",
|
|
"replicas": 2,
|
|
"api_cpu": 1.0,
|
|
"api_mem": "512M",
|
|
"pg_cpu": 1.0,
|
|
"pool": 10,
|
|
"overflow": 20,
|
|
"pool_timeout": 30,
|
|
"nginx_mode": "keepalive",
|
|
"observed_instance_ids": [
|
|
"api-6ac1161d",
|
|
"api-780fde4b"
|
|
],
|
|
"points": [
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.234,
|
|
"concurrency": 8,
|
|
"successful_requests": 3895,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 128.827,
|
|
"successful_latency_ms": {
|
|
"p50": 54.77,
|
|
"p95": 93.745,
|
|
"p99": 198.174
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "16",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_after_c8_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.216,
|
|
"concurrency": 8,
|
|
"successful_requests": 3282,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 108.616,
|
|
"successful_latency_ms": {
|
|
"p50": 61.722,
|
|
"p95": 146.556,
|
|
"p99": 252.043
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_after_c8_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.381,
|
|
"concurrency": 16,
|
|
"successful_requests": 4035,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 132.815,
|
|
"successful_latency_ms": {
|
|
"p50": 120.123,
|
|
"p95": 243.769,
|
|
"p99": 387.436
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "17",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_after_c16_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.536,
|
|
"concurrency": 16,
|
|
"successful_requests": 3519,
|
|
"failed_requests": 1,
|
|
"error_ratio": 0.000284,
|
|
"successful_rps": 115.241,
|
|
"successful_latency_ms": {
|
|
"p50": 126.575,
|
|
"p95": 245.77,
|
|
"p99": 414.042
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_after_c16_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.877,
|
|
"concurrency": 32,
|
|
"successful_requests": 3798,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 123.006,
|
|
"successful_latency_ms": {
|
|
"p50": 245.379,
|
|
"p95": 434.78,
|
|
"p99": 813.811
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_after_c32_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.81,
|
|
"concurrency": 32,
|
|
"successful_requests": 4168,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 135.281,
|
|
"successful_latency_ms": {
|
|
"p50": 211.169,
|
|
"p95": 337.457,
|
|
"p99": 763.31
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_after_c32_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.582,
|
|
"concurrency": 64,
|
|
"successful_requests": 4328,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 137.042,
|
|
"successful_latency_ms": {
|
|
"p50": 421.653,
|
|
"p95": 710.484,
|
|
"p99": 1016.113
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_after_c64_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.766,
|
|
"concurrency": 64,
|
|
"successful_requests": 3989,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 125.574,
|
|
"successful_latency_ms": {
|
|
"p50": 452.114,
|
|
"p95": 791.945,
|
|
"p99": 1016.634
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\C_after_c64_r1.csv"
|
|
}
|
|
],
|
|
"summary": {
|
|
"8": {
|
|
"median_rps": 128.827,
|
|
"runs": 2
|
|
},
|
|
"16": {
|
|
"median_rps": 132.815,
|
|
"runs": 2
|
|
},
|
|
"32": {
|
|
"median_rps": 135.281,
|
|
"runs": 2
|
|
},
|
|
"64": {
|
|
"median_rps": 137.042,
|
|
"runs": 2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"series": "D",
|
|
"name": "D_pool_starved",
|
|
"replicas": 2,
|
|
"api_cpu": 1.0,
|
|
"api_mem": "512M",
|
|
"pg_cpu": 1.0,
|
|
"pool": 2,
|
|
"overflow": 0,
|
|
"pool_timeout": 5,
|
|
"nginx_mode": "keepalive",
|
|
"observed_instance_ids": [
|
|
"api-81838c35",
|
|
"api-f031d0cf"
|
|
],
|
|
"points": [
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.329,
|
|
"concurrency": 8,
|
|
"successful_requests": 2727,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 89.913,
|
|
"successful_latency_ms": {
|
|
"p50": 72.25,
|
|
"p95": 196.561,
|
|
"p99": 359.412
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_starved_c8_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.537,
|
|
"concurrency": 8,
|
|
"successful_requests": 2620,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 85.799,
|
|
"successful_latency_ms": {
|
|
"p50": 74.935,
|
|
"p95": 206.454,
|
|
"p99": 348.505
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_starved_c8_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.771,
|
|
"concurrency": 16,
|
|
"successful_requests": 3124,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 101.523,
|
|
"successful_latency_ms": {
|
|
"p50": 113.746,
|
|
"p95": 413.322,
|
|
"p99": 726.637
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_starved_c16_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.56,
|
|
"concurrency": 16,
|
|
"successful_requests": 2922,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 95.614,
|
|
"successful_latency_ms": {
|
|
"p50": 119.6,
|
|
"p95": 510.127,
|
|
"p99": 908.637
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_starved_c16_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.231,
|
|
"concurrency": 32,
|
|
"successful_requests": 3168,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 101.437,
|
|
"successful_latency_ms": {
|
|
"p50": 216.453,
|
|
"p95": 1047.966,
|
|
"p99": 1769.263
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_starved_c32_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.116,
|
|
"concurrency": 32,
|
|
"successful_requests": 3043,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 97.797,
|
|
"successful_latency_ms": {
|
|
"p50": 233.299,
|
|
"p95": 994.507,
|
|
"p99": 1727.046
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_starved_c32_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 32.358,
|
|
"concurrency": 64,
|
|
"successful_requests": 3413,
|
|
"failed_requests": 1,
|
|
"error_ratio": 0.000293,
|
|
"successful_rps": 105.476,
|
|
"successful_latency_ms": {
|
|
"p50": 495.835,
|
|
"p95": 1305.867,
|
|
"p99": 2902.993
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_starved_c64_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.881,
|
|
"concurrency": 64,
|
|
"successful_requests": 3323,
|
|
"failed_requests": 1,
|
|
"error_ratio": 0.000301,
|
|
"successful_rps": 104.233,
|
|
"successful_latency_ms": {
|
|
"p50": 439.879,
|
|
"p95": 1541.484,
|
|
"p99": 2527.471
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "5",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_starved_c64_r1.csv"
|
|
}
|
|
],
|
|
"summary": {
|
|
"8": {
|
|
"median_rps": 89.913,
|
|
"runs": 2
|
|
},
|
|
"16": {
|
|
"median_rps": 101.523,
|
|
"runs": 2
|
|
},
|
|
"32": {
|
|
"median_rps": 101.437,
|
|
"runs": 2
|
|
},
|
|
"64": {
|
|
"median_rps": 105.476,
|
|
"runs": 2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"series": "D",
|
|
"name": "D_pool_normal",
|
|
"replicas": 2,
|
|
"api_cpu": 1.0,
|
|
"api_mem": "512M",
|
|
"pg_cpu": 1.0,
|
|
"pool": 10,
|
|
"overflow": 20,
|
|
"pool_timeout": 30,
|
|
"nginx_mode": "keepalive",
|
|
"observed_instance_ids": [
|
|
"api-48961cd5",
|
|
"api-8509b9d5"
|
|
],
|
|
"points": [
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.277,
|
|
"concurrency": 8,
|
|
"successful_requests": 2782,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 91.883,
|
|
"successful_latency_ms": {
|
|
"p50": 81.766,
|
|
"p95": 135.009,
|
|
"p99": 287.643
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "15",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "16",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_normal_c8_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 8,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.243,
|
|
"concurrency": 8,
|
|
"successful_requests": 2954,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 97.675,
|
|
"successful_latency_ms": {
|
|
"p50": 72.722,
|
|
"p95": 160.538,
|
|
"p99": 216.538
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "16",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "16",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_normal_c8_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.459,
|
|
"concurrency": 16,
|
|
"successful_requests": 3085,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 101.283,
|
|
"successful_latency_ms": {
|
|
"p50": 153.651,
|
|
"p95": 286.247,
|
|
"p99": 390.87
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "16",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "20",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_normal_c16_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 16,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.451,
|
|
"concurrency": 16,
|
|
"successful_requests": 3231,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 106.106,
|
|
"successful_latency_ms": {
|
|
"p50": 142.19,
|
|
"p95": 265.706,
|
|
"p99": 419.588
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "20",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_normal_c16_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 30.986,
|
|
"concurrency": 32,
|
|
"successful_requests": 3216,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 103.79,
|
|
"successful_latency_ms": {
|
|
"p50": 269.013,
|
|
"p95": 518.976,
|
|
"p99": 886.085
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_normal_c32_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 32,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 31.69,
|
|
"concurrency": 32,
|
|
"successful_requests": 2354,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 74.283,
|
|
"successful_latency_ms": {
|
|
"p50": 369.394,
|
|
"p95": 783.569,
|
|
"p99": 1111.781
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_normal_c32_r1.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 0,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 32.502,
|
|
"concurrency": 64,
|
|
"successful_requests": 2276,
|
|
"failed_requests": 1,
|
|
"error_ratio": 0.000439,
|
|
"successful_rps": 70.026,
|
|
"successful_latency_ms": {
|
|
"p50": 686.258,
|
|
"p95": 1379.716,
|
|
"p99": 4132.014
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_normal_c64_r0.csv"
|
|
},
|
|
{
|
|
"concurrency": 64,
|
|
"repeat": 1,
|
|
"metrics": {
|
|
"lab": 3,
|
|
"workload": "closed-loop POST messages; no automatic retries",
|
|
"requested_duration_seconds": 30.0,
|
|
"elapsed_seconds": 32.411,
|
|
"concurrency": 64,
|
|
"successful_requests": 2667,
|
|
"failed_requests": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 82.287,
|
|
"successful_latency_ms": {
|
|
"p50": 643.335,
|
|
"p95": 1390.41,
|
|
"p99": 1641.975
|
|
},
|
|
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
|
},
|
|
"pg_before": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"pg_after": {
|
|
"numbackends": "21",
|
|
"active": "1",
|
|
"waits": "",
|
|
"top_sql": ""
|
|
},
|
|
"stats_csv": "C:\\Courses\\Course_4\\WidthBrand System\\L2+\\mtusi2026lab3\\results\\scaling\\stats\\D_pool_normal_c64_r1.csv"
|
|
}
|
|
],
|
|
"summary": {
|
|
"8": {
|
|
"median_rps": 97.675,
|
|
"runs": 2
|
|
},
|
|
"16": {
|
|
"median_rps": 106.106,
|
|
"runs": 2
|
|
},
|
|
"32": {
|
|
"median_rps": 103.79,
|
|
"runs": 2
|
|
},
|
|
"64": {
|
|
"median_rps": 82.287,
|
|
"runs": 2
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"finished_at": "2026-11-17T14:34:04.204345+00:00"
|
|
} |