lab4: исправления по ревью (парсеры image/text только на upload, rejected-статус прямой загрузки, диапазон 64 KiB, отчёт)

This commit is contained in:
2026-10-22 23:04:05 +03:00
parent f048a37df9
commit 830e5811fc
20 changed files with 933 additions and 805 deletions
+124 -124
View File
@@ -1,6 +1,6 @@
{
"date": "2026-10-22T19:43:26+00:00",
"git": "39a6df8",
"date": "2026-10-22T20:02:09+00:00",
"git": "f048a37",
"params": {
"mode": "direct",
"size_bytes": 131072,
@@ -21,187 +21,187 @@
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.265,
"duration_s": 0.242,
"latency_ms": {
"p50": 48.2,
"p95": 62.4,
"p99": 72.8
"p50": 43.2,
"p95": 56.1,
"p99": 59.7
},
"replicas": [
{
"instance_id": "b50bb8514a7b",
"delta_rx_bytes": 3306431,
"delta_tx_bytes": 182851,
"baseline_rss_bytes": 182366208,
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 1869074,
"delta_tx_bytes": 185920,
"baseline_rss_bytes": 182263808,
"peak_memory_bytes": {
"rss": 184594432,
"heap_used": 61323144,
"external": 8848467,
"array_buffers": 5055973
"rss": 182898688,
"heap_used": 53275328,
"external": 9220810,
"array_buffers": 5428348
},
"delta_rss_bytes": 2228224,
"delta_rss_bytes": 634880,
"counters": {
"attachments.count_pending_direct": 24,
"attachments.insert_pending": 24,
"attachments.direct.initiated": 24,
"attachments.find_for_complete": 26,
"attachments.direct.verify_bytes": 1703936,
"attachments.mark_ready": 26,
"attachments.direct.completed": 26
}
},
{
"instance_id": "d49b799653d6",
"delta_rx_bytes": 1732185,
"delta_tx_bytes": 183862,
"baseline_rss_bytes": 173453312,
"peak_memory_bytes": {
"rss": 173862912,
"heap_used": 51776512,
"external": 7372259,
"array_buffers": 3579797
},
"delta_rss_bytes": 409600,
"counters": {
"attachments.count_pending_direct": 26,
"attachments.insert_pending": 26,
"attachments.direct.initiated": 26,
"attachments.find_for_complete": 24,
"attachments.direct.verify_bytes": 3145728,
"attachments.direct.verify_bytes": 1572864,
"attachments.mark_ready": 24,
"attachments.direct.completed": 24
}
},
{
"instance_id": "fc61f806b880",
"delta_rx_bytes": 3573839,
"delta_tx_bytes": 184939,
"baseline_rss_bytes": 182042624,
"peak_memory_bytes": {
"rss": 182796288,
"heap_used": 60727960,
"external": 8999631,
"array_buffers": 5207169
},
"delta_rss_bytes": 753664,
"counters": {
"attachments.count_pending_direct": 24,
"attachments.insert_pending": 24,
"attachments.direct.initiated": 24,
"attachments.find_for_complete": 26,
"attachments.direct.verify_bytes": 3407872,
"attachments.mark_ready": 26,
"attachments.direct.completed": 26
}
}
],
"total_delta_rx_bytes": 6880270,
"total_delta_tx_bytes": 367790,
"rx_bytes_per_upload": 137605,
"tx_bytes_per_upload": 7356,
"max_delta_rss_bytes": 2228224
"total_delta_rx_bytes": 3601259,
"total_delta_tx_bytes": 369782,
"rx_bytes_per_upload": 72025,
"tx_bytes_per_upload": 7396,
"max_delta_rss_bytes": 634880
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.211,
"duration_s": 0.254,
"latency_ms": {
"p50": 36.7,
"p95": 50.0,
"p99": 54.8
"p50": 44.9,
"p95": 64.9,
"p99": 74.0
},
"replicas": [
{
"instance_id": "b50bb8514a7b",
"delta_rx_bytes": 3574513,
"delta_tx_bytes": 184486,
"baseline_rss_bytes": 184594432,
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 1663798,
"delta_tx_bytes": 181411,
"baseline_rss_bytes": 182898688,
"peak_memory_bytes": {
"rss": 184987648,
"heap_used": 60934432,
"external": 9389278,
"array_buffers": 5596784
"rss": 183029760,
"heap_used": 52623040,
"external": 9199397,
"array_buffers": 5406935
},
"delta_rss_bytes": 393216,
"delta_rss_bytes": 131072,
"counters": {
"attachments.count_pending_direct": 24,
"attachments.insert_pending": 24,
"attachments.direct.initiated": 24,
"attachments.find_for_complete": 26,
"attachments.direct.verify_bytes": 3407872,
"attachments.mark_ready": 26,
"attachments.direct.completed": 26
"attachments.count_pending_direct": 27,
"attachments.insert_pending": 27,
"attachments.direct.initiated": 27,
"attachments.find_for_complete": 23,
"attachments.direct.verify_bytes": 1507328,
"attachments.mark_ready": 23,
"attachments.direct.completed": 23
}
},
{
"instance_id": "fc61f806b880",
"delta_rx_bytes": 3306277,
"delta_tx_bytes": 181456,
"baseline_rss_bytes": 182796288,
"instance_id": "d49b799653d6",
"delta_rx_bytes": 1936597,
"delta_tx_bytes": 185873,
"baseline_rss_bytes": 173862912,
"peak_memory_bytes": {
"rss": 183058432,
"heap_used": 59419712,
"external": 8997869,
"array_buffers": 5205407
"rss": 174125056,
"heap_used": 53719328,
"external": 7649562,
"array_buffers": 3857100
},
"delta_rss_bytes": 262144,
"counters": {
"attachments.count_pending_direct": 26,
"attachments.insert_pending": 26,
"attachments.direct.initiated": 26,
"attachments.find_for_complete": 24,
"attachments.direct.verify_bytes": 3145728,
"attachments.mark_ready": 24,
"attachments.direct.completed": 24
"attachments.count_pending_direct": 23,
"attachments.insert_pending": 23,
"attachments.direct.initiated": 23,
"attachments.find_for_complete": 27,
"attachments.direct.verify_bytes": 1769472,
"attachments.mark_ready": 27,
"attachments.direct.completed": 27
}
}
],
"total_delta_rx_bytes": 6880790,
"total_delta_tx_bytes": 365942,
"rx_bytes_per_upload": 137616,
"tx_bytes_per_upload": 7319,
"max_delta_rss_bytes": 393216
"total_delta_rx_bytes": 3600395,
"total_delta_tx_bytes": 367284,
"rx_bytes_per_upload": 72008,
"tx_bytes_per_upload": 7346,
"max_delta_rss_bytes": 262144
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.241,
"duration_s": 0.441,
"latency_ms": {
"p50": 41.6,
"p95": 64.6,
"p99": 72.2
"p50": 80.3,
"p95": 124.0,
"p99": 127.6
},
"replicas": [
{
"instance_id": "b50bb8514a7b",
"delta_rx_bytes": 3574028,
"delta_tx_bytes": 183565,
"baseline_rss_bytes": 184987648,
"instance_id": "01e84e9e9e38",
"delta_rx_bytes": 2007125,
"delta_tx_bytes": 186925,
"baseline_rss_bytes": 183029760,
"peak_memory_bytes": {
"rss": 185643008,
"heap_used": 62756424,
"external": 9669133,
"array_buffers": 5876639
"rss": 183447552,
"heap_used": 56507192,
"external": 9369635,
"array_buffers": 5577173
},
"delta_rss_bytes": 655360,
"delta_rss_bytes": 417792,
"counters": {
"attachments.count_pending_direct": 24,
"attachments.insert_pending": 24,
"attachments.direct.initiated": 24,
"attachments.find_for_complete": 26,
"attachments.direct.verify_bytes": 3407872,
"attachments.mark_ready": 26,
"attachments.direct.completed": 26
"attachments.count_pending_direct": 22,
"attachments.insert_pending": 22,
"attachments.direct.initiated": 22,
"attachments.find_for_complete": 28,
"attachments.direct.verify_bytes": 1835008,
"attachments.mark_ready": 28,
"attachments.direct.completed": 28
}
},
{
"instance_id": "fc61f806b880",
"delta_rx_bytes": 3306617,
"delta_tx_bytes": 181349,
"baseline_rss_bytes": 183058432,
"instance_id": "d49b799653d6",
"delta_rx_bytes": 1596449,
"delta_tx_bytes": 182757,
"baseline_rss_bytes": 174125056,
"peak_memory_bytes": {
"rss": 183713792,
"heap_used": 62301928,
"external": 9312649,
"array_buffers": 5520187
"rss": 174387200,
"heap_used": 54337704,
"external": 7649635,
"array_buffers": 3857173
},
"delta_rss_bytes": 655360,
"delta_rss_bytes": 262144,
"counters": {
"attachments.count_pending_direct": 26,
"attachments.insert_pending": 26,
"attachments.direct.initiated": 26,
"attachments.find_for_complete": 24,
"attachments.direct.verify_bytes": 3145728,
"attachments.mark_ready": 24,
"attachments.direct.completed": 24
"attachments.count_pending_direct": 28,
"attachments.insert_pending": 28,
"attachments.direct.initiated": 28,
"attachments.find_for_complete": 22,
"attachments.direct.verify_bytes": 1441792,
"attachments.mark_ready": 22,
"attachments.direct.completed": 22
}
}
],
"total_delta_rx_bytes": 6880645,
"total_delta_tx_bytes": 364914,
"rx_bytes_per_upload": 137613,
"tx_bytes_per_upload": 7298,
"max_delta_rss_bytes": 655360
"total_delta_rx_bytes": 3603574,
"total_delta_tx_bytes": 369682,
"rx_bytes_per_upload": 72071,
"tx_bytes_per_upload": 7394,
"max_delta_rss_bytes": 417792
}
]
}