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_*).
225 lines
6.6 KiB
JSON
225 lines
6.6 KiB
JSON
{
|
|
"date": "2026-10-23T14:19:18+00:00",
|
|
"git": "9caa031",
|
|
"params": {
|
|
"mode": "direct",
|
|
"size_bytes": 1048576,
|
|
"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.474,
|
|
"latency_ms": {
|
|
"p50": 71.2,
|
|
"p95": 97.4,
|
|
"p99": 114.6
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 26410731,
|
|
"delta_tx_bytes": 192869,
|
|
"baseline_rss_bytes": 255631360,
|
|
"peak_memory_bytes": {
|
|
"rss": 255631360,
|
|
"heap_used": 55130048,
|
|
"external": 30839902,
|
|
"array_buffers": 27031366
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 25,
|
|
"attachments.insert_pending": 25,
|
|
"attachments.direct.initiated": 25,
|
|
"attachments.find_for_complete": 25,
|
|
"attachments.direct.verify_bytes": 26214400,
|
|
"attachments.decode.ms": 149.66068200027803,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.direct.completed": 25
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 26409853,
|
|
"delta_tx_bytes": 199121,
|
|
"baseline_rss_bytes": 220901376,
|
|
"peak_memory_bytes": {
|
|
"rss": 220901376,
|
|
"heap_used": 49764944,
|
|
"external": 19106520,
|
|
"array_buffers": 15302577
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 25,
|
|
"attachments.insert_pending": 25,
|
|
"attachments.direct.initiated": 25,
|
|
"attachments.find_for_complete": 25,
|
|
"attachments.direct.verify_bytes": 26214400,
|
|
"attachments.decode.ms": 134.77708099997835,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.direct.completed": 25
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 52820584,
|
|
"total_delta_tx_bytes": 391990,
|
|
"rx_bytes_per_upload": 1056412,
|
|
"tx_bytes_per_upload": 7840,
|
|
"max_delta_rss_bytes": 0
|
|
},
|
|
{
|
|
"uploads": 50,
|
|
"succeeded": 50,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 50
|
|
},
|
|
"duration_s": 0.486,
|
|
"latency_ms": {
|
|
"p50": 67.0,
|
|
"p95": 107.3,
|
|
"p99": 117.3
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 26407608,
|
|
"delta_tx_bytes": 187247,
|
|
"baseline_rss_bytes": 255631360,
|
|
"peak_memory_bytes": {
|
|
"rss": 255631360,
|
|
"heap_used": 54714120,
|
|
"external": 29734772,
|
|
"array_buffers": 25926248
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 25,
|
|
"attachments.insert_pending": 25,
|
|
"attachments.direct.initiated": 25,
|
|
"attachments.find_for_complete": 25,
|
|
"attachments.direct.verify_bytes": 26214400,
|
|
"attachments.decode.ms": 129.6924299999373,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.direct.completed": 25
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 26411452,
|
|
"delta_tx_bytes": 197525,
|
|
"baseline_rss_bytes": 220901376,
|
|
"peak_memory_bytes": {
|
|
"rss": 220901376,
|
|
"heap_used": 50436872,
|
|
"external": 20154009,
|
|
"array_buffers": 16352314
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 25,
|
|
"attachments.insert_pending": 25,
|
|
"attachments.direct.initiated": 25,
|
|
"attachments.find_for_complete": 25,
|
|
"attachments.direct.verify_bytes": 26214400,
|
|
"attachments.decode.ms": 146.63997799990466,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.direct.completed": 25
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 52819060,
|
|
"total_delta_tx_bytes": 384772,
|
|
"rx_bytes_per_upload": 1056381,
|
|
"tx_bytes_per_upload": 7695,
|
|
"max_delta_rss_bytes": 0
|
|
},
|
|
{
|
|
"uploads": 50,
|
|
"succeeded": 50,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 50
|
|
},
|
|
"duration_s": 0.588,
|
|
"latency_ms": {
|
|
"p50": 79.7,
|
|
"p95": 122.1,
|
|
"p99": 146.3
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 24306748,
|
|
"delta_tx_bytes": 183976,
|
|
"baseline_rss_bytes": 255631360,
|
|
"peak_memory_bytes": {
|
|
"rss": 256024576,
|
|
"heap_used": 55222760,
|
|
"external": 27656537,
|
|
"array_buffers": 23848029
|
|
},
|
|
"delta_rss_bytes": 393216,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 27,
|
|
"attachments.insert_pending": 27,
|
|
"attachments.direct.initiated": 27,
|
|
"attachments.find_for_complete": 23,
|
|
"attachments.direct.verify_bytes": 24117248,
|
|
"attachments.decode.ms": 164.5750180000323,
|
|
"attachments.mark_ready": 23,
|
|
"attachments.direct.completed": 23
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 28515559,
|
|
"delta_tx_bytes": 188283,
|
|
"baseline_rss_bytes": 220901376,
|
|
"peak_memory_bytes": {
|
|
"rss": 220901376,
|
|
"heap_used": 51242112,
|
|
"external": 23325182,
|
|
"array_buffers": 19516705
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 23,
|
|
"attachments.insert_pending": 23,
|
|
"attachments.direct.initiated": 23,
|
|
"attachments.find_for_complete": 27,
|
|
"attachments.direct.verify_bytes": 28311552,
|
|
"attachments.decode.ms": 181.22829800000181,
|
|
"attachments.mark_ready": 27,
|
|
"attachments.direct.completed": 27
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 52822307,
|
|
"total_delta_tx_bytes": 372259,
|
|
"rx_bytes_per_upload": 1056446,
|
|
"tx_bytes_per_upload": 7445,
|
|
"max_delta_rss_bytes": 393216
|
|
}
|
|
]
|
|
}
|