lab4: evidence и отчёт после второго ревью (бюджет памяти, худший случай, таймауты S3), шаблон PR

This commit is contained in:
2026-10-23 17:27:37 +03:00
parent 9caa0313be
commit 66c44aa0f3
17 changed files with 1315 additions and 1192 deletions
+129 -120
View File
@@ -1,6 +1,6 @@
{
"date": "2026-10-23T14:16:28+00:00",
"git": "4b53e03",
"date": "2026-10-23T14:21:43+00:00",
"git": "9caa031",
"params": {
"mode": "proxy",
"size_bytes": 10485760,
@@ -8,7 +8,7 @@
"uploads_per_worker": 2,
"repeat": 3,
"users": 32,
"image": "tmp.n0I8NPEIWj.png"
"image": "worst-40mp-rgba16-adam7.png"
},
"host": {
"nproc": 8,
@@ -23,91 +23,33 @@
"uploads": 64,
"succeeded": 63,
"failed": 1,
"duration_s": 25.819,
"outcomes": {
"ok": 63,
"upload:429": 1
},
"duration_s": 26.314,
"latency_ms": {
"p50": 11818.4,
"p95": 12931.4,
"p99": 13553.9
"p50": 11982.1,
"p95": 13221.2,
"p99": 13881.3
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 337133327,
"delta_tx_bytes": 326730589,
"baseline_rss_bytes": 242167808,
"delta_rx_bytes": 337116624,
"delta_tx_bytes": 326709435,
"baseline_rss_bytes": 280637440,
"peak_memory_bytes": {
"rss": 764227584,
"heap_used": 53277928,
"external": 205747809,
"array_buffers": 201957465
"rss": 794800128,
"heap_used": 52577168,
"external": 200629533,
"array_buffers": 196839189
},
"delta_rss_bytes": 522059776,
"delta_rss_bytes": 514162688,
"counters": {
"attachments.insert_pending": 31,
"attachments.proxy.bytes_in": 325058560,
"attachments.decode.ms": 25036.73668600002,
"attachments.proxy.bytes_to_s3": 325058560,
"attachments.mark_ready": 31,
"attachments.upload.created": 31,
"attachments.claim_expired": 1
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 337211779,
"delta_tx_bytes": 337283965,
"baseline_rss_bytes": 228610048,
"peak_memory_bytes": {
"rss": 778199040,
"heap_used": 51989272,
"external": 236791924,
"array_buffers": 233001507
},
"delta_rss_bytes": 549588992,
"counters": {
"attachments.insert_pending": 32,
"attachments.proxy.bytes_in": 335544320,
"attachments.decode.ms": 25586.631086000038,
"attachments.proxy.bytes_to_s3": 335544320,
"attachments.mark_ready": 32,
"attachments.upload.created": 32,
"attachments.claim_expired": 1
}
}
],
"total_delta_rx_bytes": 674345106,
"total_delta_tx_bytes": 664014554,
"rx_bytes_per_upload": 10536642,
"tx_bytes_per_upload": 10375227,
"max_delta_rss_bytes": 549588992
},
{
"uploads": 64,
"succeeded": 63,
"failed": 1,
"duration_s": 25.757,
"latency_ms": {
"p50": 11572.1,
"p95": 12715.5,
"p99": 13392.7
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 334592209,
"delta_tx_bytes": 326276198,
"baseline_rss_bytes": 398258176,
"peak_memory_bytes": {
"rss": 783015936,
"heap_used": 55518080,
"external": 207730225,
"array_buffers": 203939881
},
"delta_rss_bytes": 384757760,
"counters": {
"attachments.insert_pending": 31,
"attachments.proxy.bytes_in": 325058560,
"attachments.decode.ms": 24831.425972000143,
"attachments.decode.ms": 25555.52753299987,
"attachments.proxy.bytes_to_s3": 325058560,
"attachments.mark_ready": 31,
"attachments.upload.created": 31
@@ -115,81 +57,148 @@
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 336487647,
"delta_tx_bytes": 336637754,
"baseline_rss_bytes": 402874368,
"delta_rx_bytes": 337265287,
"delta_tx_bytes": 337358402,
"baseline_rss_bytes": 243548160,
"peak_memory_bytes": {
"rss": 798023680,
"heap_used": 53729504,
"external": 238180613,
"array_buffers": 234390237
"rss": 810434560,
"heap_used": 53145984,
"external": 236705259,
"array_buffers": 220341467
},
"delta_rss_bytes": 395149312,
"delta_rss_bytes": 566886400,
"counters": {
"attachments.insert_pending": 32,
"attachments.proxy.bytes_in": 335544320,
"attachments.decode.ms": 25634.232347999874,
"attachments.decode.ms": 26139.059334000223,
"attachments.proxy.bytes_to_s3": 335544320,
"attachments.mark_ready": 32,
"attachments.upload.created": 32
}
}
],
"total_delta_rx_bytes": 671079856,
"total_delta_tx_bytes": 662913952,
"rx_bytes_per_upload": 10485623,
"tx_bytes_per_upload": 10358030,
"max_delta_rss_bytes": 395149312
"total_delta_rx_bytes": 674381911,
"total_delta_tx_bytes": 664067837,
"rx_bytes_per_upload": 10537217,
"tx_bytes_per_upload": 10376060,
"max_delta_rss_bytes": 566886400
},
{
"uploads": 64,
"succeeded": 63,
"failed": 1,
"duration_s": 25.464,
"outcomes": {
"ok": 63,
"upload:429": 1
},
"duration_s": 26.067,
"latency_ms": {
"p50": 11705.5,
"p95": 12780.4,
"p99": 13430.4
"p50": 11840.4,
"p95": 12960.2,
"p99": 13468.5
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 336576208,
"delta_tx_bytes": 326212836,
"baseline_rss_bytes": 429645824,
"delta_rx_bytes": 336715328,
"delta_tx_bytes": 326375446,
"baseline_rss_bytes": 440582144,
"peak_memory_bytes": {
"rss": 788910080,
"heap_used": 51970176,
"external": 237910954,
"array_buffers": 234120537
"rss": 792059904,
"heap_used": 56538592,
"external": 222265987,
"array_buffers": 218475643
},
"delta_rss_bytes": 359264256,
"delta_rss_bytes": 351477760,
"counters": {
"attachments.insert_pending": 31,
"attachments.proxy.bytes_in": 325058560,
"attachments.decode.ms": 24706.14007100009,
"attachments.decode.ms": 25179.0629260001,
"attachments.proxy.bytes_to_s3": 325058560,
"attachments.mark_ready": 31,
"attachments.upload.created": 31,
"attachments.upload.created": 31
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 336711646,
"delta_tx_bytes": 336796533,
"baseline_rss_bytes": 456798208,
"peak_memory_bytes": {
"rss": 804114432,
"heap_used": 56361496,
"external": 227834931,
"array_buffers": 224044587
},
"delta_rss_bytes": 347316224,
"counters": {
"attachments.insert_pending": 32,
"attachments.proxy.bytes_in": 335544320,
"attachments.decode.ms": 25936.202234999975,
"attachments.proxy.bytes_to_s3": 335544320,
"attachments.mark_ready": 32,
"attachments.upload.created": 32
}
}
],
"total_delta_rx_bytes": 673426974,
"total_delta_tx_bytes": 663171979,
"rx_bytes_per_upload": 10522296,
"tx_bytes_per_upload": 10362062,
"max_delta_rss_bytes": 351477760
},
{
"uploads": 64,
"succeeded": 64,
"failed": 0,
"outcomes": {
"ok": 64
},
"duration_s": 26.191,
"latency_ms": {
"p50": 12369.3,
"p95": 13068.5,
"p99": 13838.5
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 336907021,
"delta_tx_bytes": 336990630,
"baseline_rss_bytes": 438906880,
"peak_memory_bytes": {
"rss": 812994560,
"heap_used": 53308256,
"external": 217363492,
"array_buffers": 213573148
},
"delta_rss_bytes": 374087680,
"counters": {
"attachments.insert_pending": 32,
"attachments.proxy.bytes_in": 335544320,
"attachments.decode.ms": 25964.192683000234,
"attachments.proxy.bytes_to_s3": 335544320,
"attachments.mark_ready": 32,
"attachments.upload.created": 32,
"attachments.claim_expired": 1
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 336605411,
"delta_tx_bytes": 336677870,
"baseline_rss_bytes": 444702720,
"delta_rx_bytes": 336764548,
"delta_tx_bytes": 336853328,
"baseline_rss_bytes": 451035136,
"peak_memory_bytes": {
"rss": 810758144,
"heap_used": 54356496,
"external": 217451321,
"array_buffers": 213660977
"rss": 822910976,
"heap_used": 51718280,
"external": 238155032,
"array_buffers": 234364688
},
"delta_rss_bytes": 366055424,
"delta_rss_bytes": 371875840,
"counters": {
"attachments.insert_pending": 32,
"attachments.proxy.bytes_in": 335544320,
"attachments.decode.ms": 25312.452498999774,
"attachments.decode.ms": 25902.83660300006,
"attachments.proxy.bytes_to_s3": 335544320,
"attachments.mark_ready": 32,
"attachments.upload.created": 32,
@@ -197,11 +206,11 @@
}
}
],
"total_delta_rx_bytes": 673181619,
"total_delta_tx_bytes": 662890706,
"rx_bytes_per_upload": 10518463,
"tx_bytes_per_upload": 10357667,
"max_delta_rss_bytes": 366055424
"total_delta_rx_bytes": 673671569,
"total_delta_tx_bytes": 673843958,
"rx_bytes_per_upload": 10526118,
"tx_bytes_per_upload": 10528812,
"max_delta_rss_bytes": 374087680
}
]
}