From 6476b1e67364f76edac50d686f46f32a0ceb5183 Mon Sep 17 00:00:00 2001 From: roman Date: Tue, 13 Oct 2026 15:18:00 +0300 Subject: [PATCH] docs: track label logs referenced by the report The *.log rule kept LB, rollout script and 5xx logs of committed labels out of git while REPORT.md cites them. The 59 logs (556 KB) hold no tokens, passwords or host paths; quick-* labels stay ignored. Co-Authored-By: Claude Opus 5.5 --- .gitignore | 3 + KNOWN_ISSUES.md | 22 ------ REPORT.md | 11 ++- .../scaling-a/raw/4x1-r2-a1-s05-errors.log | 27 ++++++++ .../scaling-a/raw/4x1-r2-a1-s06-errors.log | 31 +++++++++ .../scaling-a/raw/4x1-r3-a1-s06-errors.log | 15 +++++ .../scaling-a/raw/4x1-r3-a1-s07-errors.log | 18 +++++ .../scaling-b/raw/2x1-r3-a1-s06-errors.log | 15 +++++ .../scaling-b/raw/3x1-r1-a1-s06-errors.log | 17 +++++ .../scaling-b/raw/3x1-r2-a1-s06-errors.log | 23 +++++++ .../scaling-b/raw/3x1-r3-a1-s06-errors.log | 24 +++++++ .../scaling-b/raw/3x1-r3-a1-s07-errors.log | 10 +++ .../scaling-b/raw/4x1-r1-a1-s06-errors.log | 22 ++++++ .../scaling-b/raw/4x1-r1-a1-s07-errors.log | 16 +++++ .../scaling-b/raw/4x1-r2-a1-s05-errors.log | 25 +++++++ .../scaling-b/raw/4x1-r2-a1-s06-errors.log | 22 ++++++ .../scaling-b/raw/4x1-r2-a1-s07-errors.log | 19 ++++++ .../scaling-b/raw/4x1-r3-a1-s06-errors.log | 25 +++++++ .../scaling-b/raw/4x1-r3-a1-s07-errors.log | 10 +++ .../raw/4x1-pg2-r1-a1-s04-errors.log | 15 +++++ .../raw/4x1-pg2-r2-a1-s04-errors.log | 9 +++ .../raw/4x1-pg0.5-r1-a1-s03-errors.log | 9 +++ .../raw/4x1-pg0.5-r1-a1-s03-errors.log | 9 +++ .../raw/4x1-pg2-r2-a1-s04-errors.log | 9 +++ .../raw/4x1-pg2-r3-a1-s03-errors.log | 9 +++ .../raw/4x1-pg2-r3-a1-s05-errors.log | 27 ++++++++ .../raw/4x1-pg2-r3-a1-s06-errors.log | 23 +++++++ .../raw/4x1-pg2-r1-a1-s04-errors.log | 9 +++ .../raw/4x1-pg2-r1-a1-s06-errors.log | 7 ++ .../raw/4x1-pg2-r3-a1-s04-errors.log | 9 +++ .../raw/4x1-c50-r1-a1-s03-errors.log | 52 ++++++++++++++ .../raw/4x1-c50-r1-a1-s04-errors.log | 67 +++++++++++++++++++ .../raw/4x1-c50-r1-a1-s05-errors.log | 67 +++++++++++++++++++ .../raw/4x1-c50-r1-a1-s06-errors.log | 67 +++++++++++++++++++ .../raw/4x1-c50-r2-a1-s03-errors.log | 44 ++++++++++++ .../raw/4x1-c50-r2-a1-s04-errors.log | 67 +++++++++++++++++++ .../raw/4x1-c50-r2-a1-s05-errors.log | 67 +++++++++++++++++++ .../raw/4x1-c50-r2-a1-s06-errors.log | 67 +++++++++++++++++++ .../raw/4x1-c50-r3-a1-s03-errors.log | 67 +++++++++++++++++++ .../raw/4x1-c50-r3-a1-s04-errors.log | 67 +++++++++++++++++++ .../raw/4x1-c50-r3-a1-s05-errors.log | 67 +++++++++++++++++++ .../raw/4x1-c50-r3-a1-s06-errors.log | 57 ++++++++++++++++ .../scaling-pool/raw/4x1-r1-a1-s05-errors.log | 31 +++++++++ .../scaling-pool/raw/4x1-r1-a1-s06-errors.log | 12 ++++ .../scaling-pool/raw/4x1-r3-a1-s05-errors.log | 31 +++++++++ .../scaling-pool/raw/4x1-r3-a1-s06-errors.log | 31 +++++++++ .../failover/baseline/raw/01-stop-r1-lb.log | 4 ++ .../failover/baseline/raw/02-stop-r2-lb.log | 4 ++ .../failover/baseline/raw/03-kill-r1-lb.log | 4 ++ .../failover/baseline/raw/04-kill-r2-lb.log | 4 ++ .../failover/baseline/raw/05-pause-r1-lb.log | 2 + .../failover/baseline/raw/06-pause-r2-lb.log | 2 + .../failover/resources/raw/01-stop-r1-lb.log | 4 ++ .../failover/resources/raw/02-stop-r2-lb.log | 4 ++ .../failover/resources/raw/03-kill-r1-lb.log | 4 ++ .../failover/resources/raw/04-kill-r2-lb.log | 5 ++ .../failover/resources/raw/05-pause-r1-lb.log | 2 + .../failover/resources/raw/06-pause-r2-lb.log | 2 + evidence/rollout/baseline/raw/rollout-lb.log | 12 ++++ .../rollout/baseline/raw/rollout-script.log | 18 +++++ evidence/rollout/resources/raw/rollout-lb.log | 12 ++++ .../rollout/resources/raw/rollout-script.log | 18 +++++ evidence/tests/profile-resources-checks.md | 2 +- 63 files changed, 1424 insertions(+), 30 deletions(-) create mode 100644 evidence/bench/scaling-a/raw/4x1-r2-a1-s05-errors.log create mode 100644 evidence/bench/scaling-a/raw/4x1-r2-a1-s06-errors.log create mode 100644 evidence/bench/scaling-a/raw/4x1-r3-a1-s06-errors.log create mode 100644 evidence/bench/scaling-a/raw/4x1-r3-a1-s07-errors.log create mode 100644 evidence/bench/scaling-b/raw/2x1-r3-a1-s06-errors.log create mode 100644 evidence/bench/scaling-b/raw/3x1-r1-a1-s06-errors.log create mode 100644 evidence/bench/scaling-b/raw/3x1-r2-a1-s06-errors.log create mode 100644 evidence/bench/scaling-b/raw/3x1-r3-a1-s06-errors.log create mode 100644 evidence/bench/scaling-b/raw/3x1-r3-a1-s07-errors.log create mode 100644 evidence/bench/scaling-b/raw/4x1-r1-a1-s06-errors.log create mode 100644 evidence/bench/scaling-b/raw/4x1-r1-a1-s07-errors.log create mode 100644 evidence/bench/scaling-b/raw/4x1-r2-a1-s05-errors.log create mode 100644 evidence/bench/scaling-b/raw/4x1-r2-a1-s06-errors.log create mode 100644 evidence/bench/scaling-b/raw/4x1-r2-a1-s07-errors.log create mode 100644 evidence/bench/scaling-b/raw/4x1-r3-a1-s06-errors.log create mode 100644 evidence/bench/scaling-b/raw/4x1-r3-a1-s07-errors.log create mode 100644 evidence/bench/scaling-db-aa/raw/4x1-pg2-r1-a1-s04-errors.log create mode 100644 evidence/bench/scaling-db-aa/raw/4x1-pg2-r2-a1-s04-errors.log create mode 100644 evidence/bench/scaling-db-aa2/raw/4x1-pg0.5-r1-a1-s03-errors.log create mode 100644 evidence/bench/scaling-db-before/raw/4x1-pg0.5-r1-a1-s03-errors.log create mode 100644 evidence/bench/scaling-db-before/raw/4x1-pg2-r2-a1-s04-errors.log create mode 100644 evidence/bench/scaling-db-before/raw/4x1-pg2-r3-a1-s03-errors.log create mode 100644 evidence/bench/scaling-db-nooverflow2/raw/4x1-pg2-r3-a1-s05-errors.log create mode 100644 evidence/bench/scaling-db-nooverflow2/raw/4x1-pg2-r3-a1-s06-errors.log create mode 100644 evidence/bench/scaling-db/raw/4x1-pg2-r1-a1-s04-errors.log create mode 100644 evidence/bench/scaling-db/raw/4x1-pg2-r1-a1-s06-errors.log create mode 100644 evidence/bench/scaling-db/raw/4x1-pg2-r3-a1-s04-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s03-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s04-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s05-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s06-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s03-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s04-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s05-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s06-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s03-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s04-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s05-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s06-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-r1-a1-s05-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-r1-a1-s06-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-r3-a1-s05-errors.log create mode 100644 evidence/bench/scaling-pool/raw/4x1-r3-a1-s06-errors.log create mode 100644 evidence/failover/baseline/raw/01-stop-r1-lb.log create mode 100644 evidence/failover/baseline/raw/02-stop-r2-lb.log create mode 100644 evidence/failover/baseline/raw/03-kill-r1-lb.log create mode 100644 evidence/failover/baseline/raw/04-kill-r2-lb.log create mode 100644 evidence/failover/baseline/raw/05-pause-r1-lb.log create mode 100644 evidence/failover/baseline/raw/06-pause-r2-lb.log create mode 100644 evidence/failover/resources/raw/01-stop-r1-lb.log create mode 100644 evidence/failover/resources/raw/02-stop-r2-lb.log create mode 100644 evidence/failover/resources/raw/03-kill-r1-lb.log create mode 100644 evidence/failover/resources/raw/04-kill-r2-lb.log create mode 100644 evidence/failover/resources/raw/05-pause-r1-lb.log create mode 100644 evidence/failover/resources/raw/06-pause-r2-lb.log create mode 100644 evidence/rollout/baseline/raw/rollout-lb.log create mode 100644 evidence/rollout/baseline/raw/rollout-script.log create mode 100644 evidence/rollout/resources/raw/rollout-lb.log create mode 100644 evidence/rollout/resources/raw/rollout-script.log diff --git a/.gitignore b/.gitignore index 8c927732..472eb50d 100644 --- a/.gitignore +++ b/.gitignore @@ -42,5 +42,8 @@ evidence/compare/*quick-* evidence/plots/quick-*/ # блокировка стенда bench/ (один прогон любого профиля) bench/.bench.lock +# журналы меток (LB, скрипт замены, 5xx серий): небольшие, без секретов, +# на них ссылается REPORT.md; у пробных quick-* каталог исключён выше +!evidence/**/raw/*.log # Keep small, sanitized evidence summaries in evidence/ under version control. # Inspect git diff --cached: ignore rules are not a secret scanner. diff --git a/KNOWN_ISSUES.md b/KNOWN_ISSUES.md index 31ffee3e..b0b5b292 100644 --- a/KNOWN_ISSUES.md +++ b/KNOWN_ISSUES.md @@ -100,25 +100,3 @@ - **Предложение:** `end_state.get("swapouts") is not None`. Правка меняет код стенда `bench/`: делать её между сериями, а не посреди «до/после». - -## Журналы `raw/*.log` меток не попадают в git - -- **Где:** `.gitignore`, строка `*.log`; каталоги - `evidence/failover/<метка>/raw/` (`<фаза>-lb.log`), - `evidence/rollout/<метка>/raw/` (`rollout-lb.log`, `rollout-script.log`) - и `evidence/bench/scaling-*/raw/` (`…-errors.log`). -- **Что не так:** `run.py` пишет журналы LB, строки скрипта замены и - журналы 5xx в каталог метки, но `*.log` их игнорирует: в git из `raw/` - только `.json` (`git ls-files evidence | grep 'raw/.*\.log$'` — пусто). - При этом `REPORT.md` («Эксперименты и отказы»), `AGENTS.md` (карта - кода) и `.claude/rules/bench.md` (файлы меток) говорят, что журналы - лежат рядом со сводками. В чистом clone их нет; числа из них уже - перенесены в `phases.csv`, `rollout.csv`, `replicas.csv` и сводки. - Так у меток `baseline` и `resources` обоих профилей и у серий трека 1; - было до change `profile-resources`. -- **Найдено:** verify change `profile-resources` (2026-10-12, S10). -- **Предложение:** после проверки журналов на секреты (`grep -E - "Bearer|PASSWORD|/Users/"`) добавить в `.gitignore` исключение - `!evidence/**/raw/*.log` и закоммитить журналы существующих меток; - либо оставить их локальными и сказать в `REPORT.md` и `bench.md`, что - журналы в git не идут. diff --git a/REPORT.md b/REPORT.md index 8b36f35a..7eb1b3b3 100644 --- a/REPORT.md +++ b/REPORT.md @@ -726,10 +726,9 @@ Desktop 29.8.2, ВМ 12 vCPU / 7,7 GiB; перед каждым замером `failover`, 157 300 у `rollout`, `host_warnings` пусты; прогон `rollout` с выгрузкой 7 236 страниц отброшен и переснят, `evidence/tests/profile-resources-checks.md`). Версии — раздел «Запуск из -чистого clone». Сырые итоги k6 и посекундные таблицы лежат рядом со -сводками, без токенов и паролей. Журналы LB и скрипта замены -(`raw/*.log`) остаются локальными: их не пускает в git правило `*.log` -(`KNOWN_ISSUES.md`), а нужные из них числа перенесены в CSV и сводки. +чистого clone». Сырые итоги k6, журналы LB, скрипта замены и 5xx +(`raw/*.log`, исключение из правила `*.log` в `.gitignore`) и +посекундные таблицы лежат рядом со сводками, без токенов и паролей. | | Отказ реплик (`failover`) | Поочерёдная замена (`rollout`) | Трек 1 (`scaling_*`) | |---|---|---|---| @@ -2053,9 +2052,7 @@ CHANGE=scaling-improvement` видит свежую базу); 5 исключений сверки покрытия ссылаются на evidence лабы 2, которого в этом репозитории нет; профиль `failover` берёт события Docker из буфера демона (256 событий); паспорта меток - попытки 2 без `swapouts_delta`; журналы `raw/*.log` меток (LB, скрипт - замены, 5xx серий) не попадают в git из-за правила `*.log` в - `.gitignore` — их числа перенесены в CSV и сводки меток. + попытки 2 без `swapouts_delta`. **Следующие шаги:** ранний обработчик SIGTERM или `init` для реплики (`KNOWN_ISSUES.md`); пинг соединения только после простоя (design diff --git a/evidence/bench/scaling-a/raw/4x1-r2-a1-s05-errors.log b/evidence/bench/scaling-a/raw/4x1-r2-a1-s05-errors.log new file mode 100644 index 00000000..4720a31f --- /dev/null +++ b/evidence/bench/scaling-a/raw/4x1-r2-a1-s05-errors.log @@ -0,0 +1,27 @@ +# 4x1-r2-a1-s05: коды ошибок окна k6 — 503:6 + +## PostgreSQL + +## API +2026-10-11T01:32:15.560654211Z {"request_id": "04d53300d3a343c4ad701ac10d9edd21", "event": "Created message", "user_id": "56b2681a-3ab5-4ebb-b310-31228a76df8a", "instance_id": "130b33a64f43", "module": "message_service", "method": "send_message", "chat_id": "afec3757-4fa9-437e-84c6-3a548f9fcab8", "message_id": "a19c2d36-a449-44b6-b785-7924e899433c", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:32:15.560506Z", "func_name": "send_message", "filename": "message.py", "lineno": 102} +2026-10-11T01:32:15.565927003Z {"request_id": "04d53300d3a343c4ad701ac10d9edd21", "event": "HTTP request completed", "user_id": "56b2681a-3ab5-4ebb-b310-31228a76df8a", "instance_id": "130b33a64f43", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 304.468, "level": "info", "timestamp": "2026-10-11T01:32:15.565830Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T01:32:25.345330049Z {"request_id": "dadcba73c12748c998f7c24f705d2515", "event": "HTTP request completed", "user_id": "a38a30b6-87ad-4d79-b775-87e2d128667b", "instance_id": "130b33a64f43", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 37.902, "level": "info", "timestamp": "2026-10-11T01:32:25.345227Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T01:32:33.553300845Z {"request_id": "be31aa411db745f5a9a2e812f8a9cb8a", "event": "Created message", "user_id": "c3d04c67-c143-4df2-bee0-023cfcf97f72", "instance_id": "130b33a64f43", "module": "message_service", "method": "send_message", "chat_id": "afec3757-4fa9-437e-84c6-3a548f9fcab8", "message_id": "cf43c844-fbaf-411b-942f-132b0e65094e", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:32:33.553137Z", "func_name": "send_message", "filename": "message.py", "lineno": 102} +2026-10-11T01:32:15.094533002Z {"request_id": "ed3334374b3a4290be427566579aa1c9", "event": "HTTP request completed", "user_id": "a38a30b6-87ad-4d79-b775-87e2d128667b", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 648.221, "level": "info", "timestamp": "2026-10-11T01:32:15.094450Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:32:16.533204545Z {"request_id": "d2d3a1a7008944fbb609f91168fc5af8", "event": "HTTP request completed", "user_id": "a38a30b6-87ad-4d79-b775-87e2d128667b", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 30.377, "level": "info", "timestamp": "2026-10-11T01:32:16.533001Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:32:26.989953300Z {"request_id": "153df99d2fbb4484b389a4b31be637c4", "event": "HTTP request completed", "user_id": "a38a30b6-87ad-4d79-b775-87e2d128667b", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 1287.187, "level": "info", "timestamp": "2026-10-11T01:32:26.989905Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:32:27.533007133Z {"request_id": "2244cf38aebc468693403b94a5b18836", "event": "HTTP request completed", "user_id": "bf80490b-3833-48ab-b96f-caaef6331053", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 719.733, "level": "info", "timestamp": "2026-10-11T01:32:27.532789Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:32:30.977629927Z {"request_id": "a39bfd4457ce444a9e9c5090282c69e7", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.464, "level": "info", "timestamp": "2026-10-11T01:32:30.977481Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:32:31.712048969Z {"request_id": "6e7bd54a7da3481580dc88c643b0415a", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.919, "level": "info", "timestamp": "2026-10-11T01:32:31.711885Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:32:32.316569636Z {"request_id": "1d3a3eb4374b463e8023a0fdaf09af3d", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.696, "level": "info", "timestamp": "2026-10-11T01:32:32.316466Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:32:32.733482219Z {"request_id": "c19cdafca1b5437cba872bca04b95546", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.659, "level": "info", "timestamp": "2026-10-11T01:32:32.733336Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:32:32.968032761Z {"request_id": "b04acfbf50db45bfb8c0332001ccad7c", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5010.13, "level": "info", "timestamp": "2026-10-11T01:32:32.967883Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:32:34.310602678Z {"request_id": "b7f7762439c340fd921b6fdf41403d75", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5005.355, "level": "info", "timestamp": "2026-10-11T01:32:34.310499Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} + +## HAProxy +2026-10-11T01:32:30.979300135Z 172.31.0.9:45616 [11/Oct/2026:01:32:25.916] entry api/api-1 0/0/0/5062/5062 503 338 - - ---- 516/516/504/434/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowOS4zOTcyMzRaIiwiaSI6IjVmMWU0ZWZiLTgxMGEtNGJiYy1hN2M5LWQ4ZjkyYTc5MjQ2ZSJ9 HTTP/1.1" +2026-10-11T01:32:31.714600635Z 172.31.0.9:46188 [11/Oct/2026:01:32:26.699] entry api/api-1 0/0/0/5015/5015 503 338 - - ---- 516/516/496/406/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowNi42OTg0MTdaIiwiaSI6IjcxZTA4NWQ3LTEyZjUtNGJjOS04MjBiLTlmNDRhOTgwMzM5MCJ9 HTTP/1.1" +2026-10-11T01:32:32.318547469Z 172.31.0.9:42450 [11/Oct/2026:01:32:27.305] entry api/api-1 0/0/0/5013/5013 503 338 - - ---- 516/516/504/457/0 0/0 "POST /api/v1/chats/8aaf944e-de75-48ac-b3d5-db784c43f305/messages HTTP/1.1" +2026-10-11T01:32:32.736282761Z 172.31.0.9:44720 [11/Oct/2026:01:32:27.722] entry api/api-1 0/0/0/5013/5013 503 338 - - ---- 516/516/500/414/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowOC4yOTM3MDJaIiwiaSI6IjE2ZjcwM2QxLTI2NTgtNGEwZC05OTg3LTRkZDE2ZDdlY2NmMSJ9 HTTP/1.1" +2026-10-11T01:32:32.970718594Z 172.31.0.9:42634 [11/Oct/2026:01:32:27.954] entry api/api-1 0/0/0/5016/5016 503 338 - - ---- 516/516/506/420/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDoxMC44MjI4NzNaIiwiaSI6ImY3MTM5YzczLTFhOTYtNGVhNi04NjA3LWRlODk2NGFiMDE3MyJ9 HTTP/1.1" +2026-10-11T01:32:34.313448262Z 172.31.0.9:46710 [11/Oct/2026:01:32:29.299] entry api/api-1 0/0/0/5013/5013 503 338 - - ---- 516/516/500/434/0 0/0 "GET /api/v1/users/me HTTP/1.1" diff --git a/evidence/bench/scaling-a/raw/4x1-r2-a1-s06-errors.log b/evidence/bench/scaling-a/raw/4x1-r2-a1-s06-errors.log new file mode 100644 index 00000000..15c10c30 --- /dev/null +++ b/evidence/bench/scaling-a/raw/4x1-r2-a1-s06-errors.log @@ -0,0 +1,31 @@ +# 4x1-r2-a1-s06: коды ошибок окна k6 — 503:11 + +## PostgreSQL + +## API +2026-10-11T01:33:06.253300471Z {"request_id": "5daa54f5cd3f42a8bc577010ee62a0ef", "event": "HTTP request completed", "user_id": "a38a30b6-87ad-4d79-b775-87e2d128667b", "instance_id": "130b33a64f43", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 123.045, "level": "info", "timestamp": "2026-10-11T01:33:06.253159Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T01:33:18.533005379Z {"request_id": "745c50a695cf4d47a253903cd13aad0e", "event": "HTTP request completed", "user_id": "a38a30b6-87ad-4d79-b775-87e2d128667b", "instance_id": "130b33a64f43", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 18.303, "level": "info", "timestamp": "2026-10-11T01:33:18.532913Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T01:33:09.069533000Z {"request_id": "2f3a653be8c64893a109a808ae108e73", "event": "HTTP request completed", "user_id": "c3d04c67-c143-4df2-bee0-023cfcf97f72", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 1138.168, "level": "info", "timestamp": "2026-10-11T01:33:09.069402Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:33:11.122533001Z {"request_id": "bdd3d59aacf74a048eb72a68c3023092", "event": "Created message", "user_id": "c55865ab-71f7-418e-9270-61792b865a19", "instance_id": "db3f3ad5d130", "module": "message_service", "method": "send_message", "chat_id": "08b64130-5574-4a7a-bbfe-b6828621d3f2", "message_id": "28263098-c66c-4529-af1f-a6de8078b531", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:33:11.122390Z", "lineno": 102, "func_name": "send_message", "filename": "message.py"} +2026-10-11T01:33:14.018257335Z {"request_id": "ae1dff2e8ae2478a8f0d8ffa2ae429c4", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5070.026, "level": "info", "timestamp": "2026-10-11T01:33:14.018134Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:33:15.705287961Z {"request_id": "c19b386a50bf41d98987012b91373790", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.891, "level": "info", "timestamp": "2026-10-11T01:33:15.705173Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:33:17.571426254Z {"request_id": "9ce3a9b175b14ae39bd04b25d99bf02e", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5022.485, "level": "info", "timestamp": "2026-10-11T01:33:17.571298Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:33:18.161427087Z {"request_id": "bdd0f2fea42e4bd0963da5896d728466", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5016.646, "level": "info", "timestamp": "2026-10-11T01:33:18.161356Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:33:18.777918379Z {"request_id": "74130ef388834f73a492f2cba83a9f17", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.521, "level": "info", "timestamp": "2026-10-11T01:33:18.777824Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:33:18.884002129Z {"request_id": "6f855122c55c430ea8f327e8785d87c4", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5093.922, "level": "info", "timestamp": "2026-10-11T01:33:18.883879Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:33:19.063229088Z {"request_id": "df3614a7d81a45269d9ae4fc7b7dcb97", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.96, "level": "info", "timestamp": "2026-10-11T01:33:19.063067Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:33:19.783969255Z {"request_id": "35f9a99a66ea47c28bfe8f829cdf698a", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.514, "level": "info", "timestamp": "2026-10-11T01:33:19.783891Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:33:17.362280379Z {"request_id": "b20299669500464cb8798ba53300dc19", "event": "HTTP request completed", "user_id": "a38a30b6-87ad-4d79-b775-87e2d128667b", "instance_id": "530a7b967ed9", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 5.969, "level": "info", "timestamp": "2026-10-11T01:33:17.362158Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:33:21.961956756Z {"request_id": "0a9ed480c4a54dd4bdff92bf1c4bebad", "event": "Created message", "user_id": "0be3a4eb-b337-447e-93b7-c45012b9854d", "instance_id": "530a7b967ed9", "module": "message_service", "method": "send_message", "chat_id": "1cc56e17-a0ad-4b57-9775-d06ad88f5c1b", "message_id": "ab106952-6403-47e7-b94e-fa3659c53300", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:33:21.961826Z", "filename": "message.py", "func_name": "send_message", "lineno": 102} + +## HAProxy +2026-10-11T01:33:14.019903669Z 172.31.0.9:57260 [11/Oct/2026:01:33:08.944] entry api/api-1 0/0/0/5075/5075 503 338 - - ---- 468/468/443/398/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDoxMC43NjYzODhaIiwiaSI6IjgyZTg0NTUwLTAzMGYtNDU4ZS1iMDA0LWUyMGI4NmVjMzk5OCJ9 HTTP/1.1" +2026-10-11T01:33:15.707335419Z 172.31.0.9:55518 [11/Oct/2026:01:33:10.692] entry api/api-1 0/0/0/5014/5014 503 338 - - ---- 469/468/457/408/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowNy4xMjU3MDNaIiwiaSI6ImRmMDIxOGU5LTQxZmUtNGIyZC1hZGRlLWRiYTg1YzEzNDJkOCJ9 HTTP/1.1" +2026-10-11T01:33:17.573635962Z 172.31.0.9:54414 [11/Oct/2026:01:33:12.546] entry api/api-1 0/0/0/5026/5026 503 338 - - ---- 468/468/449/446/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowOC44MTkyMjVaIiwiaSI6IjRiMTA3M2JjLTM3ZDItNGJlMS04NTRhLTBjMmUwOTFlMTViYSJ9 HTTP/1.1" +2026-10-11T01:33:18.164355421Z 172.31.0.9:55742 [11/Oct/2026:01:33:13.141] entry api/api-1 0/0/0/5023/5023 503 338 - - ---- 468/468/450/418/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowOS40NzU2MzZaIiwiaSI6IjU1NDJhMDcxLWNjN2MtNDA0OC05ZDUwLWM1NTNhNWY1NGRhZCJ9 HTTP/1.1" +2026-10-11T01:33:18.779782421Z 172.31.0.9:56938 [11/Oct/2026:01:33:13.766] entry api/api-1 0/0/0/5012/5012 503 338 - - ---- 468/468/428/422/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowNy4xODY4NjlaIiwiaSI6IjcwYWVmMWVlLTlkYmItNGM0MC1iNTFhLTM5Yjk0M2U5OGFiOCJ9 HTTP/1.1" +2026-10-11T01:33:18.885517546Z 172.31.0.9:58174 [11/Oct/2026:01:33:13.786] entry api/api-1 0/0/0/5098/5098 503 338 - - ---- 469/468/438/435/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T01:33:19.065003504Z 172.31.0.9:56758 [11/Oct/2026:01:33:14.047] entry api/api-1 0/0/0/5017/5017 503 338 - - ---- 468/468/450/430/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowNC42MTAzODZaIiwiaSI6IjViMzY4NGI1LTk4ZTMtNGYzNS1iOWIyLWIxNDJhNGQ1ODYzNCJ9 HTTP/1.1" +2026-10-11T01:33:19.785431380Z 172.31.0.9:54718 [11/Oct/2026:01:33:14.772] entry api/api-1 0/0/0/5013/5013 503 338 - - ---- 468/468/434/394/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowNy4wMzE0NThaIiwiaSI6ImVhOWJhYmJiLTUwYzctNDliNC04YTU1LTY4ODAxZGU4NmQ4OSJ9 HTTP/1.1" +2026-10-11T01:33:20.471898547Z 172.31.0.9:54758 [11/Oct/2026:01:33:15.457] entry api/api-1 0/0/0/5013/5013 503 338 - - ---- 468/468/441/434/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowNC41NTQ4MDdaIiwiaSI6ImIyYThiMmNkLWY1ZTAtNDUzYy04MzBmLThiNWYyYjM3YmJhMSJ9 HTTP/1.1" +2026-10-11T01:33:21.313001005Z 172.31.0.9:56764 [11/Oct/2026:01:33:16.301] entry api/api-1 0/0/0/5011/5011 503 338 - - ---- 468/468/453/386/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDoxMC41MDcxMDVaIiwiaSI6IjJjYThmNGY3LWYzODgtNGQzNy1iZjBmLTI3MDQ1Yjk0ZTc2MCJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-a/raw/4x1-r3-a1-s06-errors.log b/evidence/bench/scaling-a/raw/4x1-r3-a1-s06-errors.log new file mode 100644 index 00000000..3ec7d877 --- /dev/null +++ b/evidence/bench/scaling-a/raw/4x1-r3-a1-s06-errors.log @@ -0,0 +1,15 @@ +# 4x1-r3-a1-s06: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T01:45:43.953455377Z {"request_id": "d985a380005341cd871a4a6689939d42", "event": "HTTP request completed", "user_id": "9cbdeb99-4b56-46ec-89e8-ed9422eec747", "instance_id": "e635b09f9904", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 149.631, "level": "info", "timestamp": "2026-10-11T01:45:43.953300Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:45:49.581533005Z {"request_id": "1492bf45d5b94194b07fbfe89734744a", "event": "HTTP request completed", "user_id": "e8188760-4d14-4f38-a43f-2162ef58ccec", "instance_id": "e635b09f9904", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 17.038, "level": "info", "timestamp": "2026-10-11T01:45:49.581422Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:45:56.440453300Z {"request_id": "8e0317da241b4ff3a07a38f0bd97cc36", "event": "HTTP request completed", "user_id": "2fe1c52b-0faa-4a45-998c-87c84278fe1d", "instance_id": "e635b09f9904", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 82.152, "level": "info", "timestamp": "2026-10-11T01:45:56.440270Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:45:47.533146837Z {"request_id": "278ef480a6bb406ab22cef970ffa7be6", "event": "HTTP request completed", "user_id": "e8188760-4d14-4f38-a43f-2162ef58ccec", "instance_id": "524533aa4a1f", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 2138.597, "level": "info", "timestamp": "2026-10-11T01:45:47.533006Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:45:57.162471967Z {"request_id": "868878e13c5f41caae0c53a744cd5bc7", "event": "HTTP request completed", "instance_id": "524533aa4a1f", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5011.624, "level": "info", "timestamp": "2026-10-11T01:45:57.162346Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:45:44.533098544Z {"request_id": "e32a0ccb601a4811bbae7bec804d0f82", "event": "Created message", "user_id": "4bc1bdda-cc48-429c-a344-d5d1c87a35db", "instance_id": "3a3cecaf61d1", "module": "message_service", "method": "send_message", "chat_id": "33980f0b-68bd-415a-aded-154cb236af7a", "message_id": "1af33c45-ca74-4c06-8bba-6f110b3c919f", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:45:44.533003Z", "func_name": "send_message", "filename": "message.py", "lineno": 102} +2026-10-11T01:45:57.382853300Z {"request_id": "995e57da031148179ac86a7b07fb2605", "event": "HTTP request completed", "user_id": "26ad5e10-27ba-4232-8d97-ee83616e6b0e", "instance_id": "3a3cecaf61d1", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 2.674, "level": "info", "timestamp": "2026-10-11T01:45:57.382674Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} + +## HAProxy +2026-10-11T01:45:57.165644800Z 172.31.0.9:39588 [11/Oct/2026:01:45:52.147] entry api/api-2 0/0/0/5018/5018 503 338 - - ---- 468/468/438/417/0 0/0 "POST /api/v1/chats/dd3bb9d7-8714-4f47-83cc-ec749a4ad2a7/messages HTTP/1.1" diff --git a/evidence/bench/scaling-a/raw/4x1-r3-a1-s07-errors.log b/evidence/bench/scaling-a/raw/4x1-r3-a1-s07-errors.log new file mode 100644 index 00000000..c20fde9a --- /dev/null +++ b/evidence/bench/scaling-a/raw/4x1-r3-a1-s07-errors.log @@ -0,0 +1,18 @@ +# 4x1-r3-a1-s07: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T01:46:31.533333885Z {"request_id": "4d3d57a8483648c0bf93e23b4669710b", "event": "HTTP request completed", "user_id": "e8188760-4d14-4f38-a43f-2162ef58ccec", "instance_id": "7329271c2cd9", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 156.799, "level": "info", "timestamp": "2026-10-11T01:46:31.533002Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:46:26.753300758Z {"request_id": "921eaa7a7f0c4fef83f4f2827fb532ab", "event": "HTTP request completed", "user_id": "c127d8c5-2e6e-4ad9-96da-91746681129d", "instance_id": "e635b09f9904", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 87.509, "level": "info", "timestamp": "2026-10-11T01:46:26.753152Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:46:32.763642969Z {"request_id": "a533005767f74732b1672134a04ddfb1", "event": "Created message", "user_id": "663e7e63-665c-463e-b1b6-1003f72147bc", "instance_id": "e635b09f9904", "module": "message_service", "method": "send_message", "chat_id": "ae6ec05b-f12e-4731-a14d-b9dd51e502fb", "message_id": "1447e498-d6b2-4b61-9aca-21b5798a3c47", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:46:32.763488Z", "filename": "message.py", "func_name": "send_message", "lineno": 102} +2026-10-11T01:46:32.767949719Z {"request_id": "a533005767f74732b1672134a04ddfb1", "event": "HTTP request completed", "user_id": "663e7e63-665c-463e-b1b6-1003f72147bc", "instance_id": "e635b09f9904", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 101.533, "level": "info", "timestamp": "2026-10-11T01:46:32.767837Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:46:33.533139095Z {"request_id": "46d16b0010e0488e82d106e558714c2e", "event": "HTTP request completed", "user_id": "e8188760-4d14-4f38-a43f-2162ef58ccec", "instance_id": "e635b09f9904", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 379.601, "level": "info", "timestamp": "2026-10-11T01:46:33.533001Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:46:36.383441138Z {"request_id": "888853300aa446d3a621f43ddabb1b09", "event": "Created message", "user_id": "9cbdeb99-4b56-46ec-89e8-ed9422eec747", "instance_id": "524533aa4a1f", "module": "message_service", "method": "send_message", "chat_id": "2baca40f-9b6d-4f87-88dd-484363d1b912", "message_id": "87c88e95-7fd8-46f2-8fd7-bd7ead6d374a", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:46:36.383285Z", "lineno": 102, "func_name": "send_message", "filename": "message.py"} +2026-10-11T01:46:36.388937804Z {"request_id": "888853300aa446d3a621f43ddabb1b09", "event": "HTTP request completed", "user_id": "9cbdeb99-4b56-46ec-89e8-ed9422eec747", "instance_id": "524533aa4a1f", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 637.079, "level": "info", "timestamp": "2026-10-11T01:46:36.388775Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:46:38.533009055Z {"request_id": "4e08f5f351484cedbc0385ace93bd969", "event": "Created message", "user_id": "cc459cfe-825d-4ee2-94b7-49ac47f7ea35", "instance_id": "524533aa4a1f", "module": "message_service", "method": "send_message", "chat_id": "c5d820ca-88d5-4c94-bdb7-f386a5cd9a8c", "message_id": "d843ce1c-c03b-4402-9e59-ef01eb6f0a47", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:46:38.532923Z", "lineno": 102, "func_name": "send_message", "filename": "message.py"} +2026-10-11T01:46:39.640978375Z {"request_id": "af5388fab5b8415487daca6b4c653300", "event": "HTTP request completed", "user_id": "e8188760-4d14-4f38-a43f-2162ef58ccec", "instance_id": "524533aa4a1f", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 578.689, "level": "info", "timestamp": "2026-10-11T01:46:39.640852Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T01:46:44.103517419Z {"request_id": "37e929ef8a064516be58b77cc5c014f9", "event": "HTTP request completed", "instance_id": "524533aa4a1f", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5063.51, "level": "info", "timestamp": "2026-10-11T01:46:44.103392Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} + +## HAProxy +2026-10-11T01:46:44.105859044Z 172.31.0.9:35990 [11/Oct/2026:01:46:39.037] entry api/api-2 0/0/0/5067/5067 503 338 - - ---- 442/442/410/369/0 0/0 "GET /api/v1/chats/111f02ba-c57a-4be4-87ec-c4eab8fe7ca9/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoxMTFmMDJiYS1jNTdhLTRiZTQtODdlYy1jNGVhYjhmZTdjYTkiLCJ0IjoiMjAyNi0xMC0xMVQwMTo0Mjo0MC40MDY1MjRaIiwiaSI6IjE2YjcwMjk1LThiNjAtNDJkMy05ZjNmLWNhNzg1ZjdkZmUyZSJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/2x1-r3-a1-s06-errors.log b/evidence/bench/scaling-b/raw/2x1-r3-a1-s06-errors.log new file mode 100644 index 00000000..7bacefba --- /dev/null +++ b/evidence/bench/scaling-b/raw/2x1-r3-a1-s06-errors.log @@ -0,0 +1,15 @@ +# 2x1-r3-a1-s06: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T02:51:52.435480672Z {"request_id": "b0edd8ebf301419198533007712cb5e3", "event": "HTTP request completed", "user_id": "1c7d07b9-b307-41ad-a951-c4c2408df2d1", "instance_id": "69489960067d", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 33.369, "level": "info", "timestamp": "2026-10-11T02:51:52.435352Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T02:51:55.533094007Z {"request_id": "d6331ab6edbe497da8dbf9a303b99673", "event": "Created message", "user_id": "fa041945-3e75-4ebb-b885-71178ebeb94f", "instance_id": "69489960067d", "module": "message_service", "method": "send_message", "chat_id": "cb6840bc-f49e-4597-ac41-20af996c193c", "message_id": "d8ce6823-8248-4e9b-94d7-222a0a1ec3e0", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:51:55.533004Z", "lineno": 102, "func_name": "send_message", "filename": "message.py"} +2026-10-11T02:51:55.651533007Z {"request_id": "f5817f69a10a4d63b27371d62ad187c2", "event": "Created message", "user_id": "048dccad-7443-4db1-b499-b073139a4247", "instance_id": "69489960067d", "module": "message_service", "method": "send_message", "chat_id": "4c2481f5-1b2f-4a05-94ce-dc5bc6fc87fd", "message_id": "32ef21d0-9822-4b91-89a9-cbd5b0fdfd8b", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:51:55.651423Z", "lineno": 102, "func_name": "send_message", "filename": "message.py"} +2026-10-11T02:52:08.967137097Z {"request_id": "8fe957bd652947a5ba0d4847e74d859f", "event": "HTTP request completed", "instance_id": "69489960067d", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5006.678, "level": "info", "timestamp": "2026-10-11T02:52:08.967022Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T02:52:09.355533000Z {"request_id": "125252ad3c0c4bafbff941ab880d3129", "event": "HTTP request completed", "user_id": "18f3d882-5514-4b95-830e-79ba8e7a1b2c", "instance_id": "69489960067d", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 592.148, "level": "info", "timestamp": "2026-10-11T02:52:09.355451Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T02:51:58.324753300Z {"request_id": "30524ce666a540d29744020d93eb13e5", "event": "HTTP request completed", "user_id": "1c7d07b9-b307-41ad-a951-c4c2408df2d1", "instance_id": "f75a2bb2221c", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 3.437, "level": "info", "timestamp": "2026-10-11T02:51:58.324677Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T02:52:04.533002470Z {"request_id": "b4c2f51f71f54742bee0a9c24a6ad483", "event": "HTTP request completed", "user_id": "1c7d07b9-b307-41ad-a951-c4c2408df2d1", "instance_id": "f75a2bb2221c", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 2.782, "level": "info", "timestamp": "2026-10-11T02:52:04.532936Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} + +## HAProxy +2026-10-11T02:52:08.968961930Z 172.31.0.7:39942 [11/Oct/2026:02:52:03.956] entry api/api-1 0/0/0/5012/5012 503 338 - - ---- 353/353/342/340/0 0/0 "GET /api/v1/users/me HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/3x1-r1-a1-s06-errors.log b/evidence/bench/scaling-b/raw/3x1-r1-a1-s06-errors.log new file mode 100644 index 00000000..993f4713 --- /dev/null +++ b/evidence/bench/scaling-b/raw/3x1-r1-a1-s06-errors.log @@ -0,0 +1,17 @@ +# 3x1-r1-a1-s06: коды ошибок окна k6 — 503:2 + +## PostgreSQL + +## API +2026-10-11T01:54:51.953409339Z {"request_id": "48cc4535856f43ec9f9ae7fdfdfaadb2", "event": "HTTP request completed", "user_id": "e4e344be-2f3d-4355-8c13-5ce291400662", "instance_id": "7ada7728415f", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 437.547, "level": "info", "timestamp": "2026-10-11T01:54:51.953300Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:54:54.253300840Z {"request_id": "d5fbfba2b4d546848ac2018df67c29f9", "event": "HTTP request completed", "user_id": "9890d9a6-bb4a-4017-8729-b57bcdf7c2b1", "instance_id": "7ada7728415f", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 477.158, "level": "info", "timestamp": "2026-10-11T01:54:54.253144Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:54:57.753300467Z {"request_id": "e5ea320fdc79457e815a6595b6a13ff5", "event": "Created message", "user_id": "5cb019b2-8b9a-470c-b7b3-ec6e98948ff1", "instance_id": "7ada7728415f", "module": "message_service", "method": "send_message", "chat_id": "211d1f5f-c060-4c8e-ae5b-f7d7c11bb121", "message_id": "dc7aca5e-d29d-4b59-af96-e28410c857a1", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:54:57.753148Z", "filename": "message.py", "func_name": "send_message", "lineno": 102} +2026-10-11T01:55:01.651866219Z {"request_id": "3697f2c422c94c3ea4f3b9173052afe4", "event": "HTTP request completed", "instance_id": "7ada7728415f", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5010.041, "level": "info", "timestamp": "2026-10-11T01:55:01.651756Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:55:07.548229513Z {"request_id": "d26220855bdf417c93cf459ea35c5cee", "event": "HTTP request completed", "instance_id": "7ada7728415f", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.733, "level": "info", "timestamp": "2026-10-11T01:55:07.548105Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T01:54:57.970653300Z {"request_id": "09f35f15580e4849b4b0ad03f52f8383", "event": "HTTP request completed", "user_id": "e4e344be-2f3d-4355-8c13-5ce291400662", "instance_id": "169b881bed51", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 376.242, "level": "info", "timestamp": "2026-10-11T01:54:57.970565Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T01:55:06.053300596Z {"request_id": "8480b7768ab745738c9ba24d5f022c6e", "event": "Created message", "user_id": "7e398e84-fe08-49a5-8914-820d6a990125", "instance_id": "169b881bed51", "module": "message_service", "method": "send_message", "chat_id": "acd8d02c-cf8b-48c7-975a-1439a84ae735", "message_id": "3fd2fe56-e6e8-42f0-af5d-1a43da414921", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:55:06.053115Z", "func_name": "send_message", "lineno": 102, "filename": "message.py"} +2026-10-11T01:54:58.155953300Z {"request_id": "d3c8106b934f4101b3a8257d8827149f", "event": "HTTP request completed", "user_id": "e4e344be-2f3d-4355-8c13-5ce291400662", "instance_id": "772986043bda", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 51.752, "level": "info", "timestamp": "2026-10-11T01:54:58.155835Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} + +## HAProxy +2026-10-11T01:55:01.654104302Z 172.31.0.8:51132 [11/Oct/2026:01:54:56.639] entry api/api-3 0/0/0/5014/5014 503 338 - - ---- 425/425/402/375/0 0/0 "GET /api/v1/chats/a0e9be37-a93f-4165-95f6-b5fef92f32be/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDphMGU5YmUzNy1hOTNmLTQxNjUtOTVmNi1iNWZlZjkyZjMyYmUiLCJ0IjoiMjAyNi0xMC0xMVQwMTo1MjoxMS43MDY1OTFaIiwiaSI6IjcwOTY0YmYxLTcyNTMtNDZhYS1hMjM2LTRhNjZiZWNiMTBmOSJ9 HTTP/1.1" +2026-10-11T01:55:07.550526596Z 172.31.0.8:52850 [11/Oct/2026:01:55:02.537] entry api/api-3 0/0/0/5013/5013 503 338 - - ---- 425/425/412/410/0 0/0 "POST /api/v1/chats/cba49b7c-5f62-4889-80bc-00c6fe9b81cd/messages HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/3x1-r2-a1-s06-errors.log b/evidence/bench/scaling-b/raw/3x1-r2-a1-s06-errors.log new file mode 100644 index 00000000..29c176ab --- /dev/null +++ b/evidence/bench/scaling-b/raw/3x1-r2-a1-s06-errors.log @@ -0,0 +1,23 @@ +# 3x1-r2-a1-s06: коды ошибок окна k6 — 503:6 + +## PostgreSQL + +## API +2026-10-11T02:21:57.338533008Z {"request_id": "5ad3a90b87fa4873ba4c69294f76712f", "event": "HTTP request completed", "user_id": "af249b6c-514d-44ad-8634-8de0df2ee3e1", "instance_id": "15cf09c14481", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 31.596, "level": "info", "timestamp": "2026-10-11T02:21:57.338439Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:22:12.533004918Z {"request_id": "2c55d2ae93394c4f9f3e41de533330ad", "event": "HTTP request completed", "user_id": "af249b6c-514d-44ad-8634-8de0df2ee3e1", "instance_id": "15cf09c14481", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 3.161, "level": "info", "timestamp": "2026-10-11T02:22:12.532854Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:22:04.753395220Z {"request_id": "691a4490ab8c45d38bdb02cf241de59a", "event": "HTTP request completed", "user_id": "fd557a60-7ff7-4c15-a1ec-957d9ac54bea", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 2193.189, "level": "info", "timestamp": "2026-10-11T02:22:04.753300Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:22:05.642009096Z {"request_id": "fe3f97f702494f9fa25459639ba07c90", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.616, "level": "info", "timestamp": "2026-10-11T02:22:05.641811Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:22:08.506617305Z {"request_id": "02fa0e2a11294c3cbfb28bd7bf12b057", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.554, "level": "info", "timestamp": "2026-10-11T02:22:08.506504Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:22:08.533003930Z {"request_id": "c34c0661d68e4afdb3c8f304eeb481bd", "event": "HTTP request completed", "user_id": "f1eeb291-fe2e-40e4-985b-32b631bb3a8e", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 38.893, "level": "info", "timestamp": "2026-10-11T02:22:08.532903Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:22:09.671919750Z {"request_id": "8fdbb7e8f7e146d5a5f2d86482699107", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.9, "level": "info", "timestamp": "2026-10-11T02:22:09.671812Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:22:10.004261958Z {"request_id": "0954d186e8d4410bbc1a2c7698274c31", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.974, "level": "info", "timestamp": "2026-10-11T02:22:10.004178Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:22:12.314652876Z {"request_id": "e29424cbf7254146b2b11be43df6b45a", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5005.936, "level": "info", "timestamp": "2026-10-11T02:22:12.314583Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:22:14.472555044Z {"request_id": "52da12ef4ea0441bb8cede8c9c39c310", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.825, "level": "info", "timestamp": "2026-10-11T02:22:14.472486Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} + +## HAProxy +2026-10-11T02:22:05.644447804Z 172.31.0.8:52464 [11/Oct/2026:02:22:00.589] entry api/api-2 0/0/0/5054/5054 503 338 - - ---- 425/425/410/381/0 0/0 "POST /api/v1/chats/49aa12d2-d536-4782-97d7-77685b402a09/messages HTTP/1.1" +2026-10-11T02:22:08.507819472Z 172.31.0.8:53510 [11/Oct/2026:02:22:03.495] entry api/api-2 0/0/0/5012/5012 503 338 - - ---- 425/425/415/412/0 0/0 "POST /api/v1/chats/49aa12d2-d536-4782-97d7-77685b402a09/messages HTTP/1.1" +2026-10-11T02:22:09.673212291Z 172.31.0.8:52592 [11/Oct/2026:02:22:04.658] entry api/api-2 0/0/0/5014/5014 503 338 - - ---- 426/425/409/408/0 0/0 "POST /api/v1/chats/1d3f906c-4305-46ad-a759-b96a7e15d20d/messages HTTP/1.1" +2026-10-11T02:22:10.005830625Z 172.31.0.8:54128 [11/Oct/2026:02:22:04.992] entry api/api-2 0/0/0/5012/5012 503 338 - - ---- 425/425/403/398/0 0/0 "POST /api/v1/chats/ecbdae49-4b56-49bc-9d06-9e6e85798423/messages HTTP/1.1" +2026-10-11T02:22:12.316252959Z 172.31.0.8:54540 [11/Oct/2026:02:22:07.305] entry api/api-2 0/0/0/5010/5010 503 338 - - ---- 425/425/420/386/0 0/0 "GET /api/v1/chats/a8bba668-205c-4c32-8923-8a7a39972f6d/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDphOGJiYTY2OC0yMDVjLTRjMzItODkyMy04YTdhMzk5NzJmNmQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoxOToyMS42NTE0MDlaIiwiaSI6IjY2ZDQwYjZkLWNlOTUtNDgxNy1iMjk1LTRlZGQ1NjZiOGMzNSJ9 HTTP/1.1" +2026-10-11T02:22:14.475047169Z 172.31.0.8:55200 [11/Oct/2026:02:22:09.460] entry api/api-2 0/0/0/5014/5014 503 338 - - ---- 425/425/405/363/0 0/0 "GET /api/v1/chats/a8bba668-205c-4c32-8923-8a7a39972f6d/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDphOGJiYTY2OC0yMDVjLTRjMzItODkyMy04YTdhMzk5NzJmNmQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoxOToyMC4zNzU3MDNaIiwiaSI6IjE5NGIyYjhhLTg1OTUtNGI1Zi04MzdjLTQ0MTk5YzRkMzEzMyJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/3x1-r3-a1-s06-errors.log b/evidence/bench/scaling-b/raw/3x1-r3-a1-s06-errors.log new file mode 100644 index 00000000..03bf07ce --- /dev/null +++ b/evidence/bench/scaling-b/raw/3x1-r3-a1-s06-errors.log @@ -0,0 +1,24 @@ +# 3x1-r3-a1-s06: коды ошибок окна k6 — 503:6 + +## PostgreSQL + +## API +2026-10-11T02:47:12.853300418Z {"request_id": "6b0550568d6c44b7912a2948ea4ab3b4", "event": "HTTP request completed", "user_id": "c6ee0bc7-58e0-4391-ac84-b19353b838a3", "instance_id": "fd6871045953", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 778.739, "level": "info", "timestamp": "2026-10-11T02:47:12.853218Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:47:16.653481211Z {"request_id": "909958a0ff33473786cc10c33cbfa310", "event": "HTTP request completed", "user_id": "c6ee0bc7-58e0-4391-ac84-b19353b838a3", "instance_id": "fd6871045953", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 102.874, "level": "info", "timestamp": "2026-10-11T02:47:16.653300Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:47:19.139533004Z {"request_id": "eeb709fb40e14cb19b00fdb381eae1bd", "event": "HTTP request completed", "user_id": "4eee5f11-9a8b-4453-8fb7-8035848e6d58", "instance_id": "fd6871045953", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 51.218, "level": "info", "timestamp": "2026-10-11T02:47:19.139444Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:47:22.825330048Z {"request_id": "940dbb5c3f224c8480a0dade4a8cc7b5", "event": "Created message", "user_id": "d676db7a-a11a-40cd-8f87-ebc292d492f8", "instance_id": "259e3743a931", "module": "message_service", "method": "send_message", "chat_id": "5712de27-c99d-41fa-97cf-d118d40da395", "message_id": "e2eb3575-8b20-494f-986b-4dbf5d6c235d", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:47:22.825199Z", "filename": "message.py", "func_name": "send_message", "lineno": 102} +2026-10-11T02:47:19.828735421Z {"request_id": "df2708fc7d3d46d5882f8bb95c624ea5", "event": "HTTP request completed", "instance_id": "f9288444cdef", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.357, "level": "info", "timestamp": "2026-10-11T02:47:19.828608Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:47:22.160432756Z {"request_id": "cb8fe422f71847a38d42c0784d8474d8", "event": "HTTP request completed", "instance_id": "f9288444cdef", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5005.817, "level": "info", "timestamp": "2026-10-11T02:47:22.160346Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:47:22.903767298Z {"request_id": "44d7d77cfc49444c9ddaa4185526547d", "event": "HTTP request completed", "instance_id": "f9288444cdef", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5012.848, "level": "info", "timestamp": "2026-10-11T02:47:22.903586Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:47:22.961015923Z {"request_id": "4d2107d857ba478081288ab3100d7b64", "event": "HTTP request completed", "instance_id": "f9288444cdef", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.673, "level": "info", "timestamp": "2026-10-11T02:47:22.960884Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:47:24.009331090Z {"request_id": "f1ab12603cbd43ab9bb28cda6529d2a5", "event": "HTTP request completed", "instance_id": "f9288444cdef", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.449, "level": "info", "timestamp": "2026-10-11T02:47:24.009200Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:47:25.745603882Z {"request_id": "66e1ffeb1fa64b6db7ca1330cb6f6900", "event": "HTTP request completed", "instance_id": "f9288444cdef", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.54, "level": "info", "timestamp": "2026-10-11T02:47:25.745513Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:47:27.624253300Z {"request_id": "a2c7b5e7cbe14093a3662de5c58313fc", "event": "HTTP request completed", "user_id": "c6ee0bc7-58e0-4391-ac84-b19353b838a3", "instance_id": "f9288444cdef", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 1540.298, "level": "info", "timestamp": "2026-10-11T02:47:27.624180Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} + +## HAProxy +2026-10-11T02:47:19.830762296Z 172.31.0.8:38436 [11/Oct/2026:02:47:14.816] entry api/api-2 0/0/0/5014/5014 503 338 - - ---- 425/425/402/376/0 0/0 "GET /api/v1/chats/32019158-0ade-4cf7-8733-cd765ecd5e85/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjAxOTE1OC0wYWRlLTRjZjctODczMy1jZDc2NWVjZDVlODUiLCJ0IjoiMjAyNi0xMC0xMVQwMjo0NDozMS45MTcyNzRaIiwiaSI6IjkyNDBjZGE1LTk4ZGUtNDY1My05ZTNjLTU1YjVkYjM3NGMwNyJ9 HTTP/1.1" +2026-10-11T02:47:22.162027506Z 172.31.0.8:37424 [11/Oct/2026:02:47:17.152] entry api/api-2 0/0/0/5009/5009 503 338 - - ---- 425/425/415/360/0 0/0 "GET /api/v1/chats/32019158-0ade-4cf7-8733-cd765ecd5e85/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjAxOTE1OC0wYWRlLTRjZjctODczMy1jZDc2NWVjZDVlODUiLCJ0IjoiMjAyNi0xMC0xMVQwMjo0NDozMy40NjY5MDlaIiwiaSI6IjMyYTU3ODMzLWNkMjMtNDA2Ny04M2U3LWUzMDRmMmVmNjk1NCJ9 HTTP/1.1" +2026-10-11T02:47:22.905527256Z 172.31.0.8:38104 [11/Oct/2026:02:47:17.888] entry api/api-2 0/0/0/5017/5017 503 338 - - ---- 425/425/413/405/0 0/0 "GET /api/v1/chats/32019158-0ade-4cf7-8733-cd765ecd5e85/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjAxOTE1OC0wYWRlLTRjZjctODczMy1jZDc2NWVjZDVlODUiLCJ0IjoiMjAyNi0xMC0xMVQwMjo0NDozMy4yOTI0ODlaIiwiaSI6IjY1OWVmZjc2LTIyMDQtNGI5My04MzAxLTEwNGY2MTQxMjMyYyJ9 HTTP/1.1" +2026-10-11T02:47:22.963403006Z 172.31.0.8:37532 [11/Oct/2026:02:47:17.949] entry api/api-2 0/0/0/5013/5013 503 338 - - ---- 425/425/413/408/0 0/0 "GET /api/v1/chats/32019158-0ade-4cf7-8733-cd765ecd5e85/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjAxOTE1OC0wYWRlLTRjZjctODczMy1jZDc2NWVjZDVlODUiLCJ0IjoiMjAyNi0xMC0xMVQwMjo0NDozNi43MzA4NzJaIiwiaSI6IjY5OThiYjNhLWU3ODctNGY5Ni1hODAxLTgwY2YyMDY3YTE0ZiJ9 HTTP/1.1" +2026-10-11T02:47:24.010721882Z 172.31.0.8:39824 [11/Oct/2026:02:47:18.998] entry api/api-2 0/0/0/5011/5011 503 338 - - ---- 425/425/414/387/0 0/0 "POST /api/v1/chats/d7016372-d4a4-4cc9-b4ea-e2b4d52a75d0/messages HTTP/1.1" +2026-10-11T02:47:25.747085924Z 172.31.0.8:36692 [11/Oct/2026:02:47:20.735] entry api/api-2 0/0/0/5011/5011 503 338 - - ---- 425/425/407/403/0 0/0 "GET /api/v1/chats/32019158-0ade-4cf7-8733-cd765ecd5e85/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjAxOTE1OC0wYWRlLTRjZjctODczMy1jZDc2NWVjZDVlODUiLCJ0IjoiMjAyNi0xMC0xMVQwMjo0NDozNy44MjA1MThaIiwiaSI6IjQwZDc5MGEwLTdmNTgtNDEzMy05NmExLWVmNmVjNjQyODhiYiJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/3x1-r3-a1-s07-errors.log b/evidence/bench/scaling-b/raw/3x1-r3-a1-s07-errors.log new file mode 100644 index 00000000..97ae9295 --- /dev/null +++ b/evidence/bench/scaling-b/raw/3x1-r3-a1-s07-errors.log @@ -0,0 +1,10 @@ +# 3x1-r3-a1-s07: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T02:48:00.535330051Z {"request_id": "d2d5461a5dfe4fe09b576be4abf7f56b", "event": "HTTP request completed", "user_id": "c2bbefad-33e6-4b66-bae1-c1e239b4e94b", "instance_id": "259e3743a931", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 138.63, "level": "info", "timestamp": "2026-10-11T02:48:00.535241Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T02:48:09.506046375Z {"request_id": "46bcd878fbac4cb4b38a7b0ee466d808", "event": "HTTP request completed", "instance_id": "f9288444cdef", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5005.637, "level": "info", "timestamp": "2026-10-11T02:48:09.505844Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} + +## HAProxy +2026-10-11T02:48:09.509699666Z 172.31.0.8:39446 [11/Oct/2026:02:48:04.468] entry api/api-2 0/0/0/5040/5040 503 338 - - ---- 383/383/337/326/0 0/0 "GET /api/v1/chats/32019158-0ade-4cf7-8733-cd765ecd5e85/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjAxOTE1OC0wYWRlLTRjZjctODczMy1jZDc2NWVjZDVlODUiLCJ0IjoiMjAyNi0xMC0xMVQwMjo0NDozNi45NjM2OTFaIiwiaSI6IjYyNGRkYjUzLWVhM2YtNGU0MC1hZmYwLWY2ZmViZDg3ZGRjYyJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/4x1-r1-a1-s06-errors.log b/evidence/bench/scaling-b/raw/4x1-r1-a1-s06-errors.log new file mode 100644 index 00000000..f5b0d8b1 --- /dev/null +++ b/evidence/bench/scaling-b/raw/4x1-r1-a1-s06-errors.log @@ -0,0 +1,22 @@ +# 4x1-r1-a1-s06: коды ошибок окна k6 — 503:6 + +## PostgreSQL + +## API +2026-10-11T02:10:42.555330043Z {"request_id": "c9026f5f6bb748fa80bac8088c02d33a", "event": "Created message", "user_id": "85556528-797f-4bdd-97ba-55451dd52c64", "instance_id": "487890a73f2d", "module": "message_service", "method": "send_message", "chat_id": "651c66a5-6204-463f-b7c7-476dd355516f", "message_id": "d39c51bd-0dee-4ac2-b4b8-3c9c06fda387", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:10:42.555128Z", "lineno": 102, "func_name": "send_message", "filename": "message.py"} +2026-10-11T02:10:31.993544969Z {"request_id": "559b48b6c0a6466b96533007a2ed7150", "event": "HTTP request completed", "user_id": "6f3d9f63-a1f7-4a88-9c1a-e25b35eae965", "instance_id": "43f07c05a460", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 39.044, "level": "info", "timestamp": "2026-10-11T02:10:31.993361Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:10:43.842302085Z {"request_id": "9a36699ca0be4e14b6c29e8bed46b788", "event": "HTTP request completed", "instance_id": "43f07c05a460", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.163, "level": "info", "timestamp": "2026-10-11T02:10:43.842170Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:10:46.820713587Z {"request_id": "e2851aaca1ea468fb54a9fded9845ae4", "event": "HTTP request completed", "instance_id": "43f07c05a460", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5101.464, "level": "info", "timestamp": "2026-10-11T02:10:46.820619Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:10:48.995585379Z {"request_id": "b3708104939b4c2a99a373f54c105227", "event": "HTTP request completed", "instance_id": "43f07c05a460", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5005.882, "level": "info", "timestamp": "2026-10-11T02:10:48.995514Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:10:49.033942504Z {"request_id": "b476a75561384c08942293cc3a8e11ee", "event": "HTTP request completed", "instance_id": "43f07c05a460", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.414, "level": "info", "timestamp": "2026-10-11T02:10:49.033861Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:10:50.763478380Z {"request_id": "256d3f49bc3244cd8b2d23db70040ca4", "event": "HTTP request completed", "instance_id": "43f07c05a460", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5009.843, "level": "info", "timestamp": "2026-10-11T02:10:50.763311Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:10:45.514253378Z {"request_id": "53300c96425c4494b66fa9fbb263ac87", "event": "Created message", "user_id": "93994cd2-2f42-4e4c-8d22-f328d0bccd36", "instance_id": "b96ff4cb7bec", "module": "message_service", "method": "send_message", "chat_id": "7a9f4f6b-011b-48fe-b83f-8dfd7aecca69", "message_id": "62ae6851-5c8a-414a-9080-d17856f81bba", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:10:45.513820Z", "lineno": 102, "filename": "message.py", "func_name": "send_message"} +2026-10-11T02:10:45.518960544Z {"request_id": "53300c96425c4494b66fa9fbb263ac87", "event": "HTTP request completed", "user_id": "93994cd2-2f42-4e4c-8d22-f328d0bccd36", "instance_id": "b96ff4cb7bec", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 108.55, "level": "info", "timestamp": "2026-10-11T02:10:45.518778Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T02:10:38.533001180Z {"request_id": "404a6a977b044ede9966eaa0dc198b8c", "event": "HTTP request completed", "user_id": "6f3d9f63-a1f7-4a88-9c1a-e25b35eae965", "instance_id": "fb20c1e9d98e", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 29.207, "level": "info", "timestamp": "2026-10-11T02:10:38.532170Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} + +## HAProxy +2026-10-11T02:10:43.844091585Z 172.31.0.9:60460 [11/Oct/2026:02:10:38.831] entry api/api-2 0/0/0/5011/5011 503 338 - - ---- 468/468/461/330/0 0/0 "POST /api/v1/chats/2fea7f0c-2410-4ff8-ad39-07562126f867/messages HTTP/1.1" +2026-10-11T02:10:46.821643212Z 172.31.0.9:59616 [11/Oct/2026:02:10:41.716] entry api/api-2 0/0/0/5104/5104 503 338 - - ---- 468/468/462/414/0 0/0 "GET /api/v1/chats/1ed0264e-c0ee-433b-a1b5-1153bb1f7a95/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoxZWQwMjY0ZS1jMGVlLTQzM2ItYTFiNS0xMTUzYmIxZjdhOTUiLCJ0IjoiMjAyNi0xMC0xMVQwMjowNzozOC43OTk5NDBaIiwiaSI6ImQyOWQ2Yzk1LWQ3MzItNGUwMy05MDFlLWM0NGI2ZWZhNjkzYSJ9 HTTP/1.1" +2026-10-11T02:10:48.997240129Z 172.31.0.9:56878 [11/Oct/2026:02:10:43.983] entry api/api-2 0/0/0/5013/5013 503 338 - - ---- 468/468/428/424/0 0/0 "GET /api/v1/chats/1ed0264e-c0ee-433b-a1b5-1153bb1f7a95/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoxZWQwMjY0ZS1jMGVlLTQzM2ItYTFiNS0xMTUzYmIxZjdhOTUiLCJ0IjoiMjAyNi0xMC0xMVQwMjowNzozOS44MDYyNDlaIiwiaSI6IjIzYjZjNzUxLTI1ZDYtNDg4Ny05NmM5LWQyY2RiOGU1NjU1NSJ9 HTTP/1.1" +2026-10-11T02:10:49.035611796Z 172.31.0.9:59050 [11/Oct/2026:02:10:44.021] entry api/api-2 0/0/0/5013/5013 503 338 - - ---- 468/468/424/422/0 0/0 "GET /api/v1/chats/1ed0264e-c0ee-433b-a1b5-1153bb1f7a95/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoxZWQwMjY0ZS1jMGVlLTQzM2ItYTFiNS0xMTUzYmIxZjdhOTUiLCJ0IjoiMjAyNi0xMC0xMVQwMjowNzozNS4xODg0ODZaIiwiaSI6ImQzMjg0YzU2LTVhY2EtNDRjMy04NWI2LWIyNDc2MmU2MWI0ZSJ9 HTTP/1.1" +2026-10-11T02:10:50.765963422Z 172.31.0.9:32936 [11/Oct/2026:02:10:45.748] entry api/api-2 0/0/0/5016/5016 503 338 - - ---- 468/468/430/422/0 0/0 "GET /api/v1/users/me HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/4x1-r1-a1-s07-errors.log b/evidence/bench/scaling-b/raw/4x1-r1-a1-s07-errors.log new file mode 100644 index 00000000..87e62e54 --- /dev/null +++ b/evidence/bench/scaling-b/raw/4x1-r1-a1-s07-errors.log @@ -0,0 +1,16 @@ +# 4x1-r1-a1-s07: коды ошибок окна k6 — 503:2 + +## PostgreSQL + +## API +2026-10-11T02:11:20.271533005Z {"request_id": "84df90e924324646837abf63c55608a0", "event": "HTTP request completed", "user_id": "6f3d9f63-a1f7-4a88-9c1a-e25b35eae965", "instance_id": "487890a73f2d", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 87.24, "level": "info", "timestamp": "2026-10-11T02:11:20.271447Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T02:11:21.219533005Z {"request_id": "b038b9ed1a554279b495df09967f5ff8", "event": "HTTP request completed", "user_id": "6f3d9f63-a1f7-4a88-9c1a-e25b35eae965", "instance_id": "487890a73f2d", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 3.544, "level": "info", "timestamp": "2026-10-11T02:11:21.219335Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T02:11:21.533009005Z {"request_id": "dd08ad8a268847118aff6f08a1db9950", "event": "HTTP request completed", "user_id": "6f3d9f63-a1f7-4a88-9c1a-e25b35eae965", "instance_id": "43f07c05a460", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 59.282, "level": "info", "timestamp": "2026-10-11T02:11:21.532855Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:11:26.864153300Z {"request_id": "2241792f5d6e4721875ab953a118d674", "event": "HTTP request completed", "user_id": "6f3d9f63-a1f7-4a88-9c1a-e25b35eae965", "instance_id": "43f07c05a460", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 39.48, "level": "info", "timestamp": "2026-10-11T02:11:26.864008Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:11:37.172154555Z {"request_id": "421719418c124f34b278d502d65aab5e", "event": "HTTP request completed", "instance_id": "43f07c05a460", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.671, "level": "info", "timestamp": "2026-10-11T02:11:37.172023Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:11:37.745998680Z {"request_id": "05847bfe75ed441395a368cd0fe8b0f4", "event": "HTTP request completed", "instance_id": "43f07c05a460", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5098.32, "level": "info", "timestamp": "2026-10-11T02:11:37.745924Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T02:11:28.108953300Z {"request_id": "d5010af4c26c4168804938ec0424969a", "event": "HTTP request completed", "user_id": "6f3d9f63-a1f7-4a88-9c1a-e25b35eae965", "instance_id": "fb20c1e9d98e", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 31.173, "level": "info", "timestamp": "2026-10-11T02:11:28.108788Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} + +## HAProxy +2026-10-11T02:11:37.173703263Z 172.31.0.9:40960 [11/Oct/2026:02:11:32.162] entry api/api-2 0/0/0/5011/5011 503 338 - - ---- 444/444/415/354/0 0/0 "POST /api/v1/chats/a8516168-5b54-4c6f-b0bf-7bc1ddbeb146/messages HTTP/1.1" +2026-10-11T02:11:37.748969847Z 172.31.0.9:40876 [11/Oct/2026:02:11:32.642] entry api/api-2 0/0/0/5106/5106 503 338 - - ---- 444/444/423/417/0 0/0 "GET /api/v1/users/me HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/4x1-r2-a1-s05-errors.log b/evidence/bench/scaling-b/raw/4x1-r2-a1-s05-errors.log new file mode 100644 index 00000000..d8f5ad8b --- /dev/null +++ b/evidence/bench/scaling-b/raw/4x1-r2-a1-s05-errors.log @@ -0,0 +1,25 @@ +# 4x1-r2-a1-s05: коды ошибок окна k6 — 503:8 + +## PostgreSQL + +## API +2026-10-11T02:30:57.867953300Z {"request_id": "2a644df9f5034b67a87989b91a70b97b", "event": "HTTP request completed", "user_id": "c84c8367-1409-45e5-9da0-0b6dad327a86", "instance_id": "7e18fdada040", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 304.369, "level": "info", "timestamp": "2026-10-11T02:30:57.867837Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:30:58.479553300Z {"request_id": "06405f57baf04342bfff97abdeaf9554", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "7e18fdada040", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 633.005, "level": "info", "timestamp": "2026-10-11T02:30:58.479439Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:03.533004303Z {"request_id": "1408329da11a4db9ba933fdc3bbec1db", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "7e18fdada040", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 44.909, "level": "info", "timestamp": "2026-10-11T02:31:03.532796Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:09.179533000Z {"request_id": "fcd1c0b6e0b840f0a4352a22e1bdee8e", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "7e18fdada040", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 37.732, "level": "info", "timestamp": "2026-10-11T02:31:09.179381Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:13.425330043Z {"request_id": "fde9c92f574749a8bd6cf7451e4b44b6", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "46694477d4ca", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 150.553, "level": "info", "timestamp": "2026-10-11T02:31:13.425155Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:07.533001846Z {"request_id": "73c2c37e64ce4a61b35a4f03a8fa70df", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 533.574, "level": "info", "timestamp": "2026-10-11T02:31:07.532911Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:14.466106835Z {"request_id": "1e1e5f8afa2c40949b6361897101c9ed", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5011.127, "level": "info", "timestamp": "2026-10-11T02:31:14.465950Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:14.712554919Z {"request_id": "07649f077355412f92d46c13c32717bc", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5008.603, "level": "info", "timestamp": "2026-10-11T02:31:14.712392Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:14.953224127Z {"request_id": "72d627922fd04e289fe28dd7fedab9ec", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5003.964, "level": "info", "timestamp": "2026-10-11T02:31:14.953121Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:15.058707044Z {"request_id": "768868e518694d0d98380745dd9708ec", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.96, "level": "info", "timestamp": "2026-10-11T02:31:15.058497Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:15.231169044Z {"request_id": "fad9b8083fa34194b912a70512fd307a", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5012.191, "level": "info", "timestamp": "2026-10-11T02:31:15.231045Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:16.584414295Z {"request_id": "3165d60848f24ed2a8482e2ad3bdb72f", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5011.628, "level": "info", "timestamp": "2026-10-11T02:31:16.584305Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} + +## HAProxy +2026-10-11T02:31:14.468702085Z 172.31.0.9:46970 [11/Oct/2026:02:31:09.452] entry api/api-4 0/0/0/5016/5016 503 338 - - ---- 516/516/484/451/0 0/0 "GET /api/v1/chats/e46abb70-27e9-4e3e-a0f9-9ad88f9dbd04/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplNDZhYmI3MC0yN2U5LTRlM2UtYTBmOS05YWQ4OGY5ZGJkMDQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoyODo0Ny4zNDUxOThaIiwiaSI6ImNlMmEwNTAxLWFjNTktNDJjYS04NGI0LThjODQzYWI0MDUxZiJ9 HTTP/1.1" +2026-10-11T02:31:14.715489211Z 172.31.0.9:46916 [11/Oct/2026:02:31:09.701] entry api/api-4 0/0/0/5014/5014 503 338 - - ---- 516/516/494/449/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T02:31:14.955805336Z 172.31.0.9:47820 [11/Oct/2026:02:31:09.947] entry api/api-4 0/0/0/5008/5008 503 338 - - ---- 516/516/496/454/0 0/0 "GET /api/v1/chats/e46abb70-27e9-4e3e-a0f9-9ad88f9dbd04/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplNDZhYmI3MC0yN2U5LTRlM2UtYTBmOS05YWQ4OGY5ZGJkMDQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoyODo1MC42MTY3ODlaIiwiaSI6IjE0Zjg2YzMxLWUwNmUtNDZjNS05M2NlLTc2NWQ3MGQ1MWFkOSJ9 HTTP/1.1" +2026-10-11T02:31:15.060534419Z 172.31.0.9:45844 [11/Oct/2026:02:31:10.045] entry api/api-4 0/0/0/5014/5014 503 338 - - ---- 516/516/509/433/0 0/0 "GET /api/v1/chats/e46abb70-27e9-4e3e-a0f9-9ad88f9dbd04/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplNDZhYmI3MC0yN2U5LTRlM2UtYTBmOS05YWQ4OGY5ZGJkMDQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoyODo0OS4wNzU2MjVaIiwiaSI6IjJjNzUzYzk0LWVhMTMtNGYxYS05NmJmLTc1NWI3MTk0NDM0MCJ9 HTTP/1.1" +2026-10-11T02:31:15.234034752Z 172.31.0.9:46070 [11/Oct/2026:02:31:10.187] entry api/api-4 0/0/0/5045/5045 503 338 - - ---- 516/516/494/433/0 0/0 "GET /api/v1/chats/e46abb70-27e9-4e3e-a0f9-9ad88f9dbd04/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplNDZhYmI3MC0yN2U5LTRlM2UtYTBmOS05YWQ4OGY5ZGJkMDQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoyODo1MC43Mzg0MDBaIiwiaSI6ImU1MDQ0OGUyLTk1NmYtNDM0MC1iOTkyLWE5MTgyYTFjMzNkZCJ9 HTTP/1.1" +2026-10-11T02:31:16.586045086Z 172.31.0.9:47796 [11/Oct/2026:02:31:11.570] entry api/api-4 0/0/0/5015/5015 503 338 - - ---- 516/516/509/464/0 0/0 "GET /api/v1/chats/e46abb70-27e9-4e3e-a0f9-9ad88f9dbd04/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplNDZhYmI3MC0yN2U5LTRlM2UtYTBmOS05YWQ4OGY5ZGJkMDQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoyODo0OS44MjQ4MTJaIiwiaSI6ImY2YmQwMjJjLWRlZjAtNGZmMS04ZDQxLThlYmU2NmNhYzI5ZSJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/4x1-r2-a1-s06-errors.log b/evidence/bench/scaling-b/raw/4x1-r2-a1-s06-errors.log new file mode 100644 index 00000000..a6bfb25b --- /dev/null +++ b/evidence/bench/scaling-b/raw/4x1-r2-a1-s06-errors.log @@ -0,0 +1,22 @@ +# 4x1-r2-a1-s06: коды ошибок окна k6 — 503:4 + +## PostgreSQL + +## API +2026-10-11T02:31:48.859920712Z {"request_id": "a4533005e0494adb93fdae1a92482c93", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "46694477d4ca", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 40.294, "level": "info", "timestamp": "2026-10-11T02:31:48.859770Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:46.097533003Z {"request_id": "e915e86c5f824edba267828af1797205", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 441.288, "level": "info", "timestamp": "2026-10-11T02:31:46.097372Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:52.845138173Z {"request_id": "4c5330053e25490c98ded79d1a0487de", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 526.703, "level": "info", "timestamp": "2026-10-11T02:31:52.844996Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:56.742053300Z {"request_id": "b085ae35afe04f97906819a4812b4b41", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 32.264, "level": "info", "timestamp": "2026-10-11T02:31:56.741932Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:57.379453300Z {"request_id": "99c00e894b0446569e5d5efa74005311", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 1222.387, "level": "info", "timestamp": "2026-10-11T02:31:57.379313Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:31:57.825153300Z {"request_id": "23d84a7f1c0d4dcabb3c83c732500f36", "event": "Created message", "user_id": "bca2a4d9-ce0c-4bb2-8b48-fe3e366f094e", "instance_id": "624c1fcf60fc", "module": "message_service", "method": "send_message", "chat_id": "47cf2c6b-9976-4e26-845d-cf203937b86f", "message_id": "75385980-a404-47ea-8ed3-068323c7044f", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:31:57.824386Z", "filename": "message.py", "lineno": 102, "func_name": "send_message"} +2026-10-11T02:31:58.394622175Z {"request_id": "2b0efb8140d94cc4a16b6263a914df15", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.619, "level": "info", "timestamp": "2026-10-11T02:31:58.394498Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:32:00.053300551Z {"request_id": "57b66f7d6c83491f86524f4432a366fb", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 884.841, "level": "info", "timestamp": "2026-10-11T02:32:00.053044Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:32:00.091157176Z {"request_id": "0eb583917ed1481e8c4bedd01ee7cce6", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.211, "level": "info", "timestamp": "2026-10-11T02:32:00.090998Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:32:00.684384801Z {"request_id": "c94a9681c6dd4c0b81b69d1e6b534cbb", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5012.66, "level": "info", "timestamp": "2026-10-11T02:32:00.684294Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:32:03.555115803Z {"request_id": "57e35ecde99e40adbbf1901cd30a061d", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5032.564, "level": "info", "timestamp": "2026-10-11T02:32:03.554968Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} + +## HAProxy +2026-10-11T02:31:58.395909092Z 172.31.0.9:53604 [11/Oct/2026:02:31:53.382] entry api/api-4 0/0/0/5013/5013 503 338 - - ---- 468/468/433/325/0 0/0 "POST /api/v1/chats/02fc2577-e3e3-494a-8d6d-7f563f730435/messages HTTP/1.1" +2026-10-11T02:32:00.093552051Z 172.31.0.9:52718 [11/Oct/2026:02:31:55.078] entry api/api-4 0/0/0/5014/5014 503 338 - - ---- 468/468/463/396/0 0/0 "GET /api/v1/chats/e46abb70-27e9-4e3e-a0f9-9ad88f9dbd04/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplNDZhYmI3MC0yN2U5LTRlM2UtYTBmOS05YWQ4OGY5ZGJkMDQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoyODo1Mi4wOTQ0MjdaIiwiaSI6IjlhNzY4MmI1LTE5MzktNDIzYi1hNGNkLWY1MzM2NmIxNWVlNSJ9 HTTP/1.1" +2026-10-11T02:32:00.686183843Z 172.31.0.9:52784 [11/Oct/2026:02:31:55.667] entry api/api-4 0/0/0/5018/5018 503 338 - - ---- 468/468/434/382/0 0/0 "POST /api/v1/chats/6591fe7d-f9cf-4156-99d5-518e79744088/messages HTTP/1.1" +2026-10-11T02:32:03.556400136Z 172.31.0.9:50140 [11/Oct/2026:02:31:58.519] entry api/api-4 0/0/0/5037/5037 503 338 - - ---- 468/468/445/425/0 0/0 "GET /api/v1/chats/e46abb70-27e9-4e3e-a0f9-9ad88f9dbd04/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplNDZhYmI3MC0yN2U5LTRlM2UtYTBmOS05YWQ4OGY5ZGJkMDQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoyODo0OC4wMjE4NzhaIiwiaSI6IjVlNmY5NDIxLWMwYTAtNGNhNi1hN2RkLTU4YjBlZjIyMGQ0ZiJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/4x1-r2-a1-s07-errors.log b/evidence/bench/scaling-b/raw/4x1-r2-a1-s07-errors.log new file mode 100644 index 00000000..90459fc3 --- /dev/null +++ b/evidence/bench/scaling-b/raw/4x1-r2-a1-s07-errors.log @@ -0,0 +1,19 @@ +# 4x1-r2-a1-s07: коды ошибок окна k6 — 503:3 + +## PostgreSQL + +## API +2026-10-11T02:32:37.533147763Z {"request_id": "a9189ee4976b42b5b03feb4ca8e19761", "event": "Created message", "user_id": "bca2a4d9-ce0c-4bb2-8b48-fe3e366f094e", "instance_id": "7e18fdada040", "module": "message_service", "method": "send_message", "chat_id": "6591fe7d-f9cf-4156-99d5-518e79744088", "message_id": "5ff461d0-2acc-4390-83e1-83c342f4b6d6", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:32:37.533007Z", "filename": "message.py", "lineno": 102, "func_name": "send_message"} +2026-10-11T02:32:46.953300378Z {"request_id": "0388bb4590c444e6bff2b15e933e2d4a", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "7e18fdada040", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 2.581, "level": "info", "timestamp": "2026-10-11T02:32:46.953161Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:32:42.533146084Z {"request_id": "5cf7dcd075ba4d248a4bd9d23e71a9df", "event": "Created message", "user_id": "e0605ceb-8f2c-4480-ba9b-ac75e3e9e119", "instance_id": "624c1fcf60fc", "module": "message_service", "method": "send_message", "chat_id": "610c581a-ba38-488c-8018-68087ee1f1a9", "message_id": "46c10154-0d97-4231-bd9f-c86d9068a4f5", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:32:42.533009Z", "filename": "message.py", "lineno": 102, "func_name": "send_message"} +2026-10-11T02:32:44.007533002Z {"request_id": "3065d1995135449ea406b42548594cf4", "event": "HTTP request completed", "user_id": "5b65629c-7546-4df5-99db-8db823e30412", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 34.978, "level": "info", "timestamp": "2026-10-11T02:32:44.007410Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:32:47.044728712Z {"request_id": "f09a2b0129434fc88ba7148966a42859", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5017.769, "level": "info", "timestamp": "2026-10-11T02:32:47.044603Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:32:50.489533005Z {"request_id": "bb258989843e470bb838d48459aa51a2", "event": "HTTP request completed", "user_id": "cfad39b5-46d4-4998-9575-d3f7cdd9b588", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 39.629, "level": "info", "timestamp": "2026-10-11T02:32:50.489411Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:32:52.533009339Z {"request_id": "733add252a784db58367b9a0108e036d", "event": "Created message", "user_id": "e0605ceb-8f2c-4480-ba9b-ac75e3e9e119", "instance_id": "624c1fcf60fc", "module": "message_service", "method": "send_message", "chat_id": "6591fe7d-f9cf-4156-99d5-518e79744088", "message_id": "2418f6c1-bc4b-4b9e-a237-434a40d47409", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:32:52.532931Z", "filename": "message.py", "lineno": 102, "func_name": "send_message"} +2026-10-11T02:32:52.774107089Z {"request_id": "8aeded1b857b4c9b8f4f779b4497f4af", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.442, "level": "info", "timestamp": "2026-10-11T02:32:52.773998Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:32:52.817804631Z {"request_id": "7c6687c498b94ebab8793ddac6ec9bc9", "event": "HTTP request completed", "instance_id": "624c1fcf60fc", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.394, "level": "info", "timestamp": "2026-10-11T02:32:52.817671Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} + +## HAProxy +2026-10-11T02:32:47.046868920Z 172.31.0.9:50324 [11/Oct/2026:02:32:42.022] entry api/api-4 0/0/0/5023/5023 503 338 - - ---- 438/438/411/362/0 0/0 "GET /api/v1/chats/e46abb70-27e9-4e3e-a0f9-9ad88f9dbd04/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplNDZhYmI3MC0yN2U5LTRlM2UtYTBmOS05YWQ4OGY5ZGJkMDQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoyODo0OC4xNzIwNjZaIiwiaSI6ImJlODg0MDk1LWM0NTQtNGNhMy1hZTQ2LWQzNDQxMDNiNGY3MCJ9 HTTP/1.1" +2026-10-11T02:32:52.775731839Z 172.31.0.9:49136 [11/Oct/2026:02:32:47.761] entry api/api-4 0/0/0/5013/5013 503 338 - - ---- 445/445/413/330/0 0/0 "GET /api/v1/chats/e46abb70-27e9-4e3e-a0f9-9ad88f9dbd04/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplNDZhYmI3MC0yN2U5LTRlM2UtYTBmOS05YWQ4OGY5ZGJkMDQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoyODo0Ny4xNjU4NzJaIiwiaSI6ImFmZDUyMWYxLWRmODAtNDU0Ny04MGYyLWYzNzY5NzZhZDIyYyJ9 HTTP/1.1" +2026-10-11T02:32:52.819298714Z 172.31.0.9:48910 [11/Oct/2026:02:32:47.805] entry api/api-4 0/0/0/5013/5013 503 338 - - ---- 445/445/406/326/0 0/0 "GET /api/v1/chats/e46abb70-27e9-4e3e-a0f9-9ad88f9dbd04/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplNDZhYmI3MC0yN2U5LTRlM2UtYTBmOS05YWQ4OGY5ZGJkMDQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoyODo0Ny41MjYxNDFaIiwiaSI6ImE5YTE1NGYxLWFkNDUtNDhhNS04OGM2LWU3MTkzY2U0NWE4YyJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/4x1-r3-a1-s06-errors.log b/evidence/bench/scaling-b/raw/4x1-r3-a1-s06-errors.log new file mode 100644 index 00000000..816e55a7 --- /dev/null +++ b/evidence/bench/scaling-b/raw/4x1-r3-a1-s06-errors.log @@ -0,0 +1,25 @@ +# 4x1-r3-a1-s06: коды ошибок окна k6 — 503:7 + +## PostgreSQL + +## API +2026-10-11T02:39:38.022497555Z {"request_id": "5b2b2fe379b742ae9fd6e76b85541035", "event": "Created message", "user_id": "fec8bf9e-5c75-4c78-8ad9-b85b6e3d4413", "instance_id": "16566e13b9db", "module": "message_service", "method": "send_message", "chat_id": "73430f01-a4bd-4e38-a8ce-73168beebf52", "message_id": "953300c4-d37d-4cf1-9449-ce46c87d0b10", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:39:38.022392Z", "filename": "message.py", "func_name": "send_message", "lineno": 102} +2026-10-11T02:39:35.005330053Z {"request_id": "4e5c3719795e4f05ba4267ef5833648d", "event": "Created message", "user_id": "fec8bf9e-5c75-4c78-8ad9-b85b6e3d4413", "instance_id": "240f01e4e010", "module": "message_service", "method": "send_message", "chat_id": "73430f01-a4bd-4e38-a8ce-73168beebf52", "message_id": "8614c381-35ae-4a87-9fb6-60d71520aa90", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:39:35.005216Z", "filename": "message.py", "lineno": 102, "func_name": "send_message"} +2026-10-11T02:39:49.232228588Z {"request_id": "b1d1abf93e4341ee8e0c7190257f94c9", "event": "HTTP request completed", "instance_id": "240f01e4e010", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.917, "level": "info", "timestamp": "2026-10-11T02:39:49.232066Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:39:50.380519338Z {"request_id": "502bc3cc72734bc3b0e009c677fd4ae4", "event": "HTTP request completed", "instance_id": "240f01e4e010", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5014.009, "level": "info", "timestamp": "2026-10-11T02:39:50.380342Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:39:52.143042756Z {"request_id": "7ebb6a74f6584ff7bb0b13fbb26a1cb1", "event": "HTTP request completed", "instance_id": "240f01e4e010", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5011.212, "level": "info", "timestamp": "2026-10-11T02:39:52.142817Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:39:53.251579548Z {"request_id": "811ea687571e4e3ea113ae57f672267c", "event": "HTTP request completed", "instance_id": "240f01e4e010", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.135, "level": "info", "timestamp": "2026-10-11T02:39:53.251448Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:39:53.699404631Z {"request_id": "374be1fa108844ce8645df42a65576fd", "event": "HTTP request completed", "instance_id": "240f01e4e010", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5010.826, "level": "info", "timestamp": "2026-10-11T02:39:53.699213Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:39:53.933601673Z {"request_id": "861ccb336cc44ceda65f2bc373ddec86", "event": "HTTP request completed", "instance_id": "240f01e4e010", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5109.329, "level": "info", "timestamp": "2026-10-11T02:39:53.933475Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:39:41.533166001Z {"request_id": "b75b979b7d3141479d7cf6dbba3f6d29", "event": "Created message", "user_id": "ae9b2b4e-9d34-4159-b0e9-0590bd21e50d", "instance_id": "d176583f18e5", "module": "message_service", "method": "send_message", "chat_id": "21b8579c-8f4f-4baa-87bf-bb9951677620", "message_id": "233f7342-646b-4e2e-9352-b815fc054402", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T02:39:41.533008Z", "filename": "message.py", "lineno": 102, "func_name": "send_message"} +2026-10-11T02:39:35.865489846Z {"request_id": "c6f30e45cab54f5da4884eac5a533006", "event": "HTTP request completed", "user_id": "f9e55fd3-bc46-4137-bd43-8c94e47c05a6", "instance_id": "9609a7c38f9c", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 723.487, "level": "info", "timestamp": "2026-10-11T02:39:35.865352Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:39:41.343533001Z {"request_id": "f7234ffbcc714bdfaa60ae96b2f19f96", "event": "HTTP request completed", "user_id": "f9e55fd3-bc46-4137-bd43-8c94e47c05a6", "instance_id": "9609a7c38f9c", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 26.78, "level": "info", "timestamp": "2026-10-11T02:39:41.343392Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:39:45.533573878Z {"request_id": "ea3e50e8516444c0a39126dda529bf5e", "event": "HTTP request completed", "user_id": "f9e55fd3-bc46-4137-bd43-8c94e47c05a6", "instance_id": "9609a7c38f9c", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 35.166, "level": "info", "timestamp": "2026-10-11T02:39:45.533009Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} + +## HAProxy +2026-10-11T02:39:49.233821796Z 172.31.0.9:38816 [11/Oct/2026:02:39:44.180] entry api/api-2 0/0/0/5052/5052 503 338 - - ---- 467/467/452/395/0 0/0 "GET /api/v1/chats/8b147541-78ad-4fed-8fcd-e0b1e5acbaa7/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4YjE0NzU0MS03OGFkLTRmZWQtOGZjZC1lMGIxZTVhY2JhYTciLCJ0IjoiMjAyNi0xMC0xMVQwMjozNjo0MS44MTA4NDJaIiwiaSI6ImU1YjU0NGI4LTExNzYtNDE1Yi05N2E0LWIzMDM3NDlhOGVmZCJ9 HTTP/1.1" +2026-10-11T02:39:50.384085422Z 172.31.0.9:36474 [11/Oct/2026:02:39:45.343] entry api/api-2 0/0/0/5040/5040 503 338 - - ---- 467/467/429/423/0 0/0 "POST /api/v1/chats/52ad33a2-b666-459c-b036-bd21308fe328/messages HTTP/1.1" +2026-10-11T02:39:52.145955964Z 172.31.0.9:36272 [11/Oct/2026:02:39:47.129] entry api/api-2 0/0/0/5016/5016 503 338 - - ---- 467/467/435/428/0 0/0 "GET /api/v1/chats/8b147541-78ad-4fed-8fcd-e0b1e5acbaa7/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4YjE0NzU0MS03OGFkLTRmZWQtOGZjZC1lMGIxZTVhY2JhYTciLCJ0IjoiMjAyNi0xMC0xMVQwMjozNjo0MS45MjAyNDJaIiwiaSI6ImRjZDUyN2YzLTZlMzUtNGQ2ZC04ZGY0LTBhNzc3YTlkZjNjYyJ9 HTTP/1.1" +2026-10-11T02:39:53.252866840Z 172.31.0.9:36284 [11/Oct/2026:02:39:48.239] entry api/api-2 0/0/0/5013/5013 503 338 - - ---- 467/467/416/406/0 0/0 "GET /api/v1/chats/8b147541-78ad-4fed-8fcd-e0b1e5acbaa7/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4YjE0NzU0MS03OGFkLTRmZWQtOGZjZC1lMGIxZTVhY2JhYTciLCJ0IjoiMjAyNi0xMC0xMVQwMjozNjo0MS40ODM1OTNaIiwiaSI6IjIwMjFkYmM4LTQyNjItNDFjZS1iZDY3LWIzODQxMjMyZTYwOSJ9 HTTP/1.1" +2026-10-11T02:39:53.701628215Z 172.31.0.9:38206 [11/Oct/2026:02:39:48.684] entry api/api-2 0/0/0/5016/5016 503 338 - - ---- 467/467/438/387/0 0/0 "GET /api/v1/chats/8b147541-78ad-4fed-8fcd-e0b1e5acbaa7/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4YjE0NzU0MS03OGFkLTRmZWQtOGZjZC1lMGIxZTVhY2JhYTciLCJ0IjoiMjAyNi0xMC0xMVQwMjozNjo0MS43NTU3MzdaIiwiaSI6Ijg1NGNmMjg4LTMwNzItNGI1NC05MmFmLTIwYzUyZWZmMTZkYSJ9 HTTP/1.1" +2026-10-11T02:39:53.935399590Z 172.31.0.9:38202 [11/Oct/2026:02:39:48.821] entry api/api-2 0/0/0/5113/5113 503 338 - - ---- 467/467/452/419/0 0/0 "GET /api/v1/chats/8b147541-78ad-4fed-8fcd-e0b1e5acbaa7/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4YjE0NzU0MS03OGFkLTRmZWQtOGZjZC1lMGIxZTVhY2JhYTciLCJ0IjoiMjAyNi0xMC0xMVQwMjozNjozOC45OTQ5MzdaIiwiaSI6ImMwZWNhYTUyLTQwZTAtNDNiNC05MWI1LThkZjVkNGFhZmRhOSJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-b/raw/4x1-r3-a1-s07-errors.log b/evidence/bench/scaling-b/raw/4x1-r3-a1-s07-errors.log new file mode 100644 index 00000000..f0ff8b28 --- /dev/null +++ b/evidence/bench/scaling-b/raw/4x1-r3-a1-s07-errors.log @@ -0,0 +1,10 @@ +# 4x1-r3-a1-s07: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T02:40:41.595488542Z {"request_id": "24c31b3aec96465a8ca47a1b72f2f69e", "event": "HTTP request completed", "instance_id": "240f01e4e010", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5010.032, "level": "info", "timestamp": "2026-10-11T02:40:41.595365Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T02:40:40.704533000Z {"request_id": "d0948d39cb084c988ebdc39b6e016bcd", "event": "HTTP request completed", "user_id": "f9e55fd3-bc46-4137-bd43-8c94e47c05a6", "instance_id": "d176583f18e5", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 85.717, "level": "info", "timestamp": "2026-10-11T02:40:40.704434Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} + +## HAProxy +2026-10-11T02:40:41.598490459Z 172.31.0.9:48734 [11/Oct/2026:02:40:36.580] entry api/api-2 0/0/0/5018/5018 503 338 - - ---- 445/445/397/359/0 0/0 "POST /api/v1/chats/4d3059d0-1904-4e52-a616-b1ab75153340/messages HTTP/1.1" diff --git a/evidence/bench/scaling-db-aa/raw/4x1-pg2-r1-a1-s04-errors.log b/evidence/bench/scaling-db-aa/raw/4x1-pg2-r1-a1-s04-errors.log new file mode 100644 index 00000000..e5954bc2 --- /dev/null +++ b/evidence/bench/scaling-db-aa/raw/4x1-pg2-r1-a1-s04-errors.log @@ -0,0 +1,15 @@ +# 4x1-pg2-r1-a1-s04: коды ошибок окна k6 — 503:13 + +## PostgreSQL + +## API +2026-10-11T11:18:23.416756337Z {"request_id": "b80468ca15c342ceacc07f5dec18d9f9", "event": "HTTP request completed", "instance_id": "0c56d4f625bf", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5019.689, "level": "info", "timestamp": "2026-10-11T11:18:23.416614Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T11:18:24.434839962Z {"request_id": "756a3a15fd87479893d0e9cc7829649e", "event": "HTTP request completed", "instance_id": "0c56d4f625bf", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5010.215, "level": "info", "timestamp": "2026-10-11T11:18:24.434649Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T11:18:26.205148505Z {"request_id": "daf1b2441e0a4a38aaf19f27ddcefffa", "event": "HTTP request completed", "instance_id": "0c56d4f625bf", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5161.941, "level": "info", "timestamp": "2026-10-11T11:18:26.205010Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T11:18:26.701191588Z {"request_id": "fd1cda8411bf497c9a01b5a3bc07c4eb", "event": "HTTP request completed", "instance_id": "0c56d4f625bf", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5017.156, "level": "info", "timestamp": "2026-10-11T11:18:26.701084Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} + +## HAProxy +2026-10-11T11:18:23.419573045Z 172.31.0.9:44276 [11/Oct/2026:11:18:18.393] entry api/api-1 0/0/0/5025/5025 503 338 - - ---- 423/423/415/369/0 0/0 "POST /api/v1/chats/bc447a1f-b650-4dd3-8fef-a6895aed8a33/messages HTTP/1.1" +2026-10-11T11:18:24.436934629Z 172.31.0.9:60292 [11/Oct/2026:11:18:19.417] entry api/api-1 0/0/0/5019/5019 503 338 - - ---- 424/424/394/341/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T11:18:26.207964755Z 172.31.0.9:57820 [11/Oct/2026:11:18:21.038] entry api/api-1 0/0/0/5168/5168 503 338 - - ---- 425/425/420/402/0 0/0 "GET /api/v1/chats/57b68691-d344-47d7-98c4-0f029b6ef75a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo1N2I2ODY5MS1kMzQ0LTQ3ZDctOThjNC0wZjAyOWI2ZWY3NWEiLCJ0IjoiMjAyNi0xMC0xMVQxMToxNjoyOS4zNjIxNDFaIiwiaSI6IjFkMmY0YzkzLWFjZTYtNGQ2Mi05ZjRkLTA2NTU5OGJjMGNlMSJ9 HTTP/1.1" +2026-10-11T11:18:26.705183255Z 172.31.0.9:58596 [11/Oct/2026:11:18:21.678] entry api/api-1 0/0/0/5026/5026 503 338 - - ---- 425/425/422/395/0 0/0 "POST /api/v1/chats/b4cb5edc-9916-4002-bdf7-ecf808c6137b/messages HTTP/1.1" diff --git a/evidence/bench/scaling-db-aa/raw/4x1-pg2-r2-a1-s04-errors.log b/evidence/bench/scaling-db-aa/raw/4x1-pg2-r2-a1-s04-errors.log new file mode 100644 index 00000000..9a1149cb --- /dev/null +++ b/evidence/bench/scaling-db-aa/raw/4x1-pg2-r2-a1-s04-errors.log @@ -0,0 +1,9 @@ +# 4x1-pg2-r2-a1-s04: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T11:26:49.844492710Z {"request_id": "2a817af637f24ea28cdd9b9f7370e031", "event": "HTTP request completed", "instance_id": "b96cad94d708", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5012.712, "level": "info", "timestamp": "2026-10-11T11:26:49.844303Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} + +## HAProxy +2026-10-11T11:26:49.846698877Z 172.31.0.9:57226 [11/Oct/2026:11:26:44.819] entry api/api-4 0/0/0/5017/5017 503 338 - - ---- 425/425/385/304/0 0/0 "POST /api/v1/chats/e10cbc9c-b791-4375-a331-989e590a34fb/messages HTTP/1.1" diff --git a/evidence/bench/scaling-db-aa2/raw/4x1-pg0.5-r1-a1-s03-errors.log b/evidence/bench/scaling-db-aa2/raw/4x1-pg0.5-r1-a1-s03-errors.log new file mode 100644 index 00000000..c02e498d --- /dev/null +++ b/evidence/bench/scaling-db-aa2/raw/4x1-pg0.5-r1-a1-s03-errors.log @@ -0,0 +1,9 @@ +# 4x1-pg0.5-r1-a1-s03: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T13:34:53.522052754Z {"request_id": "ba09a5151e384f509e45d8ff6153f417", "event": "HTTP request completed", "instance_id": "b0ec28c7898e", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5000.653, "level": "info", "timestamp": "2026-10-11T13:34:53.521961Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} + +## HAProxy +2026-10-11T13:34:53.522169671Z 172.31.0.9:38358 [11/Oct/2026:13:34:48.521] entry api/api-3 0/0/0/5000/5000 503 338 - - ---- 353/353/338/273/0 0/0 "POST /api/v1/chats/100478a4-8fe3-46c1-b067-5f2d6e520006/messages HTTP/1.1" diff --git a/evidence/bench/scaling-db-before/raw/4x1-pg0.5-r1-a1-s03-errors.log b/evidence/bench/scaling-db-before/raw/4x1-pg0.5-r1-a1-s03-errors.log new file mode 100644 index 00000000..fea1315b --- /dev/null +++ b/evidence/bench/scaling-db-before/raw/4x1-pg0.5-r1-a1-s03-errors.log @@ -0,0 +1,9 @@ +# 4x1-pg0.5-r1-a1-s03: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T11:39:38.138618469Z {"request_id": "c08aed3c8a884dee84a55813e3c44e95", "event": "HTTP request completed", "instance_id": "fa385789089c", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5003.551, "level": "info", "timestamp": "2026-10-11T11:39:38.138549Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} + +## HAProxy +2026-10-11T11:39:38.139044219Z 172.31.0.9:50120 [11/Oct/2026:11:39:33.130] entry api/api-3 0/0/0/5008/5008 503 338 - - ---- 353/353/310/266/0 0/0 "GET /api/v1/chats/07e8152d-bec8-4fea-bc99-8218247c13ba/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDowN2U4MTUyZC1iZWM4LTRmZWEtYmM5OS04MjE4MjQ3YzEzYmEiLCJ0IjoiMjAyNi0xMC0xMVQxMTozNzo1OS44MDMzNzBaIiwiaSI6IjIzMTI3YzhhLWE2MjctNDYxYi04YTYxLTEyZDVlYzRjYWUwMyJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-db-before/raw/4x1-pg2-r2-a1-s04-errors.log b/evidence/bench/scaling-db-before/raw/4x1-pg2-r2-a1-s04-errors.log new file mode 100644 index 00000000..1c304bbc --- /dev/null +++ b/evidence/bench/scaling-db-before/raw/4x1-pg2-r2-a1-s04-errors.log @@ -0,0 +1,9 @@ +# 4x1-pg2-r2-a1-s04: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T11:54:09.923425469Z {"request_id": "c3e46305340e435ca2fd46592dc756cd", "event": "HTTP request completed", "instance_id": "66e447d6c70c", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.702, "level": "info", "timestamp": "2026-10-11T11:54:09.923170Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} + +## HAProxy +2026-10-11T11:54:09.926155344Z 172.31.0.9:36904 [11/Oct/2026:11:54:04.909] entry api/api-1 0/0/0/5016/5016 503 338 - - ---- 425/425/388/259/0 0/0 "GET /api/v1/chats/5b644e30-6b03-4acd-8046-55341f58bfa8/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo1YjY0NGUzMC02YjAzLTRhY2QtODA0Ni01NTM0MWY1OGJmYTgiLCJ0IjoiMjAyNi0xMC0xMVQxMTo1MjowNi45MTYwNDBaIiwiaSI6Ijg1MWI1NzU1LTQyZDctNDRjYS1iNWZjLTZmYzgyZDYwMWU5NyJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-db-before/raw/4x1-pg2-r3-a1-s03-errors.log b/evidence/bench/scaling-db-before/raw/4x1-pg2-r3-a1-s03-errors.log new file mode 100644 index 00000000..a95d7492 --- /dev/null +++ b/evidence/bench/scaling-db-before/raw/4x1-pg2-r3-a1-s03-errors.log @@ -0,0 +1,9 @@ +# 4x1-pg2-r3-a1-s03: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T12:02:59.174019006Z {"request_id": "13722a3c095c492781a8ecca5b1ac0ae", "event": "HTTP request completed", "instance_id": "f47f6fa1731e", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5017.85, "level": "info", "timestamp": "2026-10-11T12:02:59.173674Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} + +## HAProxy +2026-10-11T12:02:59.182112839Z 172.31.0.9:37190 [11/Oct/2026:12:02:54.148] entry api/api-3 0/0/0/5031/5031 503 338 - - ---- 353/353/343/256/0 0/0 "GET /api/v1/chats/f60e5942-e294-4872-8389-9884057bb896/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpmNjBlNTk0Mi1lMjk0LTQ4NzItODM4OS05ODg0MDU3YmI4OTYiLCJ0IjoiMjAyNi0xMC0xMVQxMjowMToyMC40Nzc5NjFaIiwiaSI6IjhmMzY1NjM2LWQ2YjQtNDIyYy05MTlkLTRhNTkxMWIzODUzZCJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-db-nooverflow2/raw/4x1-pg2-r3-a1-s05-errors.log b/evidence/bench/scaling-db-nooverflow2/raw/4x1-pg2-r3-a1-s05-errors.log new file mode 100644 index 00000000..1bf5ff3d --- /dev/null +++ b/evidence/bench/scaling-db-nooverflow2/raw/4x1-pg2-r3-a1-s05-errors.log @@ -0,0 +1,27 @@ +# 4x1-pg2-r3-a1-s05: коды ошибок окна k6 — 503:23 + +## PostgreSQL + +## API +2026-10-11T14:46:13.888195347Z {"request_id": "d96824eca4da487b91e456e98767af0f", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5005.413, "level": "info", "timestamp": "2026-10-11T14:46:13.888125Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:46:14.812842500Z {"request_id": "beef498593ad45eeb52637ab2e4fb73e", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5005.194, "level": "info", "timestamp": "2026-10-11T14:46:14.812784Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:46:14.954536916Z {"request_id": "ae5e9405fe564ce1b319ff9f1132b23f", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.144, "level": "info", "timestamp": "2026-10-11T14:46:14.954381Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:46:15.827790709Z {"request_id": "991e022ca538456e85009588f98baaa9", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5004.228, "level": "info", "timestamp": "2026-10-11T14:46:15.827661Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:46:16.411265709Z {"request_id": "0a5af2090e764cd7bfbdbcf242ef9bb6", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.9, "level": "info", "timestamp": "2026-10-11T14:46:16.411157Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:46:16.958726126Z {"request_id": "9d3f68f503174c8fa36bf14fdd3200fa", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5054.707, "level": "info", "timestamp": "2026-10-11T14:46:16.958641Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:46:16.958793084Z {"request_id": "e89165bbd4514b288149770cd6578320", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5054.396, "level": "info", "timestamp": "2026-10-11T14:46:16.958734Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:46:16.993301001Z {"request_id": "64ca4bb0395348c8b979463c78180d09", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.643, "level": "info", "timestamp": "2026-10-11T14:46:16.993145Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:46:17.072209167Z {"request_id": "5d6e8be069ea47318eca30b3114cb941", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5002.515, "level": "info", "timestamp": "2026-10-11T14:46:17.072111Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:46:17.171784376Z {"request_id": "eff3d59983f24632990b307fdca2dd89", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.529, "level": "info", "timestamp": "2026-10-11T14:46:17.171643Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} + +## HAProxy +2026-10-11T14:46:13.890210805Z 172.31.0.9:60998 [11/Oct/2026:14:46:08.880] entry api/api-2 0/0/0/5009/5009 503 338 - - ---- 516/516/498/474/0 0/0 "GET /api/v1/chats/86bda16a-4de5-4aca-a23e-9ef36d03908f/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4NmJkYTE2YS00ZGU1LTRhY2EtYTIzZS05ZWYzNmQwMzkwOGYiLCJ0IjoiMjAyNi0xMC0xMVQxNDo0Mzo1MS45OTY0MDFaIiwiaSI6IjYwNmU2MGYzLWZiNWItNGM5Ny1iZGY2LWJiY2U1YzdiNDNmMCJ9 HTTP/1.1" +2026-10-11T14:46:14.814617041Z 172.31.0.9:59794 [11/Oct/2026:14:46:09.809] entry api/api-2 0/0/0/5008/5008 503 338 - - ---- 516/516/501/491/0 0/0 "POST /api/v1/chats/c216a09f-70c7-4cb4-baf3-d82cb7959c09/messages HTTP/1.1" +2026-10-11T14:46:14.955820541Z 172.31.0.9:60930 [11/Oct/2026:14:46:09.948] entry api/api-2 0/0/0/5009/5009 503 338 - - ---- 516/516/497/493/0 0/0 "GET /api/v1/chats/86bda16a-4de5-4aca-a23e-9ef36d03908f/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4NmJkYTE2YS00ZGU1LTRhY2EtYTIzZS05ZWYzNmQwMzkwOGYiLCJ0IjoiMjAyNi0xMC0xMVQxNDo0Mzo1Mi42MzMwMDZaIiwiaSI6ImRlY2RjYTAxLWI5ODEtNGM5ZS05OTNlLWQwMjZjODQyZGQwYSJ9 HTTP/1.1" +2026-10-11T14:46:15.828802875Z 172.31.0.9:33566 [11/Oct/2026:14:46:10.824] entry api/api-2 0/0/0/5006/5006 503 338 - - ---- 517/516/504/497/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T14:46:16.412761584Z 172.31.0.9:59696 [11/Oct/2026:14:46:11.403] entry api/api-2 0/0/0/5012/5012 503 338 - - ---- 516/516/505/500/0 0/0 "GET /api/v1/chats/86bda16a-4de5-4aca-a23e-9ef36d03908f/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4NmJkYTE2YS00ZGU1LTRhY2EtYTIzZS05ZWYzNmQwMzkwOGYiLCJ0IjoiMjAyNi0xMC0xMVQxNDo0Mzo1NS43OTIyMDNaIiwiaSI6IjYzZTgxMDJkLWE5MmUtNGE3ZC04MTkxLWQ1MjMyOGViNGE3ZCJ9 HTTP/1.1" +2026-10-11T14:46:16.959933667Z 172.31.0.9:33360 [11/Oct/2026:14:46:11.878] entry api/api-2 0/0/0/5084/5084 503 338 - - ---- 516/516/514/511/0 0/0 "GET /api/v1/chats/86bda16a-4de5-4aca-a23e-9ef36d03908f/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4NmJkYTE2YS00ZGU1LTRhY2EtYTIzZS05ZWYzNmQwMzkwOGYiLCJ0IjoiMjAyNi0xMC0xMVQxNDo0Mzo1MS45MzQxMjBaIiwiaSI6IjUwYmI4ZDM4LWUxMjMtNGFiNi1hYTU0LTc1YjZjYmMwZDNiMSJ9 HTTP/1.1" +2026-10-11T14:46:16.959941042Z 172.31.0.9:33100 [11/Oct/2026:14:46:11.882] entry api/api-2 0/0/0/5080/5080 503 338 - - ---- 516/516/513/510/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T14:46:16.994460251Z 172.31.0.9:60838 [11/Oct/2026:14:46:11.984] entry api/api-2 0/0/0/5012/5012 503 338 - - ---- 516/516/513/510/0 0/0 "POST /api/v1/chats/684e7c48-17ea-4ca0-bd88-d807ae278656/messages HTTP/1.1" +2026-10-11T14:46:17.073852209Z 172.31.0.9:59966 [11/Oct/2026:14:46:12.071] entry api/api-2 0/0/0/5005/5005 503 338 - - ---- 516/516/509/502/0 0/0 "POST /api/v1/chats/c216a09f-70c7-4cb4-baf3-d82cb7959c09/messages HTTP/1.1" +2026-10-11T14:46:17.172693293Z 172.31.0.9:33104 [11/Oct/2026:14:46:12.167] entry api/api-2 0/0/0/5008/5008 503 338 - - ---- 516/516/507/502/0 0/0 "GET /api/v1/chats/86bda16a-4de5-4aca-a23e-9ef36d03908f/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4NmJkYTE2YS00ZGU1LTRhY2EtYTIzZS05ZWYzNmQwMzkwOGYiLCJ0IjoiMjAyNi0xMC0xMVQxNDo0Mzo1NS41NzY4NjdaIiwiaSI6IjFjYWI3YzMwLWYyNzQtNDQ2YS1hMzhkLTMwODJjY2FjODg0MiJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-db-nooverflow2/raw/4x1-pg2-r3-a1-s06-errors.log b/evidence/bench/scaling-db-nooverflow2/raw/4x1-pg2-r3-a1-s06-errors.log new file mode 100644 index 00000000..68f2bae8 --- /dev/null +++ b/evidence/bench/scaling-db-nooverflow2/raw/4x1-pg2-r3-a1-s06-errors.log @@ -0,0 +1,23 @@ +# 4x1-pg2-r3-a1-s06: коды ошибок окна k6 — 503:8 + +## PostgreSQL + +## API +2026-10-11T14:47:01.027450882Z {"request_id": "9d3ad54f34044f018fb4d027e41c8a85", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5003.878, "level": "info", "timestamp": "2026-10-11T14:47:01.027334Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:47:03.007949050Z {"request_id": "911a3fd3475340cfabfad1794bba231e", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.333, "level": "info", "timestamp": "2026-10-11T14:47:03.007530Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:47:04.562077051Z {"request_id": "8fcd952e09104affa1a0fd4e75472dc9", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5003.592, "level": "info", "timestamp": "2026-10-11T14:47:04.562006Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:47:06.808827260Z {"request_id": "04a4a98d334f4151b2a5b2b16547bd91", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5004.221, "level": "info", "timestamp": "2026-10-11T14:47:06.808704Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:47:07.475199302Z {"request_id": "171611e2bfbf4a4daf25c1ca9ef84ad5", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5020.832, "level": "info", "timestamp": "2026-10-11T14:47:07.475114Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:47:07.920299344Z {"request_id": "4d4479784c144cb093155802eecce5fd", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.373, "level": "info", "timestamp": "2026-10-11T14:47:07.920148Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:47:08.132060136Z {"request_id": "26e3977189e745ee9c2ed66124756799", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5004.957, "level": "info", "timestamp": "2026-10-11T14:47:08.131897Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T14:47:08.318908261Z {"request_id": "3efbdcb543f24c7fac6395611bf720ec", "event": "HTTP request completed", "instance_id": "c57b206555ee", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5002.297, "level": "info", "timestamp": "2026-10-11T14:47:08.318808Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} + +## HAProxy +2026-10-11T14:47:01.028447132Z 172.31.0.9:48658 [11/Oct/2026:14:46:56.020] entry api/api-2 0/0/0/5007/5007 503 338 - - ---- 462/462/459/441/0 0/0 "GET /api/v1/chats/86bda16a-4de5-4aca-a23e-9ef36d03908f/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4NmJkYTE2YS00ZGU1LTRhY2EtYTIzZS05ZWYzNmQwMzkwOGYiLCJ0IjoiMjAyNi0xMC0xMVQxNDo0Mzo1MS4yMzg5MzdaIiwiaSI6IjU0NmEwNzliLWU4NzUtNDFhNS04YThjLTRlNTc5NjJiNDQ3MCJ9 HTTP/1.1" +2026-10-11T14:47:03.009535467Z 172.31.0.9:49014 [11/Oct/2026:14:46:57.997] entry api/api-2 0/0/0/5011/5011 503 338 - - ---- 465/465/448/441/0 0/0 "POST /api/v1/chats/c216a09f-70c7-4cb4-baf3-d82cb7959c09/messages HTTP/1.1" +2026-10-11T14:47:04.563493134Z 172.31.0.9:46616 [11/Oct/2026:14:46:59.528] entry api/api-2 0/0/0/5035/5035 503 338 - - ---- 465/465/420/414/0 0/0 "GET /api/v1/chats/86bda16a-4de5-4aca-a23e-9ef36d03908f/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4NmJkYTE2YS00ZGU1LTRhY2EtYTIzZS05ZWYzNmQwMzkwOGYiLCJ0IjoiMjAyNi0xMC0xMVQxNDo0Mzo1MC42OTA3MTNaIiwiaSI6ImY0NDUwZWZiLTFmYjAtNGVhNi04MGU5LWY2YjkxOGRkNDg4ZiJ9 HTTP/1.1" +2026-10-11T14:47:06.809694052Z 172.31.0.9:46540 [11/Oct/2026:14:47:01.801] entry api/api-2 0/0/0/5008/5008 503 338 - - ---- 465/465/444/437/0 0/0 "GET /api/v1/chats/86bda16a-4de5-4aca-a23e-9ef36d03908f/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4NmJkYTE2YS00ZGU1LTRhY2EtYTIzZS05ZWYzNmQwMzkwOGYiLCJ0IjoiMjAyNi0xMC0xMVQxNDo0Mzo1NS4xOTg0MzZaIiwiaSI6IjNjYmQ3MGRiLWZiMjAtNGQyZS1hNmRjLWI2OTY2YzI3MjI0YSJ9 HTTP/1.1" +2026-10-11T14:47:07.475816469Z 172.31.0.9:49710 [11/Oct/2026:14:47:02.452] entry api/api-2 0/0/0/5022/5022 503 338 - - ---- 467/467/464/463/0 0/0 "POST /api/v1/chats/684e7c48-17ea-4ca0-bd88-d807ae278656/messages HTTP/1.1" +2026-10-11T14:47:07.921722427Z 172.31.0.9:47834 [11/Oct/2026:14:47:02.911] entry api/api-2 0/0/0/5010/5010 503 338 - - ---- 467/467/449/443/0 0/0 "GET /api/v1/chats/86bda16a-4de5-4aca-a23e-9ef36d03908f/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4NmJkYTE2YS00ZGU1LTRhY2EtYTIzZS05ZWYzNmQwMzkwOGYiLCJ0IjoiMjAyNi0xMC0xMVQxNDo0Mzo1NS45ODY0NTlaIiwiaSI6ImRkYWI0Y2NjLTk0MTYtNDc5NC05MWIzLThjMjAxODFlZWMzZiJ9 HTTP/1.1" +2026-10-11T14:47:08.133285969Z 172.31.0.9:48336 [11/Oct/2026:14:47:03.125] entry api/api-2 0/0/0/5008/5008 503 338 - - ---- 467/467/443/440/0 0/0 "GET /api/v1/chats/86bda16a-4de5-4aca-a23e-9ef36d03908f/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo4NmJkYTE2YS00ZGU1LTRhY2EtYTIzZS05ZWYzNmQwMzkwOGYiLCJ0IjoiMjAyNi0xMC0xMVQxNDo0Mzo1NS40NDI2ODBaIiwiaSI6IjAwMGFjNmQxLTY1MGEtNDcyMC1hZGFkLTE4MDAwMmNmODc5MyJ9 HTTP/1.1" +2026-10-11T14:47:08.319938344Z 172.31.0.9:48158 [11/Oct/2026:14:47:03.315] entry api/api-2 0/0/0/5004/5004 503 338 - - ---- 467/467/433/426/0 0/0 "GET /api/v1/users/me HTTP/1.1" diff --git a/evidence/bench/scaling-db/raw/4x1-pg2-r1-a1-s04-errors.log b/evidence/bench/scaling-db/raw/4x1-pg2-r1-a1-s04-errors.log new file mode 100644 index 00000000..4334abb8 --- /dev/null +++ b/evidence/bench/scaling-db/raw/4x1-pg2-r1-a1-s04-errors.log @@ -0,0 +1,9 @@ +# 4x1-pg2-r1-a1-s04: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T08:46:45.795358167Z {"request_id": "7b2e623c2aee4b16b6d576ab5058180a", "event": "HTTP request completed", "instance_id": "20984868950c", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5010.479, "level": "info", "timestamp": "2026-10-11T08:46:45.795243Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} + +## HAProxy +2026-10-11T08:46:45.796597000Z 172.31.0.9:55042 [11/Oct/2026:08:46:40.808] entry api/api-1 0/0/0/5014/5014 503 338 - - ---- 420/420/388/349/0 0/0 "GET /api/v1/chats/b757de15-b690-4a69-b9fd-b5f2b4e211bf/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiNzU3ZGUxNS1iNjkwLTRhNjktYjlmZC1iNWYyYjRlMjExYmYiLCJ0IjoiMjAyNi0xMC0xMVQwODo0NDo0NC4xODczMjdaIiwiaSI6ImIxMDMwYjVkLTExMDktNDMzMy1iMGNjLThjN2FjMDI0MjU3MCJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-db/raw/4x1-pg2-r1-a1-s06-errors.log b/evidence/bench/scaling-db/raw/4x1-pg2-r1-a1-s06-errors.log new file mode 100644 index 00000000..53da27de --- /dev/null +++ b/evidence/bench/scaling-db/raw/4x1-pg2-r1-a1-s06-errors.log @@ -0,0 +1,7 @@ +# 4x1-pg2-r1-a1-s06: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API + +## HAProxy diff --git a/evidence/bench/scaling-db/raw/4x1-pg2-r3-a1-s04-errors.log b/evidence/bench/scaling-db/raw/4x1-pg2-r3-a1-s04-errors.log new file mode 100644 index 00000000..396e6b63 --- /dev/null +++ b/evidence/bench/scaling-db/raw/4x1-pg2-r3-a1-s04-errors.log @@ -0,0 +1,9 @@ +# 4x1-pg2-r3-a1-s04: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T09:10:34.424830509Z {"request_id": "001b0e9af251455f8724494f7b57ec9b", "event": "HTTP request completed", "instance_id": "bb6634eb6d48", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5011.857, "level": "info", "timestamp": "2026-10-11T09:10:34.424604Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} + +## HAProxy +2026-10-11T09:10:34.426983426Z 172.31.0.9:41352 [11/Oct/2026:09:10:29.409] entry api/api-2 0/0/0/5017/5017 503 338 - - ---- 425/425/390/279/0 0/0 "GET /api/v1/chats/aed7e09f-7047-481a-8c37-9c29f7c12276/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDphZWQ3ZTA5Zi03MDQ3LTQ4MWEtOGMzNy05YzI5ZjdjMTIyNzYiLCJ0IjoiMjAyNi0xMC0xMVQwOTowODozOS44ODAxOTBaIiwiaSI6IjNkZDhhMDFmLTEwYjUtNDdmNC1iOGZlLWIwNjYyYmRkOGFiYyJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s03-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s03-errors.log new file mode 100644 index 00000000..f5f8776d --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s03-errors.log @@ -0,0 +1,52 @@ +# 4x1-c50-r1-a1-s03: коды ошибок окна k6 — 500:25 + +## PostgreSQL +2026-10-11T03:07:49.296315504Z 2026-10-11 03:07:49.296 UTC [459] FATAL: sorry, too many clients already +2026-10-11T03:07:49.333154421Z 2026-10-11 03:07:49.333 UTC [460] FATAL: sorry, too many clients already +2026-10-11T03:07:49.352504129Z 2026-10-11 03:07:49.352 UTC [461] FATAL: sorry, too many clients already +2026-10-11T03:07:51.777433255Z 2026-10-11 03:07:51.777 UTC [487] FATAL: sorry, too many clients already +2026-10-11T03:07:51.847093255Z 2026-10-11 03:07:51.847 UTC [489] FATAL: sorry, too many clients already +2026-10-11T03:07:51.866430964Z 2026-10-11 03:07:51.865 UTC [490] FATAL: sorry, too many clients already +2026-10-11T03:07:51.881454172Z 2026-10-11 03:07:51.881 UTC [491] FATAL: sorry, too many clients already +2026-10-11T03:07:52.006367172Z 2026-10-11 03:07:52.005 UTC [497] FATAL: sorry, too many clients already +2026-10-11T03:07:54.458229882Z 2026-10-11 03:07:54.458 UTC [519] FATAL: sorry, too many clients already +2026-10-11T03:07:56.978210091Z 2026-10-11 03:07:56.978 UTC [542] FATAL: sorry, too many clients already + +## API +2026-10-11T03:07:51.832554880Z {"request_id": "9a8cfbb194524b33a27d65df930bc22b", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 59.862, "level": "info", "timestamp": "2026-10-11T03:07:51.832330Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:07:51.837642880Z {"request_id": "9a8cfbb194524b33a27d65df930bc22b", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:07:51.832578Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:07:51.853981880Z {"request_id": "32521885338f4ca3b932321aaa2ba200", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 30.555, "level": "info", "timestamp": "2026-10-11T03:07:51.853863Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:07:51.856016214Z {"request_id": "32521885338f4ca3b932321aaa2ba200", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:07:51.854042Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:07:51.872921797Z {"request_id": "f2f806b1f2ca44f5bc4e9f08cdb6c017", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.778, "level": "info", "timestamp": "2026-10-11T03:07:51.872819Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:07:51.875063880Z {"request_id": "f2f806b1f2ca44f5bc4e9f08cdb6c017", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:07:51.872967Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:07:51.890853380Z {"request_id": "1640c1dbc98a436b94539809419043cd", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 20.619, "level": "info", "timestamp": "2026-10-11T03:07:51.890666Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:07:51.892848297Z {"request_id": "1640c1dbc98a436b94539809419043cd", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:07:51.890856Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:07:53.155330048Z {"request_id": "16b171fc9d754e18aeb830094c5ddb36", "event": "Created message", "user_id": "885197d7-8dbc-47a2-81e3-82bf753ae799", "instance_id": "ed7d23bb6b30", "module": "message_service", "method": "send_message", "chat_id": "dd833eb3-5318-41dc-ab9b-dc9a212bb01f", "message_id": "1d981c61-d83d-4862-8584-275d05533d42", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T03:07:53.155129Z", "func_name": "send_message", "lineno": 102, "filename": "message.py"} +2026-10-11T03:07:57.132353300Z {"request_id": "c7c2a739d037496b8f563e589c3f6aa3", "event": "HTTP request completed", "user_id": "193111f8-2172-4963-92c2-bc00c9f86f24", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 75.143, "level": "info", "timestamp": "2026-10-11T03:07:57.132194Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:07:54.853480049Z {"request_id": "503d6749d8d649f6a0c2eaff048c3ab9", "event": "Created message", "user_id": "a67d0bf6-e3b3-4bc2-90b2-427944d3aa52", "instance_id": "81428c143e41", "module": "message_service", "method": "send_message", "chat_id": "371814a0-416a-49e8-a5eb-2129af6a46dd", "message_id": "d054d337-590a-412f-9d89-758479348b09", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T03:07:54.853300Z", "filename": "message.py", "func_name": "send_message", "lineno": 102} +2026-10-11T03:07:56.675330091Z {"request_id": "1cf81a764e7f4554918fba9ed44971e8", "event": "HTTP request completed", "user_id": "885197d7-8dbc-47a2-81e3-82bf753ae799", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 0.98, "level": "info", "timestamp": "2026-10-11T03:07:56.675201Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:07:49.316140671Z {"request_id": "1c81dc645ea14f359d28df9277a9dd78", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 48.149, "level": "info", "timestamp": "2026-10-11T03:07:49.316011Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:07:49.321880546Z {"request_id": "1c81dc645ea14f359d28df9277a9dd78", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:07:49.316192Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:07:49.339639171Z {"request_id": "7419a943ba88405bba8ed3c581944895", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 28.625, "level": "info", "timestamp": "2026-10-11T03:07:49.339493Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:07:49.341780171Z {"request_id": "7419a943ba88405bba8ed3c581944895", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:07:49.339702Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:07:49.359261463Z {"request_id": "8f54940fdac14364a18dc0480a7d3ef4", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.76, "level": "info", "timestamp": "2026-10-11T03:07:49.359112Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:07:49.361338879Z {"request_id": "8f54940fdac14364a18dc0480a7d3ef4", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:07:49.359252Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:07:54.512646590Z {"request_id": "498f38ebeb274885ab036c96cd196bba", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 61.365, "level": "info", "timestamp": "2026-10-11T03:07:54.512476Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:07:54.514633007Z {"request_id": "498f38ebeb274885ab036c96cd196bba", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:07:54.512669Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:07:57.034565633Z {"request_id": "32087e405155489eb49db3a4fe00e24e", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 61.443, "level": "info", "timestamp": "2026-10-11T03:07:57.034387Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:07:57.036546425Z {"request_id": "32087e405155489eb49db3a4fe00e24e", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:07:57.034595Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:07:50.185330088Z {"request_id": "1841302b66e1444d99154302827a566e", "event": "HTTP request completed", "user_id": "193111f8-2172-4963-92c2-bc00c9f86f24", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 2.96, "level": "info", "timestamp": "2026-10-11T03:07:50.185246Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:07:52.062499422Z {"request_id": "07de8e9a14ce4d7483e25bdf18892b70", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 63.161, "level": "info", "timestamp": "2026-10-11T03:07:52.062315Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:07:52.067520464Z {"request_id": "07de8e9a14ce4d7483e25bdf18892b70", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:07:52.062513Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:07:49.324943046Z 172.31.0.9:56002 [11/Oct/2026:03:07:49.242] entry api/api-2 0/0/0/82/82 500 330 - - ---- 323/323/53/34/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T03:07:49.344070713Z 172.31.0.9:55984 [11/Oct/2026:03:07:49.300] entry api/api-2 0/0/0/43/43 500 330 - - ---- 323/323/44/31/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMi4zMDQyMjNaIiwiaSI6ImYwZTJlMWViLWQwOGYtNGI3NC1iYWMzLWM2NzEwZjc0MzFkNyJ9 HTTP/1.1" +2026-10-11T03:07:49.364349129Z 172.31.0.9:55076 [11/Oct/2026:03:07:49.335] entry api/api-2 0/0/0/28/28 500 330 - - ---- 323/323/32/27/0 0/0 "POST /api/v1/chats/371814a0-416a-49e8-a5eb-2129af6a46dd/messages HTTP/1.1" +2026-10-11T03:07:51.839947505Z 172.31.0.9:54570 [11/Oct/2026:03:07:51.763] entry api/api-1 0/0/0/76/76 500 330 - - ---- 324/323/54/38/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozNS4zMTA4NjFaIiwiaSI6IjcyZTc0ZmEyLTViMDMtNGNjZS04YTVlLTRiOTUzMWU2MzhjNSJ9 HTTP/1.1" +2026-10-11T03:07:51.857705922Z 172.31.0.9:54994 [11/Oct/2026:03:07:51.780] entry api/api-1 0/0/0/77/77 500 330 - - ---- 324/323/47/33/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozNC42ODY5NzJaIiwiaSI6ImQxNWM4YzdlLTk1ZTktNDkwMC04MDUyLTYzM2ZmYjViYTRjZSJ9 HTTP/1.1" +2026-10-11T03:07:51.877073505Z 172.31.0.9:56260 [11/Oct/2026:03:07:51.848] entry api/api-1 0/0/0/28/28 500 330 - - ---- 324/323/39/29/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozNC4zODc0MTFaIiwiaSI6IjljMTY0MmVmLWIzNTgtNDNkZC1hMjIxLTU5YTU3Y2Y0ZDYwZiJ9 HTTP/1.1" +2026-10-11T03:07:51.897168130Z 172.31.0.9:56414 [11/Oct/2026:03:07:51.867] entry api/api-1 0/0/0/29/29 500 330 - - ---- 323/323/35/30/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjoyOS42ODQwMjZaIiwiaSI6IjZiODA1OGRiLTkwMmUtNGM3Zi05ZDIyLTI1MzU3NjhlOTdjMCJ9 HTTP/1.1" +2026-10-11T03:07:52.069255172Z 172.31.0.9:53704 [11/Oct/2026:03:07:51.996] entry api/api-4 0/0/0/73/73 500 330 - - ---- 323/323/37/35/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T03:07:54.516668465Z 172.31.0.9:53982 [11/Oct/2026:03:07:54.441] entry api/api-2 0/0/0/75/75 500 330 - - ---- 323/323/36/34/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMi45Njk5ODVaIiwiaSI6IjFiOGU2ZmVjLWFmNjYtNDJmNS05NzVkLTI4MGJhNDA4MzU4OCJ9 HTTP/1.1" +2026-10-11T03:07:57.039164758Z 172.31.0.9:56318 [11/Oct/2026:03:07:56.967] entry api/api-2 0/0/0/71/71 500 330 - - ---- 323/323/72/36/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMS41NzgzMjNaIiwiaSI6IjljNjEwY2E5LTMzMzItNDE2ZC1iZDIzLTllMWE1MzZmMzA5MyJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s04-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s04-errors.log new file mode 100644 index 00000000..96ec5ba5 --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s04-errors.log @@ -0,0 +1,67 @@ +# 4x1-c50-r1-a1-s04: коды ошибок окна k6 — 500:5060 + +## PostgreSQL +2026-10-11T03:08:14.312572752Z 2026-10-11 03:08:14.312 UTC [829] FATAL: sorry, too many clients already +2026-10-11T03:08:14.336119960Z 2026-10-11 03:08:14.336 UTC [830] FATAL: sorry, too many clients already +2026-10-11T03:08:14.358737085Z 2026-10-11 03:08:14.358 UTC [831] FATAL: sorry, too many clients already +2026-10-11T03:08:14.379163294Z 2026-10-11 03:08:14.378 UTC [832] FATAL: sorry, too many clients already +2026-10-11T03:08:14.407157752Z 2026-10-11 03:08:14.407 UTC [833] FATAL: sorry, too many clients already +2026-10-11T03:08:14.431029335Z 2026-10-11 03:08:14.430 UTC [834] FATAL: sorry, too many clients already +2026-10-11T03:08:14.453720044Z 2026-10-11 03:08:14.453 UTC [835] FATAL: sorry, too many clients already +2026-10-11T03:08:14.476451794Z 2026-10-11 03:08:14.476 UTC [836] FATAL: sorry, too many clients already +2026-10-11T03:08:14.496732502Z 2026-10-11 03:08:14.496 UTC [837] FATAL: sorry, too many clients already +2026-10-11T03:08:14.519344335Z 2026-10-11 03:08:14.519 UTC [838] FATAL: sorry, too many clients already + +## API +2026-10-11T03:08:15.456546919Z {"request_id": "a6eb22e82599453a8006e6689b13ee69", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 17.939, "level": "info", "timestamp": "2026-10-11T03:08:15.456370Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:08:15.458796002Z {"request_id": "a6eb22e82599453a8006e6689b13ee69", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:15.456542Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:15.461597044Z {"request_id": "d4d14d1b1d0745f1b5aed23d8fda7237", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 22.4, "level": "info", "timestamp": "2026-10-11T03:08:15.461445Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:08:15.463703169Z {"request_id": "d4d14d1b1d0745f1b5aed23d8fda7237", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:15.461612Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:15.463839961Z {"request_id": "49ed19bbb1fc4857a261c91c24b15349", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.076, "level": "info", "timestamp": "2026-10-11T03:08:15.463626Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:08:15.465922002Z {"request_id": "49ed19bbb1fc4857a261c91c24b15349", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:15.463765Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:15.466034877Z {"request_id": "9b1074e465f8420ca6d717c3cd8d6dba", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 28.17, "level": "info", "timestamp": "2026-10-11T03:08:15.465899Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:08:15.468087627Z {"request_id": "9b1074e465f8420ca6d717c3cd8d6dba", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:15.466041Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:15.472265252Z {"request_id": "c4276973190740e18af66cca9e5611c2", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 31.992, "level": "info", "timestamp": "2026-10-11T03:08:15.472089Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:08:15.474345836Z {"request_id": "c4276973190740e18af66cca9e5611c2", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:15.472266Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.977638294Z {"request_id": "3b4301a2f13544ba955cc8be23d790aa", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 15.76, "level": "info", "timestamp": "2026-10-11T03:08:14.977490Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:08:14.979698086Z {"request_id": "3b4301a2f13544ba955cc8be23d790aa", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.977688Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.979793836Z {"request_id": "ada8971fd9134bf68fb2671ef5a263b5", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 18.639, "level": "info", "timestamp": "2026-10-11T03:08:14.979644Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:08:14.981675586Z {"request_id": "ada8971fd9134bf68fb2671ef5a263b5", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.979789Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.985319419Z {"request_id": "11e1e7157f7f4a18a9d7cb6bfb1cfbd8", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 22.826, "level": "info", "timestamp": "2026-10-11T03:08:14.985159Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:08:14.987391794Z {"request_id": "11e1e7157f7f4a18a9d7cb6bfb1cfbd8", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.985351Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.987719377Z {"request_id": "655af799120a40c1a0cfbf6d6843d2eb", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 23.976, "level": "info", "timestamp": "2026-10-11T03:08:14.987317Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:08:14.989537419Z {"request_id": "655af799120a40c1a0cfbf6d6843d2eb", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.987457Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.989569002Z {"request_id": "f4146c2b763645e2b07437e97f447fa8", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 26.622, "level": "info", "timestamp": "2026-10-11T03:08:14.989463Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:08:14.991486711Z {"request_id": "f4146c2b763645e2b07437e97f447fa8", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.989627Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.319926085Z {"request_id": "d5aecf5269bc491b9504497c63320a1f", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 22.878, "level": "info", "timestamp": "2026-10-11T03:08:14.319783Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:08:14.321935794Z {"request_id": "d5aecf5269bc491b9504497c63320a1f", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.319967Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.344104085Z {"request_id": "bd02f2aa1473471596ac74a95614b077", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 18.136, "level": "info", "timestamp": "2026-10-11T03:08:14.343938Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:08:14.346076710Z {"request_id": "bd02f2aa1473471596ac74a95614b077", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.344118Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.369835919Z {"request_id": "e47cad1404e24cd3b7ee099ed9c6c959", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 29.117, "level": "info", "timestamp": "2026-10-11T03:08:14.369622Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:08:14.371854419Z {"request_id": "e47cad1404e24cd3b7ee099ed9c6c959", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.369813Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.385696585Z {"request_id": "79a824554ffd47c2a822bb8ee17b57f7", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 22.834, "level": "info", "timestamp": "2026-10-11T03:08:14.385520Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:08:14.387890377Z {"request_id": "79a824554ffd47c2a822bb8ee17b57f7", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.385713Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.418182544Z {"request_id": "fbac1c01831646aa9ea42f7b1f372214", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 35.316, "level": "info", "timestamp": "2026-10-11T03:08:14.418008Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:08:14.420212460Z {"request_id": "fbac1c01831646aa9ea42f7b1f372214", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.418183Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.926348252Z {"request_id": "4a485fd0eeac48c5ad93b9a4e811283c", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 63.459, "level": "info", "timestamp": "2026-10-11T03:08:14.926196Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:08:14.928428586Z {"request_id": "4a485fd0eeac48c5ad93b9a4e811283c", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.926388Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.944420752Z {"request_id": "9b1f792aff404ace89b07326c94a1e4c", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 41.136, "level": "info", "timestamp": "2026-10-11T03:08:14.944231Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:08:14.946478794Z {"request_id": "9b1f792aff404ace89b07326c94a1e4c", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.944406Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.970685169Z {"request_id": "2f4e564007104db08a00da33b1a85b85", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 21.865, "level": "info", "timestamp": "2026-10-11T03:08:14.970527Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:08:14.972821919Z {"request_id": "2f4e564007104db08a00da33b1a85b85", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.970711Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:14.995648127Z {"request_id": "da0e6e9d6e2f4eb186a597f418a08dc3", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 21.722, "level": "info", "timestamp": "2026-10-11T03:08:14.995487Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:08:14.997731336Z {"request_id": "da0e6e9d6e2f4eb186a597f418a08dc3", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:14.995648Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:08:15.018766961Z {"request_id": "485f7ea760ba4d2bb146a4401d8b7483", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 26.322, "level": "info", "timestamp": "2026-10-11T03:08:15.018585Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:08:15.020701627Z {"request_id": "485f7ea760ba4d2bb146a4401d8b7483", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:08:15.018754Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:08:14.323729085Z 172.31.0.9:43424 [11/Oct/2026:03:08:14.292] entry api/api-2 0/0/0/30/30 500 330 - - ---- 395/395/80/47/0 0/0 "POST /api/v1/chats/588770f4-8f97-4c67-8c8c-6197944017a7/messages HTTP/1.1" +2026-10-11T03:08:14.347991377Z 172.31.0.9:41254 [11/Oct/2026:03:08:14.320] entry api/api-2 0/0/0/27/27 500 330 - - ---- 395/395/79/47/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMy45NzA1NzZaIiwiaSI6IjlkY2MwMTM4LTMxMTktNGYzMi1hYTMyLWRmYzgyMzU1OThkMyJ9 HTTP/1.1" +2026-10-11T03:08:14.374262794Z 172.31.0.9:40900 [11/Oct/2026:03:08:14.337] entry api/api-2 0/0/0/37/37 500 330 - - ---- 395/395/77/51/0 0/0 "POST /api/v1/chats/25633bc9-440c-4a6c-a23c-796f38643ea7/messages HTTP/1.1" +2026-10-11T03:08:14.390398585Z 172.31.0.9:43490 [11/Oct/2026:03:08:14.358] entry api/api-2 0/0/0/31/31 500 330 - - ---- 395/395/72/50/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T03:08:14.422892002Z 172.31.0.9:41642 [11/Oct/2026:03:08:14.379] entry api/api-2 0/0/0/43/43 500 330 - - ---- 395/395/85/55/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozNS41MTAxNjJaIiwiaSI6IjU5MjI4NTNiLWY4ZTQtNGNiNC05MjRjLTg4ODQ3MzUyYTlhNCJ9 HTTP/1.1" +2026-10-11T03:08:14.441721960Z 172.31.0.9:41980 [11/Oct/2026:03:08:14.407] entry api/api-2 0/0/0/33/33 500 330 - - ---- 395/395/80/55/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMi4zMDQyMjNaIiwiaSI6ImYwZTJlMWViLWQwOGYtNGI3NC1iYWMzLWM2NzEwZjc0MzFkNyJ9 HTTP/1.1" +2026-10-11T03:08:14.470017169Z 172.31.0.9:42676 [11/Oct/2026:03:08:14.432] entry api/api-2 0/0/0/37/37 500 330 - - ---- 395/395/77/55/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozNC4wNzcxODNaIiwiaSI6IjQzMjQ3N2FkLTc3OTEtNGE5NS1hMDcxLWI3NWU3ODE3Zjc1YyJ9 HTTP/1.1" +2026-10-11T03:08:14.489637127Z 172.31.0.9:43646 [11/Oct/2026:03:08:14.456] entry api/api-2 0/0/0/32/32 500 330 - - ---- 395/395/76/58/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMy41MjQ4MDBaIiwiaSI6ImNiYjk5NzdiLWZkNTEtNDI5YS1hYTU1LTMyYjBkOTA3MGY4OSJ9 HTTP/1.1" +2026-10-11T03:08:14.510136919Z 172.31.0.9:42062 [11/Oct/2026:03:08:14.475] entry api/api-2 0/0/0/34/34 500 330 - - ---- 395/395/71/57/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMy45NzA1NzZaIiwiaSI6IjlkY2MwMTM4LTMxMTktNGYzMi1hYTMyLWRmYzgyMzU1OThkMyJ9 HTTP/1.1" +2026-10-11T03:08:14.532933085Z 172.31.0.9:43564 [11/Oct/2026:03:08:14.500] entry api/api-2 0/0/0/32/32 500 330 - - ---- 395/395/66/56/0 0/0 "GET /api/v1/users/me HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s05-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s05-errors.log new file mode 100644 index 00000000..dcb66fdb --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s05-errors.log @@ -0,0 +1,67 @@ +# 4x1-c50-r1-a1-s05: коды ошибок окна k6 — 500:314 + +## PostgreSQL +2026-10-11T03:09:02.570077219Z 2026-10-11 03:09:02.569 UTC [6097] FATAL: sorry, too many clients already +2026-10-11T03:09:02.590210677Z 2026-10-11 03:09:02.590 UTC [6098] FATAL: sorry, too many clients already +2026-10-11T03:09:02.606747219Z 2026-10-11 03:09:02.606 UTC [6099] FATAL: sorry, too many clients already +2026-10-11T03:09:02.627940219Z 2026-10-11 03:09:02.627 UTC [6100] FATAL: sorry, too many clients already +2026-10-11T03:09:02.642290552Z 2026-10-11 03:09:02.642 UTC [6101] FATAL: sorry, too many clients already +2026-10-11T03:09:04.193928470Z 2026-10-11 03:09:04.193 UTC [6125] FATAL: sorry, too many clients already +2026-10-11T03:09:04.263824136Z 2026-10-11 03:09:04.263 UTC [6126] FATAL: sorry, too many clients already +2026-10-11T03:09:04.284025303Z 2026-10-11 03:09:04.283 UTC [6127] FATAL: sorry, too many clients already +2026-10-11T03:09:04.298480303Z 2026-10-11 03:09:04.298 UTC [6128] FATAL: sorry, too many clients already +2026-10-11T03:09:04.318989053Z 2026-10-11 03:09:04.318 UTC [6129] FATAL: sorry, too many clients already + +## API +2026-10-11T03:09:02.558006927Z {"request_id": "368fce53dcea4954a8a53726e805b8e9", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 66.991, "level": "info", "timestamp": "2026-10-11T03:09:02.557832Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:09:02.560179677Z {"request_id": "368fce53dcea4954a8a53726e805b8e9", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:02.558020Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:02.575233052Z {"request_id": "0fbac61430a343458060948f7f67efc3", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 51.197, "level": "info", "timestamp": "2026-10-11T03:09:02.575108Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:09:02.577356344Z {"request_id": "0fbac61430a343458060948f7f67efc3", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:02.575246Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:02.597361344Z {"request_id": "67bb78a40cd14afabedc1d9cd9eb4c8b", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 23.054, "level": "info", "timestamp": "2026-10-11T03:09:02.597242Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:09:02.599564511Z {"request_id": "67bb78a40cd14afabedc1d9cd9eb4c8b", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:02.597398Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:02.613351219Z {"request_id": "52f7b67876094c08a1c89e793bcadb0c", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 20.361, "level": "info", "timestamp": "2026-10-11T03:09:02.613157Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:09:02.615428719Z {"request_id": "52f7b67876094c08a1c89e793bcadb0c", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:02.613331Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:02.636235886Z {"request_id": "9c6dd3d433fc41779fd9aa8324df418e", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.324, "level": "info", "timestamp": "2026-10-11T03:09:02.636102Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:09:02.638309844Z {"request_id": "9c6dd3d433fc41779fd9aa8324df418e", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:02.636260Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:06.062868637Z {"request_id": "bfc0ea179ae44cd9987855b146cc8b0e", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 64.069, "level": "info", "timestamp": "2026-10-11T03:09:06.062642Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:09:06.064984512Z {"request_id": "bfc0ea179ae44cd9987855b146cc8b0e", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:06.062858Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:06.081361179Z {"request_id": "a292c7dac4e640299e3d8874d2b18a10", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 53.005, "level": "info", "timestamp": "2026-10-11T03:09:06.081236Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:09:06.083287887Z {"request_id": "a292c7dac4e640299e3d8874d2b18a10", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:06.081373Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:06.103047637Z {"request_id": "f68a9820a33948d3a538e2f5c4e3764b", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.3, "level": "info", "timestamp": "2026-10-11T03:09:06.102863Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:09:06.105027346Z {"request_id": "f68a9820a33948d3a538e2f5c4e3764b", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:06.103024Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:06.128677054Z {"request_id": "5642de7c5cbf40728bc58e5ae5ba3e05", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 17.374, "level": "info", "timestamp": "2026-10-11T03:09:06.128543Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:09:06.130669596Z {"request_id": "5642de7c5cbf40728bc58e5ae5ba3e05", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:06.128684Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:06.162797762Z {"request_id": "c1e97024277343bca06b3f8889fbf1e5", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 28.926, "level": "info", "timestamp": "2026-10-11T03:09:06.162698Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:09:06.164834596Z {"request_id": "c1e97024277343bca06b3f8889fbf1e5", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:06.162831Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:09.310394930Z {"request_id": "4cbff99be02e4aa3881c33c380c319f5", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 68.86, "level": "info", "timestamp": "2026-10-11T03:09:09.310258Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:09:09.312532889Z {"request_id": "4cbff99be02e4aa3881c33c380c319f5", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:09.310440Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:11.218758542Z {"request_id": "02ab07f7228e40b0977ba92415d9b83c", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.188, "level": "info", "timestamp": "2026-10-11T03:09:11.218625Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:09:11.220742542Z {"request_id": "02ab07f7228e40b0977ba92415d9b83c", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:11.218782Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:11.223631625Z {"request_id": "a71c36930528485191c5a3d7f1d836c9", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.674, "level": "info", "timestamp": "2026-10-11T03:09:11.223427Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:09:11.225800584Z {"request_id": "a71c36930528485191c5a3d7f1d836c9", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:11.223678Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:11.225955375Z {"request_id": "9b50abd9d96a4849b66e3f679ca65947", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 26.475, "level": "info", "timestamp": "2026-10-11T03:09:11.225793Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:09:11.227783750Z {"request_id": "9b50abd9d96a4849b66e3f679ca65947", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:11.225949Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:11.227861542Z {"request_id": "45be9f2794da4a83af0c484d7d0983d8", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 27.981, "level": "info", "timestamp": "2026-10-11T03:09:11.227776Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:09:11.229660167Z {"request_id": "45be9f2794da4a83af0c484d7d0983d8", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:11.227911Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:04.247715178Z {"request_id": "24b0106221bb47c29aaefcbc2cacd286", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 59.402, "level": "info", "timestamp": "2026-10-11T03:09:04.247564Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:09:04.249905136Z {"request_id": "24b0106221bb47c29aaefcbc2cacd286", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:04.247764Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:04.271606220Z {"request_id": "1707c1653fc949448a93098908dc7270", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 33.596, "level": "info", "timestamp": "2026-10-11T03:09:04.271449Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:09:04.275126803Z {"request_id": "1707c1653fc949448a93098908dc7270", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:04.271609Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:04.288299970Z {"request_id": "0dd0f6e8c3df4f70b7a83c65146a257c", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 20.952, "level": "info", "timestamp": "2026-10-11T03:09:04.288199Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:09:04.290305303Z {"request_id": "0dd0f6e8c3df4f70b7a83c65146a257c", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:04.288347Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:04.309987095Z {"request_id": "72cb61fe3bd34e8eb81d5ecdb03222cb", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.461, "level": "info", "timestamp": "2026-10-11T03:09:04.309878Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:09:04.312402470Z {"request_id": "72cb61fe3bd34e8eb81d5ecdb03222cb", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:04.310035Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:04.325945470Z {"request_id": "ffac64490ee24bad9c492cd6eaeb7a11", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 21.273, "level": "info", "timestamp": "2026-10-11T03:09:04.325842Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:09:04.327925761Z {"request_id": "ffac64490ee24bad9c492cd6eaeb7a11", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:04.325969Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:09:02.563608594Z 172.31.0.9:35020 [11/Oct/2026:03:09:02.462] entry api/api-1 0/0/0/101/101 500 330 - - ---- 356/356/74/49/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMy45NzA1NzZaIiwiaSI6IjlkY2MwMTM4LTMxMTktNGYzMi1hYTMyLWRmYzgyMzU1OThkMyJ9 HTTP/1.1" +2026-10-11T03:09:02.578783261Z 172.31.0.9:35718 [11/Oct/2026:03:09:02.501] entry api/api-1 0/0/0/77/77 500 330 - - ---- 356/356/65/43/0 0/0 "POST /api/v1/chats/dd833eb3-5318-41dc-ab9b-dc9a212bb01f/messages HTTP/1.1" +2026-10-11T03:09:02.602025177Z 172.31.0.9:36848 [11/Oct/2026:03:09:02.572] entry api/api-1 0/0/0/29/29 500 330 - - ---- 356/356/59/42/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMC42MTUxNzNaIiwiaSI6IjdjZDBkMWRiLWRmNzktNGU0YS1hN2E5LTI1YjBkNmU0ODE4ZSJ9 HTTP/1.1" +2026-10-11T03:09:02.617914552Z 172.31.0.9:37876 [11/Oct/2026:03:09:02.591] entry api/api-1 0/0/0/26/26 500 330 - - ---- 356/356/57/39/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozNS43OTgxMjZaIiwiaSI6ImI1NDE5NDVkLTcwYTEtNDhkZi1iYjVhLTk4YWU2MTlhMGE4YSJ9 HTTP/1.1" +2026-10-11T03:09:02.639918469Z 172.31.0.9:36726 [11/Oct/2026:03:09:02.609] entry api/api-1 0/0/0/30/30 500 330 - - ---- 356/356/48/36/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMy40NjUzNTlaIiwiaSI6ImM5Mzk1MmJmLTQ0NDctNDdhNS05OTAxLTJmNGYxYTAxYTExMSJ9 HTTP/1.1" +2026-10-11T03:09:02.652086261Z 172.31.0.9:36456 [11/Oct/2026:03:09:02.626] entry api/api-1 0/0/0/25/25 500 330 - - ---- 356/356/45/38/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozNC4zODc0MTFaIiwiaSI6IjljMTY0MmVmLWIzNTgtNDNkZC1hMjIxLTU5YTU3Y2Y0ZDYwZiJ9 HTTP/1.1" +2026-10-11T03:09:04.254298678Z 172.31.0.9:37712 [11/Oct/2026:03:09:04.165] entry api/api-4 0/0/0/88/88 500 330 - - ---- 356/356/72/45/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMS41NzgzMjNaIiwiaSI6IjljNjEwY2E5LTMzMzItNDE2ZC1iZDIzLTllMWE1MzZmMzA5MyJ9 HTTP/1.1" +2026-10-11T03:09:04.276751095Z 172.31.0.9:37876 [11/Oct/2026:03:09:04.194] entry api/api-4 0/0/0/82/82 500 330 - - ---- 356/356/69/44/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMC41MTQ5MTZaIiwiaSI6IjRhZmUyMGU5LTdmZWItNDQwMS05NDQyLWZkNzYwOWZkMWIwMSJ9 HTTP/1.1" +2026-10-11T03:09:04.290900678Z 172.31.0.9:37158 [11/Oct/2026:03:09:04.263] entry api/api-4 0/0/0/27/27 500 330 - - ---- 356/356/63/43/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozNS4xNDI0ODNaIiwiaSI6IjA3N2RiMmZjLTgwMTMtNDk4MS1hZjU1LTY2OTM2ZTU4OTlhMyJ9 HTTP/1.1" +2026-10-11T03:09:04.313715928Z 172.31.0.9:35422 [11/Oct/2026:03:09:04.283] entry api/api-4 0/0/0/30/30 500 330 - - ---- 356/356/60/43/0 0/0 "POST /api/v1/chats/f4ca8cde-1bf9-48d5-9fa7-06258506114a/messages HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s06-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s06-errors.log new file mode 100644 index 00000000..36503d02 --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r1-a1-s06-errors.log @@ -0,0 +1,67 @@ +# 4x1-c50-r1-a1-s06: коды ошибок окна k6 — 500:5016 + +## PostgreSQL +2026-10-11T03:09:29.559944509Z 2026-10-11 03:09:29.559 UTC [7010] FATAL: sorry, too many clients already +2026-10-11T03:09:29.579459634Z 2026-10-11 03:09:29.579 UTC [7011] FATAL: sorry, too many clients already +2026-10-11T03:09:29.603976967Z 2026-10-11 03:09:29.603 UTC [7012] FATAL: sorry, too many clients already +2026-10-11T03:09:29.625590593Z 2026-10-11 03:09:29.624 UTC [7013] FATAL: sorry, too many clients already +2026-10-11T03:09:29.648313384Z 2026-10-11 03:09:29.648 UTC [7014] FATAL: sorry, too many clients already +2026-10-11T03:09:29.674890009Z 2026-10-11 03:09:29.674 UTC [7015] FATAL: sorry, too many clients already +2026-10-11T03:09:29.765376718Z 2026-10-11 03:09:29.764 UTC [7020] FATAL: sorry, too many clients already +2026-10-11T03:09:29.765384634Z 2026-10-11 03:09:29.764 UTC [7019] FATAL: sorry, too many clients already +2026-10-11T03:09:29.765620218Z 2026-10-11 03:09:29.765 UTC [7018] FATAL: sorry, too many clients already +2026-10-11T03:09:29.765693926Z 2026-10-11 03:09:29.765 UTC [7017] FATAL: sorry, too many clients already + +## API +2026-10-11T03:09:29.773544134Z {"request_id": "4bcb8e5e97e546cd86e6d95bf9004df2", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 18.7, "level": "info", "timestamp": "2026-10-11T03:09:29.773378Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:09:29.775680301Z {"request_id": "4bcb8e5e97e546cd86e6d95bf9004df2", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:29.773557Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:29.775756176Z {"request_id": "bcbfb06a98ed4ca2b4ac854b1dd9bfa2", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.501, "level": "info", "timestamp": "2026-10-11T03:09:29.775651Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:09:29.777822384Z {"request_id": "bcbfb06a98ed4ca2b4ac854b1dd9bfa2", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:29.775787Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:29.780661343Z {"request_id": "42de73674d2c41fa9d04e28769ed642f", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 26.864, "level": "info", "timestamp": "2026-10-11T03:09:29.780513Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:09:29.782805968Z {"request_id": "42de73674d2c41fa9d04e28769ed642f", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:29.780688Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:29.782924468Z {"request_id": "7f3b79fdf4a644469796d45c9647e4f4", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 29.863, "level": "info", "timestamp": "2026-10-11T03:09:29.782776Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:09:29.785025926Z {"request_id": "7f3b79fdf4a644469796d45c9647e4f4", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:29.782932Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:29.785068176Z {"request_id": "42ec852256f2447ba6a924afc5cfc040", "event": "HTTP request completed", "instance_id": "ed7d23bb6b30", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 29.799, "level": "info", "timestamp": "2026-10-11T03:09:29.784938Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:09:29.787040718Z {"request_id": "42ec852256f2447ba6a924afc5cfc040", "event": "Exception in ASGI application\n", "instance_id": "ed7d23bb6b30", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:29.785073Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:31.253337260Z {"request_id": "9df44677a380499ab070110d3983a0ff", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 17.318, "level": "info", "timestamp": "2026-10-11T03:09:31.253163Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:09:31.255787052Z {"request_id": "9df44677a380499ab070110d3983a0ff", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:31.253366Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:31.260026052Z {"request_id": "09d0881d33b74711b4c145646ed6f6b9", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 25.004, "level": "info", "timestamp": "2026-10-11T03:09:31.259739Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:09:31.262014427Z {"request_id": "09d0881d33b74711b4c145646ed6f6b9", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:31.259934Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:31.262139885Z {"request_id": "b02efa8e62fe4bc19a8685eea36571b5", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 27.913, "level": "info", "timestamp": "2026-10-11T03:09:31.261930Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:09:31.263983927Z {"request_id": "b02efa8e62fe4bc19a8685eea36571b5", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:31.262085Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:31.264055093Z {"request_id": "94d9c08b6b59443ca0991aa9ca8a30e1", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 28.641, "level": "info", "timestamp": "2026-10-11T03:09:31.263919Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:09:31.265924593Z {"request_id": "94d9c08b6b59443ca0991aa9ca8a30e1", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:31.264057Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:31.268891510Z {"request_id": "e101d3dd17c1417b80162d569394ca00", "event": "HTTP request completed", "instance_id": "81428c143e41", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 32.397, "level": "info", "timestamp": "2026-10-11T03:09:31.268734Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:09:31.270971385Z {"request_id": "e101d3dd17c1417b80162d569394ca00", "event": "Exception in ASGI application\n", "instance_id": "81428c143e41", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:31.268955Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:30.393387135Z {"request_id": "7edd1503dd6848dbbeacb29d611d01a9", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 14.795, "level": "info", "timestamp": "2026-10-11T03:09:30.393228Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:09:30.395389260Z {"request_id": "7edd1503dd6848dbbeacb29d611d01a9", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:30.393402Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:30.395466593Z {"request_id": "922cb98d7ce7479b8e58729ba9adacfe", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 16.396, "level": "info", "timestamp": "2026-10-11T03:09:30.395349Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:09:30.397336510Z {"request_id": "922cb98d7ce7479b8e58729ba9adacfe", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:30.395482Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:30.397405968Z {"request_id": "a55ff988e4b042d68e7161065763fa64", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 17.84, "level": "info", "timestamp": "2026-10-11T03:09:30.397311Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:09:30.399282635Z {"request_id": "a55ff988e4b042d68e7161065763fa64", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:30.397433Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:30.399310135Z {"request_id": "0537a34cd260404faa0128db6546e798", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 19.254, "level": "info", "timestamp": "2026-10-11T03:09:30.399187Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:09:30.401140635Z {"request_id": "0537a34cd260404faa0128db6546e798", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:30.399310Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:30.402905426Z {"request_id": "aba2d3c8e57041f7afce6ee6c3ae1d6f", "event": "HTTP request completed", "instance_id": "b80ab97340ab", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.972, "level": "info", "timestamp": "2026-10-11T03:09:30.402687Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:09:30.404977468Z {"request_id": "aba2d3c8e57041f7afce6ee6c3ae1d6f", "event": "Exception in ASGI application\n", "instance_id": "b80ab97340ab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:30.402848Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:29.541212426Z {"request_id": "7e00ce56179b46f2911abf3f67ec714d", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 27.7, "level": "info", "timestamp": "2026-10-11T03:09:29.541070Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:09:29.544163634Z {"request_id": "7e00ce56179b46f2911abf3f67ec714d", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:29.541272Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:29.570298134Z {"request_id": "1f1e7f25a33b42119f6ecac81d087a0e", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 30.981, "level": "info", "timestamp": "2026-10-11T03:09:29.570136Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:09:29.572310967Z {"request_id": "1f1e7f25a33b42119f6ecac81d087a0e", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:29.570309Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:29.591750759Z {"request_id": "318456c351da497db21dd7fa038474be", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 26.049, "level": "info", "timestamp": "2026-10-11T03:09:29.591552Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:09:29.593786592Z {"request_id": "318456c351da497db21dd7fa038474be", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:29.591712Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:29.610120842Z {"request_id": "e1e6dc65852746e788ca89d357801217", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 23.548, "level": "info", "timestamp": "2026-10-11T03:09:29.609948Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:09:29.612310467Z {"request_id": "e1e6dc65852746e788ca89d357801217", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:29.610088Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:09:29.633497134Z {"request_id": "3b4c32f803994330863da22d40e53623", "event": "HTTP request completed", "instance_id": "06f4d4fcb468", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 27.874, "level": "info", "timestamp": "2026-10-11T03:09:29.633272Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:09:29.635998801Z {"request_id": "3b4c32f803994330863da22d40e53623", "event": "Exception in ASGI application\n", "instance_id": "06f4d4fcb468", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:09:29.633454Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:09:29.545999634Z 172.31.0.9:59802 [11/Oct/2026:03:09:29.510] entry api/api-4 0/0/0/35/35 500 330 - - ---- 375/375/150/51/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMi4wMDcyMjlaIiwiaSI6IjFlODRkMjk2LTdkZjctNDk5Yi04MmIyLTBiM2Q0NTgwNzk2MiJ9 HTTP/1.1" +2026-10-11T03:09:29.573644967Z 172.31.0.9:58532 [11/Oct/2026:03:09:29.535] entry api/api-4 0/0/0/38/38 500 330 - - ---- 375/375/152/54/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMC43Mzg5NTRaIiwiaSI6IjcxMmJiMDcxLTc2YmUtNGU5MS1hMWM4LTU0ZTI1MzQ0NDQ2YiJ9 HTTP/1.1" +2026-10-11T03:09:29.595216509Z 172.31.0.9:58064 [11/Oct/2026:03:09:29.559] entry api/api-4 0/0/0/35/35 500 330 - - ---- 375/375/148/53/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozNC4yMjI2ODFaIiwiaSI6ImQ5MTJjMTBjLTBhZjctNDE0OS1iN2MyLWM4ZGRkZDE3MTYwYyJ9 HTTP/1.1" +2026-10-11T03:09:29.615337926Z 172.31.0.9:58098 [11/Oct/2026:03:09:29.583] entry api/api-4 0/0/0/32/32 500 330 - - ---- 376/375/150/53/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjoyOS45MTc2ODZaIiwiaSI6Ijk3NGJlMzY0LTkzZWItNDE3MS1hMzhkLTdhMTMxNGQwMjgzZSJ9 HTTP/1.1" +2026-10-11T03:09:29.639088926Z 172.31.0.9:58316 [11/Oct/2026:03:09:29.603] entry api/api-4 0/0/0/35/35 500 330 - - ---- 376/375/159/56/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMS44NDg0MDJaIiwiaSI6ImExOTllMWY1LTM4MmQtNGFmNy05NDZmLThmYzAwMmQ0NGYyYSJ9 HTTP/1.1" +2026-10-11T03:09:29.661817634Z 172.31.0.9:58894 [11/Oct/2026:03:09:29.626] entry api/api-4 0/0/0/35/35 500 330 - - ---- 375/375/157/54/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMy42NDY3NTlaIiwiaSI6ImVmMTA1ODJhLTdmMzYtNDNmNC04MWUxLWM3Y2RkMDk5NWNjMiJ9 HTTP/1.1" +2026-10-11T03:09:29.765631426Z 172.31.0.9:59854 [11/Oct/2026:03:09:29.652] entry api/api-4 0/0/0/113/113 500 330 - - ---- 375/375/228/89/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMi43MjIzOTJaIiwiaSI6ImMyMjAyM2ZiLWJmM2ItNDE3Yy04ZDdjLTQ3MjUyOTk5ZmJmMCJ9 HTTP/1.1" +2026-10-11T03:09:29.780318593Z 172.31.0.9:57724 [11/Oct/2026:03:09:29.714] entry api/api-1 0/0/0/65/65 500 330 - - ---- 375/375/236/34/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjoyOS44NjA3ODJaIiwiaSI6ImI4ZDM0N2E2LWMyZTctNGE2OS1hZjI0LTAyNWYyYWM2YTYzZCJ9 HTTP/1.1" +2026-10-11T03:09:29.780333884Z 172.31.0.9:57430 [11/Oct/2026:03:09:29.716] entry api/api-1 0/0/0/63/63 500 330 - - ---- 375/375/235/33/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMy41MjQ4MDBaIiwiaSI6ImNiYjk5NzdiLWZkNTEtNDI5YS1hYTU1LTMyYjBkOTA3MGY4OSJ9 HTTP/1.1" +2026-10-11T03:09:29.783489134Z 172.31.0.9:59308 [11/Oct/2026:03:09:29.675] entry api/api-4 0/0/0/108/108 500 330 - - ---- 375/375/241/90/0 0/0 "GET /api/v1/chats/321c6cc2-2608-46ac-b30f-cb6f2e6687ae/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozMjFjNmNjMi0yNjA4LTQ2YWMtYjMwZi1jYjZmMmU2Njg3YWUiLCJ0IjoiMjAyNi0xMC0xMVQwMzowNjozMi4zNjYxMzBaIiwiaSI6IjQ1NmIyZTY2LTg5MGItNGI1MC1iYzEzLTdhZDc0NTMyMjA5YyJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s03-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s03-errors.log new file mode 100644 index 00000000..cb01c918 --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s03-errors.log @@ -0,0 +1,44 @@ +# 4x1-c50-r2-a1-s03: коды ошибок окна k6 — 500:10 + +## PostgreSQL +2026-10-11T03:14:53.012951756Z 2026-10-11 03:14:53.012 UTC [460] FATAL: sorry, too many clients already +2026-10-11T03:14:53.043863089Z 2026-10-11 03:14:53.043 UTC [461] FATAL: sorry, too many clients already +2026-10-11T03:14:53.063537214Z 2026-10-11 03:14:53.063 UTC [462] FATAL: sorry, too many clients already +2026-10-11T03:14:53.087680339Z 2026-10-11 03:14:53.087 UTC [463] FATAL: sorry, too many clients already +2026-10-11T03:14:53.108244173Z 2026-10-11 03:14:53.108 UTC [464] FATAL: sorry, too many clients already +2026-10-11T03:14:54.777842299Z 2026-10-11 03:14:54.776 UTC [472] FATAL: sorry, too many clients already +2026-10-11T03:14:55.310378465Z 2026-10-11 03:14:55.310 UTC [486] FATAL: sorry, too many clients already +2026-10-11T03:14:57.227952633Z 2026-10-11 03:14:57.227 UTC [502] FATAL: sorry, too many clients already +2026-10-11T03:14:58.000512758Z 2026-10-11 03:14:58.000 UTC [515] FATAL: sorry, too many clients already +2026-10-11T03:14:58.067053842Z 2026-10-11 03:14:58.066 UTC [518] FATAL: sorry, too many clients already + +## API +2026-10-11T03:15:07.375330055Z {"request_id": "4f2e8ac9f60b472fa12ad58b277a5164", "event": "HTTP request completed", "user_id": "e9957761-7f27-4a06-bef0-55a154dca259", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 5.077, "level": "info", "timestamp": "2026-10-11T03:15:07.375188Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:14:53.018769839Z {"request_id": "c409a017874042439ce8cf8173a7d5dd", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 36.344, "level": "info", "timestamp": "2026-10-11T03:14:53.018609Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:14:53.020868631Z {"request_id": "c409a017874042439ce8cf8173a7d5dd", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:14:53.018771Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:14:53.052665423Z {"request_id": "723d90dffd26433b95f821fbd1961d31", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 28.47, "level": "info", "timestamp": "2026-10-11T03:14:53.052523Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:14:53.055538298Z {"request_id": "723d90dffd26433b95f821fbd1961d31", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:14:53.052709Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:14:53.071912673Z {"request_id": "8506687fc1ef44fc9c9427d831ff6899", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.836, "level": "info", "timestamp": "2026-10-11T03:14:53.071764Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:14:53.073953923Z {"request_id": "8506687fc1ef44fc9c9427d831ff6899", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:14:53.071946Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:14:53.097213089Z {"request_id": "eecfecac9ea44b4db4653ac3a38215b2", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 28.822, "level": "info", "timestamp": "2026-10-11T03:14:53.097016Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:14:53.099488006Z {"request_id": "eecfecac9ea44b4db4653ac3a38215b2", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:14:53.097238Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:14:53.118013839Z {"request_id": "f95f3bc36f5747d3971af3b2e8f6cad0", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 26.633, "level": "info", "timestamp": "2026-10-11T03:14:53.117890Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:14:53.120008173Z {"request_id": "f95f3bc36f5747d3971af3b2e8f6cad0", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:14:53.118038Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:14:57.283773175Z {"request_id": "96bab79a9fe841b08c1a2b8a23cb55ae", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 63.741, "level": "info", "timestamp": "2026-10-11T03:14:57.283599Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:14:57.288638133Z {"request_id": "96bab79a9fe841b08c1a2b8a23cb55ae", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:14:57.283803Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:14:57.298553300Z {"request_id": "e040d61cef23413ea03f3f804009de18", "event": "HTTP request completed", "user_id": "b27fb971-f1bb-4d11-8cc5-71718474bd82", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 80.579, "level": "info", "timestamp": "2026-10-11T03:14:57.298438Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:15:08.703458222Z {"request_id": "6a5bc9d5f65447e8b72abaf316533003", "event": "HTTP request completed", "user_id": "db873ce7-7f88-42b9-a5a5-1fe95fe30fb2", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 8.304, "level": "info", "timestamp": "2026-10-11T03:15:08.703231Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:14:54.831243965Z {"request_id": "305abc64f22746f791cf01e23fbdbc6f", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 61.003, "level": "info", "timestamp": "2026-10-11T03:14:54.831088Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:14:54.835923715Z {"request_id": "305abc64f22746f791cf01e23fbdbc6f", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:14:54.831281Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:14:53.021748798Z 172.31.0.9:57076 [11/Oct/2026:03:14:52.947] entry api/api-1 0/0/0/73/73 500 330 - - ---- 323/323/58/31/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozOS4zMjI3MTFaIiwiaSI6ImM4Mzg1ODMxLTdmYmQtNDA4Ny1iNjZjLTMwMGRiNzM4MzQ3ZSJ9 HTTP/1.1" +2026-10-11T03:14:53.057725964Z 172.31.0.9:39578 [11/Oct/2026:03:14:53.019] entry api/api-1 0/0/0/38/38 500 330 - - ---- 324/323/54/32/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozOS40OTM4MjhaIiwiaSI6IjBhNTU0YWUxLWY0MWYtNDBkNS1hZTc2LTQ2YTg1OGNjODhlYiJ9 HTTP/1.1" +2026-10-11T03:14:53.076395839Z 172.31.0.9:40620 [11/Oct/2026:03:14:53.043] entry api/api-1 0/0/0/32/32 500 330 - - ---- 323/323/48/32/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozMy4wNjA4MTNaIiwiaSI6IjM5YjFlNWE1LTk5NjktNGE2Ny1hYjUwLWViN2I1MGQ2ZDljYiJ9 HTTP/1.1" +2026-10-11T03:14:53.101354923Z 172.31.0.9:40968 [11/Oct/2026:03:14:53.065] entry api/api-1 0/0/0/35/35 500 330 - - ---- 323/323/45/32/0 0/0 "POST /api/v1/chats/b6eee5d3-7f8a-448c-b50a-80e86fe32825/messages HTTP/1.1" +2026-10-11T03:14:53.121457381Z 172.31.0.9:57640 [11/Oct/2026:03:14:53.087] entry api/api-1 0/0/0/33/33 500 330 - - ---- 323/323/29/25/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozOC41NTEyNDdaIiwiaSI6IjdmMmRlMDhjLTU2ZTMtNDk1ZC1hNWJiLTU5ZDNmODM4OGRlYiJ9 HTTP/1.1" +2026-10-11T03:14:54.839049799Z 172.31.0.9:40912 [11/Oct/2026:03:14:54.751] entry api/api-2 0/0/0/86/86 500 330 - - ---- 323/323/42/38/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozOC44NzUxMzFaIiwiaSI6ImE4ZDg3YjZiLWEzMDctNDI3YS1hYmY3LTNjMDQxNGVkMmJlYyJ9 HTTP/1.1" +2026-10-11T03:14:55.371236299Z 172.31.0.9:39980 [11/Oct/2026:03:14:55.296] entry api/api-1 0/0/0/74/74 500 330 - - ---- 323/323/39/37/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozMy41NzUzMjRaIiwiaSI6ImFjNTI4YmE0LTM1MWQtNDg0Yy04ODgyLTY2YjU2YzYzMDU3NiJ9 HTTP/1.1" +2026-10-11T03:14:57.292218716Z 172.31.0.9:41516 [11/Oct/2026:03:14:57.203] entry api/api-4 0/0/0/88/88 500 330 - - ---- 323/323/42/38/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozMi45OTk2NDJaIiwiaSI6IjE5YjZmNWM5LWJiMWEtNGI2Ny05YjhhLTUzOGNiOTAxODZhOCJ9 HTTP/1.1" +2026-10-11T03:14:58.060556133Z 172.31.0.9:41534 [11/Oct/2026:03:14:57.983] entry api/api-1 0/0/0/76/76 500 330 - - ---- 323/323/47/36/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozNy43ODA0OTBaIiwiaSI6IjllZTE2MzcwLWQyODctNDAzNy1hYmE2LTY5NmYxZGEyZjI3ZiJ9 HTTP/1.1" +2026-10-11T03:14:58.078330050Z 172.31.0.9:41274 [11/Oct/2026:03:14:58.000] entry api/api-1 0/0/0/78/78 500 330 - - ---- 323/323/39/33/0 0/0 "POST /api/v1/chats/1cfb186d-82d5-4b48-a928-e780aa6a231c/messages HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s04-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s04-errors.log new file mode 100644 index 00000000..99af3709 --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s04-errors.log @@ -0,0 +1,67 @@ +# 4x1-c50-r2-a1-s04: коды ошибок окна k6 — 500:4514 503:5 + +## PostgreSQL +2026-10-11T03:15:17.697521795Z 2026-10-11 03:15:17.697 UTC [793] FATAL: sorry, too many clients already +2026-10-11T03:15:17.720211587Z 2026-10-11 03:15:17.719 UTC [794] FATAL: sorry, too many clients already +2026-10-11T03:15:17.739908628Z 2026-10-11 03:15:17.739 UTC [795] FATAL: sorry, too many clients already +2026-10-11T03:15:17.745363420Z 2026-10-11 03:15:17.744 UTC [796] FATAL: sorry, too many clients already +2026-10-11T03:15:17.745371253Z 2026-10-11 03:15:17.744 UTC [798] FATAL: sorry, too many clients already +2026-10-11T03:15:17.745371962Z 2026-10-11 03:15:17.744 UTC [799] FATAL: sorry, too many clients already +2026-10-11T03:15:17.745489253Z 2026-10-11 03:15:17.745 UTC [800] FATAL: sorry, too many clients already +2026-10-11T03:15:17.745741545Z 2026-10-11 03:15:17.745 UTC [797] FATAL: sorry, too many clients already +2026-10-11T03:15:17.763404503Z 2026-10-11 03:15:17.762 UTC [801] FATAL: sorry, too many clients already +2026-10-11T03:15:17.779980503Z 2026-10-11 03:15:17.779 UTC [805] FATAL: sorry, too many clients already + +## API +2026-10-11T03:15:19.980016213Z {"request_id": "e4d2a96b14914023970f4bc810df3c6d", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 6.846, "level": "info", "timestamp": "2026-10-11T03:15:19.979823Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:15:19.982050671Z {"request_id": "e4d2a96b14914023970f4bc810df3c6d", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:19.980007Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:19.982113838Z {"request_id": "e4edf0af42cb445a8cf80de49c7735f9", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 10.281, "level": "info", "timestamp": "2026-10-11T03:15:19.982018Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:15:19.983997005Z {"request_id": "e4edf0af42cb445a8cf80de49c7735f9", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:19.982155Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:19.984029755Z {"request_id": "8fcfcc0d8ebc4ae78e34c46ba3594272", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 11.504, "level": "info", "timestamp": "2026-10-11T03:15:19.983934Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:15:19.985858713Z {"request_id": "8fcfcc0d8ebc4ae78e34c46ba3594272", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:19.984049Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:19.989678130Z {"request_id": "8e1e23bf60e347b0acce14db64b7cf38", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 15.803, "level": "info", "timestamp": "2026-10-11T03:15:19.989560Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:15:19.992021796Z {"request_id": "8e1e23bf60e347b0acce14db64b7cf38", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:19.989699Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:19.995023380Z {"request_id": "665d570ae8bd4a119c3a32f3bc6c895a", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 19.9, "level": "info", "timestamp": "2026-10-11T03:15:19.994883Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:15:19.996973713Z {"request_id": "665d570ae8bd4a119c3a32f3bc6c895a", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:19.995033Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:18.385139254Z {"request_id": "a1c5e420359a422195ec4f1158650498", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 11.001, "level": "info", "timestamp": "2026-10-11T03:15:18.384913Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:15:18.387137712Z {"request_id": "a1c5e420359a422195ec4f1158650498", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:18.385108Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:18.388751837Z {"request_id": "fbfa92825b0a4d2ead61ac05c6652aba", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 14.182, "level": "info", "timestamp": "2026-10-11T03:15:18.388605Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:15:18.390747670Z {"request_id": "fbfa92825b0a4d2ead61ac05c6652aba", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:18.388780Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:18.390831504Z {"request_id": "6657ed9e29c742d382d21860697f7773", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 17.278, "level": "info", "timestamp": "2026-10-11T03:15:18.390697Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:15:18.392607795Z {"request_id": "6657ed9e29c742d382d21860697f7773", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:18.390825Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:18.395293420Z {"request_id": "ed9e4a0cb35e4f2e8e01f4aa091bf160", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 22.995, "level": "info", "timestamp": "2026-10-11T03:15:18.395167Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:15:18.397321879Z {"request_id": "ed9e4a0cb35e4f2e8e01f4aa091bf160", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:18.395318Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:18.397341254Z {"request_id": "b56f3e2e5a654b359ea6f9084783d3c8", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.367, "level": "info", "timestamp": "2026-10-11T03:15:18.397208Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:15:18.399179337Z {"request_id": "b56f3e2e5a654b359ea6f9084783d3c8", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:18.397332Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:17.750984545Z {"request_id": "bc490c3225b94d529cd070f6dcf63896", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 14.312, "level": "info", "timestamp": "2026-10-11T03:15:17.750807Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:15:17.753083837Z {"request_id": "bc490c3225b94d529cd070f6dcf63896", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:17.751022Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:17.753129753Z {"request_id": "5710c97b5ce74336bd8be40d8fd9095d", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 15.218, "level": "info", "timestamp": "2026-10-11T03:15:17.752995Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:15:17.754993962Z {"request_id": "5710c97b5ce74336bd8be40d8fd9095d", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:17.753140Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:17.755074087Z {"request_id": "9e8d3d491c154c7dbc47736b186c6d56", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 16.694, "level": "info", "timestamp": "2026-10-11T03:15:17.754962Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:15:17.756922253Z {"request_id": "9e8d3d491c154c7dbc47736b186c6d56", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:17.755117Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:17.759624628Z {"request_id": "fef9e2b24f8249dabe0452f21536fb5d", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 20.688, "level": "info", "timestamp": "2026-10-11T03:15:17.759476Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:15:17.761530670Z {"request_id": "fef9e2b24f8249dabe0452f21536fb5d", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:17.759646Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:17.761624378Z {"request_id": "2154071d569749e8a22f304b18ed9b9a", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.357, "level": "info", "timestamp": "2026-10-11T03:15:17.761523Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:15:17.763499170Z {"request_id": "2154071d569749e8a22f304b18ed9b9a", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:17.761654Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:17.704333712Z {"request_id": "4ea0988d357a4baf86543bfabd7daf1c", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 19.275, "level": "info", "timestamp": "2026-10-11T03:15:17.704149Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:15:17.706418878Z {"request_id": "4ea0988d357a4baf86543bfabd7daf1c", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:17.704355Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:17.727880212Z {"request_id": "2037a798e6714a6aae5446145bcffd77", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.679, "level": "info", "timestamp": "2026-10-11T03:15:17.727719Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:15:17.729891545Z {"request_id": "2037a798e6714a6aae5446145bcffd77", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:17.727931Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:17.751012795Z {"request_id": "5482bd82a0fd4cb29d9d4b60818d47b5", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 26.415, "level": "info", "timestamp": "2026-10-11T03:15:17.750869Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:15:17.753033712Z {"request_id": "5482bd82a0fd4cb29d9d4b60818d47b5", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:17.751048Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:17.769008545Z {"request_id": "9fbd5190603045b7920ce6e53a9b487a", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.737, "level": "info", "timestamp": "2026-10-11T03:15:17.768836Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:15:17.770990753Z {"request_id": "9fbd5190603045b7920ce6e53a9b487a", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:17.769005Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:15:17.799812254Z {"request_id": "80a57eeb83c84c47bc29933dea9438b6", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 32.471, "level": "info", "timestamp": "2026-10-11T03:15:17.799680Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:15:17.802354379Z {"request_id": "80a57eeb83c84c47bc29933dea9438b6", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:15:17.799813Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:15:17.694338003Z 172.31.0.9:36656 [11/Oct/2026:03:15:17.661] entry api/api-2 0/0/0/32/32 500 330 - - ---- 395/395/84/51/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozOC4zNzMzNzJaIiwiaSI6ImJiMDM3MDE4LWIyNjQtNDY3YS1iMTljLTJhNDA0ZWVlMDliZCJ9 HTTP/1.1" +2026-10-11T03:15:17.708762295Z 172.31.0.9:39008 [11/Oct/2026:03:15:17.679] entry api/api-2 0/0/0/29/29 500 330 - - ---- 395/395/94/53/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozNS4xODc0NzlaIiwiaSI6IjExY2I3NjJiLTE3YTItNGY4OC04YzY1LTlkOGI1NmYxNmQxYyJ9 HTTP/1.1" +2026-10-11T03:15:17.731909170Z 172.31.0.9:37510 [11/Oct/2026:03:15:17.699] entry api/api-2 0/0/0/32/32 500 330 - - ---- 395/395/99/49/0 0/0 "POST /api/v1/chats/3708001b-e639-4109-9322-c2dac2b26fbb/messages HTTP/1.1" +2026-10-11T03:15:17.755905212Z 172.31.0.9:36902 [11/Oct/2026:03:15:17.721] entry api/api-2 0/0/0/34/34 500 330 - - ---- 395/395/103/50/0 0/0 "POST /api/v1/chats/f0db05c5-ec47-45b9-8d5e-da2119f39439/messages HTTP/1.1" +2026-10-11T03:15:17.759315003Z 172.31.0.9:38158 [11/Oct/2026:03:15:17.708] entry api/api-4 0/0/0/51/51 500 330 - - ---- 395/395/108/31/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozOC44MTU3NzFaIiwiaSI6ImZhYjQxMGMyLTZmMjQtNDIxNi05MGNjLTdmYjUwYTdlMjZlNCJ9 HTTP/1.1" +2026-10-11T03:15:17.759325295Z 172.31.0.9:36702 [11/Oct/2026:03:15:17.716] entry api/api-4 0/0/0/43/43 500 330 - - ---- 395/395/107/30/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozNC44OTU5ODdaIiwiaSI6IjQ3ZGE0MDNhLWRkOWYtNGUzZS1iYzYxLWJkNzBmZjViNmVhMSJ9 HTTP/1.1" +2026-10-11T03:15:17.759325962Z 172.31.0.9:37652 [11/Oct/2026:03:15:17.712] entry api/api-4 0/0/0/46/46 500 330 - - ---- 395/395/106/29/0 0/0 "POST /api/v1/chats/f0db05c5-ec47-45b9-8d5e-da2119f39439/messages HTTP/1.1" +2026-10-11T03:15:17.768529045Z 172.31.0.9:37350 [11/Oct/2026:03:15:17.710] entry api/api-4 0/0/0/57/57 500 330 - - ---- 395/395/114/32/0 0/0 "POST /api/v1/chats/f0db05c5-ec47-45b9-8d5e-da2119f39439/messages HTTP/1.1" +2026-10-11T03:15:17.768545045Z 172.31.0.9:38816 [11/Oct/2026:03:15:17.717] entry api/api-4 0/0/0/50/50 500 330 - - ---- 395/395/111/30/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T03:15:17.773776378Z 172.31.0.9:37422 [11/Oct/2026:03:15:17.740] entry api/api-2 0/0/0/33/33 500 330 - - ---- 395/395/112/51/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozMy4yMzQ4MzNaIiwiaSI6IjAxMjVmNDBhLWExNmItNGQ4YS05ZTRlLTFhZDI0NWQ1ZGZjZiJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s05-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s05-errors.log new file mode 100644 index 00000000..8a1d49bb --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s05-errors.log @@ -0,0 +1,67 @@ +# 4x1-c50-r2-a1-s05: коды ошибок окна k6 — 500:744 + +## PostgreSQL +2026-10-11T03:16:06.299931221Z 2026-10-11 03:16:06.299 UTC [5542] FATAL: sorry, too many clients already +2026-10-11T03:16:06.395308929Z 2026-10-11 03:16:06.395 UTC [5546] FATAL: sorry, too many clients already +2026-10-11T03:16:06.467891971Z 2026-10-11 03:16:06.467 UTC [5550] FATAL: sorry, too many clients already +2026-10-11T03:16:06.490515637Z 2026-10-11 03:16:06.489 UTC [5551] FATAL: sorry, too many clients already +2026-10-11T03:16:06.506467429Z 2026-10-11 03:16:06.506 UTC [5552] FATAL: sorry, too many clients already +2026-10-11T03:16:06.523608346Z 2026-10-11 03:16:06.522 UTC [5553] FATAL: sorry, too many clients already +2026-10-11T03:16:06.545191137Z 2026-10-11 03:16:06.544 UTC [5554] FATAL: sorry, too many clients already +2026-10-11T03:16:06.564152762Z 2026-10-11 03:16:06.564 UTC [5555] FATAL: sorry, too many clients already +2026-10-11T03:16:06.584325762Z 2026-10-11 03:16:06.584 UTC [5556] FATAL: sorry, too many clients already +2026-10-11T03:16:06.611197387Z 2026-10-11 03:16:06.611 UTC [5557] FATAL: sorry, too many clients already + +## API +2026-10-11T03:16:08.073395347Z {"request_id": "eb98c0cfd2d643719f90d023a0f7556c", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 64.036, "level": "info", "timestamp": "2026-10-11T03:16:08.073217Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:16:08.075401597Z {"request_id": "eb98c0cfd2d643719f90d023a0f7556c", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:08.073393Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:08.088787388Z {"request_id": "ed85569edff04d7d9affbfb4452dc92c", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 27.327, "level": "info", "timestamp": "2026-10-11T03:16:08.088607Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:16:08.090675763Z {"request_id": "ed85569edff04d7d9affbfb4452dc92c", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:08.088762Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:08.112712597Z {"request_id": "72d29f31e85a42cab18fd8ea54b10f9d", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.725, "level": "info", "timestamp": "2026-10-11T03:16:08.112529Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:16:08.114803513Z {"request_id": "72d29f31e85a42cab18fd8ea54b10f9d", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:08.112734Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:08.140860513Z {"request_id": "3f75570634204427b0c0ca487fb69d59", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 25.292, "level": "info", "timestamp": "2026-10-11T03:16:08.140687Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:16:08.142837263Z {"request_id": "3f75570634204427b0c0ca487fb69d59", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:08.140855Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:08.166202388Z {"request_id": "9ddae5df0d364ae7b9c1b52d3c4aa6a9", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 26.305, "level": "info", "timestamp": "2026-10-11T03:16:08.165993Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:16:08.168770013Z {"request_id": "9ddae5df0d364ae7b9c1b52d3c4aa6a9", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:08.166146Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:06.451579262Z {"request_id": "e94b40edc12b433091c9c6db425d10a6", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 62.121, "level": "info", "timestamp": "2026-10-11T03:16:06.451428Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:16:06.453845012Z {"request_id": "e94b40edc12b433091c9c6db425d10a6", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:06.451625Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:06.474567262Z {"request_id": "2abe1a8b8dbf43979c5831e879ad78f3", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 65.683, "level": "info", "timestamp": "2026-10-11T03:16:06.474478Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:16:06.476768012Z {"request_id": "2abe1a8b8dbf43979c5831e879ad78f3", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:06.474621Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:06.497185887Z {"request_id": "5cb2115bb1a349319dfcaeeca7e66467", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 23.464, "level": "info", "timestamp": "2026-10-11T03:16:06.497107Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:16:06.499339054Z {"request_id": "5cb2115bb1a349319dfcaeeca7e66467", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:06.497240Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:06.515047304Z {"request_id": "034f0b8fe1d44a8688f46cfc9c5a545c", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 22.687, "level": "info", "timestamp": "2026-10-11T03:16:06.514863Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:16:06.517201679Z {"request_id": "034f0b8fe1d44a8688f46cfc9c5a545c", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:06.515038Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:06.527192929Z {"request_id": "d1a82d2d56ab42b68b673e2e9a3ea102", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 18.926, "level": "info", "timestamp": "2026-10-11T03:16:06.526975Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:16:06.529203221Z {"request_id": "d1a82d2d56ab42b68b673e2e9a3ea102", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:06.527135Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:06.359909262Z {"request_id": "3efc6ae025c641cc9df856767133676e", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 78.526, "level": "info", "timestamp": "2026-10-11T03:16:06.359731Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:16:06.363580721Z {"request_id": "3efc6ae025c641cc9df856767133676e", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:06.359934Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:15.553300752Z {"request_id": "714d1655762f441c862fd1eb9de48a1a", "event": "HTTP request completed", "user_id": "ff534909-32bd-4580-8d0c-7cb68d1b8e95", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 2.369, "level": "info", "timestamp": "2026-10-11T03:16:15.553190Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:16:15.739954503Z {"request_id": "1e2bb3d223804315a59b45b323442cba", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 10.878, "level": "info", "timestamp": "2026-10-11T03:16:15.739696Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:16:15.741891794Z {"request_id": "1e2bb3d223804315a59b45b323442cba", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:15.739879Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:15.745175919Z {"request_id": "dc7894873c25400394df4af9cf11e2ab", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 18.578, "level": "info", "timestamp": "2026-10-11T03:16:15.744959Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:16:15.747239253Z {"request_id": "dc7894873c25400394df4af9cf11e2ab", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:15.745189Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:15.747291461Z {"request_id": "d65f304f76434c07ae734b139a61e025", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 19.6, "level": "info", "timestamp": "2026-10-11T03:16:15.747190Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:16:15.749230794Z {"request_id": "d65f304f76434c07ae734b139a61e025", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:15.747372Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:15.749289169Z {"request_id": "822d8b0d7f984fa8be3c37c082c79475", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 22.083, "level": "info", "timestamp": "2026-10-11T03:16:15.749161Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:16:14.287534960Z {"request_id": "3408991483bf41459cdd1fa722380135", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 54.947, "level": "info", "timestamp": "2026-10-11T03:16:14.287392Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:16:14.289777043Z {"request_id": "3408991483bf41459cdd1fa722380135", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:14.287579Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:14.308150210Z {"request_id": "58a76291deca413b9d24b958c95d7f3c", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 30.286, "level": "info", "timestamp": "2026-10-11T03:16:14.307982Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:16:14.310250294Z {"request_id": "58a76291deca413b9d24b958c95d7f3c", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:14.308192Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:14.326390835Z {"request_id": "a240f8050f0e4c7e947c6bac1e1972d6", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 27.108, "level": "info", "timestamp": "2026-10-11T03:16:14.326282Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:16:14.328333294Z {"request_id": "a240f8050f0e4c7e947c6bac1e1972d6", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:14.326416Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:14.339899752Z {"request_id": "876b224e205f4974ae5ea0d8727f99f5", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 18.892, "level": "info", "timestamp": "2026-10-11T03:16:14.339780Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:16:14.341947085Z {"request_id": "876b224e205f4974ae5ea0d8727f99f5", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:14.339924Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:14.359705960Z {"request_id": "d2537b4756ee4821b0dcec9dd4b3ef71", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.1, "level": "info", "timestamp": "2026-10-11T03:16:14.359526Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:16:14.361630085Z {"request_id": "d2537b4756ee4821b0dcec9dd4b3ef71", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:14.359693Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:16:06.366003054Z 172.31.0.9:34096 [11/Oct/2026:03:16:06.249] entry api/api-4 0/0/0/116/116 500 330 - - ---- 356/356/67/54/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozNy4wMTg4MzhaIiwiaSI6IjMzZmVhMTAyLWE2ODYtNDZmNy05MGQ3LTBhMDkxOWIzMzQ4YSJ9 HTTP/1.1" +2026-10-11T03:16:06.459326679Z 172.31.0.9:32774 [11/Oct/2026:03:16:06.368] entry api/api-1 0/0/0/90/90 500 330 - - ---- 357/356/97/44/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozMy4yMzQ4MzNaIiwiaSI6IjAxMjVmNDBhLWExNmItNGQ4YS05ZTRlLTFhZDI0NWQ1ZGZjZiJ9 HTTP/1.1" +2026-10-11T03:16:06.477205179Z 172.31.0.9:33874 [11/Oct/2026:03:16:06.395] entry api/api-1 0/0/0/81/81 500 330 - - ---- 356/356/94/44/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozNC4wMDY5MDlaIiwiaSI6ImEwZjIwNmE3LTVlYjItNDJhZC1hYjY5LTBkZjg1MGU0NTdhMiJ9 HTTP/1.1" +2026-10-11T03:16:06.501342679Z 172.31.0.9:33940 [11/Oct/2026:03:16:06.471] entry api/api-1 0/0/0/29/29 500 330 - - ---- 356/356/86/41/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozNC44MzA4OTFaIiwiaSI6ImI4MDRhYzUyLWEwNDEtNDQ3YS04NzIwLTU1NDZlOTI0ZGMzOSJ9 HTTP/1.1" +2026-10-11T03:16:06.519020804Z 172.31.0.9:33712 [11/Oct/2026:03:16:06.489] entry api/api-1 0/0/0/29/29 500 330 - - ---- 356/356/84/41/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T03:16:06.531484721Z 172.31.0.9:34638 [11/Oct/2026:03:16:06.505] entry api/api-1 0/0/0/25/25 500 330 - - ---- 356/356/81/38/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozNi4zNDc3MDhaIiwiaSI6IjY3ODJiMzIxLTQyNzYtNGExNi1hMmY3LTYwODU3MDZiYjM3MyJ9 HTTP/1.1" +2026-10-11T03:16:06.557164137Z 172.31.0.9:32936 [11/Oct/2026:03:16:06.525] entry api/api-1 0/0/0/31/31 500 330 - - ---- 356/356/77/37/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T03:16:06.578979096Z 172.31.0.9:32832 [11/Oct/2026:03:16:06.547] entry api/api-1 0/0/0/30/30 500 330 - - ---- 356/356/72/38/0 0/0 "POST /api/v1/chats/86d09894-f2e8-4370-9039-1fc563e6310a/messages HTTP/1.1" +2026-10-11T03:16:06.593436054Z 172.31.0.9:34304 [11/Oct/2026:03:16:06.565] entry api/api-1 0/0/0/28/28 500 330 - - ---- 356/356/71/35/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozNy43ODA0OTBaIiwiaSI6IjllZTE2MzcwLWQyODctNDAzNy1hYmE2LTY5NmYxZGEyZjI3ZiJ9 HTTP/1.1" +2026-10-11T03:16:06.620715471Z 172.31.0.9:34188 [11/Oct/2026:03:16:06.592] entry api/api-1 0/0/0/28/28 500 330 - - ---- 356/356/63/32/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozMy41NzUzMjRaIiwiaSI6ImFjNTI4YmE0LTM1MWQtNDg0Yy04ODgyLTY2YjU2YzYzMDU3NiJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s06-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s06-errors.log new file mode 100644 index 00000000..1ac0890f --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r2-a1-s06-errors.log @@ -0,0 +1,67 @@ +# 4x1-c50-r2-a1-s06: коды ошибок окна k6 — 500:168 + +## PostgreSQL +2026-10-11T03:16:54.223217382Z 2026-10-11 03:16:54.223 UTC [6630] FATAL: sorry, too many clients already +2026-10-11T03:16:54.225456798Z 2026-10-11 03:16:54.225 UTC [6629] FATAL: sorry, too many clients already +2026-10-11T03:16:54.238658798Z 2026-10-11 03:16:54.238 UTC [6633] FATAL: sorry, too many clients already +2026-10-11T03:16:54.239590173Z 2026-10-11 03:16:54.239 UTC [6634] FATAL: sorry, too many clients already +2026-10-11T03:16:54.240688423Z 2026-10-11 03:16:54.240 UTC [6632] FATAL: sorry, too many clients already +2026-10-11T03:16:54.248665423Z 2026-10-11 03:16:54.248 UTC [6635] FATAL: sorry, too many clients already +2026-10-11T03:16:54.248694965Z 2026-10-11 03:16:54.248 UTC [6636] FATAL: sorry, too many clients already +2026-10-11T03:16:54.262659048Z 2026-10-11 03:16:54.262 UTC [6637] FATAL: sorry, too many clients already +2026-10-11T03:16:54.269039840Z 2026-10-11 03:16:54.268 UTC [6638] FATAL: sorry, too many clients already +2026-10-11T03:16:54.272340673Z 2026-10-11 03:16:54.271 UTC [6639] FATAL: sorry, too many clients already + +## API +2026-10-11T03:16:56.926353300Z {"request_id": "9581463a39b147a7bdd49a7021446fde", "event": "HTTP request completed", "user_id": "b27fb971-f1bb-4d11-8cc5-71718474bd82", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 2.168, "level": "info", "timestamp": "2026-10-11T03:16:56.926228Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:16:58.793353300Z {"request_id": "b4108ef0b1754bf695ea6705eeafc102", "event": "HTTP request completed", "user_id": "b27fb971-f1bb-4d11-8cc5-71718474bd82", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 2.702, "level": "info", "timestamp": "2026-10-11T03:16:58.793215Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:17:00.016295093Z {"request_id": "9b7e97df44664948bb9afd54f39d5ba4", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 62.126, "level": "info", "timestamp": "2026-10-11T03:17:00.016134Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:17:00.018648968Z {"request_id": "9b7e97df44664948bb9afd54f39d5ba4", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:17:00.016360Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:17:02.372415969Z {"request_id": "927a7636376f4ca7a01a5d1eaaab4966", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 10.359, "level": "info", "timestamp": "2026-10-11T03:17:02.372236Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:17:02.374405094Z {"request_id": "927a7636376f4ca7a01a5d1eaaab4966", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:17:02.372425Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:17:02.374460052Z {"request_id": "510777e7aba043d89a283731425cde3a", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 11.474, "level": "info", "timestamp": "2026-10-11T03:17:02.374361Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:17:02.376246385Z {"request_id": "510777e7aba043d89a283731425cde3a", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:17:02.374477Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:17:02.378716427Z {"request_id": "e4eb62cc7b08431c92d20054af462150", "event": "HTTP request completed", "instance_id": "8c0dd3900beb", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 17.846, "level": "info", "timestamp": "2026-10-11T03:17:02.378545Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} +2026-10-11T03:17:02.380557260Z {"request_id": "e4eb62cc7b08431c92d20054af462150", "event": "Exception in ASGI application\n", "instance_id": "8c0dd3900beb", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:17:02.378685Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:54.264483632Z {"request_id": "142b509e02d54481b4142c3aeedda89b", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 60.179, "level": "info", "timestamp": "2026-10-11T03:16:54.264346Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:16:54.266805882Z {"request_id": "142b509e02d54481b4142c3aeedda89b", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:54.264532Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:54.279619757Z {"request_id": "566f2c137933433cb3b76ccffe9edda5", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 42.02, "level": "info", "timestamp": "2026-10-11T03:16:54.279456Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:16:54.281779840Z {"request_id": "566f2c137933433cb3b76ccffe9edda5", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:54.279645Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:54.291100048Z {"request_id": "11e5d7efb18e438b9018b23222a43fff", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 34.902, "level": "info", "timestamp": "2026-10-11T03:16:54.290973Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:16:54.293349548Z {"request_id": "11e5d7efb18e438b9018b23222a43fff", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:54.291115Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:54.298478132Z {"request_id": "275b1a477ce2465ca5b6315e317559a0", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 28.22, "level": "info", "timestamp": "2026-10-11T03:16:54.298321Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:16:54.300591007Z {"request_id": "275b1a477ce2465ca5b6315e317559a0", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:54.298526Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:54.314753215Z {"request_id": "b8292d1e2c894cabb979f9eee1b3cf9a", "event": "HTTP request completed", "instance_id": "84889e30feab", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 27.229, "level": "info", "timestamp": "2026-10-11T03:16:54.314607Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:16:54.316911132Z {"request_id": "b8292d1e2c894cabb979f9eee1b3cf9a", "event": "Exception in ASGI application\n", "instance_id": "84889e30feab", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:54.314760Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:17:00.262961426Z {"request_id": "ecd92c97385248098b8e3bdcef0dca43", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 10.336, "level": "info", "timestamp": "2026-10-11T03:17:00.262769Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:17:00.265418801Z {"request_id": "ecd92c97385248098b8e3bdcef0dca43", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:17:00.262990Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:17:00.268708759Z {"request_id": "93c2156f50784744ae544d1c7f2617ea", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 14.839, "level": "info", "timestamp": "2026-10-11T03:17:00.268545Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:17:00.270777843Z {"request_id": "93c2156f50784744ae544d1c7f2617ea", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:17:00.268738Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:17:00.270867593Z {"request_id": "951b8c89654c4b109dcf0ae2e7610715", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 16.547, "level": "info", "timestamp": "2026-10-11T03:17:00.270761Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:17:00.272880134Z {"request_id": "951b8c89654c4b109dcf0ae2e7610715", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:17:00.270915Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:17:00.272949176Z {"request_id": "76810c24fb854074a1946719575cdf39", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 19.702, "level": "info", "timestamp": "2026-10-11T03:17:00.272814Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:17:00.274831926Z {"request_id": "76810c24fb854074a1946719575cdf39", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:17:00.272951Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:17:00.274885259Z {"request_id": "4fb7f3ca34b243c2892b1b47268c78d2", "event": "HTTP request completed", "instance_id": "1af642cf05ee", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 20.105, "level": "info", "timestamp": "2026-10-11T03:17:00.274777Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:17:00.276793009Z {"request_id": "4fb7f3ca34b243c2892b1b47268c78d2", "event": "Exception in ASGI application\n", "instance_id": "1af642cf05ee", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:17:00.274904Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:54.233269590Z {"request_id": "ccc25d9fb9e9417896adf7c08405d25d", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 36.73, "level": "info", "timestamp": "2026-10-11T03:16:54.233174Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:16:54.235319923Z {"request_id": "ccc25d9fb9e9417896adf7c08405d25d", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:54.233313Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:54.235407007Z {"request_id": "50a831e067c24247b873e08c5edd634f", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 36.515, "level": "info", "timestamp": "2026-10-11T03:16:54.235279Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:16:54.237235715Z {"request_id": "50a831e067c24247b873e08c5edd634f", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:54.235408Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:54.248791923Z {"request_id": "403765e29102461ba52a1850822cdccf", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 29.817, "level": "info", "timestamp": "2026-10-11T03:16:54.248642Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:16:54.250850173Z {"request_id": "403765e29102461ba52a1850822cdccf", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:54.248779Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:54.254641757Z {"request_id": "65d676b0f7c54b4188b6c405d46a40a1", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 34.838, "level": "info", "timestamp": "2026-10-11T03:16:54.254473Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:16:54.256644257Z {"request_id": "65d676b0f7c54b4188b6c405d46a40a1", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:54.254659Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:16:54.262758048Z {"request_id": "9320f625171947e38dc0d8529787b571", "event": "HTTP request completed", "instance_id": "f3ce3b87f051", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 33.94, "level": "info", "timestamp": "2026-10-11T03:16:54.262600Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:16:54.264771215Z {"request_id": "9320f625171947e38dc0d8529787b571", "event": "Exception in ASGI application\n", "instance_id": "f3ce3b87f051", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:16:54.262787Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:16:54.238642382Z 172.31.0.9:36704 [11/Oct/2026:03:16:54.196] entry api/api-2 0/0/0/42/42 500 330 - - ---- 339/339/66/17/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozNS43Njc2MTJaIiwiaSI6ImZhYmUyM2Y1LTYyZDEtNGMzMS04ZDFkLTUwZDMwNGU5ZTU0MCJ9 HTTP/1.1" +2026-10-11T03:16:54.239576257Z 172.31.0.9:38298 [11/Oct/2026:03:16:54.194] entry api/api-2 0/0/0/45/45 500 330 - - ---- 339/339/65/17/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozOC4wOTI2MTNaIiwiaSI6IjFmZjQ2Y2U0LTc0MWUtNDY3My1hZTEzLWY5NThhNWYwZmEwZiJ9 HTTP/1.1" +2026-10-11T03:16:54.254382882Z 172.31.0.9:36450 [11/Oct/2026:03:16:54.204] entry api/api-2 0/0/0/49/49 500 330 - - ---- 339/339/73/20/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozOC42MTgwMjhaIiwiaSI6IjdjY2YwODExLWIxYjItNGUwMy1iNzRjLWE2YTIyNmQyNjJjMiJ9 HTTP/1.1" +2026-10-11T03:16:54.259002423Z 172.31.0.9:38278 [11/Oct/2026:03:16:54.207] entry api/api-2 0/0/0/51/51 500 330 - - ---- 339/339/71/20/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T03:16:54.267088840Z 172.31.0.9:36744 [11/Oct/2026:03:16:54.225] entry api/api-2 0/0/0/41/41 500 330 - - ---- 339/339/73/20/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozMy44MzQ3ODlaIiwiaSI6ImJkZDAzMmViLTFkZjUtNGJiYy05NWU0LTNkNmQyOTBkMTNiZiJ9 HTTP/1.1" +2026-10-11T03:16:54.269284882Z 172.31.0.9:37116 [11/Oct/2026:03:16:54.201] entry api/api-1 0/0/0/67/67 500 330 - - ---- 339/339/71/29/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozNy44NTYyOTVaIiwiaSI6ImRjNjI2NDBjLTVhOTktNDBjMy05ZmY1LTIxM2NjODQ4ODI5MiJ9 HTTP/1.1" +2026-10-11T03:16:54.271683965Z 172.31.0.9:36248 [11/Oct/2026:03:16:54.227] entry api/api-2 0/0/0/43/43 500 330 - - ---- 339/339/72/20/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozOS4xMDAxMjdaIiwiaSI6IjYxZDY1NDI4LTc5ZmMtNDYzZC1hZWM1LTJlNTdkNWMzYjM3NyJ9 HTTP/1.1" +2026-10-11T03:16:54.280960923Z 172.31.0.9:38080 [11/Oct/2026:03:16:54.234] entry api/api-2 0/0/0/46/46 500 330 - - ---- 339/339/66/18/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T03:16:54.284393923Z 172.31.0.9:38688 [11/Oct/2026:03:16:54.220] entry api/api-1 0/0/0/63/63 500 330 - - ---- 339/339/65/27/0 0/0 "GET /api/v1/chats/2c6ee1ba-b8e6-43d3-ba54-38fedc229668/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDoyYzZlZTFiYS1iOGU2LTQzZDMtYmE1NC0zOGZlZGMyMjk2NjgiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxMzozNC40MTkyNzRaIiwiaSI6IjYzMGNjOTUwLTNmNmQtNDYwNi04M2QxLTVmNWZiMzc5NTRmNiJ9 HTTP/1.1" +2026-10-11T03:16:54.285595132Z 172.31.0.9:36528 [11/Oct/2026:03:16:54.240] entry api/api-2 0/0/0/45/45 500 330 - - ---- 339/339/62/18/0 0/0 "POST /api/v1/chats/a44d0ce2-f829-4a49-8437-457e9a76ee5c/messages HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s03-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s03-errors.log new file mode 100644 index 00000000..76f6fc35 --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s03-errors.log @@ -0,0 +1,67 @@ +# 4x1-c50-r3-a1-s03: коды ошибок окна k6 — 500:200 + +## PostgreSQL +2026-10-11T03:23:03.078325552Z 2026-10-11 03:23:03.078 UTC [441] FATAL: sorry, too many clients already +2026-10-11T03:23:03.156103677Z 2026-10-11 03:23:03.155 UTC [443] FATAL: sorry, too many clients already +2026-10-11T03:23:03.178399844Z 2026-10-11 03:23:03.178 UTC [444] FATAL: sorry, too many clients already +2026-10-11T03:23:03.201668261Z 2026-10-11 03:23:03.201 UTC [445] FATAL: sorry, too many clients already +2026-10-11T03:23:05.411169595Z 2026-10-11 03:23:05.410 UTC [466] FATAL: sorry, too many clients already +2026-10-11T03:23:05.483293720Z 2026-10-11 03:23:05.483 UTC [467] FATAL: sorry, too many clients already +2026-10-11T03:23:05.503620595Z 2026-10-11 03:23:05.503 UTC [468] FATAL: sorry, too many clients already +2026-10-11T03:23:05.526783512Z 2026-10-11 03:23:05.526 UTC [469] FATAL: sorry, too many clients already +2026-10-11T03:23:05.545217554Z 2026-10-11 03:23:05.545 UTC [470] FATAL: sorry, too many clients already +2026-10-11T03:23:05.562733345Z 2026-10-11 03:23:05.562 UTC [471] FATAL: sorry, too many clients already + +## API +2026-10-11T03:23:03.137934552Z {"request_id": "b7d573e9765a4a07903f9a388ebbae4a", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 65.773, "level": "info", "timestamp": "2026-10-11T03:23:03.137804Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:23:03.144529719Z {"request_id": "b7d573e9765a4a07903f9a388ebbae4a", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:03.138020Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:03.163049302Z {"request_id": "a231a142fc07489cb86dcf6fc7b3be3e", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 35.318, "level": "info", "timestamp": "2026-10-11T03:23:03.162849Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:23:03.165034094Z {"request_id": "a231a142fc07489cb86dcf6fc7b3be3e", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:03.162995Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:03.192188636Z {"request_id": "d9f5b7043d664afd90e6029b28f6cf71", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 26.282, "level": "info", "timestamp": "2026-10-11T03:23:03.191998Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:23:03.194277302Z {"request_id": "d9f5b7043d664afd90e6029b28f6cf71", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:03.192186Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:03.209626886Z {"request_id": "3a529752aa58474b93599c72ead35032", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 27.362, "level": "info", "timestamp": "2026-10-11T03:23:03.209494Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:23:03.211828469Z {"request_id": "3a529752aa58474b93599c72ead35032", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:03.209651Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:07.413006846Z {"request_id": "156bab18d4664feeb1f32fd88452598d", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 63.522, "level": "info", "timestamp": "2026-10-11T03:23:07.412825Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:23:07.415094346Z {"request_id": "156bab18d4664feeb1f32fd88452598d", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:07.413028Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:04.533008511Z {"request_id": "10e3b34055f04a2e8d33b917374beb6a", "event": "HTTP request completed", "user_id": "c3e9f292-cd40-4926-8829-8b15466e6861", "instance_id": "6189c78f2f22", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 2.699, "level": "info", "timestamp": "2026-10-11T03:23:04.532922Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:23:06.595689721Z {"request_id": "c3fbcc4ea08e4a0ebbdd5638ed69e1f8", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 17.986, "level": "info", "timestamp": "2026-10-11T03:23:06.595508Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:23:06.601831804Z {"request_id": "c3fbcc4ea08e4a0ebbdd5638ed69e1f8", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:06.595838Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:06.601929721Z {"request_id": "00792a07cb2243ada1ac7cc5bafb5610", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 25.522, "level": "info", "timestamp": "2026-10-11T03:23:06.601787Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:23:06.603883637Z {"request_id": "00792a07cb2243ada1ac7cc5bafb5610", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:06.602020Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:06.613428721Z {"request_id": "3db92b9415e64a89926f1511eaba9b2b", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 28.177, "level": "info", "timestamp": "2026-10-11T03:23:06.613314Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:23:06.615582304Z {"request_id": "3db92b9415e64a89926f1511eaba9b2b", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:06.613451Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:06.620633637Z {"request_id": "ab064b903bca444486a030747ef1b993", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 30.064, "level": "info", "timestamp": "2026-10-11T03:23:06.620453Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:23:06.622670929Z {"request_id": "ab064b903bca444486a030747ef1b993", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:06.620637Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:06.633301429Z {"request_id": "9531b00d73a94583b7172571b7edb83b", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 25.335, "level": "info", "timestamp": "2026-10-11T03:23:06.633166Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:23:06.496044554Z {"request_id": "084734d0f157413d8d0f0c5bef4bfa35", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 37.229, "level": "info", "timestamp": "2026-10-11T03:23:06.495667Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:23:06.502000679Z {"request_id": "084734d0f157413d8d0f0c5bef4bfa35", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:06.496067Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:06.505252804Z {"request_id": "75e72eaa650141cc99704548c5b3e997", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 28.605, "level": "info", "timestamp": "2026-10-11T03:23:06.504847Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:23:06.507468762Z {"request_id": "75e72eaa650141cc99704548c5b3e997", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:06.505063Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:06.513010887Z {"request_id": "f96935305e4d40e883942849d18acc3c", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 35.054, "level": "info", "timestamp": "2026-10-11T03:23:06.512824Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:23:06.515301679Z {"request_id": "f96935305e4d40e883942849d18acc3c", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:06.513159Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:06.518592512Z {"request_id": "18ada8e7d7884923a5596a5f85f26e4d", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 41.399, "level": "info", "timestamp": "2026-10-11T03:23:06.518322Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:23:06.520563679Z {"request_id": "18ada8e7d7884923a5596a5f85f26e4d", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:06.518509Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:06.528045096Z {"request_id": "0dc6e55a9aa34d6b99d1c4a5d81b1d66", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 33.58, "level": "info", "timestamp": "2026-10-11T03:23:06.527773Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:23:06.531485096Z {"request_id": "0dc6e55a9aa34d6b99d1c4a5d81b1d66", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:06.529173Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:05.467415387Z {"request_id": "5dd68db18f8d4db99be75111153af4f9", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 60.916, "level": "info", "timestamp": "2026-10-11T03:23:05.467182Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:23:05.472959220Z {"request_id": "5dd68db18f8d4db99be75111153af4f9", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:05.467406Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:05.488346637Z {"request_id": "a650684a130a43658c3848cbfc83de37", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 31.616, "level": "info", "timestamp": "2026-10-11T03:23:05.488210Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:23:05.490501762Z {"request_id": "a650684a130a43658c3848cbfc83de37", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:05.488404Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:05.513133929Z {"request_id": "6fcf3f37afa6492ba2727369c2d9fd1c", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 25.989, "level": "info", "timestamp": "2026-10-11T03:23:05.513017Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:23:05.515126470Z {"request_id": "6fcf3f37afa6492ba2727369c2d9fd1c", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:05.513169Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:05.537570720Z {"request_id": "ae46e3b32a664278a6bc5c212947bc81", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 25.945, "level": "info", "timestamp": "2026-10-11T03:23:05.537408Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:23:05.539577387Z {"request_id": "ae46e3b32a664278a6bc5c212947bc81", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:05.537572Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:05.551879054Z {"request_id": "581d259183a84a9e86eac6032579a7ab", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 20.82, "level": "info", "timestamp": "2026-10-11T03:23:05.551630Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:23:05.553807970Z {"request_id": "581d259183a84a9e86eac6032579a7ab", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:05.551798Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:23:03.148149969Z 172.31.0.9:60316 [11/Oct/2026:03:23:03.058] entry api/api-4 0/0/0/89/89 500 330 - - ---- 323/323/63/40/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0OS4wMzIzODlaIiwiaSI6ImUxZTUwMjJmLTFmZDAtNGFkYy1hMDVmLWVmYjZmMTU2NTVkZCJ9 HTTP/1.1" +2026-10-11T03:23:03.166889719Z 172.31.0.9:60580 [11/Oct/2026:03:23:03.079] entry api/api-4 0/0/0/87/87 500 330 - - ---- 323/323/58/38/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo1MC44NzE5NTJaIiwiaSI6ImU2ZTlkYWIyLTY5YWYtNGVjNC05OWNmLWRjZWI4M2NiMWIzZCJ9 HTTP/1.1" +2026-10-11T03:23:03.196545386Z 172.31.0.9:59122 [11/Oct/2026:03:23:03.161] entry api/api-4 0/0/0/34/34 500 330 - - ---- 323/323/56/39/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo1MC4yMzEyNzRaIiwiaSI6IjZiNmRiOTliLWNhNzItNDY2ZS05N2RlLTMzYmNkMTI5MjIxZSJ9 HTTP/1.1" +2026-10-11T03:23:03.214138386Z 172.31.0.9:59480 [11/Oct/2026:03:23:03.179] entry api/api-4 0/0/0/34/34 500 330 - - ---- 323/323/44/34/0 0/0 "POST /api/v1/chats/b0a36954-054a-403d-90ff-15eeb049a5ac/messages HTTP/1.1" +2026-10-11T03:23:05.476032595Z 172.31.0.9:59174 [11/Oct/2026:03:23:05.402] entry api/api-1 0/0/0/73/73 500 330 - - ---- 323/323/73/38/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0Ny4zNzA5NTNaIiwiaSI6ImZjZGZkYmNmLTEwMjctNDZlNi1hYjFmLThhNzQ3NjIxNWY5MyJ9 HTTP/1.1" +2026-10-11T03:23:05.492056054Z 172.31.0.9:59620 [11/Oct/2026:03:23:05.410] entry api/api-1 0/0/0/81/81 500 330 - - ---- 323/323/66/33/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0OS42MTQxNjRaIiwiaSI6IjZlMjQ4ODZkLWEyNTEtNDdlNC04ZDM4LTgxNzMzMjE2MGRmNyJ9 HTTP/1.1" +2026-10-11T03:23:05.517435054Z 172.31.0.9:58942 [11/Oct/2026:03:23:05.486] entry api/api-1 0/0/0/31/31 500 330 - - ---- 323/323/63/32/0 0/0 "POST /api/v1/chats/cd316552-d17f-44f1-8e99-c54b8f91b56d/messages HTTP/1.1" +2026-10-11T03:23:05.541266012Z 172.31.0.9:59786 [11/Oct/2026:03:23:05.509] entry api/api-1 0/0/0/31/31 500 330 - - ---- 323/323/57/31/0 0/0 "POST /api/v1/chats/799038dd-5328-44ed-b457-a087d8f83192/messages HTTP/1.1" +2026-10-11T03:23:05.555218720Z 172.31.0.9:59416 [11/Oct/2026:03:23:05.526] entry api/api-1 0/0/0/28/28 500 330 - - ---- 323/323/49/28/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0Ny4xNzU1NDdaIiwiaSI6IjhkZmU0N2Q0LTU1OTktNGFjOC1iOGU2LWU5M2I5ZDk4MWM4NSJ9 HTTP/1.1" +2026-10-11T03:23:05.576281470Z 172.31.0.9:58078 [11/Oct/2026:03:23:05.546] entry api/api-1 0/0/0/30/30 500 330 - - ---- 323/323/40/24/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo1MC41OTEzNjBaIiwiaSI6Ijg4OTQ2MTJiLWUxMTMtNGQ5Yy05NmZhLTFmNzE2NDgyMDM5OCJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s04-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s04-errors.log new file mode 100644 index 00000000..38c4b9a1 --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s04-errors.log @@ -0,0 +1,67 @@ +# 4x1-c50-r3-a1-s04: коды ошибок окна k6 — 500:5039 503:6 + +## PostgreSQL +2026-10-11T03:23:29.746233093Z 2026-10-11 03:23:29.746 UTC [1102] FATAL: sorry, too many clients already +2026-10-11T03:23:29.766734926Z 2026-10-11 03:23:29.766 UTC [1103] FATAL: sorry, too many clients already +2026-10-11T03:23:29.768637218Z 2026-10-11 03:23:29.768 UTC [1104] FATAL: sorry, too many clients already +2026-10-11T03:23:29.771619343Z 2026-10-11 03:23:29.771 UTC [1108] FATAL: sorry, too many clients already +2026-10-11T03:23:29.771626551Z 2026-10-11 03:23:29.771 UTC [1105] FATAL: sorry, too many clients already +2026-10-11T03:23:29.772310593Z 2026-10-11 03:23:29.772 UTC [1106] FATAL: sorry, too many clients already +2026-10-11T03:23:29.772393926Z 2026-10-11 03:23:29.772 UTC [1107] FATAL: sorry, too many clients already +2026-10-11T03:23:29.786652093Z 2026-10-11 03:23:29.786 UTC [1109] FATAL: sorry, too many clients already +2026-10-11T03:23:29.798340509Z 2026-10-11 03:23:29.798 UTC [1110] FATAL: sorry, too many clients already +2026-10-11T03:23:29.799281843Z 2026-10-11 03:23:29.799 UTC [1111] FATAL: sorry, too many clients already + +## API +2026-10-11T03:23:31.238266093Z {"request_id": "eac6404629704a3383defd6e2c5d6e15", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 12.56, "level": "info", "timestamp": "2026-10-11T03:23:31.238104Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:23:31.240236260Z {"request_id": "eac6404629704a3383defd6e2c5d6e15", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:31.238307Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:31.242432385Z {"request_id": "1b43393ae64a434cb874fb020bcef32f", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 15.933, "level": "info", "timestamp": "2026-10-11T03:23:31.242260Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:23:31.244395135Z {"request_id": "1b43393ae64a434cb874fb020bcef32f", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:31.242425Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:31.244731427Z {"request_id": "c3f305ea35264f6bbc1fa54ecbf12b63", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 16.934, "level": "info", "timestamp": "2026-10-11T03:23:31.244345Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:23:31.246350677Z {"request_id": "c3f305ea35264f6bbc1fa54ecbf12b63", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:31.244492Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:31.246461927Z {"request_id": "de9da76e3e884829ac2eeb52fe3dda2a", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.527, "level": "info", "timestamp": "2026-10-11T03:23:31.246332Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:23:31.248268552Z {"request_id": "de9da76e3e884829ac2eeb52fe3dda2a", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:31.246457Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:31.248310760Z {"request_id": "ab063567472a4242bf16de7e9eacb908", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.312, "level": "info", "timestamp": "2026-10-11T03:23:31.248214Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:23:31.250130510Z {"request_id": "ab063567472a4242bf16de7e9eacb908", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:31.248324Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:29.742427426Z {"request_id": "72145f5cb8e64006b85a80ec20a5f4c7", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 13.229, "level": "info", "timestamp": "2026-10-11T03:23:29.742278Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:23:29.744474884Z {"request_id": "72145f5cb8e64006b85a80ec20a5f4c7", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:29.742452Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:29.744539384Z {"request_id": "993e9ccde99b4242b26206938a8d8f10", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 16.929, "level": "info", "timestamp": "2026-10-11T03:23:29.744412Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:23:29.746586843Z {"request_id": "993e9ccde99b4242b26206938a8d8f10", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:29.744660Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:29.750063009Z {"request_id": "057b9bbc79824a3394ce1103bfd00d96", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.694, "level": "info", "timestamp": "2026-10-11T03:23:29.749695Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:23:29.752109759Z {"request_id": "057b9bbc79824a3394ce1103bfd00d96", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:29.750063Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:29.752167718Z {"request_id": "50334ccc401549b296b37cb5e223f599", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 25.323, "level": "info", "timestamp": "2026-10-11T03:23:29.752078Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:23:29.754045593Z {"request_id": "50334ccc401549b296b37cb5e223f599", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:29.752213Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:29.758655384Z {"request_id": "5ef89d6fa7d94dacafa2c1be25b3b839", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 29.942, "level": "info", "timestamp": "2026-10-11T03:23:29.758470Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:23:29.760678259Z {"request_id": "5ef89d6fa7d94dacafa2c1be25b3b839", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:29.758679Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:30.010209051Z {"request_id": "ee58adbdfb8f4e099329aa92d45bb186", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 15.559, "level": "info", "timestamp": "2026-10-11T03:23:30.010087Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:23:30.012268718Z {"request_id": "ee58adbdfb8f4e099329aa92d45bb186", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:30.010280Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:30.012315301Z {"request_id": "d061420c04614e10b7cd1a729d775a3a", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 18.942, "level": "info", "timestamp": "2026-10-11T03:23:30.012226Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:23:30.014192384Z {"request_id": "d061420c04614e10b7cd1a729d775a3a", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:30.012359Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:30.014253218Z {"request_id": "e48695dbb8044a42bdc589aeaed65b26", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 18.642, "level": "info", "timestamp": "2026-10-11T03:23:30.014153Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:23:30.016018926Z {"request_id": "e48695dbb8044a42bdc589aeaed65b26", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:30.014268Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:30.016068384Z {"request_id": "94f3156a329841cd863a56e95196a2ca", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 20.963, "level": "info", "timestamp": "2026-10-11T03:23:30.015987Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:23:30.017881968Z {"request_id": "94f3156a329841cd863a56e95196a2ca", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:30.016096Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:30.025189301Z {"request_id": "fd9ae268071b4eada371a5a857a67fd3", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 31.035, "level": "info", "timestamp": "2026-10-11T03:23:30.025009Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:23:30.027282176Z {"request_id": "fd9ae268071b4eada371a5a857a67fd3", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:30.025179Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:29.754430051Z {"request_id": "d8e1e67f92e44d33965b4ad82ae0d1a0", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.15, "level": "info", "timestamp": "2026-10-11T03:23:29.754252Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:23:29.756471926Z {"request_id": "d8e1e67f92e44d33965b4ad82ae0d1a0", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:29.754405Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:29.777861134Z {"request_id": "6cb438cad5544432905875ee6cb647e8", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 28.281, "level": "info", "timestamp": "2026-10-11T03:23:29.777726Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:23:29.779866551Z {"request_id": "6cb438cad5544432905875ee6cb647e8", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:29.777863Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:29.796539176Z {"request_id": "1762f8a206684cf3a2e2f04833202133", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 24.084, "level": "info", "timestamp": "2026-10-11T03:23:29.796350Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:23:29.798585301Z {"request_id": "1762f8a206684cf3a2e2f04833202133", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:29.796518Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:29.815833093Z {"request_id": "d70bf3cd4ec942cc857dc934b8126196", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 25.006, "level": "info", "timestamp": "2026-10-11T03:23:29.815697Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:23:29.818112426Z {"request_id": "d70bf3cd4ec942cc857dc934b8126196", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:29.815850Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:23:29.837740468Z {"request_id": "9aa0f8778b0c46e9b19ef03bb0060ac8", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 26.727, "level": "info", "timestamp": "2026-10-11T03:23:29.837563Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:23:29.839746509Z {"request_id": "9aa0f8778b0c46e9b19ef03bb0060ac8", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:23:29.837757Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:23:29.749680634Z 172.31.0.9:48206 [11/Oct/2026:03:23:29.705] entry api/api-3 0/0/0/44/44 500 330 - - ---- 395/395/135/31/0 0/0 "POST /api/v1/chats/c5819e10-7f72-4e06-b7ea-c15cb9f9d033/messages HTTP/1.1" +2026-10-11T03:23:29.749748676Z 172.31.0.9:45866 [11/Oct/2026:03:23:29.698] entry api/api-3 0/0/0/51/51 500 330 - - ---- 395/395/132/30/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T03:23:29.758237801Z 172.31.0.9:47800 [11/Oct/2026:03:23:29.701] entry api/api-3 0/0/0/56/56 500 330 - - ---- 395/395/139/33/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo1MC45NDA1NzJaIiwiaSI6IjBhYTFiMGQ5LTEyY2MtNGI1Yy1hYTg0LWFhODRiM2IzMTg3NSJ9 HTTP/1.1" +2026-10-11T03:23:29.758251426Z 172.31.0.9:47786 [11/Oct/2026:03:23:29.696] entry api/api-3 0/0/0/61/61 500 330 - - ---- 395/395/137/31/0 0/0 "POST /api/v1/chats/c5819e10-7f72-4e06-b7ea-c15cb9f9d033/messages HTTP/1.1" +2026-10-11T03:23:29.758462801Z 172.31.0.9:46638 [11/Oct/2026:03:23:29.726] entry api/api-1 0/0/0/32/32 500 330 - - ---- 395/395/135/53/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo1MS4yNzcxMTJaIiwiaSI6IjQwYTlmYzYwLWE0MWQtNDQyMi1iNWNjLTM5YmE2MzRmMTcyYiJ9 HTTP/1.1" +2026-10-11T03:23:29.763995551Z 172.31.0.9:47174 [11/Oct/2026:03:23:29.703] entry api/api-3 0/0/0/60/60 500 330 - - ---- 395/395/138/32/0 0/0 "POST /api/v1/chats/c5819e10-7f72-4e06-b7ea-c15cb9f9d033/messages HTTP/1.1" +2026-10-11T03:23:29.775544426Z 172.31.0.9:45634 [11/Oct/2026:03:23:29.736] entry api/api-3 0/0/0/38/38 500 330 - - ---- 395/395/131/28/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0Ni41OTQ0MjNaIiwiaSI6IjAzZmUwZDQ2LWQ0YTMtNDc3Yi1iMTI0LTE3ODFjNjAzODNmMSJ9 HTTP/1.1" +2026-10-11T03:23:29.781400843Z 172.31.0.9:45670 [11/Oct/2026:03:23:29.746] entry api/api-1 0/0/0/34/34 500 330 - - ---- 395/395/135/52/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo1MC42NTQzMjNaIiwiaSI6IjczYTA1YjBkLWJkMzktNGMyZC04NzhkLTk2MDNkMmVhMmEwYiJ9 HTTP/1.1" +2026-10-11T03:23:29.786360218Z 172.31.0.9:46806 [11/Oct/2026:03:23:29.738] entry api/api-3 0/0/0/48/48 500 330 - - ---- 395/395/131/32/0 0/0 "POST /api/v1/chats/cd316552-d17f-44f1-8e99-c54b8f91b56d/messages HTTP/1.1" +2026-10-11T03:23:29.786391259Z 172.31.0.9:47322 [11/Oct/2026:03:23:29.745] entry api/api-3 0/0/0/40/40 500 330 - - ---- 395/395/130/31/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0NS4yMDk4OTdaIiwiaSI6ImM1Y2I2ZWNhLWQyYWQtNGQ0OS05OGU5LTU2NDUzMDZhNWNiZCJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s05-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s05-errors.log new file mode 100644 index 00000000..e005cd17 --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s05-errors.log @@ -0,0 +1,67 @@ +# 4x1-c50-r3-a1-s05: коды ошибок окна k6 — 500:785 + +## PostgreSQL +2026-10-11T03:24:18.054815295Z 2026-10-11 03:24:18.054 UTC [6351] FATAL: sorry, too many clients already +2026-10-11T03:24:18.125826004Z 2026-10-11 03:24:18.125 UTC [6353] FATAL: sorry, too many clients already +2026-10-11T03:24:18.144743795Z 2026-10-11 03:24:18.144 UTC [6354] FATAL: sorry, too many clients already +2026-10-11T03:24:18.165487587Z 2026-10-11 03:24:18.165 UTC [6355] FATAL: sorry, too many clients already +2026-10-11T03:24:18.189017754Z 2026-10-11 03:24:18.188 UTC [6356] FATAL: sorry, too many clients already +2026-10-11T03:24:18.209006337Z 2026-10-11 03:24:18.208 UTC [6357] FATAL: sorry, too many clients already +2026-10-11T03:24:18.227991837Z 2026-10-11 03:24:18.227 UTC [6364] FATAL: sorry, too many clients already +2026-10-11T03:24:18.230569045Z 2026-10-11 03:24:18.230 UTC [6366] FATAL: sorry, too many clients already +2026-10-11T03:24:18.252123254Z 2026-10-11 03:24:18.251 UTC [6369] FATAL: sorry, too many clients already +2026-10-11T03:24:18.252130587Z 2026-10-11 03:24:18.251 UTC [6367] FATAL: sorry, too many clients already + +## API +2026-10-11T03:24:19.853922046Z {"request_id": "fea93b76525643aa92551d9a3dad2486", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 61.624, "level": "info", "timestamp": "2026-10-11T03:24:19.853744Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:24:19.856306546Z {"request_id": "fea93b76525643aa92551d9a3dad2486", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:19.853986Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:19.872267713Z {"request_id": "f854bd040761468dbb40ffccf96fcd39", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 500, "duration_ms": 25.337, "level": "info", "timestamp": "2026-10-11T03:24:19.872168Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:24:19.874252129Z {"request_id": "f854bd040761468dbb40ffccf96fcd39", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:19.872308Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:19.898741213Z {"request_id": "9bd369304b454103a8d83e56ed0a84db", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.048, "level": "info", "timestamp": "2026-10-11T03:24:19.898637Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:24:19.900749463Z {"request_id": "9bd369304b454103a8d83e56ed0a84db", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:19.898790Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:19.917797213Z {"request_id": "993da8692a4b47369cdc415f72bc24c1", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 22.506, "level": "info", "timestamp": "2026-10-11T03:24:19.917575Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:24:19.919842671Z {"request_id": "993da8692a4b47369cdc415f72bc24c1", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:19.917776Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:19.934403505Z {"request_id": "57c82479a90f4962894cd772e09798b3", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 20.99, "level": "info", "timestamp": "2026-10-11T03:24:19.934257Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:24:19.936405255Z {"request_id": "57c82479a90f4962894cd772e09798b3", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:19.934406Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.109375087Z {"request_id": "7680bde9a17f4fa89bae0b21bec5d471", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 59.964, "level": "info", "timestamp": "2026-10-11T03:24:18.109215Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:24:18.111649962Z {"request_id": "7680bde9a17f4fa89bae0b21bec5d471", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.109407Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.130934837Z {"request_id": "8a0f8dc9f12b41d59aa70f2e8e94b277", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 40.841, "level": "info", "timestamp": "2026-10-11T03:24:18.130736Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:24:18.132991462Z {"request_id": "8a0f8dc9f12b41d59aa70f2e8e94b277", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.130990Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.152503712Z {"request_id": "c5fadf134ba14b06a7dec6a530d42522", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 23.968, "level": "info", "timestamp": "2026-10-11T03:24:18.152397Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:24:18.154462670Z {"request_id": "c5fadf134ba14b06a7dec6a530d42522", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.152550Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.171105879Z {"request_id": "2a25d6080bfc45f5b7e102ea18b57445", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 23.052, "level": "info", "timestamp": "2026-10-11T03:24:18.170905Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:24:18.172987004Z {"request_id": "2a25d6080bfc45f5b7e102ea18b57445", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.171061Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.197799504Z {"request_id": "915e502bc64643239a5cf328b051917b", "event": "HTTP request completed", "instance_id": "6189c78f2f22", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 23.758, "level": "info", "timestamp": "2026-10-11T03:24:18.197613Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} +2026-10-11T03:24:18.199864920Z {"request_id": "915e502bc64643239a5cf328b051917b", "event": "Exception in ASGI application\n", "instance_id": "6189c78f2f22", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.197780Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.559367379Z {"request_id": "3cd8889dea4f411fad0821fd26e3b7fb", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 20.032, "level": "info", "timestamp": "2026-10-11T03:24:18.559201Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:24:18.561426587Z {"request_id": "3cd8889dea4f411fad0821fd26e3b7fb", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.559405Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.565668337Z {"request_id": "27ff42a938a141868b2b4568214c0a5e", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 20.872, "level": "info", "timestamp": "2026-10-11T03:24:18.565534Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:24:18.567722962Z {"request_id": "27ff42a938a141868b2b4568214c0a5e", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.565696Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.578604379Z {"request_id": "65019affa3a84bec857f627f5dc8f4bb", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.432, "level": "info", "timestamp": "2026-10-11T03:24:18.578465Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:24:18.580640046Z {"request_id": "65019affa3a84bec857f627f5dc8f4bb", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.578660Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.586817587Z {"request_id": "8137c15cb2844362822256624f0004d2", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.876, "level": "info", "timestamp": "2026-10-11T03:24:18.586569Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:24:18.588845754Z {"request_id": "8137c15cb2844362822256624f0004d2", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.586782Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.605171837Z {"request_id": "2ef5460899074e5d835a4cbd07361ddd", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 19.511, "level": "info", "timestamp": "2026-10-11T03:24:18.604957Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:24:18.607182962Z {"request_id": "2ef5460899074e5d835a4cbd07361ddd", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.605139Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.260628004Z {"request_id": "7d87504b70ab4dc8854a0bc61fda0afe", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 15.345, "level": "info", "timestamp": "2026-10-11T03:24:18.260454Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:24:18.263038087Z {"request_id": "7d87504b70ab4dc8854a0bc61fda0afe", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.260684Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.263109587Z {"request_id": "397225debdb047e695d7fe3e9b4c78f0", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 18.889, "level": "info", "timestamp": "2026-10-11T03:24:18.262996Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:24:18.265074420Z {"request_id": "397225debdb047e695d7fe3e9b4c78f0", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.263130Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.265178920Z {"request_id": "eee18c0be48e44a19a0405a1d7b197b6", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.596, "level": "info", "timestamp": "2026-10-11T03:24:18.265054Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:24:18.267172962Z {"request_id": "eee18c0be48e44a19a0405a1d7b197b6", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.265210Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.272104379Z {"request_id": "2b0e242bc70d46e6ad0cebcfdf8b1dda", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 27.297, "level": "info", "timestamp": "2026-10-11T03:24:18.271945Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:24:18.274449920Z {"request_id": "2b0e242bc70d46e6ad0cebcfdf8b1dda", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.272122Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:24:18.274628212Z {"request_id": "67b62bddcf5a4293b77ca2bcbdb6fa68", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 31.679, "level": "info", "timestamp": "2026-10-11T03:24:18.274439Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:24:18.276521837Z {"request_id": "67b62bddcf5a4293b77ca2bcbdb6fa68", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:24:18.274604Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:24:18.115471087Z 172.31.0.9:41730 [11/Oct/2026:03:24:18.036] entry api/api-3 0/0/0/79/79 500 330 - - ---- 356/356/87/42/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0Ny41OTgxMjFaIiwiaSI6IjAwODE4N2UyLTFiMWItNGI3Mi1hOTJjLWI4ODdhMGUwNTJhMCJ9 HTTP/1.1" +2026-10-11T03:24:18.134330337Z 172.31.0.9:41612 [11/Oct/2026:03:24:18.054] entry api/api-3 0/0/0/79/79 500 330 - - ---- 356/356/83/40/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0OS4zNjYyMjJaIiwiaSI6ImNmMzY3MGJlLWIzMDgtNGRmZC1iYjdkLTAyYjFiMjA4YzFlYiJ9 HTTP/1.1" +2026-10-11T03:24:18.156314962Z 172.31.0.9:43178 [11/Oct/2026:03:24:18.126] entry api/api-3 0/0/0/30/30 500 330 - - ---- 356/356/76/40/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0Ni42NjU2NjFaIiwiaSI6ImM5YzFlOGNlLTJiNDktNGI5Ny1iZTM2LTdhODY5MDJlYzJkMCJ9 HTTP/1.1" +2026-10-11T03:24:18.174866587Z 172.31.0.9:43184 [11/Oct/2026:03:24:18.143] entry api/api-3 0/0/0/31/31 500 330 - - ---- 356/356/74/39/0 0/0 "POST /api/v1/chats/b0a36954-054a-403d-90ff-15eeb049a5ac/messages HTTP/1.1" +2026-10-11T03:24:18.202232379Z 172.31.0.9:43546 [11/Oct/2026:03:24:18.168] entry api/api-3 0/0/0/33/33 500 330 - - ---- 356/356/73/37/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0NS4xNTI2MjBaIiwiaSI6IjdkY2M3NDFjLTE5MDgtNGM0MS1iZjZlLWQ2ODFmYTA5NmJkZCJ9 HTTP/1.1" +2026-10-11T03:24:18.221337962Z 172.31.0.9:41884 [11/Oct/2026:03:24:18.188] entry api/api-3 0/0/0/32/32 500 330 - - ---- 356/356/80/36/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0OS44MzY2MDNaIiwiaSI6IjI4ZGNhNTViLTRkOWUtNDA2Mi05NmE1LWNmZGEwMzZlMjFiMSJ9 HTTP/1.1" +2026-10-11T03:24:18.243391087Z 172.31.0.9:43012 [11/Oct/2026:03:24:18.207] entry api/api-3 0/0/0/36/36 500 330 - - ---- 356/356/83/35/0 0/0 "POST /api/v1/chats/ae0d6f8b-4e63-4b7e-85ef-96427f56edc9/messages HTTP/1.1" +2026-10-11T03:24:18.266368087Z 172.31.0.9:42256 [11/Oct/2026:03:24:18.234] entry api/api-3 0/0/0/31/31 500 330 - - ---- 356/356/92/34/0 0/0 "POST /api/v1/chats/d5ce95ff-c700-4804-913e-26518eca9bf7/messages HTTP/1.1" +2026-10-11T03:24:18.271899420Z 172.31.0.9:42906 [11/Oct/2026:03:24:18.216] entry api/api-1 0/0/0/55/55 500 330 - - ---- 356/356/86/30/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo1MS4yNzcxMTJaIiwiaSI6IjQwYTlmYzYwLWE0MWQtNDQyMi1iNWNjLTM5YmE2MzRmMTcyYiJ9 HTTP/1.1" +2026-10-11T03:24:18.271924920Z 172.31.0.9:41944 [11/Oct/2026:03:24:18.213] entry api/api-1 0/0/0/57/57 500 330 - - ---- 356/356/85/29/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0Ny44MjYxOTdaIiwiaSI6ImE3YjE1MDA0LWE3ZTEtNGIzMi05ZGRlLWIyYjlkNDFjNzBkZiJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s06-errors.log b/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s06-errors.log new file mode 100644 index 00000000..50cd1a8c --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-c50-r3-a1-s06-errors.log @@ -0,0 +1,57 @@ +# 4x1-c50-r3-a1-s06: коды ошибок окна k6 — 500:77 + +## PostgreSQL +2026-10-11T03:25:06.995980929Z 2026-10-11 03:25:06.995 UTC [7496] FATAL: sorry, too many clients already +2026-10-11T03:25:07.064247346Z 2026-10-11 03:25:07.064 UTC [7497] FATAL: sorry, too many clients already +2026-10-11T03:25:07.087388638Z 2026-10-11 03:25:07.086 UTC [7498] FATAL: sorry, too many clients already +2026-10-11T03:25:07.101964304Z 2026-10-11 03:25:07.101 UTC [7499] FATAL: sorry, too many clients already +2026-10-11T03:25:07.125561554Z 2026-10-11 03:25:07.125 UTC [7500] FATAL: sorry, too many clients already +2026-10-11T03:25:07.146297054Z 2026-10-11 03:25:07.146 UTC [7501] FATAL: sorry, too many clients already +2026-10-11T03:25:07.166424929Z 2026-10-11 03:25:07.166 UTC [7502] FATAL: sorry, too many clients already +2026-10-11T03:25:07.182663054Z 2026-10-11 03:25:07.182 UTC [7503] FATAL: sorry, too many clients already +2026-10-11T03:25:09.133088139Z 2026-10-11 03:25:09.132 UTC [7528] FATAL: sorry, too many clients already +2026-10-11T03:25:11.367920042Z 2026-10-11 03:25:11.367 UTC [7553] FATAL: sorry, too many clients already + +## API +2026-10-11T03:25:15.837533003Z {"request_id": "96e09277cbbe492cb5e8dfd00640a61e", "event": "HTTP request completed", "user_id": "983a52ba-08d6-45f0-9654-6caee5a9c8f3", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 3.444, "level": "info", "timestamp": "2026-10-11T03:25:15.837417Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:25:16.474533003Z {"request_id": "4e95606a10ed4c3ca6ef95a933edeee0", "event": "Created message", "user_id": "0ac48f16-a44b-4247-80bf-aa249460fb32", "instance_id": "a289bf1afbf6", "module": "message_service", "method": "send_message", "chat_id": "c5819e10-7f72-4e06-b7ea-c15cb9f9d033", "message_id": "f4fd62e4-3ac7-40a4-ab54-61fcb2a8c086", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T03:25:16.474456Z", "func_name": "send_message", "filename": "message.py", "lineno": 102} +2026-10-11T03:25:16.942358170Z {"request_id": "23201ef758404572a6c70bd56f3952eb", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 11.277, "level": "info", "timestamp": "2026-10-11T03:25:16.942168Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:25:16.944614170Z {"request_id": "23201ef758404572a6c70bd56f3952eb", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:16.942353Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:16.944687795Z {"request_id": "be02be4ade62431c8118795b59111e13", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 13.019, "level": "info", "timestamp": "2026-10-11T03:25:16.944576Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:25:16.946974295Z {"request_id": "be02be4ade62431c8118795b59111e13", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:16.944709Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:16.950128128Z {"request_id": "14ad880ba34f45d8a37c6af7c8e07805", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 16.81, "level": "info", "timestamp": "2026-10-11T03:25:16.949938Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:25:16.952287545Z {"request_id": "14ad880ba34f45d8a37c6af7c8e07805", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:16.950148Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:16.952355711Z {"request_id": "fdf8d70591184371849e5a31f0e93e24", "event": "HTTP request completed", "instance_id": "a289bf1afbf6", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 19.625, "level": "info", "timestamp": "2026-10-11T03:25:16.952261Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:25:16.954410086Z {"request_id": "fdf8d70591184371849e5a31f0e93e24", "event": "Exception in ASGI application\n", "instance_id": "a289bf1afbf6", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:16.952383Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:07.056049554Z {"request_id": "897ac9d9dd8641cc8e5b5d9413e54570", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 67.202, "level": "info", "timestamp": "2026-10-11T03:25:07.055833Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:25:07.058215929Z {"request_id": "897ac9d9dd8641cc8e5b5d9413e54570", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:07.056040Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:07.072108596Z {"request_id": "9fc29847036140b1a764eff536adffdb", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 31.341, "level": "info", "timestamp": "2026-10-11T03:25:07.071994Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:25:07.074197179Z {"request_id": "9fc29847036140b1a764eff536adffdb", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:07.072139Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:07.095141263Z {"request_id": "646fbcef04b54576814944ca431acf87", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 26.271, "level": "info", "timestamp": "2026-10-11T03:25:07.095009Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:25:07.097256929Z {"request_id": "646fbcef04b54576814944ca431acf87", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:07.095152Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:07.110471304Z {"request_id": "2de31a04f19b4e979274447b0362644a", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 23.212, "level": "info", "timestamp": "2026-10-11T03:25:07.110352Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:25:07.112500554Z {"request_id": "2de31a04f19b4e979274447b0362644a", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:07.110503Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:07.132871221Z {"request_id": "c8e34e336ea440b0b8160f41aa9f77a2", "event": "HTTP request completed", "instance_id": "f80ad2ae990b", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 26.055, "level": "info", "timestamp": "2026-10-11T03:25:07.132763Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:25:07.135007513Z {"request_id": "c8e34e336ea440b0b8160f41aa9f77a2", "event": "Exception in ASGI application\n", "instance_id": "f80ad2ae990b", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:07.132903Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:13.716363710Z {"request_id": "ba05af28146541d9b4562dc08a61d08d", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 62.494, "level": "info", "timestamp": "2026-10-11T03:25:13.716219Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:25:13.718464293Z {"request_id": "ba05af28146541d9b4562dc08a61d08d", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:13.716403Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:13.732679877Z {"request_id": "8e9dc0065a4042129f13c2ba690138c4", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 58.696, "level": "info", "timestamp": "2026-10-11T03:25:13.732557Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:25:13.734698752Z {"request_id": "8e9dc0065a4042129f13c2ba690138c4", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:13.732703Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:13.748693002Z {"request_id": "930d018d15de483d8d97103ad278ddc4", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 20.819, "level": "info", "timestamp": "2026-10-11T03:25:13.748536Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:25:13.750731585Z {"request_id": "930d018d15de483d8d97103ad278ddc4", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:13.748679Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:13.764587418Z {"request_id": "60d6c47219124cf3bf0d1216b790082c", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 21.557, "level": "info", "timestamp": "2026-10-11T03:25:13.764475Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:25:13.766657960Z {"request_id": "60d6c47219124cf3bf0d1216b790082c", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:13.764626Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return +2026-10-11T03:25:13.782040460Z {"request_id": "8e5e6f3a092846dabe7af275d3716b0a", "event": "HTTP request completed", "instance_id": "81c7ce93c9ff", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 500, "duration_ms": 22.03, "level": "info", "timestamp": "2026-10-11T03:25:13.781886Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:25:13.784081543Z {"request_id": "8e5e6f3a092846dabe7af275d3716b0a", "event": "Exception in ASGI application\n", "instance_id": "81c7ce93c9ff", "level": "error", "logger": "uvicorn.error", "timestamp": "2026-10-11T03:25:13.782083Z", "exception": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.12/site-packages/sqlalchemy/connectors/asyncio.py\", line 376, in create\n connection = await connection_awaitable\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.12/site-packages/asyncpg/connection.py\", line 2443, in connect\n return + +## HAProxy +2026-10-11T03:25:07.061090054Z 172.31.0.9:50986 [11/Oct/2026:03:25:06.974] entry api/api-2 0/0/0/86/86 500 330 - - ---- 339/339/66/39/0 0/0 "POST /api/v1/chats/2c23764b-bc3d-464a-84f7-ea75c92814c7/messages HTTP/1.1" +2026-10-11T03:25:07.077688596Z 172.31.0.9:48926 [11/Oct/2026:03:25:06.994] entry api/api-2 0/0/0/82/82 500 330 - - ---- 339/339/72/43/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0OS43Nzc5OTNaIiwiaSI6IjU1MmJhNGYwLTYwZjUtNGM3Yy05Nzk2LWViZDYxYWUzYzkxMSJ9 HTTP/1.1" +2026-10-11T03:25:07.098459263Z 172.31.0.9:49230 [11/Oct/2026:03:25:07.066] entry api/api-2 0/0/0/32/32 500 330 - - ---- 339/339/60/38/0 0/0 "POST /api/v1/chats/cd316552-d17f-44f1-8e99-c54b8f91b56d/messages HTTP/1.1" +2026-10-11T03:25:07.116075763Z 172.31.0.9:48986 [11/Oct/2026:03:25:07.084] entry api/api-2 0/0/0/31/31 500 330 - - ---- 340/339/60/39/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0Ny40Mjc0OTZaIiwiaSI6ImE2NzA2ODE3LTQ5Y2QtNDRmMy1iZjY3LTdmMmNmODRiMjEwYyJ9 HTTP/1.1" +2026-10-11T03:25:07.137479846Z 172.31.0.9:49178 [11/Oct/2026:03:25:07.104] entry api/api-2 0/0/0/33/33 500 330 - - ---- 340/339/54/36/0 0/0 "POST /api/v1/chats/799038dd-5328-44ed-b457-a087d8f83192/messages HTTP/1.1" +2026-10-11T03:25:07.157247388Z 172.31.0.9:49882 [11/Oct/2026:03:25:07.127] entry api/api-2 0/0/0/29/29 500 330 - - ---- 339/339/47/33/0 0/0 "POST /api/v1/chats/ca50dd46-a9aa-4388-8e15-791ab22ca255/messages HTTP/1.1" +2026-10-11T03:25:07.178074513Z 172.31.0.9:49168 [11/Oct/2026:03:25:07.149] entry api/api-2 0/0/0/28/28 500 330 - - ---- 339/339/42/31/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0Ni4wOTYxNDNaIiwiaSI6ImM0MDE4M2IyLWU1YzgtNDA5Yy05NDBiLTgwNTRjZTk3MzI4ZSJ9 HTTP/1.1" +2026-10-11T03:25:07.198424054Z 172.31.0.9:48690 [11/Oct/2026:03:25:07.169] entry api/api-2 0/0/0/28/28 500 330 - - ---- 339/339/34/30/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo0Ny40Mjc0OTZaIiwiaSI6ImE2NzA2ODE3LTQ5Y2QtNDRmMy1iZjY3LTdmMmNmODRiMjEwYyJ9 HTTP/1.1" +2026-10-11T03:25:09.196281222Z 172.31.0.9:50084 [11/Oct/2026:03:25:09.106] entry api/api-2 0/0/0/89/89 500 330 - - ---- 339/339/44/41/0 0/0 "GET /api/v1/chats/3bbc0ca2-7fbb-4438-afdd-89fcd5735f33/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDozYmJjMGNhMi03ZmJiLTQ0MzgtYWZkZC04OWZjZDU3MzVmMzMiLCJ0IjoiMjAyNi0xMC0xMVQwMzoyMTo1MC4wMDUyODNaIiwiaSI6ImM3NGU0YTg1LWMwOGItNGU2Ny1iMTg1LWIxMjY0MjQ2NjI4MyJ9 HTTP/1.1" +2026-10-11T03:25:11.427612042Z 172.31.0.9:49882 [11/Oct/2026:03:25:11.351] entry api/api-2 0/0/0/76/76 500 330 - - ---- 339/339/86/38/0 0/0 "POST /api/v1/chats/ca50dd46-a9aa-4388-8e15-791ab22ca255/messages HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-r1-a1-s05-errors.log b/evidence/bench/scaling-pool/raw/4x1-r1-a1-s05-errors.log new file mode 100644 index 00000000..1ff79706 --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-r1-a1-s05-errors.log @@ -0,0 +1,31 @@ +# 4x1-r1-a1-s05: коды ошибок окна k6 — 503:17 + +## PostgreSQL + +## API +2026-10-11T03:04:23.326533006Z {"request_id": "8eb65e6479b34525bde9b5419f92f61e", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "d9e7f3ed1dfd", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 32.962, "level": "info", "timestamp": "2026-10-11T03:04:23.326469Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:04:26.979153300Z {"request_id": "6072b5ff73b6427095587558c5469922", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "d9e7f3ed1dfd", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 36.111, "level": "info", "timestamp": "2026-10-11T03:04:26.979051Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:04:26.901953300Z {"request_id": "93acfa2f571d4e88ac64d78f064299c1", "event": "Created message", "user_id": "a1c58998-1d5a-4e80-be81-6f54b3a3cad1", "instance_id": "44beb4c3a488", "module": "message_service", "method": "send_message", "chat_id": "8be104a5-d5b9-4a3c-8951-8549c81762bb", "message_id": "eb4a26ad-5c13-4973-bf8a-9c5e79fb58b2", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T03:04:26.901806Z", "filename": "message.py", "func_name": "send_message", "lineno": 102} +2026-10-11T03:04:29.071387134Z {"request_id": "dd310116774946eb949bbb094328f3a7", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5012.716, "level": "info", "timestamp": "2026-10-11T03:04:29.071244Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:04:31.753300094Z {"request_id": "6aaa76d1265246388ef41cea1bfb0cd4", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 817.754, "level": "info", "timestamp": "2026-10-11T03:04:31.753154Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:04:34.591025095Z {"request_id": "d2bae00b574445fa9dec8b49db5f7745", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.787, "level": "info", "timestamp": "2026-10-11T03:04:34.590851Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:04:34.870875387Z {"request_id": "ef21496fab784e779aa1fd629f762379", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5010.932, "level": "info", "timestamp": "2026-10-11T03:04:34.870758Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:04:35.675409387Z {"request_id": "fbcd30028acb4e03a1f64e4d8089ef90", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5011.857, "level": "info", "timestamp": "2026-10-11T03:04:35.675240Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:04:37.053300304Z {"request_id": "fe8556c1380141c98d14eb7c1b1f4216", "event": "HTTP request completed", "user_id": "caade65d-2221-4394-b707-c7219ba8f0a0", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 18.938, "level": "info", "timestamp": "2026-10-11T03:04:37.053223Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:04:37.598081680Z {"request_id": "ab9f73054bef4e4fa1281848820ce6ba", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5006.831, "level": "info", "timestamp": "2026-10-11T03:04:37.597966Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:04:37.950912055Z {"request_id": "c74b358fa4b7425a84acbbe5efda4e52", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5011.879, "level": "info", "timestamp": "2026-10-11T03:04:37.950752Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:04:38.505396430Z {"request_id": "5ff382621add4fc3a768159e76f3f38d", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5063.152, "level": "info", "timestamp": "2026-10-11T03:04:38.505265Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:04:32.753300677Z {"request_id": "4f3baa11d574451697b469b7e6268b56", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "74cd8121a6cd", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 35.327, "level": "info", "timestamp": "2026-10-11T03:04:32.753128Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:04:33.936891095Z {"request_id": "41b75533002b4bc59aad8e6365a8099a", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "fb494c953414", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 4.933, "level": "info", "timestamp": "2026-10-11T03:04:33.936797Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} + +## HAProxy +2026-10-11T03:04:29.077477342Z 172.31.0.9:58150 [11/Oct/2026:03:04:24.054] entry api/api-1 0/0/0/5022/5022 503 338 - - ---- 516/516/509/315/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNC4xNjY3MjZaIiwiaSI6IjJjNWUxM2ZjLTYxNmMtNGNlNS05MmZkLThjZmE3N2FhMzc5ZiJ9 HTTP/1.1" +2026-10-11T03:04:34.596782928Z 172.31.0.9:55024 [11/Oct/2026:03:04:29.577] entry api/api-1 0/0/0/5018/5018 503 338 - - ---- 516/516/502/455/0 0/0 "POST /api/v1/chats/90f5fd1d-2b47-40fb-8fe9-e5fd50f0eb4d/messages HTTP/1.1" +2026-10-11T03:04:34.873069762Z 172.31.0.9:57692 [11/Oct/2026:03:04:29.856] entry api/api-1 0/0/0/5016/5016 503 338 - - ---- 516/516/511/460/0 0/0 "POST /api/v1/chats/05e0bb62-d90e-4bdc-9003-8dce079f4327/messages HTTP/1.1" +2026-10-11T03:04:35.677584012Z 172.31.0.9:58492 [11/Oct/2026:03:04:30.658] entry api/api-1 0/0/0/5018/5018 503 338 - - ---- 516/516/509/470/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNC45NDc3NDdaIiwiaSI6IjY4MzYxMzY5LTM3OGMtNDAxNy05MjY4LTA0NmQ0OTFjMWMxOCJ9 HTTP/1.1" +2026-10-11T03:04:37.600236721Z 172.31.0.9:57360 [11/Oct/2026:03:04:32.586] entry api/api-1 0/0/0/5013/5013 503 338 - - ---- 517/516/508/440/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T03:04:37.952860555Z 172.31.0.9:57958 [11/Oct/2026:03:04:32.935] entry api/api-1 0/0/0/5017/5017 503 338 - - ---- 516/516/505/451/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxMy4zMjIwNjBaIiwiaSI6ImM5YTZiYzllLTIwNDItNDJjZS04YzRhLWE0YmRlYmMwMDUzMiJ9 HTTP/1.1" +2026-10-11T03:04:38.507604347Z 172.31.0.9:57354 [11/Oct/2026:03:04:33.413] entry api/api-1 0/0/0/5094/5094 503 338 - - ---- 516/516/497/494/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNy4xNTgyMjRaIiwiaSI6ImFjNmI5MDMxLWU2NmMtNDlmOS05MzVhLTQ2Y2Q3NzlmMjJkMCJ9 HTTP/1.1" +2026-10-11T03:04:38.840316264Z 172.31.0.9:55510 [11/Oct/2026:03:04:33.820] entry api/api-1 0/0/0/5020/5020 503 338 - - ---- 516/516/505/464/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNS43NDUyMjBaIiwiaSI6IjU3YmI3M2Q3LWJhY2MtNDkwZS1hMGU2LTIzY2YwNTg2MDFlNSJ9 HTTP/1.1" +2026-10-11T03:04:38.906846389Z 172.31.0.9:56694 [11/Oct/2026:03:04:33.892] entry api/api-1 0/0/0/5014/5014 503 338 - - ---- 516/516/505/460/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNC44NTE1MDZaIiwiaSI6ImUyYTFkZmQ4LTA0MzgtNDc5ZC1iOTcwLWNmNGI2NzBhMTA2MCJ9 HTTP/1.1" +2026-10-11T03:04:39.200628055Z 172.31.0.9:55932 [11/Oct/2026:03:04:34.177] entry api/api-1 0/0/0/5022/5022 503 338 - - ---- 516/516/508/451/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNi4wOTgxNjFaIiwiaSI6IjgyMDg3MmY4LWIxMmEtNDNjYy05OGM2LTVjMWU1MTFkOTAzNyJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-r1-a1-s06-errors.log b/evidence/bench/scaling-pool/raw/4x1-r1-a1-s06-errors.log new file mode 100644 index 00000000..8733a250 --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-r1-a1-s06-errors.log @@ -0,0 +1,12 @@ +# 4x1-r1-a1-s06: коды ошибок окна k6 — 503:1 + +## PostgreSQL + +## API +2026-10-11T03:05:11.236533000Z {"request_id": "6287931e775f45d1bd9fb8ec4dc6066f", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 31.949, "level": "info", "timestamp": "2026-10-11T03:05:11.236438Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} +2026-10-11T03:05:24.533007090Z {"request_id": "f014603d1fca4743a2ba1fe478110a05", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "74cd8121a6cd", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 24.297, "level": "info", "timestamp": "2026-10-11T03:05:24.532878Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:05:28.051753300Z {"request_id": "e7ba5e70c9b04d7f8a23d683eaac5bff", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "74cd8121a6cd", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 98.565, "level": "info", "timestamp": "2026-10-11T03:05:28.051651Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:05:28.118453300Z {"request_id": "902a7c23ff7e4a0a943739a5233b465e", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "74cd8121a6cd", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 151.4, "level": "info", "timestamp": "2026-10-11T03:05:28.118284Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} +2026-10-11T03:05:29.533135259Z {"request_id": "8877cc3b423047f29d003cc8274fa55d", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "74cd8121a6cd", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 57.559, "level": "info", "timestamp": "2026-10-11T03:05:29.533002Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} + +## HAProxy diff --git a/evidence/bench/scaling-pool/raw/4x1-r3-a1-s05-errors.log b/evidence/bench/scaling-pool/raw/4x1-r3-a1-s05-errors.log new file mode 100644 index 00000000..8ddf15b8 --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-r3-a1-s05-errors.log @@ -0,0 +1,31 @@ +# 4x1-r3-a1-s05: коды ошибок окна k6 — 503:27 + +## PostgreSQL + +## API +2026-10-11T03:19:52.533008506Z {"request_id": "b79efab388f94099ad2664267fc8dde7", "event": "HTTP request completed", "user_id": "9c3e4c1d-6042-4543-924a-f2dc4212363b", "instance_id": "2eb0e3890894", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 4.185, "level": "info", "timestamp": "2026-10-11T03:19:52.532862Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:55.148533007Z {"request_id": "7dc99cb88e36484d99006be44979c759", "event": "HTTP request completed", "user_id": "77476a8a-a8cd-4da3-96e2-931da6dbe525", "instance_id": "2eb0e3890894", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 1.439, "level": "info", "timestamp": "2026-10-11T03:19:55.148435Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:46.388854461Z {"request_id": "82598a83b5904bf8b12e7a3293e2252b", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.492, "level": "info", "timestamp": "2026-10-11T03:19:46.388744Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:47.533140212Z {"request_id": "014525709dd5449bb2f72af01e2482c2", "event": "HTTP request completed", "user_id": "9c3e4c1d-6042-4543-924a-f2dc4212363b", "instance_id": "ce97984bf584", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 904.531, "level": "info", "timestamp": "2026-10-11T03:19:47.533008Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:48.607306129Z {"request_id": "5f75b1cb69e3485fab873539b46291d8", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.6, "level": "info", "timestamp": "2026-10-11T03:19:48.607228Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:48.964049796Z {"request_id": "7dd70888fd324f4584f93cb0bf38178d", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.096, "level": "info", "timestamp": "2026-10-11T03:19:48.963857Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:49.543376129Z {"request_id": "32abc346c0534f1ba69c964a2a5efe5f", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5011.562, "level": "info", "timestamp": "2026-10-11T03:19:49.543186Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:49.675464213Z {"request_id": "3ae45eae23224ea2afc2b9d70b2d9dfa", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5016.371, "level": "info", "timestamp": "2026-10-11T03:19:49.675273Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:49.928286505Z {"request_id": "0487f595dd5a41d997b672c5eac56c21", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.763, "level": "info", "timestamp": "2026-10-11T03:19:49.928172Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:50.514130088Z {"request_id": "ade317a49e7640fdbc70e1b534ee399d", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5012.79, "level": "info", "timestamp": "2026-10-11T03:19:50.513960Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:50.573437921Z {"request_id": "b98c8fdaf5c141f38ab24cec01037ab0", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.121, "level": "info", "timestamp": "2026-10-11T03:19:50.573350Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:51.138239797Z {"request_id": "a153bbe9785745d5aef3cd01f35af624", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.924, "level": "info", "timestamp": "2026-10-11T03:19:51.138095Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:19:50.430533005Z {"request_id": "7fd8510ec6fe4518b63ee71f94b9f35e", "event": "HTTP request completed", "user_id": "9c3e4c1d-6042-4543-924a-f2dc4212363b", "instance_id": "b9a3ecd38636", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 5.734, "level": "info", "timestamp": "2026-10-11T03:19:50.430433Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} +2026-10-11T03:19:56.836533008Z {"request_id": "e43fb7d5fb5241dc8f152f869b2cebdb", "event": "HTTP request completed", "user_id": "9c3e4c1d-6042-4543-924a-f2dc4212363b", "instance_id": "b9a3ecd38636", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 7.051, "level": "info", "timestamp": "2026-10-11T03:19:56.836368Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} + +## HAProxy +2026-10-11T03:19:46.391443294Z 172.31.0.9:39844 [11/Oct/2026:03:19:41.376] entry api/api-2 0/0/0/5014/5014 503 338 - - ---- 516/516/495/360/0 0/0 "GET /api/v1/chats/43581b79-e642-4241-b536-ea6b87169506/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo0MzU4MWI3OS1lNjQyLTQyNDEtYjUzNi1lYTZiODcxNjk1MDYiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxNzoyOC4xNTQyMzdaIiwiaSI6IjQ0ZWM3OGQ2LWRlNGYtNGFjYi04NmIxLTUxMThmMzM2YTkyMiJ9 HTTP/1.1" +2026-10-11T03:19:48.608481629Z 172.31.0.9:39868 [11/Oct/2026:03:19:43.580] entry api/api-2 0/0/0/5028/5028 503 338 - - ---- 516/516/499/428/0 0/0 "POST /api/v1/chats/ce73d6f7-d59a-433f-958a-ad1c631f957f/messages HTTP/1.1" +2026-10-11T03:19:48.969329046Z 172.31.0.9:42692 [11/Oct/2026:03:19:43.954] entry api/api-2 0/0/0/5015/5015 503 338 - - ---- 516/516/495/437/0 0/0 "GET /api/v1/chats/43581b79-e642-4241-b536-ea6b87169506/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo0MzU4MWI3OS1lNjQyLTQyNDEtYjUzNi1lYTZiODcxNjk1MDYiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxNzozMC45MzI5NjJaIiwiaSI6IjMzMTk3NDY1LTcwZjMtNDM3MS1hZTVlLThlNzI2OGFkZWI0MyJ9 HTTP/1.1" +2026-10-11T03:19:49.544726879Z 172.31.0.9:43472 [11/Oct/2026:03:19:44.529] entry api/api-2 0/0/0/5015/5015 503 338 - - ---- 516/516/499/423/0 0/0 "POST /api/v1/chats/da8aa220-2b6c-4a2f-9136-ae4d4d25230b/messages HTTP/1.1" +2026-10-11T03:19:49.677158588Z 172.31.0.9:43574 [11/Oct/2026:03:19:44.652] entry api/api-2 0/0/0/5024/5024 503 338 - - ---- 516/516/507/467/0 0/0 "GET /api/v1/users/me HTTP/1.1" +2026-10-11T03:19:49.931053255Z 172.31.0.9:39300 [11/Oct/2026:03:19:44.918] entry api/api-2 0/0/0/5012/5012 503 338 - - ---- 516/516/501/476/0 0/0 "POST /api/v1/chats/a24cf52f-caa4-4d99-898a-4364ee947c66/messages HTTP/1.1" +2026-10-11T03:19:50.517262338Z 172.31.0.9:41332 [11/Oct/2026:03:19:45.497] entry api/api-2 0/0/0/5019/5019 503 338 - - ---- 516/516/500/440/0 0/0 "GET /api/v1/chats/43581b79-e642-4241-b536-ea6b87169506/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo0MzU4MWI3OS1lNjQyLTQyNDEtYjUzNi1lYTZiODcxNjk1MDYiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxNzozMi4wODg0NDVaIiwiaSI6IjUxYWE4YjdhLTFiOTItNDYwNS1hZGM2LWZmNjU1ODJmYmE2NCJ9 HTTP/1.1" +2026-10-11T03:19:50.575924921Z 172.31.0.9:39852 [11/Oct/2026:03:19:45.561] entry api/api-2 0/0/0/5014/5014 503 338 - - ---- 516/516/503/433/0 0/0 "GET /api/v1/chats/43581b79-e642-4241-b536-ea6b87169506/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo0MzU4MWI3OS1lNjQyLTQyNDEtYjUzNi1lYTZiODcxNjk1MDYiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxNzoyOC4yODM3NDZaIiwiaSI6ImIyNDI2NGNhLTQwNzMtNDdlYi05NmNkLThkMDFiNTVjYzYwNCJ9 HTTP/1.1" +2026-10-11T03:19:51.141470297Z 172.31.0.9:43108 [11/Oct/2026:03:19:46.107] entry api/api-2 0/0/0/5033/5033 503 338 - - ---- 516/516/496/473/0 0/0 "POST /api/v1/chats/0cdffc6f-daa4-4e9c-87b7-0dd0ba6db2e2/messages HTTP/1.1" +2026-10-11T03:19:52.858990173Z 172.31.0.9:41896 [11/Oct/2026:03:19:47.838] entry api/api-2 0/0/0/5020/5020 503 338 - - ---- 516/516/496/474/0 0/0 "GET /api/v1/chats/43581b79-e642-4241-b536-ea6b87169506/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo0MzU4MWI3OS1lNjQyLTQyNDEtYjUzNi1lYTZiODcxNjk1MDYiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxNzoyOS41MjMzNjRaIiwiaSI6IjE4MDk3NDE0LWE5YTItNDc5My04MzgzLTI1OTE1OTQ3ZmUxMCJ9 HTTP/1.1" diff --git a/evidence/bench/scaling-pool/raw/4x1-r3-a1-s06-errors.log b/evidence/bench/scaling-pool/raw/4x1-r3-a1-s06-errors.log new file mode 100644 index 00000000..3136c13b --- /dev/null +++ b/evidence/bench/scaling-pool/raw/4x1-r3-a1-s06-errors.log @@ -0,0 +1,31 @@ +# 4x1-r3-a1-s06: коды ошибок окна k6 — 503:11 + +## PostgreSQL + +## API +2026-10-11T03:20:29.029022509Z {"request_id": "142253300ac6428db94e6e417caf13d4", "event": "HTTP request completed", "user_id": "9c3e4c1d-6042-4543-924a-f2dc4212363b", "instance_id": "2eb0e3890894", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 341.337, "level": "info", "timestamp": "2026-10-11T03:20:29.028945Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:20:32.533153552Z {"request_id": "74a49efcf62c4ce48d40beffd6b67cea", "event": "Created message", "user_id": "77476a8a-a8cd-4da3-96e2-931da6dbe525", "instance_id": "2eb0e3890894", "module": "message_service", "method": "send_message", "chat_id": "92a47d8f-4150-4544-8a07-ed17cd3d0f9c", "message_id": "cf9c65d4-d050-4ee4-a8a2-bad98e5c2c87", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T03:20:32.533008Z", "filename": "message.py", "lineno": 102, "func_name": "send_message"} +2026-10-11T03:20:36.533146429Z {"request_id": "31f2c8feceba49c5b416b7111d042c6b", "event": "HTTP request completed", "user_id": "9c3e4c1d-6042-4543-924a-f2dc4212363b", "instance_id": "2eb0e3890894", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 193.94, "level": "info", "timestamp": "2026-10-11T03:20:36.533006Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:20:42.533185418Z {"request_id": "9342df2e7d88459aa69495e82a8eb98c", "event": "Created message", "user_id": "9d66a497-b0b6-4ab3-9b06-a488fd68ee77", "instance_id": "2eb0e3890894", "module": "message_service", "method": "send_message", "chat_id": "92a47d8f-4150-4544-8a07-ed17cd3d0f9c", "message_id": "37f0b08a-43ca-4271-b5ac-d8075d18b9c2", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T03:20:42.533008Z", "filename": "message.py", "lineno": 102, "func_name": "send_message"} +2026-10-11T03:20:27.511053300Z {"request_id": "77696e7650ea43759aa6d05daaabb016", "event": "Created message", "user_id": "75c63570-ce5e-45ee-ad93-8b904c76e9b8", "instance_id": "ce97984bf584", "module": "message_service", "method": "send_message", "chat_id": "4e4924f1-3e68-418d-ab1b-f323c1c4e514", "message_id": "a2c7c288-3f2e-43e1-b823-eab5f37b98c6", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T03:20:27.510936Z", "filename": "message.py", "lineno": 102, "func_name": "send_message"} +2026-10-11T03:20:28.956253300Z {"request_id": "4d24f65db2cb43cf8ad66fb89f3e4e53", "event": "HTTP request completed", "user_id": "9c3e4c1d-6042-4543-924a-f2dc4212363b", "instance_id": "ce97984bf584", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 549.711, "level": "info", "timestamp": "2026-10-11T03:20:28.956101Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:20:34.533101303Z {"request_id": "d3be91626e7f4e0f871d92abb0e67f38", "event": "HTTP request completed", "user_id": "9c3e4c1d-6042-4543-924a-f2dc4212363b", "instance_id": "ce97984bf584", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 31.855, "level": "info", "timestamp": "2026-10-11T03:20:34.533002Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:20:37.786442596Z {"request_id": "835a9facca8c4674884f429dd3b39b23", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.15, "level": "info", "timestamp": "2026-10-11T03:20:37.786321Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:20:38.069923013Z {"request_id": "6a43c343d83d457db240756244eb8318", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5013.581, "level": "info", "timestamp": "2026-10-11T03:20:38.069740Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:20:38.428299222Z {"request_id": "5ffbbfe7d6234d3eb7d4134e77553e6d", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5011.773, "level": "info", "timestamp": "2026-10-11T03:20:38.428180Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:20:38.592573180Z {"request_id": "fa9fe3426f7949d4a524f9924fc1411e", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.277, "level": "info", "timestamp": "2026-10-11T03:20:38.592338Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:20:40.056253250Z {"request_id": "6d2a771f1aba46a882fa354bacdfde85", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5060.077, "level": "info", "timestamp": "2026-10-11T03:20:40.056135Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:20:40.995330000Z {"request_id": "cbc1da62cafd40d08c517327acd6a4da", "event": "HTTP request completed", "user_id": "9c3e4c1d-6042-4543-924a-f2dc4212363b", "instance_id": "ce97984bf584", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 877.438, "level": "info", "timestamp": "2026-10-11T03:20:40.995205Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} +2026-10-11T03:20:41.558714667Z {"request_id": "b32948f1be434feb9bd004a2a590d744", "event": "HTTP request completed", "instance_id": "ce97984bf584", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.522, "level": "info", "timestamp": "2026-10-11T03:20:41.558504Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} + +## HAProxy +2026-10-11T03:20:37.788041846Z 172.31.0.9:42078 [11/Oct/2026:03:20:32.774] entry api/api-2 0/0/0/5013/5013 503 338 - - ---- 468/468/457/393/0 0/0 "GET /api/v1/chats/43581b79-e642-4241-b536-ea6b87169506/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo0MzU4MWI3OS1lNjQyLTQyNDEtYjUzNi1lYTZiODcxNjk1MDYiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxNzoyNy4zMDQwOTBaIiwiaSI6ImM1ZWE3MWM2LThmNmMtNDZjYi05ZDliLWNhOWNhNzRmNjAwZSJ9 HTTP/1.1" +2026-10-11T03:20:38.071259430Z 172.31.0.9:40996 [11/Oct/2026:03:20:33.053] entry api/api-2 0/0/0/5017/5017 503 338 - - ---- 468/468/455/400/0 0/0 "GET /api/v1/chats/43581b79-e642-4241-b536-ea6b87169506/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo0MzU4MWI3OS1lNjQyLTQyNDEtYjUzNi1lYTZiODcxNjk1MDYiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxNzoyNi4yODI3NjZaIiwiaSI6ImQwYjcwZmYyLWE5ZGMtNDBmYi1iNzRhLTNjY2YyZDU1NmQ3MSJ9 HTTP/1.1" +2026-10-11T03:20:38.430284763Z 172.31.0.9:41658 [11/Oct/2026:03:20:33.411] entry api/api-2 0/0/0/5018/5018 503 338 - - ---- 468/468/420/398/0 0/0 "POST /api/v1/chats/e2aa302f-86a7-4c05-9384-827bd31de0d8/messages HTTP/1.1" +2026-10-11T03:20:38.595097305Z 172.31.0.9:43646 [11/Oct/2026:03:20:33.580] entry api/api-2 0/0/0/5014/5014 503 338 - - ---- 468/468/423/405/0 0/0 "POST /api/v1/chats/a24cf52f-caa4-4d99-898a-4364ee947c66/messages HTTP/1.1" +2026-10-11T03:20:40.058836833Z 172.31.0.9:41510 [11/Oct/2026:03:20:34.991] entry api/api-2 0/0/0/5066/5066 503 338 - - ---- 468/468/451/430/0 0/0 "POST /api/v1/chats/4e4924f1-3e68-418d-ab1b-f323c1c4e514/messages HTTP/1.1" +2026-10-11T03:20:41.560934001Z 172.31.0.9:42970 [11/Oct/2026:03:20:36.548] entry api/api-2 0/0/0/5011/5011 503 338 - - ---- 468/468/439/418/0 0/0 "POST /api/v1/chats/4e4924f1-3e68-418d-ab1b-f323c1c4e514/messages HTTP/1.1" +2026-10-11T03:20:41.859108709Z 172.31.0.9:43834 [11/Oct/2026:03:20:36.844] entry api/api-2 0/0/0/5013/5013 503 338 - - ---- 468/468/427/420/0 0/0 "GET /api/v1/chats/43581b79-e642-4241-b536-ea6b87169506/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo0MzU4MWI3OS1lNjQyLTQyNDEtYjUzNi1lYTZiODcxNjk1MDYiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxNzoyNi40NTQ3MzdaIiwiaSI6ImJiYThlNDIyLWEyZjctNDA1My1hZmE2LWFlYzY5ZjljMzA5NiJ9 HTTP/1.1" +2026-10-11T03:20:43.801062252Z 172.31.0.9:44332 [11/Oct/2026:03:20:38.673] entry api/api-2 0/0/0/5126/5126 503 338 - - ---- 468/468/437/435/0 0/0 "GET /api/v1/chats/43581b79-e642-4241-b536-ea6b87169506/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo0MzU4MWI3OS1lNjQyLTQyNDEtYjUzNi1lYTZiODcxNjk1MDYiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxNzozMS40MzA3MDhaIiwiaSI6IjcwNmZjYjI2LThlMzMtNGU3NS1iYzE1LTE0MjMxYTZkNzAxNSJ9 HTTP/1.1" +2026-10-11T03:20:44.281037918Z 172.31.0.9:42356 [11/Oct/2026:03:20:39.266] entry api/api-2 0/0/0/5013/5013 503 338 - - ---- 468/468/430/396/0 0/0 "GET /api/v1/chats/43581b79-e642-4241-b536-ea6b87169506/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDo0MzU4MWI3OS1lNjQyLTQyNDEtYjUzNi1lYTZiODcxNjk1MDYiLCJ0IjoiMjAyNi0xMC0xMVQwMzoxNzozMS4xNTg2NjZaIiwiaSI6IjY3MDliNTIzLTVkNTctNGQ0YS04NjE1LTJhNDM4NzU0NGIxYSJ9 HTTP/1.1" +2026-10-11T03:20:44.563030544Z 172.31.0.9:44494 [11/Oct/2026:03:20:39.547] entry api/api-2 0/0/0/5015/5015 503 338 - - ---- 468/468/439/402/0 0/0 "POST /api/v1/chats/82d06f22-2c35-4873-9ba7-b777e48a5a9f/messages HTTP/1.1" diff --git a/evidence/failover/baseline/raw/01-stop-r1-lb.log b/evidence/failover/baseline/raw/01-stop-r1-lb.log new file mode 100644 index 00000000..15171c8c --- /dev/null +++ b/evidence/failover/baseline/raw/01-stop-r1-lb.log @@ -0,0 +1,4 @@ +2026-10-10T20:42:41.198877336Z Server api/api-2 is going DOWN for maintenance (No IP for server ). 1 active and 0 backup servers left. 50 sessions active, 0 requeued, 0 remaining in queue. +2026-10-10T20:43:00.214192095Z Server api/api-2 ('api') is DOWN/READY (resolves again). +2026-10-10T20:43:00.214194595Z Server api/api-2 administratively READY thanks to valid DNS answer. +2026-10-10T20:43:01.931775554Z Server api/api-2 is UP, reason: Layer7 check passed, code: 200, check duration: 1ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/failover/baseline/raw/02-stop-r2-lb.log b/evidence/failover/baseline/raw/02-stop-r2-lb.log new file mode 100644 index 00000000..ded96f76 --- /dev/null +++ b/evidence/failover/baseline/raw/02-stop-r2-lb.log @@ -0,0 +1,4 @@ +2026-10-10T20:43:34.249205013Z Server api/api-1 is going DOWN for maintenance (No IP for server ). 1 active and 0 backup servers left. 50 sessions active, 0 requeued, 0 remaining in queue. +2026-10-10T20:43:54.264597800Z Server api/api-1 ('api') is DOWN/READY (resolves again). +2026-10-10T20:43:54.264598634Z Server api/api-1 administratively READY thanks to valid DNS answer. +2026-10-10T20:43:54.502118467Z Server api/api-1 is UP, reason: Layer7 check passed, code: 200, check duration: 18ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/failover/baseline/raw/03-kill-r1-lb.log b/evidence/failover/baseline/raw/03-kill-r1-lb.log new file mode 100644 index 00000000..1dead98d --- /dev/null +++ b/evidence/failover/baseline/raw/03-kill-r1-lb.log @@ -0,0 +1,4 @@ +2026-10-10T20:44:28.298169844Z Server api/api-2 is going DOWN for maintenance (No IP for server ). 1 active and 0 backup servers left. 68 sessions active, 0 requeued, 0 remaining in queue. +2026-10-10T20:44:47.306262797Z Server api/api-2 ('api') is DOWN/READY (resolves again). +2026-10-10T20:44:47.306263505Z Server api/api-2 administratively READY thanks to valid DNS answer. +2026-10-10T20:44:47.720969172Z Server api/api-2 is UP, reason: Layer7 check passed, code: 200, check duration: 18ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/failover/baseline/raw/04-kill-r2-lb.log b/evidence/failover/baseline/raw/04-kill-r2-lb.log new file mode 100644 index 00000000..d98e281a --- /dev/null +++ b/evidence/failover/baseline/raw/04-kill-r2-lb.log @@ -0,0 +1,4 @@ +2026-10-10T20:45:20.335422215Z Server api/api-1 is going DOWN for maintenance (No IP for server ). 1 active and 0 backup servers left. 50 sessions active, 0 requeued, 0 remaining in queue. +2026-10-10T20:45:40.361189335Z Server api/api-1 ('api') is DOWN/READY (resolves again). +2026-10-10T20:45:40.361190210Z Server api/api-1 administratively READY thanks to valid DNS answer. +2026-10-10T20:45:41.366675461Z Server api/api-1 is UP, reason: Layer7 check passed, code: 200, check duration: 19ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/failover/baseline/raw/05-pause-r1-lb.log b/evidence/failover/baseline/raw/05-pause-r1-lb.log new file mode 100644 index 00000000..78352d95 --- /dev/null +++ b/evidence/failover/baseline/raw/05-pause-r1-lb.log @@ -0,0 +1,2 @@ +2026-10-10T20:46:18.650221339Z Server api/api-2 is DOWN, reason: Layer7 timeout, check duration: 2501ms. 1 active and 0 backup servers left. 602 sessions active, 0 requeued, 0 remaining in queue. +2026-10-10T20:46:34.178240805Z Server api/api-2 is UP, reason: Layer7 check passed, code: 200, check duration: 1ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/failover/baseline/raw/06-pause-r2-lb.log b/evidence/failover/baseline/raw/06-pause-r2-lb.log new file mode 100644 index 00000000..b2cc09d8 --- /dev/null +++ b/evidence/failover/baseline/raw/06-pause-r2-lb.log @@ -0,0 +1,2 @@ +2026-10-10T20:47:12.208024545Z Server api/api-1 is DOWN, reason: Layer7 timeout, check duration: 2502ms. 1 active and 0 backup servers left. 584 sessions active, 0 requeued, 0 remaining in queue. +2026-10-10T20:47:27.907817677Z Server api/api-1 is UP, reason: Layer7 check passed, code: 200, check duration: 1ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/failover/resources/raw/01-stop-r1-lb.log b/evidence/failover/resources/raw/01-stop-r1-lb.log new file mode 100644 index 00000000..dda56d48 --- /dev/null +++ b/evidence/failover/resources/raw/01-stop-r1-lb.log @@ -0,0 +1,4 @@ +2026-10-12T15:28:51.576981251Z Server api/api-1 is going DOWN for maintenance (No IP for server ). 1 active and 0 backup servers left. 9 sessions active, 0 requeued, 0 remaining in queue. +2026-10-12T15:29:11.601451052Z Server api/api-1 ('api') is DOWN/READY (resolves again). +2026-10-12T15:29:11.601451677Z Server api/api-1 administratively READY thanks to valid DNS answer. +2026-10-12T15:29:13.178377970Z Server api/api-1 is UP, reason: Layer7 check passed, code: 200, check duration: 1ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/failover/resources/raw/02-stop-r2-lb.log b/evidence/failover/resources/raw/02-stop-r2-lb.log new file mode 100644 index 00000000..f1e66d49 --- /dev/null +++ b/evidence/failover/resources/raw/02-stop-r2-lb.log @@ -0,0 +1,4 @@ +2026-10-12T15:29:45.651616346Z Server api/api-2 is going DOWN for maintenance (No IP for server ). 1 active and 0 backup servers left. 50 sessions active, 0 requeued, 0 remaining in queue. +2026-10-12T15:30:05.673976300Z Server api/api-2 ('api') is DOWN/READY (resolves again). +2026-10-12T15:30:05.673976925Z Server api/api-2 administratively READY thanks to valid DNS answer. +2026-10-12T15:30:06.040366133Z Server api/api-2 is UP, reason: Layer7 check passed, code: 200, check duration: 16ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/failover/resources/raw/03-kill-r1-lb.log b/evidence/failover/resources/raw/03-kill-r1-lb.log new file mode 100644 index 00000000..2a92ea69 --- /dev/null +++ b/evidence/failover/resources/raw/03-kill-r1-lb.log @@ -0,0 +1,4 @@ +2026-10-12T15:30:38.708176676Z Server api/api-1 is going DOWN for maintenance (No IP for server ). 1 active and 0 backup servers left. 50 sessions active, 0 requeued, 0 remaining in queue. +2026-10-12T15:30:58.728872046Z Server api/api-1 ('api') is DOWN/READY (resolves again). +2026-10-12T15:30:58.728872796Z Server api/api-1 administratively READY thanks to valid DNS answer. +2026-10-12T15:30:58.981807630Z Server api/api-1 is UP, reason: Layer7 check passed, code: 200, check duration: 16ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/failover/resources/raw/04-kill-r2-lb.log b/evidence/failover/resources/raw/04-kill-r2-lb.log new file mode 100644 index 00000000..e29d43b9 --- /dev/null +++ b/evidence/failover/resources/raw/04-kill-r2-lb.log @@ -0,0 +1,5 @@ +2026-10-12T15:31:32.312371548Z Server api/api-2 is DOWN, reason: Layer4 timeout, check duration: 501ms. 1 active and 0 backup servers left. 50 sessions active, 0 requeued, 0 remaining in queue. +2026-10-12T15:31:32.754978423Z Server api/api-2 was DOWN and now enters maintenance (No IP for server ). +2026-10-12T15:31:51.768121585Z Server api/api-2 ('api') is DOWN/READY (resolves again). +2026-10-12T15:31:51.768129126Z Server api/api-2 administratively READY thanks to valid DNS answer. +2026-10-12T15:31:52.332260460Z Server api/api-2 is UP, reason: Layer7 check passed, code: 200, check duration: 18ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/failover/resources/raw/05-pause-r1-lb.log b/evidence/failover/resources/raw/05-pause-r1-lb.log new file mode 100644 index 00000000..bdb81089 --- /dev/null +++ b/evidence/failover/resources/raw/05-pause-r1-lb.log @@ -0,0 +1,2 @@ +2026-10-12T15:32:30.721053255Z Server api/api-1 is DOWN, reason: Layer7 timeout, check duration: 2501ms. 1 active and 0 backup servers left. 618 sessions active, 0 requeued, 0 remaining in queue. +2026-10-12T15:32:46.244820430Z Server api/api-1 is UP, reason: Layer7 check passed, code: 200, check duration: 1ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/failover/resources/raw/06-pause-r2-lb.log b/evidence/failover/resources/raw/06-pause-r2-lb.log new file mode 100644 index 00000000..aa02cfa9 --- /dev/null +++ b/evidence/failover/resources/raw/06-pause-r2-lb.log @@ -0,0 +1,2 @@ +2026-10-12T15:33:26.278666128Z Server api/api-2 is DOWN, reason: Layer7 timeout, check duration: 2501ms. 1 active and 0 backup servers left. 624 sessions active, 0 requeued, 0 remaining in queue. +2026-10-12T15:33:41.802780427Z Server api/api-2 is UP, reason: Layer7 check passed, code: 200, check duration: 1ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. diff --git a/evidence/rollout/baseline/raw/rollout-lb.log b/evidence/rollout/baseline/raw/rollout-lb.log new file mode 100644 index 00000000..0a517baa --- /dev/null +++ b/evidence/rollout/baseline/raw/rollout-lb.log @@ -0,0 +1,12 @@ +2026-10-10T22:18:20.210718464Z Server api/api-3 ('api') is DOWN/READY (resolves again). +2026-10-10T22:18:20.210719881Z Server api/api-3 administratively READY thanks to valid DNS answer. +2026-10-10T22:18:21.953311007Z Server api/api-3 is UP, reason: Layer7 check passed, code: 200, check duration: 1ms. 3 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. +2026-10-10T22:18:22.284700340Z Server api/api-1 enters drain state. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. +2026-10-10T22:18:22.441014840Z Server api/api-1 is going DOWN for maintenance. 2 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. +2026-10-10T22:18:23.519099299Z Server api/api-1 is leaving forced maintenance but remains in maintenance. +2026-10-10T22:18:24.214730341Z Server api/api-1 ('api') is DOWN/READY (resolves again). +2026-10-10T22:18:24.214731008Z Server api/api-1 administratively READY thanks to valid DNS answer. +2026-10-10T22:18:25.822962425Z Server api/api-1 is UP, reason: Layer7 check passed, code: 200, check duration: 1ms. 3 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. +2026-10-10T22:18:26.227044801Z Server api/api-2 enters drain state. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. +2026-10-10T22:18:26.370661259Z Server api/api-2 is going DOWN for maintenance. 2 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. +2026-10-10T22:18:27.355361718Z Server api/api-2 is leaving forced maintenance but remains in maintenance. diff --git a/evidence/rollout/baseline/raw/rollout-script.log b/evidence/rollout/baseline/raw/rollout-script.log new file mode 100644 index 00000000..96aacc7d --- /dev/null +++ b/evidence/rollout/baseline/raw/rollout-script.log @@ -0,0 +1,18 @@ +22:18:17 rolling-update: start: 2 replicas 3ff08f6d1141 8b1e013c57d2, image mtusi-messenger:bench from working tree +22:18:17 rolling-update: build done in 0s +22:18:19 rolling-update: migrate done in 2s +22:18:19 rolling-update: replica 1/2: started new 45350587c86e +22:18:22 rolling-update: replica 1/2: new 45350587c86e addr 172.31.0.8 slot api-3 UP in 3s +22:18:22 rolling-update: replica 1/2: drain old 3ff08f6d1141 addr 172.31.0.5 slot api-1 +22:18:22 rolling-update: replica 1/2: old 3ff08f6d1141 idle after 0s +22:18:22 rolling-update: replica 1/2: maint slot api-1, stopping old 3ff08f6d1141 +22:18:22 rolling-update: replica 1/2: removed old 3ff08f6d1141 (stop 0s) +22:18:23 rolling-update: replica 1/2: slot api-1 ready +22:18:23 rolling-update: replica 2/2: started new 87e621520c48 +22:18:26 rolling-update: replica 2/2: new 87e621520c48 addr 172.31.0.5 slot api-1 UP in 3s +22:18:26 rolling-update: replica 2/2: drain old 8b1e013c57d2 addr 172.31.0.4 slot api-2 +22:18:26 rolling-update: replica 2/2: old 8b1e013c57d2 idle after 0s +22:18:26 rolling-update: replica 2/2: maint slot api-2, stopping old 8b1e013c57d2 +22:18:26 rolling-update: replica 2/2: removed old 8b1e013c57d2 (stop 0s) +22:18:27 rolling-update: replica 2/2: slot api-2 ready +22:18:27 rolling-update: done: 2 replicas 45350587c86e 87e621520c48 UP in 10s diff --git a/evidence/rollout/resources/raw/rollout-lb.log b/evidence/rollout/resources/raw/rollout-lb.log new file mode 100644 index 00000000..c11ffda4 --- /dev/null +++ b/evidence/rollout/resources/raw/rollout-lb.log @@ -0,0 +1,12 @@ +2026-10-12T15:55:29.771532836Z Server api/api-3 ('api') is DOWN/READY (resolves again). +2026-10-12T15:55:29.771534961Z Server api/api-3 administratively READY thanks to valid DNS answer. +2026-10-12T15:55:31.528344378Z Server api/api-3 is UP, reason: Layer7 check passed, code: 200, check duration: 2ms. 3 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. +2026-10-12T15:55:32.126439795Z Server api/api-1 enters drain state. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. +2026-10-12T15:55:32.270743004Z Server api/api-1 is going DOWN for maintenance. 2 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. +2026-10-12T15:55:32.880830754Z Server api/api-1 is leaving forced maintenance but remains in maintenance. +2026-10-12T15:55:33.773778629Z Server api/api-1 ('api') is DOWN/READY (resolves again). +2026-10-12T15:55:33.773779296Z Server api/api-1 administratively READY thanks to valid DNS answer. +2026-10-12T15:55:34.047858213Z Server api/api-1 is UP, reason: Layer7 check passed, code: 200, check duration: 20ms. 3 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. +2026-10-12T15:55:34.339120255Z Server api/api-2 enters drain state. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. +2026-10-12T15:55:34.483081880Z Server api/api-2 is going DOWN for maintenance. 2 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. +2026-10-12T15:55:36.167279214Z Server api/api-2 is leaving forced maintenance but remains in maintenance. diff --git a/evidence/rollout/resources/raw/rollout-script.log b/evidence/rollout/resources/raw/rollout-script.log new file mode 100644 index 00000000..ee14807d --- /dev/null +++ b/evidence/rollout/resources/raw/rollout-script.log @@ -0,0 +1,18 @@ +15:55:27 rolling-update: start: 2 replicas bc2139090257 97e43c2595ec, image mtusi-messenger:bench from working tree +15:55:27 rolling-update: build done in 0s +15:55:29 rolling-update: migrate done in 2s +15:55:29 rolling-update: replica 1/2: started new 83ea4a71fb8d +15:55:31 rolling-update: replica 1/2: new 83ea4a71fb8d addr 172.31.0.8 slot api-3 UP in 2s +15:55:32 rolling-update: replica 1/2: drain old bc2139090257 addr 172.31.0.5 slot api-1 +15:55:32 rolling-update: replica 1/2: old bc2139090257 idle after 0s +15:55:32 rolling-update: replica 1/2: maint slot api-1, stopping old bc2139090257 +15:55:32 rolling-update: replica 1/2: removed old bc2139090257 (stop 0s, exit 0) +15:55:32 rolling-update: replica 1/2: slot api-1 ready +15:55:33 rolling-update: replica 2/2: started new 5ae2ed238ef5 +15:55:34 rolling-update: replica 2/2: new 5ae2ed238ef5 addr 172.31.0.5 slot api-1 UP in 2s +15:55:34 rolling-update: replica 2/2: drain old 97e43c2595ec addr 172.31.0.4 slot api-2 +15:55:34 rolling-update: replica 2/2: old 97e43c2595ec idle after 0s +15:55:34 rolling-update: replica 2/2: maint slot api-2, stopping old 97e43c2595ec +15:55:34 rolling-update: replica 2/2: removed old 97e43c2595ec (stop 0s, exit 0) +15:55:36 rolling-update: replica 2/2: slot api-2 ready +15:55:36 rolling-update: done: 2 replicas 83ea4a71fb8d 5ae2ed238ef5 UP in 9s diff --git a/evidence/tests/profile-resources-checks.md b/evidence/tests/profile-resources-checks.md index 6285a915..c2341257 100644 --- a/evidence/tests/profile-resources-checks.md +++ b/evidence/tests/profile-resources-checks.md @@ -385,7 +385,7 @@ Zoom не запущен ни разу; ВМ — 12 CPU / 7,75 GiB. После | S7 | превышение порога ±2 МиБ на 0,1 МиБ названо явно | этот файл, раздел 7.2 | | S8 | «кроме проверок здоровья» в абзаце окон сводки `rollout` | `bench/resources.py` | | S9 | формулировки `AGENTS.md` о файлах меток и о месте change | `AGENTS.md` | -| S10 | журналы `raw/*.log` не в git из-за `*.log` в `.gitignore` — запись с предложением правки | `KNOWN_ISSUES.md` | +| S10 | журналы `raw/*.log` не в git из-за `*.log` в `.gitignore` — запись с предложением правки; 2026-10-13 журналы меток проверены на секреты и добавлены исключением `!evidence/**/raw/*.log`, запись снята | `KNOWN_ISSUES.md`, `.gitignore` | | S11 | сценарий «Бюджет ВМ» проверен расчётом и чтением кода, не прогоном — сказано явно | этот файл, раздел «Бюджет (3.1)» | Проверки после правок (вывод — ниже):