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.7 KiB
JSON
225 lines
6.7 KiB
JSON
{
|
|
"date": "2026-10-23T14:19:48+00:00",
|
|
"git": "9caa031",
|
|
"params": {
|
|
"mode": "direct",
|
|
"size_bytes": 9961472,
|
|
"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": 3.75,
|
|
"latency_ms": {
|
|
"p50": 448.3,
|
|
"p95": 674.2,
|
|
"p99": 702.9
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 259479426,
|
|
"delta_tx_bytes": 287642,
|
|
"baseline_rss_bytes": 280027136,
|
|
"peak_memory_bytes": {
|
|
"rss": 322101248,
|
|
"heap_used": 54779008,
|
|
"external": 104107482,
|
|
"array_buffers": 100313819
|
|
},
|
|
"delta_rss_bytes": 42074112,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 24,
|
|
"attachments.insert_pending": 24,
|
|
"attachments.direct.initiated": 24,
|
|
"attachments.find_for_complete": 26,
|
|
"attachments.direct.verify_bytes": 258998272,
|
|
"attachments.decode.ms": 498.32417600008193,
|
|
"attachments.mark_ready": 26,
|
|
"attachments.direct.completed": 26
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 239524438,
|
|
"delta_tx_bytes": 268169,
|
|
"baseline_rss_bytes": 243490816,
|
|
"peak_memory_bytes": {
|
|
"rss": 326799360,
|
|
"heap_used": 54201104,
|
|
"external": 106161894,
|
|
"array_buffers": 102364928
|
|
},
|
|
"delta_rss_bytes": 83308544,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 26,
|
|
"attachments.insert_pending": 26,
|
|
"attachments.direct.initiated": 26,
|
|
"attachments.find_for_complete": 24,
|
|
"attachments.direct.verify_bytes": 239075328,
|
|
"attachments.decode.ms": 373.651800000167,
|
|
"attachments.mark_ready": 24,
|
|
"attachments.direct.completed": 24
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 499003864,
|
|
"total_delta_tx_bytes": 555811,
|
|
"rx_bytes_per_upload": 9980077,
|
|
"tx_bytes_per_upload": 11116,
|
|
"max_delta_rss_bytes": 83308544
|
|
},
|
|
{
|
|
"uploads": 50,
|
|
"succeeded": 50,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 50
|
|
},
|
|
"duration_s": 3.749,
|
|
"latency_ms": {
|
|
"p50": 471.3,
|
|
"p95": 672.0,
|
|
"p99": 739.0
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 229545332,
|
|
"delta_tx_bytes": 272949,
|
|
"baseline_rss_bytes": 322101248,
|
|
"peak_memory_bytes": {
|
|
"rss": 322101248,
|
|
"heap_used": 53139240,
|
|
"external": 120388652,
|
|
"array_buffers": 115495375
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 27,
|
|
"attachments.insert_pending": 27,
|
|
"attachments.direct.initiated": 27,
|
|
"attachments.find_for_complete": 23,
|
|
"attachments.direct.verify_bytes": 229113856,
|
|
"attachments.decode.ms": 295.2854530001059,
|
|
"attachments.mark_ready": 23,
|
|
"attachments.direct.completed": 23
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 269451762,
|
|
"delta_tx_bytes": 274913,
|
|
"baseline_rss_bytes": 294375424,
|
|
"peak_memory_bytes": {
|
|
"rss": 360865792,
|
|
"heap_used": 53636296,
|
|
"external": 157544946,
|
|
"array_buffers": 153746128
|
|
},
|
|
"delta_rss_bytes": 66490368,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 23,
|
|
"attachments.insert_pending": 23,
|
|
"attachments.direct.initiated": 23,
|
|
"attachments.find_for_complete": 27,
|
|
"attachments.direct.verify_bytes": 268959744,
|
|
"attachments.decode.ms": 467.34784599993145,
|
|
"attachments.mark_ready": 27,
|
|
"attachments.direct.completed": 27
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 498997094,
|
|
"total_delta_tx_bytes": 547862,
|
|
"rx_bytes_per_upload": 9979942,
|
|
"tx_bytes_per_upload": 10957,
|
|
"max_delta_rss_bytes": 66490368
|
|
},
|
|
{
|
|
"uploads": 50,
|
|
"succeeded": 50,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 50
|
|
},
|
|
"duration_s": 3.501,
|
|
"latency_ms": {
|
|
"p50": 404.2,
|
|
"p95": 599.0,
|
|
"p99": 605.8
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 219577054,
|
|
"delta_tx_bytes": 272143,
|
|
"baseline_rss_bytes": 270405632,
|
|
"peak_memory_bytes": {
|
|
"rss": 290258944,
|
|
"heap_used": 52555024,
|
|
"external": 103954247,
|
|
"array_buffers": 100162235
|
|
},
|
|
"delta_rss_bytes": 19853312,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 28,
|
|
"attachments.insert_pending": 28,
|
|
"attachments.direct.initiated": 28,
|
|
"attachments.find_for_complete": 22,
|
|
"attachments.direct.verify_bytes": 219152384,
|
|
"attachments.decode.ms": 273.8368729999056,
|
|
"attachments.mark_ready": 22,
|
|
"attachments.direct.completed": 22
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 279433430,
|
|
"delta_tx_bytes": 286105,
|
|
"baseline_rss_bytes": 223891456,
|
|
"peak_memory_bytes": {
|
|
"rss": 294211584,
|
|
"heap_used": 50865176,
|
|
"external": 84552392,
|
|
"array_buffers": 80757048
|
|
},
|
|
"delta_rss_bytes": 70320128,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 22,
|
|
"attachments.insert_pending": 22,
|
|
"attachments.direct.initiated": 22,
|
|
"attachments.find_for_complete": 28,
|
|
"attachments.direct.verify_bytes": 278921216,
|
|
"attachments.decode.ms": 406.8028439999907,
|
|
"attachments.mark_ready": 28,
|
|
"attachments.direct.completed": 28
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 499010484,
|
|
"total_delta_tx_bytes": 558248,
|
|
"rx_bytes_per_upload": 9980210,
|
|
"tx_bytes_per_upload": 11165,
|
|
"max_delta_rss_bytes": 70320128
|
|
}
|
|
]
|
|
}
|