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.1 KiB
JSON
213 lines
6.1 KiB
JSON
{
|
|
"date": "2026-10-23T14:20:13+00:00",
|
|
"git": "9caa031",
|
|
"params": {
|
|
"mode": "proxy",
|
|
"size_bytes": 9961472,
|
|
"concurrency": 20,
|
|
"uploads_per_worker": 5,
|
|
"repeat": 3,
|
|
"users": 20,
|
|
"image": null
|
|
},
|
|
"host": {
|
|
"nproc": 8,
|
|
"mem_total_bytes": 16538955776
|
|
},
|
|
"api_container_limits_nanocpus_memory": [
|
|
"1500000000 1073741824",
|
|
"1500000000 1073741824"
|
|
],
|
|
"repeats": [
|
|
{
|
|
"uploads": 100,
|
|
"succeeded": 100,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 100
|
|
},
|
|
"duration_s": 6.03,
|
|
"latency_ms": {
|
|
"p50": 446.3,
|
|
"p95": 781.2,
|
|
"p99": 875.5
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 499450818,
|
|
"delta_tx_bytes": 499682679,
|
|
"baseline_rss_bytes": 260186112,
|
|
"peak_memory_bytes": {
|
|
"rss": 270147584,
|
|
"heap_used": 50815808,
|
|
"external": 74823876,
|
|
"array_buffers": 71026869
|
|
},
|
|
"delta_rss_bytes": 9961472,
|
|
"counters": {
|
|
"attachments.insert_pending": 50,
|
|
"attachments.proxy.bytes_in": 498073600,
|
|
"attachments.decode.ms": 747.5779010000988,
|
|
"attachments.proxy.bytes_to_s3": 498073600,
|
|
"attachments.mark_ready": 50,
|
|
"attachments.upload.created": 50
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 499478040,
|
|
"delta_tx_bytes": 499706687,
|
|
"baseline_rss_bytes": 233414656,
|
|
"peak_memory_bytes": {
|
|
"rss": 272007168,
|
|
"heap_used": 51073272,
|
|
"external": 81928377,
|
|
"array_buffers": 78003733
|
|
},
|
|
"delta_rss_bytes": 38592512,
|
|
"counters": {
|
|
"attachments.insert_pending": 50,
|
|
"attachments.proxy.bytes_in": 498073600,
|
|
"attachments.decode.ms": 729.9557609999902,
|
|
"attachments.proxy.bytes_to_s3": 498073600,
|
|
"attachments.mark_ready": 50,
|
|
"attachments.upload.created": 50
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 998928858,
|
|
"total_delta_tx_bytes": 999389366,
|
|
"rx_bytes_per_upload": 9989289,
|
|
"tx_bytes_per_upload": 9993894,
|
|
"max_delta_rss_bytes": 38592512
|
|
},
|
|
{
|
|
"uploads": 100,
|
|
"succeeded": 100,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 100
|
|
},
|
|
"duration_s": 5.959,
|
|
"latency_ms": {
|
|
"p50": 433.3,
|
|
"p95": 826.3,
|
|
"p99": 1157.3
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 499374042,
|
|
"delta_tx_bytes": 499651950,
|
|
"baseline_rss_bytes": 270147584,
|
|
"peak_memory_bytes": {
|
|
"rss": 272506880,
|
|
"heap_used": 51829328,
|
|
"external": 83084989,
|
|
"array_buffers": 79288011
|
|
},
|
|
"delta_rss_bytes": 2359296,
|
|
"counters": {
|
|
"attachments.insert_pending": 50,
|
|
"attachments.proxy.bytes_in": 498073600,
|
|
"attachments.decode.ms": 779.4219730002806,
|
|
"attachments.proxy.bytes_to_s3": 498073600,
|
|
"attachments.mark_ready": 50,
|
|
"attachments.upload.created": 50
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 499493122,
|
|
"delta_tx_bytes": 499744106,
|
|
"baseline_rss_bytes": 223895552,
|
|
"peak_memory_bytes": {
|
|
"rss": 268492800,
|
|
"heap_used": 51545968,
|
|
"external": 74440258,
|
|
"array_buffers": 70643266
|
|
},
|
|
"delta_rss_bytes": 44597248,
|
|
"counters": {
|
|
"attachments.insert_pending": 50,
|
|
"attachments.proxy.bytes_in": 498073600,
|
|
"attachments.decode.ms": 863.9362580000306,
|
|
"attachments.proxy.bytes_to_s3": 498073600,
|
|
"attachments.mark_ready": 50,
|
|
"attachments.upload.created": 50
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 998867164,
|
|
"total_delta_tx_bytes": 999396056,
|
|
"rx_bytes_per_upload": 9988672,
|
|
"tx_bytes_per_upload": 9993961,
|
|
"max_delta_rss_bytes": 44597248
|
|
},
|
|
{
|
|
"uploads": 100,
|
|
"succeeded": 100,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 100
|
|
},
|
|
"duration_s": 5.867,
|
|
"latency_ms": {
|
|
"p50": 425.4,
|
|
"p95": 748.6,
|
|
"p99": 899.5
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 499413858,
|
|
"delta_tx_bytes": 499718735,
|
|
"baseline_rss_bytes": 272506880,
|
|
"peak_memory_bytes": {
|
|
"rss": 282468352,
|
|
"heap_used": 51214136,
|
|
"external": 94183394,
|
|
"array_buffers": 90388084
|
|
},
|
|
"delta_rss_bytes": 9961472,
|
|
"counters": {
|
|
"attachments.insert_pending": 50,
|
|
"attachments.proxy.bytes_in": 498073600,
|
|
"attachments.decode.ms": 737.3356790000107,
|
|
"attachments.proxy.bytes_to_s3": 498073600,
|
|
"attachments.mark_ready": 50,
|
|
"attachments.upload.created": 50
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 499436776,
|
|
"delta_tx_bytes": 499691520,
|
|
"baseline_rss_bytes": 224206848,
|
|
"peak_memory_bytes": {
|
|
"rss": 287236096,
|
|
"heap_used": 51412744,
|
|
"external": 94514510,
|
|
"array_buffers": 90719177
|
|
},
|
|
"delta_rss_bytes": 63029248,
|
|
"counters": {
|
|
"attachments.insert_pending": 50,
|
|
"attachments.proxy.bytes_in": 498073600,
|
|
"attachments.decode.ms": 632.1155839997809,
|
|
"attachments.proxy.bytes_to_s3": 498073600,
|
|
"attachments.mark_ready": 50,
|
|
"attachments.upload.created": 50
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 998850634,
|
|
"total_delta_tx_bytes": 999410255,
|
|
"rx_bytes_per_upload": 9988506,
|
|
"tx_bytes_per_upload": 9994103,
|
|
"max_delta_rss_bytes": 63029248
|
|
}
|
|
]
|
|
}
|