forked from mtusi2026/mtusi2026lab5
Перенесено дерево lab4 целиком: NestJS-приложение с вложениями и S3,
Dockerfile, compose.yaml, infra/{haproxy,minio}, стендовые скрипты,
scripts/lab4, evidence/lab4 и contracts/extensions.openapi.json.
Задание lab5 оставлено своим: README, REPORT, COURSE, lab.json,
contracts/{openapi,infrastructure,jobs.schema,attachment-states,examples},
tests, compose.example.yaml, .github/pull_request_template.md.
Адаптации при переносе:
- docker-проект mtusi-lab4 -> mtusi-lab5 и тег образа mtusi-messenger:lab5,
чтобы тома и контейнеры не пересекались с lab4 (scripts/stop-one.sh:
LAB_PROJECT вместо LAB4_PROJECT);
- Makefile: цели lab5 сохранены, добавлены стендовые (stand-up/down,
wait-ready, init-env, test-e2e, test-dependencies, s3-security,
consistency, bench);
- .env.example: реальные переменные приложения и стенда lab4 (без них
compose.yaml не поднимается) + блок lab5 (BROKER_URL_FILE, WORKER_*).
213 lines
6.0 KiB
JSON
213 lines
6.0 KiB
JSON
{
|
|
"date": "2026-10-23T14:18:59+00:00",
|
|
"git": "9caa031",
|
|
"params": {
|
|
"mode": "proxy",
|
|
"size_bytes": 131072,
|
|
"concurrency": 10,
|
|
"uploads_per_worker": 5,
|
|
"repeat": 3,
|
|
"users": 10,
|
|
"image": null
|
|
},
|
|
"host": {
|
|
"nproc": 8,
|
|
"mem_total_bytes": 16538955776
|
|
},
|
|
"api_container_limits_nanocpus_memory": [
|
|
"1500000000 1073741824",
|
|
"1500000000 1073741824"
|
|
],
|
|
"repeats": [
|
|
{
|
|
"uploads": 50,
|
|
"succeeded": 50,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 50
|
|
},
|
|
"duration_s": 0.169,
|
|
"latency_ms": {
|
|
"p50": 26.1,
|
|
"p95": 46.2,
|
|
"p99": 49.0
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 3382850,
|
|
"delta_tx_bytes": 3398303,
|
|
"baseline_rss_bytes": 468705280,
|
|
"peak_memory_bytes": {
|
|
"rss": 468705280,
|
|
"heap_used": 50851544,
|
|
"external": 134219881,
|
|
"array_buffers": 130427173
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 3276800,
|
|
"attachments.decode.ms": 100.31424599990714,
|
|
"attachments.proxy.bytes_to_s3": 3276800,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 3382858,
|
|
"delta_tx_bytes": 3398701,
|
|
"baseline_rss_bytes": 449990656,
|
|
"peak_memory_bytes": {
|
|
"rss": 451563520,
|
|
"heap_used": 58537824,
|
|
"external": 181003027,
|
|
"array_buffers": 177201619
|
|
},
|
|
"delta_rss_bytes": 1572864,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 3276800,
|
|
"attachments.decode.ms": 102.65141499997117,
|
|
"attachments.proxy.bytes_to_s3": 3276800,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 6765708,
|
|
"total_delta_tx_bytes": 6797004,
|
|
"rx_bytes_per_upload": 135314,
|
|
"tx_bytes_per_upload": 135940,
|
|
"max_delta_rss_bytes": 1572864
|
|
},
|
|
{
|
|
"uploads": 50,
|
|
"succeeded": 50,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 50
|
|
},
|
|
"duration_s": 0.198,
|
|
"latency_ms": {
|
|
"p50": 24.7,
|
|
"p95": 79.6,
|
|
"p99": 87.8
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 3378497,
|
|
"delta_tx_bytes": 3395989,
|
|
"baseline_rss_bytes": 468705280,
|
|
"peak_memory_bytes": {
|
|
"rss": 468705280,
|
|
"heap_used": 51433088,
|
|
"external": 135937131,
|
|
"array_buffers": 132143156
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 3276800,
|
|
"attachments.decode.ms": 133.3207659999607,
|
|
"attachments.proxy.bytes_to_s3": 3276800,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 3377682,
|
|
"delta_tx_bytes": 3396121,
|
|
"baseline_rss_bytes": 410624000,
|
|
"peak_memory_bytes": {
|
|
"rss": 410624000,
|
|
"heap_used": 57652400,
|
|
"external": 13565945,
|
|
"array_buffers": 9765488
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 3276800,
|
|
"attachments.decode.ms": 68.74197999993339,
|
|
"attachments.proxy.bytes_to_s3": 3276800,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 6756179,
|
|
"total_delta_tx_bytes": 6792110,
|
|
"rx_bytes_per_upload": 135124,
|
|
"tx_bytes_per_upload": 135842,
|
|
"max_delta_rss_bytes": 0
|
|
},
|
|
{
|
|
"uploads": 50,
|
|
"succeeded": 50,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 50
|
|
},
|
|
"duration_s": 0.161,
|
|
"latency_ms": {
|
|
"p50": 26.1,
|
|
"p95": 42.7,
|
|
"p99": 45.7
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 3374905,
|
|
"delta_tx_bytes": 3395785,
|
|
"baseline_rss_bytes": 254783488,
|
|
"peak_memory_bytes": {
|
|
"rss": 254783488,
|
|
"heap_used": 51574496,
|
|
"external": 12158693,
|
|
"array_buffers": 8364940
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 3276800,
|
|
"attachments.decode.ms": 77.51481299975421,
|
|
"attachments.proxy.bytes_to_s3": 3276800,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 3376331,
|
|
"delta_tx_bytes": 3394989,
|
|
"baseline_rss_bytes": 410624000,
|
|
"peak_memory_bytes": {
|
|
"rss": 410624000,
|
|
"heap_used": 58715704,
|
|
"external": 14697744,
|
|
"array_buffers": 10896445
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 3276800,
|
|
"attachments.decode.ms": 79.76343099982478,
|
|
"attachments.proxy.bytes_to_s3": 3276800,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 6751236,
|
|
"total_delta_tx_bytes": 6790774,
|
|
"rx_bytes_per_upload": 135025,
|
|
"tx_bytes_per_upload": 135815,
|
|
"max_delta_rss_bytes": 0
|
|
}
|
|
]
|
|
}
|