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 -85
View File
@@ -1,6 +1,6 @@
{
"date": "2026-10-22T20:02:34+00:00",
"git": "f048a37",
"date": "2026-10-23T13:33:12+00:00",
"git": "b32ce9a",
"params": {
"mode": "proxy",
"size_bytes": 9961472,
@@ -21,177 +21,181 @@
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 2.923,
"duration_s": 4.768,
"latency_ms": {
"p50": 217.7,
"p95": 393.7,
"p99": 469.2
"p50": 712.4,
"p95": 946.8,
"p99": 1012.6
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 249719999,
"delta_tx_bytes": 249864966,
"baseline_rss_bytes": 193277952,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 249658454,
"delta_tx_bytes": 249823407,
"baseline_rss_bytes": 252616704,
"peak_memory_bytes": {
"rss": 208244736,
"heap_used": 49103680,
"external": 38092148,
"array_buffers": 31938886
"rss": 364154880,
"heap_used": 49794104,
"external": 95705802,
"array_buffers": 78688662
},
"delta_rss_bytes": 14966784,
"delta_rss_bytes": 111538176,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 7843.138166000004,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 249670108,
"delta_tx_bytes": 249826185,
"baseline_rss_bytes": 178913280,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 249677855,
"delta_tx_bytes": 249819092,
"baseline_rss_bytes": 228974592,
"peak_memory_bytes": {
"rss": 195375104,
"heap_used": 48823672,
"external": 30056217,
"array_buffers": 26265873
"rss": 359043072,
"heap_used": 50979480,
"external": 105502404,
"array_buffers": 101712060
},
"delta_rss_bytes": 16461824,
"delta_rss_bytes": 130068480,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 7969.015626000037,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 499390107,
"total_delta_tx_bytes": 499691151,
"rx_bytes_per_upload": 9987802,
"tx_bytes_per_upload": 9993823,
"max_delta_rss_bytes": 16461824
"total_delta_rx_bytes": 499336309,
"total_delta_tx_bytes": 499642499,
"rx_bytes_per_upload": 9986726,
"tx_bytes_per_upload": 9992850,
"max_delta_rss_bytes": 130068480
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 3.32,
"duration_s": 4.843,
"latency_ms": {
"p50": 277.4,
"p95": 513.9,
"p99": 548.1
"p50": 687.8,
"p95": 997.1,
"p99": 1046.8
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 249653538,
"delta_tx_bytes": 249812864,
"baseline_rss_bytes": 193380352,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 249636288,
"delta_tx_bytes": 249801589,
"baseline_rss_bytes": 349237248,
"peak_memory_bytes": {
"rss": 208535552,
"heap_used": 49665920,
"external": 36105007,
"array_buffers": 32313340
"rss": 367636480,
"heap_used": 50033840,
"external": 85069927,
"array_buffers": 81278745
},
"delta_rss_bytes": 15155200,
"delta_rss_bytes": 18399232,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.claim_expired": 1,
"attachments.decode.ms": 7391.692848000006,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 249644423,
"delta_tx_bytes": 249817785,
"baseline_rss_bytes": 194199552,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 249653773,
"delta_tx_bytes": 249814308,
"baseline_rss_bytes": 270807040,
"peak_memory_bytes": {
"rss": 208871424,
"heap_used": 50742312,
"external": 43475182,
"array_buffers": 39684838
"rss": 336084992,
"heap_used": 49357656,
"external": 85003828,
"array_buffers": 81213484
},
"delta_rss_bytes": 14671872,
"delta_rss_bytes": 65277952,
"counters": {
"attachments.insert_pending": 25,
"attachments.claim_expired": 1,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 7897.397337000031,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 499297961,
"total_delta_tx_bytes": 499630649,
"rx_bytes_per_upload": 9985959,
"tx_bytes_per_upload": 9992613,
"max_delta_rss_bytes": 15155200
"total_delta_rx_bytes": 499290061,
"total_delta_tx_bytes": 499615897,
"rx_bytes_per_upload": 9985801,
"tx_bytes_per_upload": 9992318,
"max_delta_rss_bytes": 65277952
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 3.07,
"duration_s": 4.694,
"latency_ms": {
"p50": 238.9,
"p95": 391.0,
"p99": 423.1
"p50": 637.3,
"p95": 848.8,
"p99": 979.4
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 249690323,
"delta_tx_bytes": 249843279,
"baseline_rss_bytes": 193445888,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 249629894,
"delta_tx_bytes": 249780802,
"baseline_rss_bytes": 322142208,
"peak_memory_bytes": {
"rss": 212447232,
"heap_used": 48981896,
"external": 28322088,
"array_buffers": 24531744
"rss": 366731264,
"heap_used": 50163968,
"external": 85133242,
"array_buffers": 81342898
},
"delta_rss_bytes": 19001344,
"delta_rss_bytes": 44589056,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 7874.299524000016,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 249684428,
"delta_tx_bytes": 249830235,
"baseline_rss_bytes": 200146944,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 249682445,
"delta_tx_bytes": 249837698,
"baseline_rss_bytes": 325865472,
"peak_memory_bytes": {
"rss": 200146944,
"heap_used": 48496592,
"external": 26712221,
"array_buffers": 22921877
"rss": 365383680,
"heap_used": 50007528,
"external": 84862098,
"array_buffers": 81070915
},
"delta_rss_bytes": 0,
"delta_rss_bytes": 39518208,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 7699.224510000015,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 499374751,
"total_delta_tx_bytes": 499673514,
"rx_bytes_per_upload": 9987495,
"tx_bytes_per_upload": 9993470,
"max_delta_rss_bytes": 19001344
"total_delta_rx_bytes": 499312339,
"total_delta_tx_bytes": 499618500,
"rx_bytes_per_upload": 9986247,
"tx_bytes_per_upload": 9992370,
"max_delta_rss_bytes": 44589056
}
]
}