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
+95 -85
View File
@@ -1,6 +1,6 @@
{
"date": "2026-10-22T20:03:09+00:00",
"git": "f048a37",
"date": "2026-10-23T13:34:02+00:00",
"git": "b32ce9a",
"params": {
"mode": "proxy",
"size_bytes": 9961472,
@@ -21,175 +21,185 @@
"uploads": 100,
"succeeded": 100,
"failed": 0,
"duration_s": 5.789,
"duration_s": 8.965,
"latency_ms": {
"p50": 409.2,
"p95": 812.5,
"p99": 959.0
"p50": 1396.5,
"p95": 1795.3,
"p99": 1927.7
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 499859990,
"delta_tx_bytes": 500110302,
"baseline_rss_bytes": 189095936,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 500201125,
"delta_tx_bytes": 500377070,
"baseline_rss_bytes": 305356800,
"peak_memory_bytes": {
"rss": 209506304,
"heap_used": 49551104,
"external": 37459480,
"array_buffers": 28998398
"rss": 434417664,
"heap_used": 51274840,
"external": 145565797,
"array_buffers": 141709917
},
"delta_rss_bytes": 20410368,
"delta_rss_bytes": 129060864,
"counters": {
"attachments.insert_pending": 50,
"attachments.proxy.bytes_in": 498073600,
"attachments.decode.ms": 15301.763066,
"attachments.proxy.bytes_to_s3": 498073600,
"attachments.mark_ready": 50,
"attachments.upload.created": 50
"attachments.upload.created": 50,
"attachments.claim_expired": 1,
"attachments.delete_claimed": 2,
"attachments.sweep.deleted": 2
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 499688844,
"delta_tx_bytes": 499961376,
"baseline_rss_bytes": 179896320,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 499840721,
"delta_tx_bytes": 500065968,
"baseline_rss_bytes": 315572224,
"peak_memory_bytes": {
"rss": 201883648,
"heap_used": 48903104,
"external": 30171785,
"array_buffers": 23259151
"rss": 417861632,
"heap_used": 51333520,
"external": 141534029,
"array_buffers": 137743685
},
"delta_rss_bytes": 21987328,
"delta_rss_bytes": 102289408,
"counters": {
"attachments.insert_pending": 50,
"attachments.proxy.bytes_in": 498073600,
"attachments.decode.ms": 15764.19308799997,
"attachments.proxy.bytes_to_s3": 498073600,
"attachments.mark_ready": 50,
"attachments.upload.created": 50
"attachments.upload.created": 50,
"attachments.claim_expired": 1
}
}
],
"total_delta_rx_bytes": 999548834,
"total_delta_tx_bytes": 1000071678,
"rx_bytes_per_upload": 9995488,
"tx_bytes_per_upload": 10000717,
"max_delta_rss_bytes": 21987328
"total_delta_rx_bytes": 1000041846,
"total_delta_tx_bytes": 1000443038,
"rx_bytes_per_upload": 10000418,
"tx_bytes_per_upload": 10004430,
"max_delta_rss_bytes": 129060864
},
{
"uploads": 100,
"succeeded": 100,
"failed": 0,
"duration_s": 5.789,
"duration_s": 8.87,
"latency_ms": {
"p50": 406.7,
"p95": 756.8,
"p99": 1110.8
"p50": 1327.7,
"p95": 1753.9,
"p99": 2016.9
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 499409660,
"delta_tx_bytes": 499704231,
"baseline_rss_bytes": 204034048,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 500384354,
"delta_tx_bytes": 500549484,
"baseline_rss_bytes": 405041152,
"peak_memory_bytes": {
"rss": 216682496,
"heap_used": 50958080,
"external": 42044393,
"array_buffers": 38254049
"rss": 442638336,
"heap_used": 51584448,
"external": 136101545,
"array_buffers": 132311201
},
"delta_rss_bytes": 12648448,
"delta_rss_bytes": 37597184,
"counters": {
"attachments.insert_pending": 50,
"attachments.proxy.bytes_in": 498073600,
"attachments.decode.ms": 15850.254651000054,
"attachments.proxy.bytes_to_s3": 498073600,
"attachments.mark_ready": 50,
"attachments.upload.created": 50
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 499385236,
"delta_tx_bytes": 499657364,
"baseline_rss_bytes": 196177920,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 500629918,
"delta_tx_bytes": 500817708,
"baseline_rss_bytes": 379080704,
"peak_memory_bytes": {
"rss": 208781312,
"heap_used": 49416712,
"external": 29886702,
"array_buffers": 26096358
"rss": 435548160,
"heap_used": 51076952,
"external": 146391435,
"array_buffers": 142601091
},
"delta_rss_bytes": 12603392,
"delta_rss_bytes": 56467456,
"counters": {
"attachments.insert_pending": 50,
"attachments.proxy.bytes_in": 498073600,
"attachments.decode.ms": 15065.693191000057,
"attachments.proxy.bytes_to_s3": 498073600,
"attachments.mark_ready": 50,
"attachments.upload.created": 50
}
}
],
"total_delta_rx_bytes": 998794896,
"total_delta_tx_bytes": 999361595,
"rx_bytes_per_upload": 9987949,
"tx_bytes_per_upload": 9993616,
"max_delta_rss_bytes": 12648448
"total_delta_rx_bytes": 1001014272,
"total_delta_tx_bytes": 1001367192,
"rx_bytes_per_upload": 10010143,
"tx_bytes_per_upload": 10013672,
"max_delta_rss_bytes": 56467456
},
{
"uploads": 100,
"succeeded": 100,
"failed": 0,
"duration_s": 6.222,
"duration_s": 9.117,
"latency_ms": {
"p50": 452.3,
"p95": 913.7,
"p99": 1284.1
"p50": 1442.2,
"p95": 1862.3,
"p99": 1962.7
},
"replicas": [
{
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 499462554,
"delta_tx_bytes": 499707805,
"baseline_rss_bytes": 208515072,
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 499434564,
"delta_tx_bytes": 499705234,
"baseline_rss_bytes": 421199872,
"peak_memory_bytes": {
"rss": 213237760,
"heap_used": 50201400,
"external": 39684000,
"array_buffers": 35893464
"rss": 441876480,
"heap_used": 50736392,
"external": 135949482,
"array_buffers": 132036017
},
"delta_rss_bytes": 4722688,
"delta_rss_bytes": 20676608,
"counters": {
"attachments.insert_pending": 50,
"attachments.proxy.bytes_in": 498073600,
"attachments.decode.ms": 16234.571914999979,
"attachments.proxy.bytes_to_s3": 498073600,
"attachments.mark_ready": 50,
"attachments.upload.created": 50
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 499435292,
"delta_tx_bytes": 499704897,
"baseline_rss_bytes": 192315392,
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 499505499,
"delta_tx_bytes": 499795523,
"baseline_rss_bytes": 348524544,
"peak_memory_bytes": {
"rss": 209580032,
"heap_used": 50343440,
"external": 38677040,
"array_buffers": 34886696
"rss": 441692160,
"heap_used": 50551064,
"external": 136342743,
"array_buffers": 132552399
},
"delta_rss_bytes": 17264640,
"delta_rss_bytes": 93167616,
"counters": {
"attachments.insert_pending": 50,
"attachments.proxy.bytes_in": 498073600,
"attachments.decode.ms": 16105.769058999955,
"attachments.proxy.bytes_to_s3": 498073600,
"attachments.mark_ready": 50,
"attachments.upload.created": 50
}
}
],
"total_delta_rx_bytes": 998897846,
"total_delta_tx_bytes": 999412702,
"rx_bytes_per_upload": 9988978,
"tx_bytes_per_upload": 9994127,
"max_delta_rss_bytes": 17264640
"total_delta_rx_bytes": 998940063,
"total_delta_tx_bytes": 999500757,
"rx_bytes_per_upload": 9989401,
"tx_bytes_per_upload": 9995008,
"max_delta_rss_bytes": 93167616
}
]
}