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
+89 -83
View File
@@ -1,6 +1,6 @@
{
"date": "2026-10-22T20:02:15+00:00",
"git": "f048a37",
"date": "2026-10-23T13:32:46+00:00",
"git": "b32ce9a",
"params": {
"mode": "proxy",
"size_bytes": 1048576,
@@ -21,175 +21,181 @@
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.369,
"duration_s": 0.854,
"latency_ms": {
"p50": 46.4,
"p95": 68.3,
"p99": 72.8
"p50": 142.8,
"p95": 192.1,
"p99": 208.3
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 26390991,
"delta_tx_bytes": 26399463,
"baseline_rss_bytes": 183496704,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 26385133,
"delta_tx_bytes": 26401283,
"baseline_rss_bytes": 197070848,
"peak_memory_bytes": {
"rss": 188407808,
"heap_used": 58350032,
"external": 15612927,
"array_buffers": 11820465
"rss": 217759744,
"heap_used": 55062960,
"external": 22455454,
"array_buffers": 18665110
},
"delta_rss_bytes": 4911104,
"delta_rss_bytes": 20688896,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1479.7760639999906,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 26389902,
"delta_tx_bytes": 26401063,
"baseline_rss_bytes": 172593152,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 26379459,
"delta_tx_bytes": 26398957,
"baseline_rss_bytes": 199708672,
"peak_memory_bytes": {
"rss": 179159040,
"heap_used": 51726640,
"external": 10983870,
"array_buffers": 7191408
"rss": 214302720,
"heap_used": 55570040,
"external": 24543846,
"array_buffers": 20174104
},
"delta_rss_bytes": 6565888,
"delta_rss_bytes": 14594048,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1331.2164019999764,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 52780893,
"total_delta_tx_bytes": 52800526,
"rx_bytes_per_upload": 1055618,
"tx_bytes_per_upload": 1056011,
"max_delta_rss_bytes": 6565888
"total_delta_rx_bytes": 52764592,
"total_delta_tx_bytes": 52800240,
"rx_bytes_per_upload": 1055292,
"tx_bytes_per_upload": 1056005,
"max_delta_rss_bytes": 20688896
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.55,
"duration_s": 0.82,
"latency_ms": {
"p50": 59.3,
"p95": 210.6,
"p99": 226.6
"p50": 137.2,
"p95": 181.4,
"p99": 245.1
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 26377432,
"delta_tx_bytes": 26403430,
"baseline_rss_bytes": 188645376,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 26381801,
"delta_tx_bytes": 26401373,
"baseline_rss_bytes": 217759744,
"peak_memory_bytes": {
"rss": 193232896,
"heap_used": 52490432,
"external": 19098493,
"array_buffers": 15306617
"rss": 220250112,
"heap_used": 50014112,
"external": 24298087,
"array_buffers": 20507743
},
"delta_rss_bytes": 4587520,
"delta_rss_bytes": 2490368,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1444.9002450000553,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 26383216,
"delta_tx_bytes": 26401660,
"baseline_rss_bytes": 179159040,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 26383381,
"delta_tx_bytes": 26401803,
"baseline_rss_bytes": 209428480,
"peak_memory_bytes": {
"rss": 179486720,
"heap_used": 49462912,
"external": 15506324,
"array_buffers": 11714604
"rss": 212426752,
"heap_used": 49637440,
"external": 21932135,
"array_buffers": 18141791
},
"delta_rss_bytes": 327680,
"delta_rss_bytes": 2998272,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1494.1810810000025,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 52760648,
"total_delta_tx_bytes": 52805090,
"rx_bytes_per_upload": 1055213,
"tx_bytes_per_upload": 1056102,
"max_delta_rss_bytes": 4587520
"total_delta_rx_bytes": 52765182,
"total_delta_tx_bytes": 52803176,
"rx_bytes_per_upload": 1055304,
"tx_bytes_per_upload": 1056064,
"max_delta_rss_bytes": 2998272
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.461,
"duration_s": 0.818,
"latency_ms": {
"p50": 67.3,
"p95": 109.8,
"p99": 118.7
"p50": 146.1,
"p95": 209.1,
"p99": 245.9
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 26385813,
"delta_tx_bytes": 26399597,
"baseline_rss_bytes": 193232896,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 26379700,
"delta_tx_bytes": 26402387,
"baseline_rss_bytes": 216440832,
"peak_memory_bytes": {
"rss": 194363392,
"heap_used": 51280880,
"external": 19455489,
"array_buffers": 15663613
"rss": 229879808,
"heap_used": 52186344,
"external": 34161027,
"array_buffers": 30370683
},
"delta_rss_bytes": 1130496,
"delta_rss_bytes": 13438976,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1491.96600400006,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 26391095,
"delta_tx_bytes": 26404143,
"baseline_rss_bytes": 178298880,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 26384562,
"delta_tx_bytes": 26402573,
"baseline_rss_bytes": 212082688,
"peak_memory_bytes": {
"rss": 181444608,
"heap_used": 50462384,
"external": 17515725,
"array_buffers": 13659712
"rss": 217251840,
"heap_used": 51036376,
"external": 26410042,
"array_buffers": 22619698
},
"delta_rss_bytes": 3145728,
"delta_rss_bytes": 5169152,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 26214400,
"attachments.decode.ms": 1386.4965829999855,
"attachments.proxy.bytes_to_s3": 26214400,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 52776908,
"total_delta_tx_bytes": 52803740,
"rx_bytes_per_upload": 1055538,
"tx_bytes_per_upload": 1056075,
"max_delta_rss_bytes": 3145728
"total_delta_rx_bytes": 52764262,
"total_delta_tx_bytes": 52804960,
"rx_bytes_per_upload": 1055285,
"tx_bytes_per_upload": 1056099,
"max_delta_rss_bytes": 13438976
}
]
}