forked from mtusi2026/mtusi2026lab6
Перенесено дерево lab5 целиком: NestJS-приложение (API + worker,
RabbitMQ, outbox, S3), Dockerfile, compose.yaml, infra/{haproxy,minio,
rabbitmq}, стендовые скрипты, scripts/lab4, scripts/lab5,
evidence/lab4, evidence/lab5 и contracts/extensions.openapi.json.
Задание lab6 оставлено своим: README, REPORT, COURSE, lab.json,
contracts/{openapi,infrastructure,jobs.schema,attachment-states,
examples,observability}, tests, compose.example.yaml, infra/otel,
.github/pull_request_template.md.
Адаптации при переносе:
- docker-проект mtusi-lab5 -> mtusi-lab6 и тег образа
mtusi-messenger:lab6 (compose.yaml, scripts/stop-one.sh, .env.example,
infra/README.md), чтобы тома и контейнеры не пересекались с lab5;
- Makefile: цели lab5 сохранены целиком (skeleton lab6 не отличается
от skeleton lab5);
- .env.example: переменные приложения и стенда lab5 + блок lab6
(OTEL_*) из skeleton.
213 lines
6.1 KiB
JSON
213 lines
6.1 KiB
JSON
{
|
|
"date": "2026-10-23T14:19:11+00:00",
|
|
"git": "9caa031",
|
|
"params": {
|
|
"mode": "proxy",
|
|
"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.402,
|
|
"latency_ms": {
|
|
"p50": 48.4,
|
|
"p95": 84.1,
|
|
"p99": 92.3
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 26376487,
|
|
"delta_tx_bytes": 26404723,
|
|
"baseline_rss_bytes": 255217664,
|
|
"peak_memory_bytes": {
|
|
"rss": 255610880,
|
|
"heap_used": 52221216,
|
|
"external": 23026820,
|
|
"array_buffers": 19216043
|
|
},
|
|
"delta_rss_bytes": 393216,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 26214400,
|
|
"attachments.decode.ms": 156.9926100000739,
|
|
"attachments.proxy.bytes_to_s3": 26214400,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 26386314,
|
|
"delta_tx_bytes": 26402341,
|
|
"baseline_rss_bytes": 413614080,
|
|
"peak_memory_bytes": {
|
|
"rss": 413876224,
|
|
"heap_used": 55746224,
|
|
"external": 28951897,
|
|
"array_buffers": 25131678
|
|
},
|
|
"delta_rss_bytes": 262144,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 26214400,
|
|
"attachments.decode.ms": 162.94164999981876,
|
|
"attachments.proxy.bytes_to_s3": 26214400,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 52762801,
|
|
"total_delta_tx_bytes": 52807064,
|
|
"rx_bytes_per_upload": 1055256,
|
|
"tx_bytes_per_upload": 1056141,
|
|
"max_delta_rss_bytes": 393216
|
|
},
|
|
{
|
|
"uploads": 50,
|
|
"succeeded": 50,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 50
|
|
},
|
|
"duration_s": 0.38,
|
|
"latency_ms": {
|
|
"p50": 50.7,
|
|
"p95": 82.2,
|
|
"p99": 88.5
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 26388819,
|
|
"delta_tx_bytes": 26402419,
|
|
"baseline_rss_bytes": 255610880,
|
|
"peak_memory_bytes": {
|
|
"rss": 255741952,
|
|
"heap_used": 53542032,
|
|
"external": 30837329,
|
|
"array_buffers": 27022020
|
|
},
|
|
"delta_rss_bytes": 131072,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 26214400,
|
|
"attachments.decode.ms": 149.34638900024584,
|
|
"attachments.proxy.bytes_to_s3": 26214400,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 26377403,
|
|
"delta_tx_bytes": 26400247,
|
|
"baseline_rss_bytes": 220905472,
|
|
"peak_memory_bytes": {
|
|
"rss": 221036544,
|
|
"heap_used": 51357984,
|
|
"external": 22079805,
|
|
"array_buffers": 18271239
|
|
},
|
|
"delta_rss_bytes": 131072,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 26214400,
|
|
"attachments.decode.ms": 137.65105199965183,
|
|
"attachments.proxy.bytes_to_s3": 26214400,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 52766222,
|
|
"total_delta_tx_bytes": 52802666,
|
|
"rx_bytes_per_upload": 1055324,
|
|
"tx_bytes_per_upload": 1056053,
|
|
"max_delta_rss_bytes": 131072
|
|
},
|
|
{
|
|
"uploads": 50,
|
|
"succeeded": 50,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 50
|
|
},
|
|
"duration_s": 0.385,
|
|
"latency_ms": {
|
|
"p50": 49.7,
|
|
"p95": 73.2,
|
|
"p99": 80.6
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 26383716,
|
|
"delta_tx_bytes": 26401715,
|
|
"baseline_rss_bytes": 255741952,
|
|
"peak_memory_bytes": {
|
|
"rss": 255873024,
|
|
"heap_used": 52957000,
|
|
"external": 26930642,
|
|
"array_buffers": 23117596
|
|
},
|
|
"delta_rss_bytes": 131072,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 26214400,
|
|
"attachments.decode.ms": 139.30256199993892,
|
|
"attachments.proxy.bytes_to_s3": 26214400,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 26386387,
|
|
"delta_tx_bytes": 26402657,
|
|
"baseline_rss_bytes": 221036544,
|
|
"peak_memory_bytes": {
|
|
"rss": 221036544,
|
|
"heap_used": 51459840,
|
|
"external": 22079805,
|
|
"array_buffers": 16097979
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.insert_pending": 25,
|
|
"attachments.proxy.bytes_in": 26214400,
|
|
"attachments.decode.ms": 120.35195299994666,
|
|
"attachments.proxy.bytes_to_s3": 26214400,
|
|
"attachments.mark_ready": 25,
|
|
"attachments.upload.created": 25
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 52770103,
|
|
"total_delta_tx_bytes": 52804372,
|
|
"rx_bytes_per_upload": 1055402,
|
|
"tx_bytes_per_upload": 1056087,
|
|
"max_delta_rss_bytes": 131072
|
|
}
|
|
]
|
|
}
|