Files
mtusi2026lab5/evidence/lab4/bench/proxy-worst-c32.json
T
ilya.tyunin 1982bdb690 lab5: базовый коммит из lab4 (abba248)
Перенесено дерево 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_*).
2026-11-04 23:44:11 +03:00

217 lines
6.3 KiB
JSON

{
"date": "2026-10-23T14:21:43+00:00",
"git": "9caa031",
"params": {
"mode": "proxy",
"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": 63,
"failed": 1,
"outcomes": {
"ok": 63,
"upload:429": 1
},
"duration_s": 26.314,
"latency_ms": {
"p50": 11982.1,
"p95": 13221.2,
"p99": 13881.3
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 337116624,
"delta_tx_bytes": 326709435,
"baseline_rss_bytes": 280637440,
"peak_memory_bytes": {
"rss": 794800128,
"heap_used": 52577168,
"external": 200629533,
"array_buffers": 196839189
},
"delta_rss_bytes": 514162688,
"counters": {
"attachments.insert_pending": 31,
"attachments.proxy.bytes_in": 325058560,
"attachments.decode.ms": 25555.52753299987,
"attachments.proxy.bytes_to_s3": 325058560,
"attachments.mark_ready": 31,
"attachments.upload.created": 31
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 337265287,
"delta_tx_bytes": 337358402,
"baseline_rss_bytes": 243548160,
"peak_memory_bytes": {
"rss": 810434560,
"heap_used": 53145984,
"external": 236705259,
"array_buffers": 220341467
},
"delta_rss_bytes": 566886400,
"counters": {
"attachments.insert_pending": 32,
"attachments.proxy.bytes_in": 335544320,
"attachments.decode.ms": 26139.059334000223,
"attachments.proxy.bytes_to_s3": 335544320,
"attachments.mark_ready": 32,
"attachments.upload.created": 32
}
}
],
"total_delta_rx_bytes": 674381911,
"total_delta_tx_bytes": 664067837,
"rx_bytes_per_upload": 10537217,
"tx_bytes_per_upload": 10376060,
"max_delta_rss_bytes": 566886400
},
{
"uploads": 64,
"succeeded": 63,
"failed": 1,
"outcomes": {
"ok": 63,
"upload:429": 1
},
"duration_s": 26.067,
"latency_ms": {
"p50": 11840.4,
"p95": 12960.2,
"p99": 13468.5
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 336715328,
"delta_tx_bytes": 326375446,
"baseline_rss_bytes": 440582144,
"peak_memory_bytes": {
"rss": 792059904,
"heap_used": 56538592,
"external": 222265987,
"array_buffers": 218475643
},
"delta_rss_bytes": 351477760,
"counters": {
"attachments.insert_pending": 31,
"attachments.proxy.bytes_in": 325058560,
"attachments.decode.ms": 25179.0629260001,
"attachments.proxy.bytes_to_s3": 325058560,
"attachments.mark_ready": 31,
"attachments.upload.created": 31
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 336711646,
"delta_tx_bytes": 336796533,
"baseline_rss_bytes": 456798208,
"peak_memory_bytes": {
"rss": 804114432,
"heap_used": 56361496,
"external": 227834931,
"array_buffers": 224044587
},
"delta_rss_bytes": 347316224,
"counters": {
"attachments.insert_pending": 32,
"attachments.proxy.bytes_in": 335544320,
"attachments.decode.ms": 25936.202234999975,
"attachments.proxy.bytes_to_s3": 335544320,
"attachments.mark_ready": 32,
"attachments.upload.created": 32
}
}
],
"total_delta_rx_bytes": 673426974,
"total_delta_tx_bytes": 663171979,
"rx_bytes_per_upload": 10522296,
"tx_bytes_per_upload": 10362062,
"max_delta_rss_bytes": 351477760
},
{
"uploads": 64,
"succeeded": 64,
"failed": 0,
"outcomes": {
"ok": 64
},
"duration_s": 26.191,
"latency_ms": {
"p50": 12369.3,
"p95": 13068.5,
"p99": 13838.5
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 336907021,
"delta_tx_bytes": 336990630,
"baseline_rss_bytes": 438906880,
"peak_memory_bytes": {
"rss": 812994560,
"heap_used": 53308256,
"external": 217363492,
"array_buffers": 213573148
},
"delta_rss_bytes": 374087680,
"counters": {
"attachments.insert_pending": 32,
"attachments.proxy.bytes_in": 335544320,
"attachments.decode.ms": 25964.192683000234,
"attachments.proxy.bytes_to_s3": 335544320,
"attachments.mark_ready": 32,
"attachments.upload.created": 32,
"attachments.claim_expired": 1
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 336764548,
"delta_tx_bytes": 336853328,
"baseline_rss_bytes": 451035136,
"peak_memory_bytes": {
"rss": 822910976,
"heap_used": 51718280,
"external": 238155032,
"array_buffers": 234364688
},
"delta_rss_bytes": 371875840,
"counters": {
"attachments.insert_pending": 32,
"attachments.proxy.bytes_in": 335544320,
"attachments.decode.ms": 25902.83660300006,
"attachments.proxy.bytes_to_s3": 335544320,
"attachments.mark_ready": 32,
"attachments.upload.created": 32,
"attachments.claim_expired": 1
}
}
],
"total_delta_rx_bytes": 673671569,
"total_delta_tx_bytes": 673843958,
"rx_bytes_per_upload": 10526118,
"tx_bytes_per_upload": 10528812,
"max_delta_rss_bytes": 374087680
}
]
}