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_*).
230 lines
6.9 KiB
JSON
230 lines
6.9 KiB
JSON
{
|
|
"date": "2026-10-23T14:23:13+00:00",
|
|
"git": "9caa031",
|
|
"params": {
|
|
"mode": "direct",
|
|
"size_bytes": 10485760,
|
|
"concurrency": 32,
|
|
"uploads_per_worker": 2,
|
|
"repeat": 3,
|
|
"users": 32,
|
|
"image": "worst-40mp-rgba16-adam7.png"
|
|
},
|
|
"host": {
|
|
"nproc": 8,
|
|
"mem_total_bytes": 16538955776
|
|
},
|
|
"api_container_limits_nanocpus_memory": [
|
|
"1500000000 1073741824",
|
|
"1500000000 1073741824"
|
|
],
|
|
"repeats": [
|
|
{
|
|
"uploads": 64,
|
|
"succeeded": 48,
|
|
"failed": 16,
|
|
"outcomes": {
|
|
"ok": 48,
|
|
"complete:429": 16
|
|
},
|
|
"duration_s": 25.881,
|
|
"latency_ms": {
|
|
"p50": 11067.1,
|
|
"p95": 13423.0,
|
|
"p99": 14220.4
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 168217561,
|
|
"delta_tx_bytes": 384114,
|
|
"baseline_rss_bytes": 428978176,
|
|
"peak_memory_bytes": {
|
|
"rss": 823418880,
|
|
"heap_used": 52305208,
|
|
"external": 243338213,
|
|
"array_buffers": 239547869
|
|
},
|
|
"delta_rss_bytes": 394440704,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 48,
|
|
"attachments.insert_pending": 48,
|
|
"attachments.direct.initiated": 48,
|
|
"attachments.find_for_complete": 16,
|
|
"attachments.direct.verify_bytes": 167772160,
|
|
"attachments.decode.ms": 13205.84250300005,
|
|
"attachments.mark_ready": 16,
|
|
"attachments.direct.completed": 16
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 336236648,
|
|
"delta_tx_bytes": 458338,
|
|
"baseline_rss_bytes": 288284672,
|
|
"peak_memory_bytes": {
|
|
"rss": 803422208,
|
|
"heap_used": 51748952,
|
|
"external": 236179385,
|
|
"array_buffers": 232389041
|
|
},
|
|
"delta_rss_bytes": 515137536,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 16,
|
|
"attachments.insert_pending": 16,
|
|
"attachments.direct.initiated": 16,
|
|
"attachments.find_for_complete": 48,
|
|
"attachments.direct.verify_bytes": 335544320,
|
|
"attachments.decode.ms": 24842.089320000494,
|
|
"attachments.mark_ready": 32,
|
|
"attachments.direct.completed": 32
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 504454209,
|
|
"total_delta_tx_bytes": 842452,
|
|
"rx_bytes_per_upload": 7882097,
|
|
"tx_bytes_per_upload": 13163,
|
|
"max_delta_rss_bytes": 515137536
|
|
},
|
|
{
|
|
"uploads": 64,
|
|
"succeeded": 60,
|
|
"failed": 4,
|
|
"outcomes": {
|
|
"ok": 60,
|
|
"complete:429": 4
|
|
},
|
|
"duration_s": 26.523,
|
|
"latency_ms": {
|
|
"p50": 11841.6,
|
|
"p95": 13541.3,
|
|
"p99": 14293.7
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 294214487,
|
|
"delta_tx_bytes": 425744,
|
|
"baseline_rss_bytes": 470261760,
|
|
"peak_memory_bytes": {
|
|
"rss": 828153856,
|
|
"heap_used": 51846456,
|
|
"external": 242086934,
|
|
"array_buffers": 238296517
|
|
},
|
|
"delta_rss_bytes": 357892096,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 36,
|
|
"attachments.insert_pending": 36,
|
|
"attachments.direct.initiated": 36,
|
|
"attachments.find_for_complete": 28,
|
|
"attachments.direct.verify_bytes": 293601280,
|
|
"attachments.decode.ms": 22602.63425100036,
|
|
"attachments.mark_ready": 28,
|
|
"attachments.claim_expired": 1,
|
|
"attachments.direct.completed": 28
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 336212832,
|
|
"delta_tx_bytes": 461394,
|
|
"baseline_rss_bytes": 429502464,
|
|
"peak_memory_bytes": {
|
|
"rss": 814202880,
|
|
"heap_used": 51503296,
|
|
"external": 256575006,
|
|
"array_buffers": 212949888
|
|
},
|
|
"delta_rss_bytes": 384700416,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 28,
|
|
"attachments.insert_pending": 28,
|
|
"attachments.direct.initiated": 28,
|
|
"attachments.find_for_complete": 36,
|
|
"attachments.direct.verify_bytes": 335544320,
|
|
"attachments.decode.ms": 25502.105729999603,
|
|
"attachments.mark_ready": 32,
|
|
"attachments.direct.completed": 32,
|
|
"attachments.claim_expired": 1
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 630427319,
|
|
"total_delta_tx_bytes": 887138,
|
|
"rx_bytes_per_upload": 9850427,
|
|
"tx_bytes_per_upload": 13862,
|
|
"max_delta_rss_bytes": 384700416
|
|
},
|
|
{
|
|
"uploads": 64,
|
|
"succeeded": 59,
|
|
"failed": 5,
|
|
"outcomes": {
|
|
"complete:429": 5,
|
|
"ok": 59
|
|
},
|
|
"duration_s": 26.673,
|
|
"latency_ms": {
|
|
"p50": 10563.3,
|
|
"p95": 13343.1,
|
|
"p99": 14265.7
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 283773903,
|
|
"delta_tx_bytes": 418163,
|
|
"baseline_rss_bytes": 474800128,
|
|
"peak_memory_bytes": {
|
|
"rss": 829358080,
|
|
"heap_used": 51810024,
|
|
"external": 242621863,
|
|
"array_buffers": 228344296
|
|
},
|
|
"delta_rss_bytes": 354557952,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 37,
|
|
"attachments.insert_pending": 37,
|
|
"attachments.direct.initiated": 37,
|
|
"attachments.find_for_complete": 27,
|
|
"attachments.direct.verify_bytes": 283115520,
|
|
"attachments.decode.ms": 22160.10410899995,
|
|
"attachments.mark_ready": 27,
|
|
"attachments.direct.completed": 27
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 336214318,
|
|
"delta_tx_bytes": 426666,
|
|
"baseline_rss_bytes": 461180928,
|
|
"peak_memory_bytes": {
|
|
"rss": 814313472,
|
|
"heap_used": 54614560,
|
|
"external": 256831606,
|
|
"array_buffers": 229984560
|
|
},
|
|
"delta_rss_bytes": 353132544,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 27,
|
|
"attachments.insert_pending": 27,
|
|
"attachments.direct.initiated": 27,
|
|
"attachments.find_for_complete": 37,
|
|
"attachments.direct.verify_bytes": 335544320,
|
|
"attachments.decode.ms": 25823.93422999978,
|
|
"attachments.mark_ready": 32,
|
|
"attachments.direct.completed": 32
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 619988221,
|
|
"total_delta_tx_bytes": 844829,
|
|
"rx_bytes_per_upload": 9687316,
|
|
"tx_bytes_per_upload": 13200,
|
|
"max_delta_rss_bytes": 354557952
|
|
}
|
|
]
|
|
}
|