Files
mtusi2026lab5/evidence/lab4/bench/proxy-9961472-c10.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

215 lines
6.2 KiB
JSON

{
"date": "2026-10-23T14:19:32+00:00",
"git": "9caa031",
"params": {
"mode": "proxy",
"size_bytes": 9961472,
"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": 2.923,
"latency_ms": {
"p50": 245.8,
"p95": 426.3,
"p99": 473.7
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 249684975,
"delta_tx_bytes": 249854149,
"baseline_rss_bytes": 257658880,
"peak_memory_bytes": {
"rss": 258445312,
"heap_used": 50586328,
"external": 54821684,
"array_buffers": 51025026
},
"delta_rss_bytes": 786432,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.claim_expired": 1,
"attachments.decode.ms": 319.71605499990983,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 249696173,
"delta_tx_bytes": 249850753,
"baseline_rss_bytes": 242159616,
"peak_memory_bytes": {
"rss": 263458816,
"heap_used": 50272920,
"external": 64509948,
"array_buffers": 60710825
},
"delta_rss_bytes": 21299200,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 417.5356929998379,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25,
"attachments.claim_expired": 1
}
}
],
"total_delta_rx_bytes": 499381148,
"total_delta_tx_bytes": 499704902,
"rx_bytes_per_upload": 9987623,
"tx_bytes_per_upload": 9994098,
"max_delta_rss_bytes": 21299200
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"outcomes": {
"ok": 50
},
"duration_s": 2.962,
"latency_ms": {
"p50": 218.3,
"p95": 399.3,
"p99": 460.0
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 249696535,
"delta_tx_bytes": 249834513,
"baseline_rss_bytes": 258445312,
"peak_memory_bytes": {
"rss": 278368256,
"heap_used": 51479592,
"external": 64969358,
"array_buffers": 60432585
},
"delta_rss_bytes": 19922944,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 418.99375499994494,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 249668505,
"delta_tx_bytes": 249828657,
"baseline_rss_bytes": 263458816,
"peak_memory_bytes": {
"rss": 286236672,
"heap_used": 50811912,
"external": 98237420,
"array_buffers": 75492114
},
"delta_rss_bytes": 22777856,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 377.89479400013806,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 499365040,
"total_delta_tx_bytes": 499663170,
"rx_bytes_per_upload": 9987301,
"tx_bytes_per_upload": 9993263,
"max_delta_rss_bytes": 22777856
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"outcomes": {
"ok": 50
},
"duration_s": 2.985,
"latency_ms": {
"p50": 244.7,
"p95": 375.1,
"p99": 434.8
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 249713919,
"delta_tx_bytes": 249869668,
"baseline_rss_bytes": 278368256,
"peak_memory_bytes": {
"rss": 280072192,
"heap_used": 51096488,
"external": 54668040,
"array_buffers": 50874378
},
"delta_rss_bytes": 1703936,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 335.8925800000434,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 249686633,
"delta_tx_bytes": 249847874,
"baseline_rss_bytes": 243417088,
"peak_memory_bytes": {
"rss": 253378560,
"heap_used": 50078992,
"external": 54471131,
"array_buffers": 50675083
},
"delta_rss_bytes": 9961472,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 318.2283639999805,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 499400552,
"total_delta_tx_bytes": 499717542,
"rx_bytes_per_upload": 9988011,
"tx_bytes_per_upload": 9994351,
"max_delta_rss_bytes": 9961472
}
]
}