lab4: бенчмарк — пользователь на поток, худший вход, классификация отказов

This commit is contained in:
2026-10-23 17:18:54 +03:00
parent 4b53e03fd6
commit 9caa0313be
17 changed files with 1343 additions and 877 deletions
+94 -92
View File
@@ -1,201 +1,203 @@
{
"date": "2026-10-23T13:37:29+00:00",
"git": "4badd5a",
"date": "2026-10-23T14:14:01+00:00",
"git": "4b53e03",
"params": {
"mode": "proxy",
"size_bytes": 1048576,
"concurrency": 10,
"uploads_per_worker": 5,
"repeat": 3
"repeat": 3,
"users": 10,
"image": null
},
"host": {
"nproc": 8,
"mem_total_bytes": 16538955776
},
"api_container_limits_nanocpus_memory": [
"1500000000 805306368",
"1500000000 805306368"
"1500000000 1073741824",
"1500000000 1073741824"
],
"repeats": [
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.885,
"duration_s": 0.392,
"latency_ms": {
"p50": 156.2,
"p95": 207.1,
"p99": 235.1
"p50": 56.0,
"p95": 100.2,
"p99": 108.3
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 26389500,
"delta_tx_bytes": 26402061,
"baseline_rss_bytes": 231522304,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 26387282,
"delta_tx_bytes": 26396329,
"baseline_rss_bytes": 167575552,
"peak_memory_bytes": {
"rss": 231522304,
"heap_used": 52773312,
"external": 23343330,
"array_buffers": 19552986
"rss": 180232192,
"heap_used": 54305016,
"external": 22415054,
"array_buffers": 18606583
},
"delta_rss_bytes": 0,
"delta_rss_bytes": 12656640,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1601.4592339998344,
"attachments.decode.ms": 161.38972300002933,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 26384219,
"delta_tx_bytes": 26403431,
"baseline_rss_bytes": 264105984,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 26380621,
"delta_tx_bytes": 26397967,
"baseline_rss_bytes": 164233216,
"peak_memory_bytes": {
"rss": 266989568,
"heap_used": 49942048,
"external": 24835619,
"array_buffers": 18813186
"rss": 182816768,
"heap_used": 55081640,
"external": 25150489,
"array_buffers": 21337451
},
"delta_rss_bytes": 2883584,
"delta_rss_bytes": 18583552,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1562.9852019998943,
"attachments.decode.ms": 153.55793299997458,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 52773719,
"total_delta_tx_bytes": 52805492,
"rx_bytes_per_upload": 1055474,
"tx_bytes_per_upload": 1056110,
"max_delta_rss_bytes": 2883584
"total_delta_rx_bytes": 52767903,
"total_delta_tx_bytes": 52794296,
"rx_bytes_per_upload": 1055358,
"tx_bytes_per_upload": 1055886,
"max_delta_rss_bytes": 18583552
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.771,
"duration_s": 0.44,
"latency_ms": {
"p50": 131.9,
"p95": 174.7,
"p99": 175.6
"p50": 57.0,
"p95": 123.6,
"p99": 164.4
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 26384709,
"delta_tx_bytes": 26401945,
"baseline_rss_bytes": 231522304,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 26400102,
"delta_tx_bytes": 26408679,
"baseline_rss_bytes": 180232192,
"peak_memory_bytes": {
"rss": 233619456,
"heap_used": 51880616,
"external": 32630526,
"array_buffers": 26533593
"rss": 186654720,
"heap_used": 52146632,
"external": 28489237,
"array_buffers": 24678454
},
"delta_rss_bytes": 2097152,
"delta_rss_bytes": 6422528,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1264.4056559997844,
"attachments.decode.ms": 200.20289300006698,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 26376275,
"delta_tx_bytes": 26401865,
"baseline_rss_bytes": 266989568,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 26378813,
"delta_tx_bytes": 26400238,
"baseline_rss_bytes": 182816768,
"peak_memory_bytes": {
"rss": 266989568,
"heap_used": 50529400,
"external": 26599488,
"array_buffers": 22809144
"rss": 191991808,
"heap_used": 53527584,
"external": 35009900,
"array_buffers": 31190059
},
"delta_rss_bytes": 0,
"delta_rss_bytes": 9175040,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1410.3865230001393,
"attachments.decode.ms": 137.82972499995958,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 52760984,
"total_delta_tx_bytes": 52803810,
"rx_bytes_per_upload": 1055220,
"tx_bytes_per_upload": 1056076,
"max_delta_rss_bytes": 2097152
"total_delta_rx_bytes": 52778915,
"total_delta_tx_bytes": 52808917,
"rx_bytes_per_upload": 1055578,
"tx_bytes_per_upload": 1056178,
"max_delta_rss_bytes": 9175040
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.792,
"duration_s": 0.37,
"latency_ms": {
"p50": 126.4,
"p95": 182.7,
"p99": 191.3
"p50": 46.4,
"p95": 81.6,
"p99": 99.1
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 26385221,
"delta_tx_bytes": 26404709,
"baseline_rss_bytes": 233619456,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 26383217,
"delta_tx_bytes": 26399979,
"baseline_rss_bytes": 181960704,
"peak_memory_bytes": {
"rss": 233619456,
"heap_used": 51420296,
"external": 29512306,
"array_buffers": 25721962
"rss": 188776448,
"heap_used": 52208392,
"external": 28664130,
"array_buffers": 24846506
},
"delta_rss_bytes": 0,
"delta_rss_bytes": 6815744,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1199.6556880001444,
"attachments.decode.ms": 139.54196999999112,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 26378117,
"delta_tx_bytes": 26400049,
"baseline_rss_bytes": 266989568,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 26394762,
"delta_tx_bytes": 26403375,
"baseline_rss_bytes": 179302400,
"peak_memory_bytes": {
"rss": 267907072,
"heap_used": 51921864,
"external": 30362031,
"array_buffers": 26571687
"rss": 184086528,
"heap_used": 50413992,
"external": 24938566,
"array_buffers": 21130086
},
"delta_rss_bytes": 917504,
"delta_rss_bytes": 4784128,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1393.8144420000026,
"attachments.decode.ms": 202.13070199999493,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 52763338,
"total_delta_tx_bytes": 52804758,
"rx_bytes_per_upload": 1055267,
"tx_bytes_per_upload": 1056095,
"max_delta_rss_bytes": 917504
"total_delta_rx_bytes": 52777979,
"total_delta_tx_bytes": 52803354,
"rx_bytes_per_upload": 1055560,
"tx_bytes_per_upload": 1056067,
"max_delta_rss_bytes": 6815744
}
]
}