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.
225 lines
6.6 KiB
JSON
225 lines
6.6 KiB
JSON
{
|
|
"date": "2026-10-23T14:19:05+00:00",
|
|
"git": "9caa031",
|
|
"params": {
|
|
"mode": "direct",
|
|
"size_bytes": 131072,
|
|
"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.225,
|
|
"latency_ms": {
|
|
"p50": 39.1,
|
|
"p95": 67.1,
|
|
"p99": 70.2
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 3306246,
|
|
"delta_tx_bytes": 183847,
|
|
"baseline_rss_bytes": 255115264,
|
|
"peak_memory_bytes": {
|
|
"rss": 255115264,
|
|
"heap_used": 52168040,
|
|
"external": 11980507,
|
|
"array_buffers": 8188021
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 26,
|
|
"attachments.insert_pending": 26,
|
|
"attachments.direct.initiated": 26,
|
|
"attachments.find_for_complete": 24,
|
|
"attachments.direct.verify_bytes": 3145728,
|
|
"attachments.decode.ms": 76.04879400000209,
|
|
"attachments.mark_ready": 24,
|
|
"attachments.direct.completed": 24
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 3572465,
|
|
"delta_tx_bytes": 185987,
|
|
"baseline_rss_bytes": 410796032,
|
|
"peak_memory_bytes": {
|
|
"rss": 413024256,
|
|
"heap_used": 61028552,
|
|
"external": 11110575,
|
|
"array_buffers": 7314315
|
|
},
|
|
"delta_rss_bytes": 2228224,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 24,
|
|
"attachments.insert_pending": 24,
|
|
"attachments.direct.initiated": 24,
|
|
"attachments.find_for_complete": 26,
|
|
"attachments.direct.verify_bytes": 3407872,
|
|
"attachments.decode.ms": 95.17834699997911,
|
|
"attachments.mark_ready": 26,
|
|
"attachments.direct.completed": 26
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 6878711,
|
|
"total_delta_tx_bytes": 369834,
|
|
"rx_bytes_per_upload": 137574,
|
|
"tx_bytes_per_upload": 7397,
|
|
"max_delta_rss_bytes": 2228224
|
|
},
|
|
{
|
|
"uploads": 50,
|
|
"succeeded": 50,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 50
|
|
},
|
|
"duration_s": 0.237,
|
|
"latency_ms": {
|
|
"p50": 39.7,
|
|
"p95": 70.8,
|
|
"p99": 71.9
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 3305361,
|
|
"delta_tx_bytes": 182735,
|
|
"baseline_rss_bytes": 255115264,
|
|
"peak_memory_bytes": {
|
|
"rss": 255115264,
|
|
"heap_used": 52870848,
|
|
"external": 12917408,
|
|
"array_buffers": 8731525
|
|
},
|
|
"delta_rss_bytes": 0,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 26,
|
|
"attachments.insert_pending": 26,
|
|
"attachments.direct.initiated": 26,
|
|
"attachments.find_for_complete": 24,
|
|
"attachments.direct.verify_bytes": 3145728,
|
|
"attachments.decode.ms": 74.47586199996294,
|
|
"attachments.mark_ready": 24,
|
|
"attachments.direct.completed": 24
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 3572269,
|
|
"delta_tx_bytes": 183875,
|
|
"baseline_rss_bytes": 413024256,
|
|
"peak_memory_bytes": {
|
|
"rss": 413417472,
|
|
"heap_used": 59807944,
|
|
"external": 10703911,
|
|
"array_buffers": 6908083
|
|
},
|
|
"delta_rss_bytes": 393216,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 24,
|
|
"attachments.insert_pending": 24,
|
|
"attachments.direct.initiated": 24,
|
|
"attachments.find_for_complete": 26,
|
|
"attachments.direct.verify_bytes": 3407872,
|
|
"attachments.decode.ms": 80.40512400015723,
|
|
"attachments.mark_ready": 26,
|
|
"attachments.direct.completed": 26
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 6877630,
|
|
"total_delta_tx_bytes": 366610,
|
|
"rx_bytes_per_upload": 137553,
|
|
"tx_bytes_per_upload": 7332,
|
|
"max_delta_rss_bytes": 393216
|
|
},
|
|
{
|
|
"uploads": 50,
|
|
"succeeded": 50,
|
|
"failed": 0,
|
|
"outcomes": {
|
|
"ok": 50
|
|
},
|
|
"duration_s": 0.266,
|
|
"latency_ms": {
|
|
"p50": 45.7,
|
|
"p95": 73.8,
|
|
"p99": 80.1
|
|
},
|
|
"replicas": [
|
|
{
|
|
"instance_id": "90e2e1d73b23",
|
|
"delta_rx_bytes": 3306421,
|
|
"delta_tx_bytes": 183391,
|
|
"baseline_rss_bytes": 255115264,
|
|
"peak_memory_bytes": {
|
|
"rss": 255377408,
|
|
"heap_used": 55403296,
|
|
"external": 12765653,
|
|
"array_buffers": 8973582
|
|
},
|
|
"delta_rss_bytes": 262144,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 26,
|
|
"attachments.insert_pending": 26,
|
|
"attachments.direct.initiated": 26,
|
|
"attachments.find_for_complete": 24,
|
|
"attachments.direct.verify_bytes": 3145728,
|
|
"attachments.decode.ms": 113.08572699979413,
|
|
"attachments.mark_ready": 24,
|
|
"attachments.direct.completed": 24
|
|
}
|
|
},
|
|
{
|
|
"instance_id": "9bb9a19b4693",
|
|
"delta_rx_bytes": 3572203,
|
|
"delta_tx_bytes": 184215,
|
|
"baseline_rss_bytes": 413417472,
|
|
"peak_memory_bytes": {
|
|
"rss": 413548544,
|
|
"heap_used": 60296808,
|
|
"external": 10700258,
|
|
"array_buffers": 6904444
|
|
},
|
|
"delta_rss_bytes": 131072,
|
|
"counters": {
|
|
"attachments.count_pending_direct": 24,
|
|
"attachments.insert_pending": 24,
|
|
"attachments.direct.initiated": 24,
|
|
"attachments.find_for_complete": 26,
|
|
"attachments.direct.verify_bytes": 3407872,
|
|
"attachments.decode.ms": 102.82485899998574,
|
|
"attachments.mark_ready": 26,
|
|
"attachments.direct.completed": 26
|
|
}
|
|
}
|
|
],
|
|
"total_delta_rx_bytes": 6878624,
|
|
"total_delta_tx_bytes": 367606,
|
|
"rx_bytes_per_upload": 137572,
|
|
"tx_bytes_per_upload": 7352,
|
|
"max_delta_rss_bytes": 262144
|
|
}
|
|
]
|
|
}
|