Record level 4 evidence and fill in the report

Evidence comes from the running stand at a774a2f: upload-faults.txt
with the negative suite through the balancer (36 user errors, no 5xx
in the replica logs) and the compensation, crash, sweep, abort and
stall checks; upload-memory with per-run JSON and a summary for 64
and 3 slots, 1 and 10 MiB and 10, 20 and 40 concurrent uploads plus
the mmap threshold comparison; s3-security.txt with 23 checks; and
regression-level4.txt showing that smoke, persistence, failover of
each replica, the upload failover, S3 outage and abort scenarios, the
limits policy and all 15 stand checks still pass. The lint and own
test log now counts 335 tests. The upload-faults target stamps its
output with the date and commit.

REPORT.md gains rows 4.1 to 4.4 and a regression row, the compensation
and sweep mechanism with its grace period, where each upload limit and
buffer cap applies, the new variables, level 4 failure rows and the
memory experiment with hypothesis, method, results and limits. AGENTS
lists the new targets.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
This commit is contained in:
Artyom
2026-10-29 00:24:41 +03:00
co-authored by Claude Opus 5.5
parent a774a2fbbd
commit 2b19277b1e
27 changed files with 834 additions and 56 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
date: 2026-10-28T17:51:36Z commit: 24f9d61
date: 2026-10-28T21:18:13Z commit: a774a2f
$ make check
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
+31
View File
@@ -0,0 +1,31 @@
date: 2026-10-28T21:19:01Z commit: a774a2f BASE_URL=http://localhost:18084
# Регрессия уровня «3» и лабы 3 после изменений уровня «4» (буферы сокетов LB и API, порог mmap, слоты, уборка)
$ make test
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
$ make test-failover ACTION_SCRIPT=scripts/stop-one.sh # прогон 1
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi2026lab4-api-1 Up 25 seconds (healthy)
mtusi2026lab4-api-2 Exited (0) 12 seconds ago
$ make restore
restored: 2 healthy
$ make test-failover ACTION_SCRIPT=scripts/stop-one.sh # прогон 2
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi2026lab4-api-1 Exited (0) 12 seconds ago
mtusi2026lab4-api-2 Up 17 seconds (healthy)
$ make restore
restored: 2 healthy
$ python3 scripts/lab4_scenarios.py failover-upload --restore
exit 0: {'ok': True, 'upload_instance': '0b2544e9c8de', 'download_instance': 'cf30d7db141f', 'sha256_equal': True, 'download_ok_after_seconds': 2.709}
$ python3 scripts/lab4_scenarios.py s3-outage --restore
exit 0: {'ok': True, 'as_expected': True, 's3_back_healthy_seconds': 5.697}
$ python3 scripts/lab4_scenarios.py abort-upload --restore
exit 0: {'ok': True, 'rows_by_status': {}, 'ready_rows': 0, 'api_still_serves': True}
s3-outage: upload 503 за 1.696 с, metadata 200 за 0.018 с, download 503 за 1.631 с, text_message 201 за 0.007 с, health_ready 200 за 0.002 с
$ make limits
PASS: limits, ports, secrets, volumes and networks match the policy
$ make test-faults # все проверки стенда student-tests/stack: лабы 2–3 и уровень «4» лабы 4
======================== 15 passed in 64.77s (0:01:04) =========================
student-tests/stack/test_attachment_faults.py: 5
student-tests/stack/test_faults.py: 10
+2 -1
View File
@@ -1,4 +1,4 @@
== 2026-10-28T19:01:13Z S3 privacy and bootstrap checks
== 2026-10-28T21:18:05Z S3 privacy and bootstrap checks
PASS s3: опубликованные host-порты: нет
PASS s3: консоль :9001 внутри контейнера: 000
PASS s3-init: повторный запуск 1: 0
@@ -21,6 +21,7 @@ PASS anonymous: PutObject: deny
PASS anonymous: прямой HTTP GET объекта из отдельного контейнера: 403
PASS bucket: anonymous policy: private
PASS api: DeleteObject: allow
PASS s3: консоль :9001 из отдельного контейнера сети стенда: connection refused
== IAM/bucket snapshot (без секретов)
{
"items": [
+27 -26
View File
@@ -1,9 +1,9 @@
date: 2026-10-28T17:51:45Z commit: 24f9d61
date: 2026-10-28T21:18:14Z commit: a774a2f
$ make lint
.venv/bin/ruff check src student-tests scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py
.venv/bin/ruff check src student-tests scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py scripts/lab4_seed.py scripts/upload_memory.py
All checks passed!
.venv/bin/ruff format --check src student-tests scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py
131 files already formatted
.venv/bin/ruff format --check src student-tests scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py scripts/lab4_seed.py scripts/upload_memory.py
136 files already formatted
.venv/bin/ty check src student-tests
All checks passed!
$ make student-test # pytest без маркера stack, по файлам
@@ -14,36 +14,37 @@ configfile: pyproject.toml
testpaths: student-tests
plugins: asyncio-1.4.0, anyio-4.15.1
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
collected 335 items / 10 deselected / 325 selected
collected 350 items / 15 deselected / 335 selected
student-tests/adapters/test_s3_storage.py .. [ 0%]
student-tests/api/test_access.py ....... [ 2%]
student-tests/api/test_attachments.py .................................. [ 13%]
... [ 14%]
student-tests/api/test_bounded_contexts.py ................... [ 20%]
student-tests/api/test_cache.py ..... [ 21%]
student-tests/api/test_concurrency.py ... [ 22%]
student-tests/api/test_attachments.py .................................. [ 12%]
... [ 13%]
student-tests/api/test_bounded_contexts.py ................... [ 19%]
student-tests/api/test_cache.py ..... [ 20%]
student-tests/api/test_concurrency.py ... [ 21%]
student-tests/api/test_consistency.py ........ [ 24%]
student-tests/api/test_drain.py .. [ 25%]
student-tests/api/test_events.py ....... [ 27%]
student-tests/api/test_idempotency.py ............... [ 32%]
student-tests/api/test_instance.py .... [ 33%]
student-tests/api/test_message_attachments.py ........... [ 36%]
student-tests/api/test_migrations.py ....... [ 39%]
student-tests/api/test_negative.py ..................................... [ 50%]
[ 50%]
student-tests/api/test_operability.py ............. [ 54%]
student-tests/api/test_pagination.py ................. [ 59%]
student-tests/api/test_pool.py .. [ 60%]
student-tests/api/test_sessions.py .................. [ 65%]
student-tests/api/test_timeout.py ...... [ 67%]
student-tests/api/test_drain.py .. [ 24%]
student-tests/api/test_events.py ....... [ 26%]
student-tests/api/test_idempotency.py ............... [ 31%]
student-tests/api/test_instance.py .... [ 32%]
student-tests/api/test_message_attachments.py ........... [ 35%]
student-tests/api/test_migrations.py ....... [ 37%]
student-tests/api/test_negative.py ..................................... [ 48%]
[ 48%]
student-tests/api/test_operability.py ............. [ 52%]
student-tests/api/test_pagination.py ................. [ 57%]
student-tests/api/test_pool.py .. [ 58%]
student-tests/api/test_sessions.py .................. [ 63%]
student-tests/api/test_timeout.py ...... [ 65%]
student-tests/api/test_upload_consistency.py ......... [ 68%]
student-tests/api/test_wire_format.py .. [ 68%]
student-tests/unit/test_attachments_domain.py .......................... [ 76%]
[ 76%]
student-tests/unit/test_authentication.py ..................... [ 82%]
. [ 77%]
student-tests/unit/test_authentication.py ..................... [ 83%]
student-tests/unit/test_cursor.py ........... [ 86%]
student-tests/unit/test_domain.py ...................................... [ 97%]
...... [ 99%]
student-tests/unit/test_timeouts.py . [100%]
===================== 325 passed, 10 deselected in 35.54s ======================
===================== 335 passed, 15 deselected in 38.39s ======================
+57
View File
@@ -0,0 +1,57 @@
date: 2026-10-28T21:17:12Z commit: a774a2f BASE_URL=http://localhost:18084
============================= test session starts ==============================
collected 5 items
student-tests/stack/test_attachment_faults.py 10 MiB + 1 с Content-Length, тело не отправлено: 413
10 MiB + 1 chunked: 413
PNG 100000×100000 (бомба): 413
PNG 8001×5000: 413
обрезанный PNG: 415
обрезанный JPEG: 415
JPEG как image/png: 415
GIF как image/png: 415
WebP как image/png: 415
текст как image/png: 415
PNG как image/jpeg: 415
пустое тело: 415
application/octet-stream: 415
без Content-Type: 415
filename='../a.png': 400
filename='a/b.png': 400
filename='a\\b.png': 400
filename='a\x00.png': 400
filename='a\x01.png': 400
filename='a\x7f.png': 400
filename='': 400
filename=' ': 400
filename='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: 400
filename=None: 400
посторонний: upload в чужой чат: 404
посторонний: метаданные: 404
посторонний: /content: 404
посторонний: ссылка на чужое вложение: 404
вложение другого чата: 404
неизвестное вложение: 404
11 вложений: 400
повтор вложения: 400
невалидный UUID: 400
пустой текст без вложений: 400
невалидный id вложения: 400
variant=thumbnail: 400
строк вложений в чате: 2 (= ответов 201); ответов в журнале реплик: 53, из них 5xx: 0
.отказ COMMIT после записи объекта: 503 unavailable
сразу после ответа: строка нет, объект HEAD 404
журнал: audit.attachment_discarded reason=compensation
.реплика 0b2544e9c8de убита между PUT и COMMIT, клиент получил 502
реплика cf30d7db141f убита между PUT и COMMIT, клиент получил 502
остаток после падения: строка pending, объект HEAD 200
остаток после падения: строка pending, объект HEAD 200
старше grace: строка убрана через 23.2 с, объект HEAD 404
моложе grace: строка pending, объект HEAD 200
тот же после сдвига: убран через 2.9 с, объект HEAD 404
готовое вложение в сообщении со сдвинутым created_at скачивается, SHA-256 совпадает
.обрыв после 256 KiB из 5 MiB: статус в журнале реплики [400], намерение None
.тело зависло после 1 KiB: 503 unavailable за 8.00 с
.
============================== 5 passed in 47.68s ==============================
@@ -0,0 +1,38 @@
{
"upload_concurrency": 3,
"mode": "http",
"count": 20,
"concurrency": 10,
"body_bytes": 10485256,
"status_codes": {
"201": 20
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 2.049,
"successful_rps": 9.76,
"latency_ms": {
"p50": 1044.5,
"p95": 1054.0,
"p99": 1054.0,
"max": 1054.0
},
"memory": {
"373f923996f5": {
"idle_mib": 118.0,
"docker_stats_peak_mib": 284.1,
"cgroup_memory_peak_mib": 317.0,
"oom_kill": 0
},
"716a8bd3dadc": {
"idle_mib": 120.1,
"docker_stats_peak_mib": 284.8,
"cgroup_memory_peak_mib": 303.5,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 21.5,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 3,
"mode": "http",
"count": 40,
"concurrency": 20,
"body_bytes": 10485256,
"status_codes": {
"201": 40
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 4.07,
"successful_rps": 9.83,
"latency_ms": {
"p50": 1371.3,
"p95": 2703.0,
"p99": 3511.2,
"max": 3511.2
},
"memory": {
"9f0550e32c1f": {
"idle_mib": 121.0,
"docker_stats_peak_mib": 283.9,
"cgroup_memory_peak_mib": 333.8,
"oom_kill": 0
},
"d67cf5f9a4cd": {
"idle_mib": 114.6,
"docker_stats_peak_mib": 274.2,
"cgroup_memory_peak_mib": 326.7,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 25.5,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 3,
"mode": "http",
"count": 80,
"concurrency": 40,
"body_bytes": 10485256,
"status_codes": {
"201": 80
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 9.697,
"successful_rps": 8.25,
"latency_ms": {
"p50": 3994.1,
"p95": 7734.9,
"p99": 8083.8,
"max": 8083.8
},
"memory": {
"2c476e16638d": {
"idle_mib": 117.4,
"docker_stats_peak_mib": 308.2,
"cgroup_memory_peak_mib": 344.4,
"oom_kill": 0
},
"06b193e00555": {
"idle_mib": 120.6,
"docker_stats_peak_mib": 327.0,
"cgroup_memory_peak_mib": 368.2,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 29.2,
"oom_kill": 0
}
}
@@ -0,0 +1,5 @@
# 2026-10-28T21:22:34Z commit a774a2f; api x2: 1 CPU, 512 MiB, 2 workers; MALLOC_MMAP_THRESHOLD_=33554432; 2 uploads per client; peaks from cgroup memory.peak, MiB
slots size conc codes p50_ms p95_ms api_idle api_peak api_oom lb_peak lb_oom
3 10.0M 10 201x20 1044.5 1054.0 120.1 317.0 0 21.5 0
3 10.0M 20 201x40 1371.3 2703.0 121.0 333.8 0 25.5 0
3 10.0M 40 201x80 3994.1 7734.9 120.6 368.2 0 29.2 0
@@ -0,0 +1,38 @@
{
"upload_concurrency": 3,
"mode": "http",
"count": 20,
"concurrency": 10,
"body_bytes": 10485256,
"status_codes": {
"201": 20
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 5.065,
"successful_rps": 3.95,
"latency_ms": {
"p50": 2352.4,
"p95": 4189.7,
"p99": 4189.7,
"max": 4189.7
},
"memory": {
"3c2d730085c8": {
"idle_mib": 131.5,
"docker_stats_peak_mib": 293.7,
"cgroup_memory_peak_mib": 304.0,
"oom_kill": 0
},
"93f9bbc1bceb": {
"idle_mib": 111.1,
"docker_stats_peak_mib": 247.1,
"cgroup_memory_peak_mib": 281.5,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 21.2,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 3,
"mode": "http",
"count": 40,
"concurrency": 20,
"body_bytes": 10485256,
"status_codes": {
"201": 40
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 4.465,
"successful_rps": 8.96,
"latency_ms": {
"p50": 1920.8,
"p95": 3240.6,
"p99": 3245.7,
"max": 3245.7
},
"memory": {
"e182be5b687d": {
"idle_mib": 120.5,
"docker_stats_peak_mib": 282.5,
"cgroup_memory_peak_mib": 319.1,
"oom_kill": 0
},
"f17f1e812c22": {
"idle_mib": 118.4,
"docker_stats_peak_mib": 294.0,
"cgroup_memory_peak_mib": 315.8,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 24.3,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 3,
"mode": "http",
"count": 80,
"concurrency": 40,
"body_bytes": 10485256,
"status_codes": {
"201": 80
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 6.851,
"successful_rps": 11.68,
"latency_ms": {
"p50": 2711.0,
"p95": 4799.3,
"p99": 5257.9,
"max": 5257.9
},
"memory": {
"bb38d9440f2d": {
"idle_mib": 120.8,
"docker_stats_peak_mib": 298.7,
"cgroup_memory_peak_mib": 329.7,
"oom_kill": 0
},
"84d678b69298": {
"idle_mib": 119.4,
"docker_stats_peak_mib": 298.7,
"cgroup_memory_peak_mib": 312.7,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 28.6,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 3,
"mode": "http",
"count": 20,
"concurrency": 10,
"body_bytes": 1048276,
"status_codes": {
"201": 20
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 0.265,
"successful_rps": 75.45,
"latency_ms": {
"p50": 113.1,
"p95": 232.8,
"p99": 232.8,
"max": 232.8
},
"memory": {
"c83ab609c3fd": {
"idle_mib": 120.8,
"docker_stats_peak_mib": 163.3,
"cgroup_memory_peak_mib": 190.4,
"oom_kill": 0
},
"26c71ec1883e": {
"idle_mib": 117.4,
"docker_stats_peak_mib": 162.7,
"cgroup_memory_peak_mib": 181.1,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 23.1,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 3,
"mode": "http",
"count": 40,
"concurrency": 20,
"body_bytes": 1048276,
"status_codes": {
"201": 40
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 0.468,
"successful_rps": 85.48,
"latency_ms": {
"p50": 224.4,
"p95": 366.0,
"p99": 371.8,
"max": 371.8
},
"memory": {
"4cc6524e77c8": {
"idle_mib": 112.1,
"docker_stats_peak_mib": 164.9,
"cgroup_memory_peak_mib": 192.9,
"oom_kill": 0
},
"c3ba0e9c5e5d": {
"idle_mib": 119.7,
"docker_stats_peak_mib": 164.6,
"cgroup_memory_peak_mib": 192.5,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 29.7,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 3,
"mode": "http",
"count": 80,
"concurrency": 40,
"body_bytes": 1048276,
"status_codes": {
"201": 80
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 0.783,
"successful_rps": 102.19,
"latency_ms": {
"p50": 297.8,
"p95": 556.8,
"p99": 751.0,
"max": 751.0
},
"memory": {
"76e59517c4ab": {
"idle_mib": 120.3,
"docker_stats_peak_mib": 169.2,
"cgroup_memory_peak_mib": 194.3,
"oom_kill": 0
},
"6432fcfd1bca": {
"idle_mib": 118.6,
"docker_stats_peak_mib": 168.7,
"cgroup_memory_peak_mib": 191.6,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 25.9,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 64,
"mode": "http",
"count": 20,
"concurrency": 10,
"body_bytes": 10485256,
"status_codes": {
"201": 20
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 1.703,
"successful_rps": 11.74,
"latency_ms": {
"p50": 912.4,
"p95": 950.2,
"p99": 950.2,
"max": 950.2
},
"memory": {
"ed961ad8f7af": {
"idle_mib": 119.3,
"docker_stats_peak_mib": 169.9,
"cgroup_memory_peak_mib": 279.8,
"oom_kill": 0
},
"3eee49d32532": {
"idle_mib": 117.1,
"docker_stats_peak_mib": 183.5,
"cgroup_memory_peak_mib": 299.7,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 21.4,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 64,
"mode": "http",
"count": 40,
"concurrency": 20,
"body_bytes": 10485256,
"status_codes": {
"201": 40
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 4.342,
"successful_rps": 9.21,
"latency_ms": {
"p50": 2177.2,
"p95": 2493.4,
"p99": 2621.4,
"max": 2621.4
},
"memory": {
"3beae51664f3": {
"idle_mib": 117.8,
"docker_stats_peak_mib": 366.2,
"cgroup_memory_peak_mib": 386.4,
"oom_kill": 0
},
"fbd9ba2a6325": {
"idle_mib": 113.8,
"docker_stats_peak_mib": 400.9,
"cgroup_memory_peak_mib": 422.6,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 23.6,
"oom_kill": 0
}
}
@@ -0,0 +1,39 @@
{
"upload_concurrency": 64,
"mode": "http",
"count": 80,
"concurrency": 40,
"body_bytes": 10485256,
"status_codes": {
"201": 43,
"503": 37
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 13.192,
"successful_rps": 3.26,
"latency_ms": {
"p50": 3920.8,
"p95": 6328.1,
"p99": 7061.7,
"max": 7061.7
},
"memory": {
"76bf24c2a7e4": {
"idle_mib": 120.7,
"docker_stats_peak_mib": 501.4,
"cgroup_memory_peak_mib": 513.2,
"oom_kill": 0
},
"b913c1711548": {
"idle_mib": 118.6,
"docker_stats_peak_mib": 511.9,
"cgroup_memory_peak_mib": 512.4,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 26.2,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 64,
"mode": "http",
"count": 20,
"concurrency": 10,
"body_bytes": 1048276,
"status_codes": {
"201": 20
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 0.369,
"successful_rps": 54.21,
"latency_ms": {
"p50": 201.4,
"p95": 282.8,
"p99": 282.8,
"max": 282.8
},
"memory": {
"bd429b0994e1": {
"idle_mib": 111.7,
"docker_stats_peak_mib": 163.4,
"cgroup_memory_peak_mib": 184.2,
"oom_kill": 0
},
"abd2f4842514": {
"idle_mib": 119.4,
"docker_stats_peak_mib": 163.4,
"cgroup_memory_peak_mib": 187.5,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 20.9,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 64,
"mode": "http",
"count": 40,
"concurrency": 20,
"body_bytes": 1048276,
"status_codes": {
"201": 40
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 0.498,
"successful_rps": 80.37,
"latency_ms": {
"p50": 227.1,
"p95": 377.3,
"p99": 380.1,
"max": 380.1
},
"memory": {
"12d95dfd6365": {
"idle_mib": 117.2,
"docker_stats_peak_mib": 164.0,
"cgroup_memory_peak_mib": 193.9,
"oom_kill": 0
},
"66e748dbcb67": {
"idle_mib": 118.7,
"docker_stats_peak_mib": 164.8,
"cgroup_memory_peak_mib": 202.1,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 23.3,
"oom_kill": 0
}
}
@@ -0,0 +1,38 @@
{
"upload_concurrency": 64,
"mode": "http",
"count": 80,
"concurrency": 40,
"body_bytes": 1048276,
"status_codes": {
"201": 80
},
"instances": 2,
"linked_in_messages": 0,
"elapsed_seconds": 0.799,
"successful_rps": 100.07,
"latency_ms": {
"p50": 347.3,
"p95": 688.0,
"p99": 690.3,
"max": 690.3
},
"memory": {
"fa8ec003b262": {
"idle_mib": 117.1,
"docker_stats_peak_mib": 169.1,
"cgroup_memory_peak_mib": 209.4,
"oom_kill": 0
},
"9ff57a54c245": {
"idle_mib": 120.6,
"docker_stats_peak_mib": 167.9,
"cgroup_memory_peak_mib": 218.8,
"oom_kill": 0
}
},
"lb": {
"cgroup_memory_peak_mib": 27.3,
"oom_kill": 0
}
}
+14
View File
@@ -0,0 +1,14 @@
# 2026-10-28T21:19:30Z commit a774a2f; api x2: 1 CPU, 512 MiB, 2 workers; MALLOC_MMAP_THRESHOLD_=131072; 2 uploads per client; peaks from cgroup memory.peak, MiB
slots size conc codes p50_ms p95_ms api_idle api_peak api_oom lb_peak lb_oom
64 1.0M 10 201x20 201.4 282.8 119.4 187.5 0 20.9 0
64 1.0M 20 201x40 227.1 377.3 118.7 202.1 0 23.3 0
64 1.0M 40 201x80 347.3 688.0 120.6 218.8 0 27.3 0
64 10.0M 10 201x20 912.4 950.2 119.3 299.7 0 21.4 0
64 10.0M 20 201x40 2177.2 2493.4 117.8 422.6 0 23.6 0
64 10.0M 40 201x43,503x37 3920.8 6328.1 120.7 513.2 0 26.2 0
3 1.0M 10 201x20 113.1 232.8 120.8 190.4 0 23.1 0
3 1.0M 20 201x40 224.4 366.0 119.7 192.9 0 29.7 0
3 1.0M 40 201x80 297.8 556.8 120.3 194.3 0 25.9 0
3 10.0M 10 201x20 2352.4 4189.7 131.5 304.0 0 21.2 0
3 10.0M 20 201x40 1920.8 3240.6 120.5 319.1 0 24.3 0
3 10.0M 40 201x80 2711.0 4799.3 120.8 329.7 0 28.6 0