lab4: компенсация без потери объекта при потере ответа COMMIT, полный декод изображений (sharp) в proxy и direct complete

This commit is contained in:
2026-10-23 16:37:13 +03:00
parent b32ce9a75d
commit 4badd5a7b9
33 changed files with 1932 additions and 861 deletions
+93 -85
View File
@@ -1,6 +1,6 @@
{
"date": "2026-10-22T20:02:04+00:00",
"git": "f048a37",
"date": "2026-10-23T13:32:35+00:00",
"git": "b32ce9a",
"params": {
"mode": "proxy",
"size_bytes": 131072,
@@ -21,175 +21,183 @@
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.221,
"duration_s": 0.363,
"latency_ms": {
"p50": 32.5,
"p95": 61.7,
"p99": 75.6
"p50": 60.4,
"p95": 113.2,
"p99": 139.1
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 3382582,
"delta_tx_bytes": 3398177,
"baseline_rss_bytes": 172421120,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 3381618,
"delta_tx_bytes": 3399633,
"baseline_rss_bytes": 180125696,
"peak_memory_bytes": {
"rss": 177926144,
"heap_used": 50033192,
"external": 7706616,
"array_buffers": 3914122
"rss": 187985920,
"heap_used": 50414440,
"external": 8673461,
"array_buffers": 4505870
},
"delta_rss_bytes": 5505024,
"delta_rss_bytes": 7860224,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 3276800,
"attachments.decode.ms": 528.2537349999984,
"attachments.proxy.bytes_to_s3": 3276800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 3380734,
"delta_tx_bytes": 3397755,
"baseline_rss_bytes": 164986880,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 3384159,
"delta_tx_bytes": 3399409,
"baseline_rss_bytes": 181567488,
"peak_memory_bytes": {
"rss": 170360832,
"heap_used": 49897896,
"external": 7704663,
"array_buffers": 3911977
"rss": 189956096,
"heap_used": 51892912,
"external": 9517393,
"array_buffers": 5724803
},
"delta_rss_bytes": 5373952,
"delta_rss_bytes": 8388608,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 3276800,
"attachments.decode.ms": 670.2341740000047,
"attachments.proxy.bytes_to_s3": 3276800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 6763316,
"total_delta_tx_bytes": 6795932,
"rx_bytes_per_upload": 135266,
"tx_bytes_per_upload": 135919,
"max_delta_rss_bytes": 5505024
"total_delta_rx_bytes": 6765777,
"total_delta_tx_bytes": 6799042,
"rx_bytes_per_upload": 135316,
"tx_bytes_per_upload": 135981,
"max_delta_rss_bytes": 8388608
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.178,
"duration_s": 0.351,
"latency_ms": {
"p50": 30.3,
"p95": 39.9,
"p99": 40.8
"p50": 51.1,
"p95": 105.8,
"p99": 118.4
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 3378937,
"delta_tx_bytes": 3395467,
"baseline_rss_bytes": 177926144,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 3380483,
"delta_tx_bytes": 3398895,
"baseline_rss_bytes": 187985920,
"peak_memory_bytes": {
"rss": 181886976,
"heap_used": 51028472,
"external": 10337544,
"array_buffers": 6545050
"rss": 190345216,
"heap_used": 52699440,
"external": 10502334,
"array_buffers": 6709680
},
"delta_rss_bytes": 3960832,
"delta_rss_bytes": 2359296,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 3276800,
"attachments.decode.ms": 633.1175999999905,
"attachments.proxy.bytes_to_s3": 3276800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 3380009,
"delta_tx_bytes": 3397063,
"baseline_rss_bytes": 170360832,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 3376222,
"delta_tx_bytes": 3395913,
"baseline_rss_bytes": 189956096,
"peak_memory_bytes": {
"rss": 171278336,
"heap_used": 50939136,
"external": 8430160,
"array_buffers": 4637666
"rss": 193220608,
"heap_used": 52790776,
"external": 10858460,
"array_buffers": 7065998
},
"delta_rss_bytes": 917504,
"delta_rss_bytes": 3264512,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 3276800,
"attachments.decode.ms": 359.4751439999891,
"attachments.proxy.bytes_to_s3": 3276800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 6758946,
"total_delta_tx_bytes": 6792530,
"rx_bytes_per_upload": 135179,
"tx_bytes_per_upload": 135851,
"max_delta_rss_bytes": 3960832
"total_delta_rx_bytes": 6756705,
"total_delta_tx_bytes": 6794808,
"rx_bytes_per_upload": 135134,
"tx_bytes_per_upload": 135896,
"max_delta_rss_bytes": 3264512
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.291,
"duration_s": 0.354,
"latency_ms": {
"p50": 41.2,
"p95": 87.2,
"p99": 93.6
"p50": 60.3,
"p95": 96.3,
"p99": 120.9
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 3377137,
"delta_tx_bytes": 3395161,
"baseline_rss_bytes": 181886976,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 3377197,
"delta_tx_bytes": 3396754,
"baseline_rss_bytes": 190345216,
"peak_memory_bytes": {
"rss": 182149120,
"heap_used": 51984832,
"external": 9554628,
"array_buffers": 5762166
"rss": 193884160,
"heap_used": 53140928,
"external": 13245272,
"array_buffers": 9452618
},
"delta_rss_bytes": 262144,
"delta_rss_bytes": 3538944,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 3276800,
"attachments.decode.ms": 518.702403999996,
"attachments.proxy.bytes_to_s3": 3276800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
"attachments.upload.created": 25,
"attachments.claim_expired": 1
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 3377713,
"delta_tx_bytes": 3396473,
"baseline_rss_bytes": 171278336,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 3377745,
"delta_tx_bytes": 3397208,
"baseline_rss_bytes": 193220608,
"peak_memory_bytes": {
"rss": 173244416,
"heap_used": 52256384,
"external": 10276505,
"array_buffers": 6484011
"rss": 193744896,
"heap_used": 52880424,
"external": 11681352,
"array_buffers": 7888698
},
"delta_rss_bytes": 1966080,
"delta_rss_bytes": 524288,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 3276800,
"attachments.decode.ms": 643.8722639999905,
"attachments.proxy.bytes_to_s3": 3276800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
"attachments.upload.created": 25,
"attachments.claim_expired": 1
}
}
],
"total_delta_rx_bytes": 6754850,
"total_delta_tx_bytes": 6791634,
"rx_bytes_per_upload": 135097,
"tx_bytes_per_upload": 135833,
"max_delta_rss_bytes": 1966080
"total_delta_rx_bytes": 6754942,
"total_delta_tx_bytes": 6793962,
"rx_bytes_per_upload": 135099,
"tx_bytes_per_upload": 135879,
"max_delta_rss_bytes": 3538944
}
]
}