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
+123 -111
View File
@@ -1,6 +1,6 @@
{
"date": "2026-10-23T14:17:56+00:00",
"git": "4b53e03",
"date": "2026-10-23T14:23:13+00:00",
"git": "9caa031",
"params": {
"mode": "direct",
"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,195 +23,207 @@
"uploads": 64,
"succeeded": 48,
"failed": 16,
"duration_s": 25.799,
"outcomes": {
"ok": 48,
"complete:429": 16
},
"duration_s": 25.881,
"latency_ms": {
"p50": 10903.2,
"p95": 13413.2,
"p99": 14173.1
"p50": 11067.1,
"p95": 13423.0,
"p99": 14220.4
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 168207096,
"delta_tx_bytes": 377593,
"baseline_rss_bytes": 413126656,
"delta_rx_bytes": 168217561,
"delta_tx_bytes": 384114,
"baseline_rss_bytes": 428978176,
"peak_memory_bytes": {
"rss": 811970560,
"heap_used": 51684264,
"external": 224794743,
"array_buffers": 221004399
"rss": 823418880,
"heap_used": 52305208,
"external": 243338213,
"array_buffers": 239547869
},
"delta_rss_bytes": 398843904,
"delta_rss_bytes": 394440704,
"counters": {
"attachments.count_pending_direct": 48,
"attachments.insert_pending": 48,
"attachments.direct.initiated": 48,
"attachments.find_for_complete": 16,
"attachments.direct.verify_bytes": 167772160,
"attachments.decode.ms": 12822.89115199988,
"attachments.decode.ms": 13205.84250300005,
"attachments.mark_ready": 16,
"attachments.direct.completed": 16
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 336356397,
"delta_tx_bytes": 437597,
"baseline_rss_bytes": 273133568,
"delta_rx_bytes": 336236648,
"delta_tx_bytes": 458338,
"baseline_rss_bytes": 288284672,
"peak_memory_bytes": {
"rss": 811171840,
"heap_used": 50554752,
"external": 236627771,
"array_buffers": 232837243
"rss": 803422208,
"heap_used": 51748952,
"external": 236179385,
"array_buffers": 232389041
},
"delta_rss_bytes": 538038272,
"delta_rss_bytes": 515137536,
"counters": {
"attachments.count_pending_direct": 16,
"attachments.insert_pending": 16,
"attachments.direct.initiated": 16,
"attachments.find_for_complete": 48,
"attachments.direct.verify_bytes": 335544320,
"attachments.decode.ms": 24913.963424000074,
"attachments.decode.ms": 24842.089320000494,
"attachments.mark_ready": 32,
"attachments.direct.completed": 32
}
}
],
"total_delta_rx_bytes": 504563493,
"total_delta_tx_bytes": 815190,
"rx_bytes_per_upload": 7883805,
"tx_bytes_per_upload": 12737,
"max_delta_rss_bytes": 538038272
"total_delta_rx_bytes": 504454209,
"total_delta_tx_bytes": 842452,
"rx_bytes_per_upload": 7882097,
"tx_bytes_per_upload": 13163,
"max_delta_rss_bytes": 515137536
},
{
"uploads": 64,
"succeeded": 48,
"failed": 16,
"duration_s": 25.734,
"succeeded": 60,
"failed": 4,
"outcomes": {
"ok": 60,
"complete:429": 4
},
"duration_s": 26.523,
"latency_ms": {
"p50": 11194.6,
"p95": 13476.1,
"p99": 14262.3
"p50": 11841.6,
"p95": 13541.3,
"p99": 14293.7
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 168183438,
"delta_tx_bytes": 346932,
"baseline_rss_bytes": 458866688,
"delta_rx_bytes": 294214487,
"delta_tx_bytes": 425744,
"baseline_rss_bytes": 470261760,
"peak_memory_bytes": {
"rss": 790888448,
"heap_used": 51757664,
"external": 233673177,
"array_buffers": 229882833
"rss": 828153856,
"heap_used": 51846456,
"external": 242086934,
"array_buffers": 238296517
},
"delta_rss_bytes": 332021760,
"delta_rss_bytes": 357892096,
"counters": {
"attachments.count_pending_direct": 48,
"attachments.insert_pending": 48,
"attachments.direct.initiated": 48,
"attachments.find_for_complete": 16,
"attachments.direct.verify_bytes": 167772160,
"attachments.decode.ms": 12989.242685000005,
"attachments.mark_ready": 16,
"attachments.direct.completed": 16,
"attachments.claim_expired": 1
"attachments.count_pending_direct": 36,
"attachments.insert_pending": 36,
"attachments.direct.initiated": 36,
"attachments.find_for_complete": 28,
"attachments.direct.verify_bytes": 293601280,
"attachments.decode.ms": 22602.63425100036,
"attachments.mark_ready": 28,
"attachments.claim_expired": 1,
"attachments.direct.completed": 28
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 336214769,
"delta_tx_bytes": 436112,
"baseline_rss_bytes": 457699328,
"delta_rx_bytes": 336212832,
"delta_tx_bytes": 461394,
"baseline_rss_bytes": 429502464,
"peak_memory_bytes": {
"rss": 825307136,
"heap_used": 54086928,
"external": 219073224,
"array_buffers": 208987973
"rss": 814202880,
"heap_used": 51503296,
"external": 256575006,
"array_buffers": 212949888
},
"delta_rss_bytes": 367607808,
"delta_rss_bytes": 384700416,
"counters": {
"attachments.count_pending_direct": 16,
"attachments.insert_pending": 16,
"attachments.direct.initiated": 16,
"attachments.find_for_complete": 48,
"attachments.count_pending_direct": 28,
"attachments.insert_pending": 28,
"attachments.direct.initiated": 28,
"attachments.find_for_complete": 36,
"attachments.direct.verify_bytes": 335544320,
"attachments.decode.ms": 24466.148074000026,
"attachments.decode.ms": 25502.105729999603,
"attachments.mark_ready": 32,
"attachments.direct.completed": 32,
"attachments.claim_expired": 1
}
}
],
"total_delta_rx_bytes": 504398207,
"total_delta_tx_bytes": 783044,
"rx_bytes_per_upload": 7881222,
"tx_bytes_per_upload": 12235,
"max_delta_rss_bytes": 367607808
"total_delta_rx_bytes": 630427319,
"total_delta_tx_bytes": 887138,
"rx_bytes_per_upload": 9850427,
"tx_bytes_per_upload": 13862,
"max_delta_rss_bytes": 384700416
},
{
"uploads": 64,
"succeeded": 48,
"failed": 16,
"duration_s": 25.623,
"succeeded": 59,
"failed": 5,
"outcomes": {
"complete:429": 5,
"ok": 59
},
"duration_s": 26.673,
"latency_ms": {
"p50": 10789.6,
"p95": 13221.5,
"p99": 14052.1
"p50": 10563.3,
"p95": 13343.1,
"p99": 14265.7
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 168209005,
"delta_tx_bytes": 348167,
"baseline_rss_bytes": 437620736,
"delta_rx_bytes": 283773903,
"delta_tx_bytes": 418163,
"baseline_rss_bytes": 474800128,
"peak_memory_bytes": {
"rss": 822276096,
"heap_used": 51899912,
"external": 234753853,
"array_buffers": 230961509
"rss": 829358080,
"heap_used": 51810024,
"external": 242621863,
"array_buffers": 228344296
},
"delta_rss_bytes": 384655360,
"delta_rss_bytes": 354557952,
"counters": {
"attachments.count_pending_direct": 48,
"attachments.insert_pending": 48,
"attachments.direct.initiated": 48,
"attachments.find_for_complete": 16,
"attachments.direct.verify_bytes": 167772160,
"attachments.decode.ms": 12794.351691999997,
"attachments.mark_ready": 16,
"attachments.direct.completed": 16
"attachments.count_pending_direct": 37,
"attachments.insert_pending": 37,
"attachments.direct.initiated": 37,
"attachments.find_for_complete": 27,
"attachments.direct.verify_bytes": 283115520,
"attachments.decode.ms": 22160.10410899995,
"attachments.mark_ready": 27,
"attachments.direct.completed": 27
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 336206395,
"delta_tx_bytes": 391291,
"baseline_rss_bytes": 472084480,
"delta_rx_bytes": 336214318,
"delta_tx_bytes": 426666,
"baseline_rss_bytes": 461180928,
"peak_memory_bytes": {
"rss": 803594240,
"heap_used": 54432464,
"external": 237968850,
"array_buffers": 234178395
"rss": 814313472,
"heap_used": 54614560,
"external": 256831606,
"array_buffers": 229984560
},
"delta_rss_bytes": 331509760,
"delta_rss_bytes": 353132544,
"counters": {
"attachments.count_pending_direct": 16,
"attachments.insert_pending": 16,
"attachments.direct.initiated": 16,
"attachments.find_for_complete": 48,
"attachments.count_pending_direct": 27,
"attachments.insert_pending": 27,
"attachments.direct.initiated": 27,
"attachments.find_for_complete": 37,
"attachments.direct.verify_bytes": 335544320,
"attachments.decode.ms": 24526.03154399991,
"attachments.decode.ms": 25823.93422999978,
"attachments.mark_ready": 32,
"attachments.direct.completed": 32
}
}
],
"total_delta_rx_bytes": 504415400,
"total_delta_tx_bytes": 739458,
"rx_bytes_per_upload": 7881491,
"tx_bytes_per_upload": 11554,
"max_delta_rss_bytes": 384655360
"total_delta_rx_bytes": 619988221,
"total_delta_tx_bytes": 844829,
"rx_bytes_per_upload": 9687316,
"tx_bytes_per_upload": 13200,
"max_delta_rss_bytes": 354557952
}
]
}