forked from mtusi2026/mtusi2026lab3
Выполнить лабораторную 3: балансировка, отказы и исследование масштабирования
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 46 KiB |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"suite": "improvement",
|
||||
"parameters": {
|
||||
"base_url": "http://localhost:8083",
|
||||
"duration": 10.0,
|
||||
"warmup": 2.0,
|
||||
"repeats": 3,
|
||||
"concurrency": 16,
|
||||
"suite": "improvement"
|
||||
},
|
||||
"files": [
|
||||
"cache-per_request-1.json",
|
||||
"cache-shared-1.json",
|
||||
"cache-shared-2.json",
|
||||
"cache-per_request-2.json",
|
||||
"cache-per_request-3.json",
|
||||
"cache-shared-3.json"
|
||||
],
|
||||
"seed_base": 20261030
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"suite": "saturation",
|
||||
"parameters": {
|
||||
"base_url": "http://localhost:8083",
|
||||
"duration": 10.0,
|
||||
"warmup": 2.0,
|
||||
"repeats": 3,
|
||||
"concurrency": 16,
|
||||
"suite": "saturation"
|
||||
},
|
||||
"files": [
|
||||
"db-0.5-1.json",
|
||||
"db-1-1.json",
|
||||
"saturation-c1-1.json",
|
||||
"saturation-c64-1.json",
|
||||
"saturation-c4-1.json",
|
||||
"saturation-c16-1.json",
|
||||
"db-0.5-2.json",
|
||||
"saturation-c16-2.json",
|
||||
"saturation-c64-2.json",
|
||||
"saturation-c1-2.json",
|
||||
"saturation-c4-2.json",
|
||||
"db-1-2.json",
|
||||
"saturation-c1-3.json",
|
||||
"saturation-c4-3.json",
|
||||
"saturation-c64-3.json",
|
||||
"saturation-c16-3.json",
|
||||
"db-0.5-3.json",
|
||||
"db-1-3.json"
|
||||
],
|
||||
"seed_base": 20261030
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"suite": "scaling",
|
||||
"parameters": {
|
||||
"base_url": "http://localhost:8083",
|
||||
"duration": 10.0,
|
||||
"warmup": 2.0,
|
||||
"repeats": 3,
|
||||
"concurrency": 16,
|
||||
"suite": "scaling"
|
||||
},
|
||||
"files": [
|
||||
"fixed-4-1.json",
|
||||
"growing-4-1.json",
|
||||
"fixed-1-1.json",
|
||||
"growing-2-1.json",
|
||||
"growing-1-1.json",
|
||||
"fixed-2-1.json",
|
||||
"fixed-4-2.json",
|
||||
"fixed-2-2.json",
|
||||
"growing-2-2.json",
|
||||
"fixed-1-2.json",
|
||||
"growing-1-2.json",
|
||||
"growing-4-2.json",
|
||||
"fixed-1-3.json",
|
||||
"growing-1-3.json",
|
||||
"growing-2-3.json",
|
||||
"fixed-2-3.json",
|
||||
"fixed-4-3.json",
|
||||
"growing-4-3.json"
|
||||
],
|
||||
"seed_base": 20261030
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 56 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 65 KiB |
@@ -0,0 +1,15 @@
|
||||
case,repeats,replicas,rps_mean,rps_min,rps_max,rps_stdev,p50_ms_mean,p95_ms_mean,p99_ms_mean,errors,db_cpu_percent_mean,lb_cpu_percent_mean,client_cpu_percent_mean,api_memory_peak_mib,db_memory_peak_mib,cache_new_connections_mean
|
||||
cache-per_request,3,2,444.971,347.541,555.873,104.817,26.979,124.129,226.961,0,28.031,4.458,6.895,121.2,75.9,5422.667
|
||||
cache-shared,3,2,584.034,543.451,612.79,36.151,20.15,82.492,148.197,0,34.284,5.568,8.638,110.9,82.33,2.333
|
||||
db-0.5,3,4,836.452,803.987,871.602,33.887,9.837,62.32,110.954,0,44.408,6.767,10.388,109.3,62.39,1.667
|
||||
db-1,3,4,952.898,859.146,999.988,81.192,8.824,59.386,116.851,0,51.526,7.598,12.255,109.9,63.95,1
|
||||
fixed-1,3,1,639.489,631.518,647.958,8.231,21.817,36.491,64.198,0,24.944,4.214,7.459,,94.06,2
|
||||
fixed-2,3,2,470.25,401.125,515.006,60.726,17.989,80.234,164.256,0,24.457,3.233,5.285,106.5,116.1,3
|
||||
fixed-4,3,4,349.836,318.135,407.053,49.648,8.392,177.155,311.404,0,19.433,2.846,4.514,119.2,133.6,5
|
||||
growing-1,3,1,499.676,482.186,511.119,15.385,22.18,83.49,99.364,0,19.89,3.24,6.015,,100.2,1.667
|
||||
growing-2,3,2,460.809,399.351,520.157,60.431,18.676,91.001,184.321,0,24.278,3.213,5.332,60.21,112.9,2.667
|
||||
growing-4,3,4,429.856,343.057,478.863,75.379,10.296,117.1,268.256,0,25.225,3.433,5.331,106.4,136.4,4.667
|
||||
saturation-c1,3,4,335.487,265.665,387.964,62.968,1.871,4.616,39.666,0,19.866,2.831,3.698,119.2,82.22,1
|
||||
saturation-c16,3,4,448.32,410.25,486.645,38.198,11.681,105.872,171.931,0,25.288,3.745,5.855,109.3,72.93,1
|
||||
saturation-c4,3,4,353.65,225.289,455.926,117.51,3.434,73.066,88.685,0,24.251,3.207,5.001,109.9,78.28,1
|
||||
saturation-c64,3,4,388.562,307.264,444.725,72.095,122.244,425.181,674.453,0,25.402,3.697,5.923,120.7,84.29,1
|
||||
|
@@ -0,0 +1,268 @@
|
||||
[
|
||||
{
|
||||
"case": "cache-per_request",
|
||||
"repeats": 3,
|
||||
"replicas": 2,
|
||||
"rps_mean": 444.971,
|
||||
"rps_min": 347.541,
|
||||
"rps_max": 555.873,
|
||||
"rps_stdev": 104.817,
|
||||
"p50_ms_mean": 26.979,
|
||||
"p95_ms_mean": 124.129,
|
||||
"p99_ms_mean": 226.961,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 28.031,
|
||||
"lb_cpu_percent_mean": 4.458,
|
||||
"client_cpu_percent_mean": 6.895,
|
||||
"api_memory_peak_mib": 121.2,
|
||||
"db_memory_peak_mib": 75.9,
|
||||
"cache_new_connections_mean": 5422.667
|
||||
},
|
||||
{
|
||||
"case": "cache-shared",
|
||||
"repeats": 3,
|
||||
"replicas": 2,
|
||||
"rps_mean": 584.034,
|
||||
"rps_min": 543.451,
|
||||
"rps_max": 612.79,
|
||||
"rps_stdev": 36.151,
|
||||
"p50_ms_mean": 20.15,
|
||||
"p95_ms_mean": 82.492,
|
||||
"p99_ms_mean": 148.197,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 34.284,
|
||||
"lb_cpu_percent_mean": 5.568,
|
||||
"client_cpu_percent_mean": 8.638,
|
||||
"api_memory_peak_mib": 110.9,
|
||||
"db_memory_peak_mib": 82.33,
|
||||
"cache_new_connections_mean": 2.333
|
||||
},
|
||||
{
|
||||
"case": "db-0.5",
|
||||
"repeats": 3,
|
||||
"replicas": 4,
|
||||
"rps_mean": 836.452,
|
||||
"rps_min": 803.987,
|
||||
"rps_max": 871.602,
|
||||
"rps_stdev": 33.887,
|
||||
"p50_ms_mean": 9.837,
|
||||
"p95_ms_mean": 62.32,
|
||||
"p99_ms_mean": 110.954,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 44.408,
|
||||
"lb_cpu_percent_mean": 6.767,
|
||||
"client_cpu_percent_mean": 10.388,
|
||||
"api_memory_peak_mib": 109.3,
|
||||
"db_memory_peak_mib": 62.39,
|
||||
"cache_new_connections_mean": 1.667
|
||||
},
|
||||
{
|
||||
"case": "db-1",
|
||||
"repeats": 3,
|
||||
"replicas": 4,
|
||||
"rps_mean": 952.898,
|
||||
"rps_min": 859.146,
|
||||
"rps_max": 999.988,
|
||||
"rps_stdev": 81.192,
|
||||
"p50_ms_mean": 8.824,
|
||||
"p95_ms_mean": 59.386,
|
||||
"p99_ms_mean": 116.851,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 51.526,
|
||||
"lb_cpu_percent_mean": 7.598,
|
||||
"client_cpu_percent_mean": 12.255,
|
||||
"api_memory_peak_mib": 109.9,
|
||||
"db_memory_peak_mib": 63.95,
|
||||
"cache_new_connections_mean": 1
|
||||
},
|
||||
{
|
||||
"case": "fixed-1",
|
||||
"repeats": 3,
|
||||
"replicas": 1,
|
||||
"rps_mean": 639.489,
|
||||
"rps_min": 631.518,
|
||||
"rps_max": 647.958,
|
||||
"rps_stdev": 8.231,
|
||||
"p50_ms_mean": 21.817,
|
||||
"p95_ms_mean": 36.491,
|
||||
"p99_ms_mean": 64.198,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 24.944,
|
||||
"lb_cpu_percent_mean": 4.214,
|
||||
"client_cpu_percent_mean": 7.459,
|
||||
"api_memory_peak_mib": null,
|
||||
"db_memory_peak_mib": 94.06,
|
||||
"cache_new_connections_mean": 2
|
||||
},
|
||||
{
|
||||
"case": "fixed-2",
|
||||
"repeats": 3,
|
||||
"replicas": 2,
|
||||
"rps_mean": 470.25,
|
||||
"rps_min": 401.125,
|
||||
"rps_max": 515.006,
|
||||
"rps_stdev": 60.726,
|
||||
"p50_ms_mean": 17.989,
|
||||
"p95_ms_mean": 80.234,
|
||||
"p99_ms_mean": 164.256,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 24.457,
|
||||
"lb_cpu_percent_mean": 3.233,
|
||||
"client_cpu_percent_mean": 5.285,
|
||||
"api_memory_peak_mib": 106.5,
|
||||
"db_memory_peak_mib": 116.1,
|
||||
"cache_new_connections_mean": 3
|
||||
},
|
||||
{
|
||||
"case": "fixed-4",
|
||||
"repeats": 3,
|
||||
"replicas": 4,
|
||||
"rps_mean": 349.836,
|
||||
"rps_min": 318.135,
|
||||
"rps_max": 407.053,
|
||||
"rps_stdev": 49.648,
|
||||
"p50_ms_mean": 8.392,
|
||||
"p95_ms_mean": 177.155,
|
||||
"p99_ms_mean": 311.404,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 19.433,
|
||||
"lb_cpu_percent_mean": 2.846,
|
||||
"client_cpu_percent_mean": 4.514,
|
||||
"api_memory_peak_mib": 119.2,
|
||||
"db_memory_peak_mib": 133.6,
|
||||
"cache_new_connections_mean": 5
|
||||
},
|
||||
{
|
||||
"case": "growing-1",
|
||||
"repeats": 3,
|
||||
"replicas": 1,
|
||||
"rps_mean": 499.676,
|
||||
"rps_min": 482.186,
|
||||
"rps_max": 511.119,
|
||||
"rps_stdev": 15.385,
|
||||
"p50_ms_mean": 22.18,
|
||||
"p95_ms_mean": 83.49,
|
||||
"p99_ms_mean": 99.364,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 19.89,
|
||||
"lb_cpu_percent_mean": 3.24,
|
||||
"client_cpu_percent_mean": 6.015,
|
||||
"api_memory_peak_mib": null,
|
||||
"db_memory_peak_mib": 100.2,
|
||||
"cache_new_connections_mean": 1.667
|
||||
},
|
||||
{
|
||||
"case": "growing-2",
|
||||
"repeats": 3,
|
||||
"replicas": 2,
|
||||
"rps_mean": 460.809,
|
||||
"rps_min": 399.351,
|
||||
"rps_max": 520.157,
|
||||
"rps_stdev": 60.431,
|
||||
"p50_ms_mean": 18.676,
|
||||
"p95_ms_mean": 91.001,
|
||||
"p99_ms_mean": 184.321,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 24.278,
|
||||
"lb_cpu_percent_mean": 3.213,
|
||||
"client_cpu_percent_mean": 5.332,
|
||||
"api_memory_peak_mib": 60.21,
|
||||
"db_memory_peak_mib": 112.9,
|
||||
"cache_new_connections_mean": 2.667
|
||||
},
|
||||
{
|
||||
"case": "growing-4",
|
||||
"repeats": 3,
|
||||
"replicas": 4,
|
||||
"rps_mean": 429.856,
|
||||
"rps_min": 343.057,
|
||||
"rps_max": 478.863,
|
||||
"rps_stdev": 75.379,
|
||||
"p50_ms_mean": 10.296,
|
||||
"p95_ms_mean": 117.1,
|
||||
"p99_ms_mean": 268.256,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 25.225,
|
||||
"lb_cpu_percent_mean": 3.433,
|
||||
"client_cpu_percent_mean": 5.331,
|
||||
"api_memory_peak_mib": 106.4,
|
||||
"db_memory_peak_mib": 136.4,
|
||||
"cache_new_connections_mean": 4.667
|
||||
},
|
||||
{
|
||||
"case": "saturation-c1",
|
||||
"repeats": 3,
|
||||
"replicas": 4,
|
||||
"rps_mean": 335.487,
|
||||
"rps_min": 265.665,
|
||||
"rps_max": 387.964,
|
||||
"rps_stdev": 62.968,
|
||||
"p50_ms_mean": 1.871,
|
||||
"p95_ms_mean": 4.616,
|
||||
"p99_ms_mean": 39.666,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 19.866,
|
||||
"lb_cpu_percent_mean": 2.831,
|
||||
"client_cpu_percent_mean": 3.698,
|
||||
"api_memory_peak_mib": 119.2,
|
||||
"db_memory_peak_mib": 82.22,
|
||||
"cache_new_connections_mean": 1
|
||||
},
|
||||
{
|
||||
"case": "saturation-c16",
|
||||
"repeats": 3,
|
||||
"replicas": 4,
|
||||
"rps_mean": 448.32,
|
||||
"rps_min": 410.25,
|
||||
"rps_max": 486.645,
|
||||
"rps_stdev": 38.198,
|
||||
"p50_ms_mean": 11.681,
|
||||
"p95_ms_mean": 105.872,
|
||||
"p99_ms_mean": 171.931,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 25.288,
|
||||
"lb_cpu_percent_mean": 3.745,
|
||||
"client_cpu_percent_mean": 5.855,
|
||||
"api_memory_peak_mib": 109.3,
|
||||
"db_memory_peak_mib": 72.93,
|
||||
"cache_new_connections_mean": 1
|
||||
},
|
||||
{
|
||||
"case": "saturation-c4",
|
||||
"repeats": 3,
|
||||
"replicas": 4,
|
||||
"rps_mean": 353.65,
|
||||
"rps_min": 225.289,
|
||||
"rps_max": 455.926,
|
||||
"rps_stdev": 117.51,
|
||||
"p50_ms_mean": 3.434,
|
||||
"p95_ms_mean": 73.066,
|
||||
"p99_ms_mean": 88.685,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 24.251,
|
||||
"lb_cpu_percent_mean": 3.207,
|
||||
"client_cpu_percent_mean": 5.001,
|
||||
"api_memory_peak_mib": 109.9,
|
||||
"db_memory_peak_mib": 78.28,
|
||||
"cache_new_connections_mean": 1
|
||||
},
|
||||
{
|
||||
"case": "saturation-c64",
|
||||
"repeats": 3,
|
||||
"replicas": 4,
|
||||
"rps_mean": 388.562,
|
||||
"rps_min": 307.264,
|
||||
"rps_max": 444.725,
|
||||
"rps_stdev": 72.095,
|
||||
"p50_ms_mean": 122.244,
|
||||
"p95_ms_mean": 425.181,
|
||||
"p99_ms_mean": 674.453,
|
||||
"errors": 0,
|
||||
"db_cpu_percent_mean": 25.402,
|
||||
"lb_cpu_percent_mean": 3.697,
|
||||
"client_cpu_percent_mean": 5.923,
|
||||
"api_memory_peak_mib": 120.7,
|
||||
"db_memory_peak_mib": 84.29,
|
||||
"cache_new_connections_mean": 1
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user