Дополнить доказательства трека 1 по замечаниям ревью

Измерения (raw-файлы, сводки, отчёт):
- контрольный A/B на бюджете по умолчанию (`abdiag`, 3+3 повтора): A упирается в
  250 req/s и отдаёт 503 `unavailable` (4/894/2813 на 300/350/400), B держит
  398.7 req/s без единого 5xx;
- блок «почему» на одном темпе (900 и 1500 req/s, 2 повтора x 5 конфигураций):
  перераспределение того же бюджета не меняет потолок (820–854 req/s), разделение
  бюджета между репликами поднимает время горячего оператора с 1.56 до 17.3–17.9 ms,
  ожидания `LWLock:WALWrite`/`Lock:transactionid` общие для всех реплик;
- колено текущей сборки (900–2200 req/s, N=1 и N=4): ≈1200 req/s против ≈700 у
  серии A, за коленом одна реплика с полным бюджетом не хуже четырёх;
- пара прогонов HAProxy 0.25 против 1.0 CPU на 1500 req/s: результат одинаков,
  при квоте 1.0 балансировщик использует те же 25 % ядра.

Харнесс `scripts/lab3/lab3.py`:
- `--loadgen-memory` для подкоманды `run` (прогон колена падал на разборе аргументов);
- суффикс вывода A/B для контрольной серии (`summary-ab-abdiag.md`, `ab-verdict-abdiag.json`);
- исправлено затенение `header()` локальной переменной в `cmd_check`, из-за которого
  падала проверка `check spread`;
- сэмплер: классы ответов LB (`hrsp_*`), ожидания сессий PostgreSQL (`wait_event`),
  операторы `idempotency_keys` в дельтах `pg_stat_statements`.

Доказательства и документы: пересняты `evidence/level3/{smoke,persistence}` и
`evidence/level4/{dependency-faults,spread,idempotency-concurrency}`, обновлены
сводки и графики `evidence/track1/*`, `evidence/README.md` (метки и состав сводок),
`REPORT.md` (разбор отказов стороны A, бюджет серии, оговорки о валидности данных,
точные команды воспроизведения, «почему» закрыто измерением).
This commit is contained in:
2026-10-16 03:01:14 +03:00
parent e38795d0a3
commit b7cf7b2d3f
181 changed files with 12378 additions and 3388 deletions
+11 -4
View File
@@ -25,7 +25,7 @@
| `level4/spread.json` | один токен обслуживается двумя репликами (20/20 запросов), карта `X-Instance-Id` → контейнер | `python3 scripts/lab3/lab3.py check spread --requests 40` |
| `level4/idempotency-concurrency.txt` | 4 теста идемпотентности, включая 8 параллельных POST с одним ключом через LB: одно сообщение, один id; другой body → 409; без ключа → 400 | `python3 scripts/lab3/lab3.py check idempotency` |
| `level4/failover-sweep.json`, `.md` | отказ каждой реплики под нагрузкой 200 req/s: 0 ошибок клиента и LB, 0 дублей, 0 потерянных подтверждений, реплика возвращается за ≈3 s, HAProxy помечает узел `DOWN` | `python3 scripts/lab3/lab3.py failover --replicas all --rate 200 --duration 60` |
| `level4/rolling-update.json`, `.md` | поочерёдная замена реплик под нагрузкой: `BUILD_ID`/image id меняются по шагам, 0 ответов 5xx из 880 попыток, `migrate` не перезапускался | `python3 scripts/lab3/lab3.py rolling-update --under-load --rate 200 --build-id <id>` |
| `level4/rolling-update.json`, `.md` | поочерёдная замена реплик под нагрузкой: `BUILD_ID`/image id меняются по шагам, 0 ответов 5xx из 889 попыток, `migrate` не перезапускался (обновляется перезамером на финальной сборке) | `python3 scripts/lab3/lab3.py rolling-update --under-load --rate 200 --build-id <id>` |
| `level4/idempotency-gc.txt` | операторский GC удаляет ровно просроченную запись журнала идемпотентности и не трогает свежую | `docker compose --env-file .env exec -T api node dist/messages/idempotency/idempotency-gc.cli.js` |
| `level4/dependency-faults.txt` | bounded `503 unavailable` (с `request_id`, без деталей драйвера) при отказе Redis и PostgreSQL, `401` без сессии остаётся, после возврата зависимости данные и сессия целы | `make test-dependencies` |
| `level4/limits-and-ports.txt` | лимиты CPU/RAM каждого контейнера, отсутствие опубликованных портов у реплик API, отсутствие `container_name`, отсутствие секретов в трекаемых файлах | см. команды внутри файла |
@@ -43,8 +43,12 @@
Метки: `p-a#nN#repR` — серия A (профиль p-a, N реплик, повтор R); `p-b#n4` — горячий
чат; `p-c#lbX` — путь чтения при лимите LB X CPU; `growth#…` — серия роста
ресурсов; `ab#A#repR` / `ab#B#repR` — A/B двух образов; `failover#<instance>`,
`rolling` — сценарии отказов.
ресурсов; `ab#A#repR` / `ab#B#repR` — A/B двух образов; `abdiag#A#repR` /
`abdiag#B#repR` — контрольный A/B на бюджете по умолчанию; `vuswap#nN-vuM` —
проверка потолка генератора (та же конфигурация, другой `MAX_VUS`); `block#…#repR`
(900 req/s) и `why#…#repR` (1500 req/s) — блок «почему»: один темп, разные
распределения того же бюджета; `knee#nN` — лестница 900–2200 req/s на текущей
сборке; `failover#<instance>`, `rolling` — сценарии отказов.
Сводные документы (пересобираются из raw командой
`python3 scripts/lab3/lab3.py analyze`):
@@ -55,7 +59,10 @@
| `track1/summary-series-a.md` | серия 1/2/4 реплики: достигнутый RPS, латентность, точки сатурации, ресурсы при разных конфигурациях |
| `track1/summary-diagnostics.md` | горячий чат (p-b) и путь чтения (p-c) при разных лимитах LB |
| `track1/summary-growth.md` | серия роста ресурсов: что именно является ограничителем |
| `track1/summary-ab.md` | A/B до/после оптимизации: медианы, разброс по повторам, вывод «подтверждено/не подтверждено» |
| `track1/summary-ab.md`, `track1/summary-ab-abdiag.md` | A/B до/после оптимизации: медианы, разброс по повторам, вывод «подтверждено/не подтверждено»; `abdiag` — контрольная серия на бюджете по умолчанию (бюджет записан в `ab-verdict*.json`) |
| `track1/ab-verdict.json`, `track1/ab-verdict-abdiag.json` | вердикт A/B по шагам, бюджет серии, хеш коммита, образы сторон |
| `track1/summary-mechanism.md` | разрез «почему»: один темп, разные конфигурации/число реплик, ожидания сессий PostgreSQL (`Lock`/`tuple`/`transactionid`), дельты `pg_stat_statements` по операторам, CPU контейнеров, пер-реплики латентности |
| `track1/statement-deltas.md` | доказательство «8 → 1 обращение»: дельта вызовов и времени по операторам за прогон (A: три оператора ×18 629 вызовов, 95 ms среднего на `UPDATE chats`; B: один составной оператор, 2.35 ms) |
| `track1/graphs/*.png` | графики: пропускная способность, латентность и ошибки, занятость генератора, CPU контейнеров во времени, распределение по слотам LB, рост ресурсов, A/B |
Правила интерпретации: `dropped_iterations > 0` вместе с ростом p95 означает
+5 -36
View File
@@ -1,45 +1,14 @@
=== make test-persistence ACTION_SCRIPT=scripts/restart.sh
captured_at 2026-10-15T18:25:20Z
commit: 410e1ea3ad1b12b1bc650484c3531e6bf76479be
--- контейнеры до (docker compose ps):
api mtusi-lab3-api-1 Up 4 minutes (healthy)
api mtusi-lab3-api-2 Up 4 minutes (healthy)
haproxy mtusi-lab3-haproxy-1 Up 12 minutes
postgres mtusi-lab3-postgres-1 Up 11 minutes (healthy)
redis mtusi-lab3-redis-1 Up 11 minutes (healthy)
--- StartedAt до:
/mtusi-lab3-postgres-1 2026-10-15T18:14:09.923334614Z
/mtusi-lab3-redis-1 2026-10-15T18:13:39.438121274Z
/mtusi-lab3-api-1 2026-10-15T18:20:38.061888309Z
/mtusi-lab3-api-2 2026-10-15T18:20:38.216722318Z
/mtusi-lab3-haproxy-1 2026-10-15T18:12:52.388753254Z
captured_at 2026-10-15T23:59:23Z
commit: e38795d0a39c20960049f84bf6b301832804964d
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
--- контейнеры после:
api mtusi-lab3-api-1 Up 5 seconds (healthy)
api mtusi-lab3-api-2 Up 5 seconds (healthy)
--- docker compose ps после теста:
api mtusi-lab3-api-3 Up 5 seconds (healthy)
api mtusi-lab3-api-4 Up 5 seconds (healthy)
haproxy mtusi-lab3-haproxy-1 Up 8 seconds
postgres mtusi-lab3-postgres-1 Up 8 seconds (healthy)
redis mtusi-lab3-redis-1 Up 8 seconds (healthy)
--- StartedAt после (все значения должны быть новее):
/mtusi-lab3-postgres-1 2026-10-15T18:25:22.182545013Z
/mtusi-lab3-redis-1 2026-10-15T18:25:22.245653432Z
/mtusi-lab3-api-1 2026-10-15T18:25:25.078945419Z
/mtusi-lab3-api-2 2026-10-15T18:25:25.059004849Z
/mtusi-lab3-haproxy-1 2026-10-15T18:25:22.115352599Z
--- содержимое restart.sh:
#!/usr/bin/env bash
# Restart hook for `make test-persistence ACTION_SCRIPT=scripts/restart.sh`.
# Semantic and evidence notes: tests/README.md ("Проверка сохранности") and REPORT.md.
set -euo pipefail
compose=(docker compose --env-file .env)
"${compose[@]}" restart postgres redis api haproxy
"${compose[@]}" up -d --no-recreate --no-deps --wait postgres redis api haproxy
+9 -7
View File
@@ -1,11 +1,13 @@
=== make test (публичный smoke lab3)
captured_at 2026-10-15T18:25:16Z
commit: 410e1ea3ad1b12b1bc650484c3531e6bf76479be
api mtusi-lab3-api-1 Up 4 minutes (healthy)
api mtusi-lab3-api-2 Up 4 minutes (healthy)
haproxy mtusi-lab3-haproxy-1 Up 12 minutes
postgres mtusi-lab3-postgres-1 Up 11 minutes (healthy)
redis mtusi-lab3-redis-1 Up 11 minutes (healthy)
captured_at 2026-10-15T23:57:20Z
commit: e38795d0a39c20960049f84bf6b301832804964d
api mtusi-lab3-api-3 Up 2 minutes (healthy)
api mtusi-lab3-api-4 Up 2 minutes (healthy)
api mtusi-lab3-api-5 Up 2 minutes (healthy)
api mtusi-lab3-api-6 Up 2 minutes (healthy)
haproxy mtusi-lab3-haproxy-1 Up 4 hours
postgres mtusi-lab3-postgres-1 Up 4 hours (healthy)
redis mtusi-lab3-redis-1 Up 4 hours (healthy)
python3 tests/smoke.py --base-url "http://localhost:8080"
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
+11 -4
View File
@@ -1,6 +1,6 @@
=== make test-dependencies (отказы Redis и PostgreSQL)
captured_at 2026-10-15T20:17:44Z
commit: eabb1d2909a02aa6020694769ca1304cd3de63a5
captured_at 2026-10-15T23:58:47Z
commit: e38795d0a39c20960049f84bf6b301832804964d
cd app && E2E_COMPOSE_DIR="/home/tomato/Projects/VP/mtusi2026lab3" E2E_COMPOSE_ENV_FILE=".env" npm run test:dependencies
@@ -14,6 +14,13 @@ The plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths r
Test Files 1 passed (1)
Tests 2 passed (2)
Start at 23:17:44
Duration 35.87s (transform 38ms, setup 0ms, import 51ms, tests 35.72s, environment 0ms)
Start at 02:58:48
Duration 35.18s (transform 30ms, setup 0ms, import 43ms, tests 35.04s, environment 0ms)
--- docker compose ps после теста:
api mtusi-lab3-api-3 Up About a minute (healthy)
api mtusi-lab3-api-4 Up About a minute (healthy)
haproxy mtusi-lab3-haproxy-1 Up 4 hours
postgres mtusi-lab3-postgres-1 Up 1 second (health: starting)
redis mtusi-lab3-redis-1 Up 32 seconds (healthy)
File diff suppressed because it is too large Load Diff
+5 -5
View File
@@ -1,9 +1,9 @@
# Отказ каждой реплики под нагрузкой
| реплика | контейнер | попыток пробы | успешных | ошибок в отказе | остановка контейнера, s | первый успех после остановки, s | реплика вернулась, s | LB DOWN | RPS до | RPS в отказе | RPS после | k6 RPS | k6 ошибок | дубли | потери |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 3adeb4c637a0 | 3adeb4c637a0 | 295 | 295 | 0 | 3.22 | 0.2 | 2.84 | 20:18:39 | 4.87 | 0.0 | 4.87 | 200.02 | 0 | 0 | 0 |
| e4b62a206858 | e4b62a206858 | 293 | 293 | 0 | 3.2 | 0.2 | 3.86 | 20:19:41 | 4.87 | 0.0 | 4.88 | 200.02 | 0 | 0 | 0 |
| реплика | контейнер | попыток пробы | успешных | ошибок в отказе | остановка контейнера, s | первый успех после остановки, s | реплика вернулась, s | LB DOWN | RPS до | RPS в окне остановки | ошибок в окне | RPS без реплики | RPS после | k6 RPS | k6 ошибок | дубли | потери |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 3ae9682cb023 | 3ae9682cb023 | 293 | 293 | 0 | 3.26 | 0.2 | 3.29 | 22:47:06 | 4.87 | 4.9 | 0 | 4.89 | 4.88 | 200.02 | 0 | 0 | 0 |
| 93d6ac125b68 | 93d6ac125b68 | 288 | 288 | 0 | 3.29 | 0.1 | 3.83 | 22:48:08 | 4.87 | 5.02 | 0 | 9.66 | 4.76 | 200.02 | 0 | 0 | 0 |
Проба: последовательные POST с интервалом 0.2 s, при неопределённом результате повтор с тем же Idempotency-Key (как у реального клиента). Окно отсутствия реплики считается от выхода контейнера до первого успешного ответа после него; дрейн перед остановкой специально переживает обнаружение отказа LB, поэтому клиент не обязан видеть ошибки. Потери и дубли проверяются по истории чата.
Проба: последовательные POST с интервалом 0.2 s, при неопределённом результате повтор с тем же Idempotency-Key (как у реального клиента). «Окно остановки» — от команды docker stop до первого успеха после выхода контейнера (сюда попадает дрейн); «RPS без реплики» — от выхода контейнера до первого успеха после него, при корректном дреине это доли секунды. Ошибок не должно быть ни в одном из окон, потери и дубли проверяются по истории чата.
+7 -3
View File
@@ -1,3 +1,7 @@
=== e2e-фильтр идемпотентности (конкурентный повтор через LB)
captured_at 2026-10-15T23:56:58Z
commit e38795d0a39c20960049f84bf6b301832804964d
> app@0.0.1 test:e2e
> vitest run --config ./vitest.config.e2e.ts -t idempotency
@@ -7,8 +11,8 @@
Test Files 1 passed | 1 skipped (2)
Tests 4 passed | 12 skipped (16)
Start at 22:48:21
Duration 1.10s (transform 124ms, setup 0ms, import 262ms, tests 798ms, environment 0ms)
Tests 5 passed | 12 skipped (17)
Start at 02:56:53
Duration 4.94s (transform 113ms, setup 0ms, import 353ms, tests 4.54s, environment 0ms)
The plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the resolve.tsconfigPaths option. You can remove the plugin and set resolve.tsconfigPaths: true in your Vite config instead.
+26 -18
View File
@@ -1,46 +1,54 @@
{
"build_id": "final-20261015T202034Z",
"build_id": "20261015T224901Z",
"build_stderr_tail": [
"#15 unpacking to docker.io/library/mtusi-messenger:lab3",
"#15 unpacking to docker.io/library/mtusi-messenger:lab3 1.7s done",
"#15 DONE 4.8s"
"#15 DONE 4.4s"
],
"captured_at": "2026-10-15T22:52:27Z",
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"image": "mtusi-messenger:lab3",
"image_id": "sha256:8facbd10b145de8a8d0c5f2f03ef0843d5227e1c9b22177ad2039f3469d29016",
"image_id": "sha256:bbc50564882f52c3d4517c00247e7c78909c7bce347e8f118dec802f4a4e5960",
"k6": {
"achieved_rps": 200.01,
"failed": 0
},
"migrate": {
"after": "2026-10-15T20:17:45.344168816Z",
"before": "2026-10-15T20:17:45.344168816Z",
"after": "2026-10-15T20:25:35.507925216Z",
"before": "2026-10-15T20:25:35.507925216Z",
"restarted": false
},
"probe": {
"attempts": 884,
"attempts": 889,
"failures": 0,
"server_5xx": 0
},
"replacement_seconds": [
9.52,
9.41
],
"replicas": 2,
"steps": [
{
"migrate_started_at": "2026-10-15T20:17:45.344168816Z",
"new_build_id": "final-20261015T202034Z",
"new_container": "7dbde7f3e6c6",
"new_instance": "7dbde7f3e6c6",
"migrate_started_at": "2026-10-15T20:25:35.507925216Z",
"new_build_id": "20261015T224901Z",
"new_container": "4c55a7f513fe",
"new_instance": "4c55a7f513fe",
"old_build_id": "unknown",
"old_container": "3adeb4c637a0",
"old_instance": "3adeb4c637a0",
"old_container": "3ae9682cb023",
"old_instance": "3ae9682cb023",
"replacement_seconds": 9.52,
"step": 1
},
{
"migrate_started_at": "2026-10-15T20:17:45.344168816Z",
"new_build_id": "final-20261015T202034Z",
"new_container": "e4acf5ca4ae3",
"new_instance": "e4acf5ca4ae3",
"migrate_started_at": "2026-10-15T20:25:35.507925216Z",
"new_build_id": "20261015T224901Z",
"new_container": "0586345a8b3e",
"new_instance": "0586345a8b3e",
"old_build_id": "unknown",
"old_container": "e4b62a206858",
"old_instance": "e4b62a206858",
"old_container": "93d6ac125b68",
"old_instance": "93d6ac125b68",
"replacement_seconds": 9.41,
"step": 2
}
],
+5 -5
View File
@@ -1,9 +1,9 @@
# Rolling update под нагрузкой
| шаг | было | BUILD_ID до | стало | BUILD_ID после |
| --- | --- | --- | --- | --- |
| 1 | 3adeb4c637a0 | unknown | 7dbde7f3e6c6 | final-20261015T202034Z |
| 2 | e4b62a206858 | unknown | e4acf5ca4ae3 | final-20261015T202034Z |
| шаг | было | BUILD_ID до | стало | BUILD_ID после | замена, s |
| --- | --- | --- | --- | --- | --- |
| 1 | 3ae9682cb023 | unknown | 4c55a7f513fe | 20261015T224901Z | 9.52 |
| 2 | 93d6ac125b68 | unknown | 0586345a8b3e | 20261015T224901Z | 9.41 |
5xx от API во время rolling update: 0 из 884 попыток
5xx от API во время rolling update: 0 из 889 попыток
Миграции перезапускались: False
+37 -18
View File
@@ -1,26 +1,45 @@
{
"captured_at": "2026-10-15T20:17:44Z",
"distinct_instances": 2,
"captured_at": "2026-10-15T23:57:09Z",
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"distinct_instances": 4,
"instances": {
"51d5b56a7909": 20,
"ef9aeeda3cf8": 20
"0bcb2fa14a6c": 10,
"45383c768d5b": 10,
"6fce599d186c": 10,
"880af258ab92": 10
},
"replicas": {
"51d5b56a7909": {
"container": "51d5b56a7909",
"cpus": 1.5,
"image_id": "sha256:b57c58f89a8839b6803a4e815b505a5138a2390173a87ba597d4614e30245c5b",
"memory_mb": 768,
"name": "mtusi-lab3-api-1",
"started_at": "2026-10-15T20:17:14.787282931Z"
"0bcb2fa14a6c": {
"container": "0bcb2fa14a6c",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:54:56.542941848Z"
},
"ef9aeeda3cf8": {
"container": "ef9aeeda3cf8",
"cpus": 1.5,
"image_id": "sha256:b57c58f89a8839b6803a4e815b505a5138a2390173a87ba597d4614e30245c5b",
"memory_mb": 768,
"name": "mtusi-lab3-api-2",
"started_at": "2026-10-15T20:17:14.888556357Z"
"45383c768d5b": {
"container": "45383c768d5b",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:54:56.381047617Z"
},
"6fce599d186c": {
"container": "6fce599d186c",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:54:56.803404225Z"
},
"880af258ab92": {
"container": "880af258ab92",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:54:56.669726159Z"
}
},
"requests": 40
+74
View File
@@ -0,0 +1,74 @@
{
"budget": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-before",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"captured_at": "2026-10-15T23:22:01Z",
"ceiling": {
"A": 250.0,
"B": 398.67
},
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"images": {
"A": "mtusi-messenger:lab3-before",
"B": "mtusi-messenger:lab3-after"
},
"prefix": "abdiag",
"rule": "медиана меняется ≥5 % и диапазоны min/max повторов не пересекаются",
"verdicts": [
{
"change_percent": 0.0,
"confirmed": false,
"rate": 50
},
{
"change_percent": 0.0,
"confirmed": false,
"rate": 100
},
{
"change_percent": 0.0,
"confirmed": false,
"rate": 150
},
{
"change_percent": 0.0,
"confirmed": false,
"rate": 200
},
{
"change_percent": 0.03,
"confirmed": false,
"rate": 250
},
{
"change_percent": 29.61,
"confirmed": true,
"rate": 300
},
{
"change_percent": 222.31,
"confirmed": true,
"rate": 350
},
{
"change_percent": 200.36,
"confirmed": true,
"rate": 400
}
]
}
+22
View File
@@ -1,12 +1,34 @@
{
"budget": {
"API_CPUS_PER_REPLICA": "1.5",
"API_IMAGE": "mtusi-messenger:lab3-before",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "6.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "20",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "2.0",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "3.0",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"captured_at": "2026-10-15T23:56:11Z",
"ceiling": {
"A": 257.8,
"B": 400.07
},
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"images": {
"A": "mtusi-messenger:lab3-before",
"B": "mtusi-messenger:lab3-after"
},
"prefix": "ab",
"rule": "медиана меняется ≥5 % и диапазоны min/max повторов не пересекаются",
"verdicts": [
{
"change_percent": 0.14,
Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 117 KiB

+180
View File
@@ -0,0 +1,180 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 8670,
"exit_code": 0,
"http_req_duration_p95": 11357.59,
"http_reqs": 18365,
"iterations": 18335,
"kind": "ladder",
"label": "abdiag#A#rep1",
"mode": "write",
"profile": "hot",
"stderr_tail": [
"time=\"2026-10-15T22:59:23Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_300",
"time=\"2026-10-15T22:59:30Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_350",
"time=\"2026-10-15T22:59:45Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_400"
],
"steps": [
{
"achieved_rps": 50.07,
"avg": 6.23,
"duration_s": 15,
"failed": 0,
"max": 51.83,
"p50": 5.44,
"p95": 9.47,
"p99": 17.88,
"rate": 50,
"requests": 751,
"status": {
"client_4xx": 0,
"ok": 751,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 100.07,
"avg": 7.76,
"duration_s": 15,
"failed": 0,
"max": 310.61,
"p50": 5.11,
"p95": 9.95,
"p99": 78.41,
"rate": 100,
"requests": 1501,
"status": {
"client_4xx": 0,
"ok": 1501,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 150.07,
"avg": 11.07,
"duration_s": 15,
"failed": 0,
"max": 529.96,
"p50": 4.74,
"p95": 20.65,
"p99": 179.64,
"rate": 150,
"requests": 2251,
"status": {
"client_4xx": 0,
"ok": 2251,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 200.07,
"avg": 5.99,
"duration_s": 15,
"failed": 0,
"max": 229.06,
"p50": 4.14,
"p95": 9.2,
"p99": 46.76,
"rate": 200,
"requests": 3001,
"status": {
"client_4xx": 0,
"ok": 3001,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 250,
"avg": 6.94,
"duration_s": 15,
"failed": 0,
"max": 135.67,
"p50": 5.6,
"p95": 11.01,
"p99": 38.99,
"rate": 250,
"requests": 3750,
"status": {
"client_4xx": 0,
"ok": 3750,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 231.47,
"avg": 2611.89,
"duration_s": 15,
"failed": 0,
"max": 9968.86,
"p50": 1538.81,
"p95": 7272.68,
"p99": 7868.57,
"rate": 300,
"requests": 3472,
"status": {
"client_4xx": 0,
"ok": 3472,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 108.73,
"avg": 9466.18,
"duration_s": 15,
"failed": 356,
"max": 13409.09,
"p50": 9903.97,
"p95": 12118.33,
"p99": 12733.98,
"rate": 350,
"requests": 1631,
"status": {
"client_4xx": 0,
"ok": 1275,
"other": 0,
"server_5xx": 356
},
"vus_active": 918
},
{
"achieved_rps": 131.87,
"avg": 7990.69,
"duration_s": 15,
"failed": 1125,
"max": 16302.37,
"p50": 9759.27,
"p95": 13986.51,
"p99": 14709.04,
"rate": 400,
"requests": 1978,
"status": {
"client_4xx": 0,
"ok": 853,
"other": 0,
"server_5xx": 1125
},
"vus_active": 335
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 2700
}
@@ -0,0 +1,112 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 2194,
"chats": 747,
"idempotency_keys": 1042997,
"messages": 1042997,
"users": 136
},
"finished_at": "2026-10-15T23:00:05Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
3.9,
4.81,
6.31
],
"mem_available_mib": 5355,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "ladder",
"label": "abdiag#A#rep1",
"mode": "write",
"phases": {},
"profile": "hot",
"quiesce": null,
"replicas": {
"b990711d1295": {
"container": "b990711d1295",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T22:57:13.32335473Z"
},
"ce4082527311": {
"container": "ce4082527311",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T22:57:12.831841086Z"
},
"e42143b9cd6d": {
"container": "e42143b9cd6d",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T22:57:12.995283342Z"
},
"f3dc3884cbe2": {
"container": "f3dc3884cbe2",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T22:57:13.15770317Z"
}
},
"sample_count": 3505,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-before",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T22:57:51Z",
"step_seconds": 15,
"steps": [
50,
100,
150,
200,
250,
300,
350,
400
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
Binary file not shown.
+180
View File
@@ -0,0 +1,180 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 8503,
"exit_code": 0,
"http_req_duration_p95": 10255.6,
"http_reqs": 18534,
"iterations": 18504,
"kind": "ladder",
"label": "abdiag#A#rep2",
"mode": "write",
"profile": "hot",
"stderr_tail": [
"time=\"2026-10-15T23:07:50Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_300",
"time=\"2026-10-15T23:07:56Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_350",
"time=\"2026-10-15T23:08:12Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_400"
],
"steps": [
{
"achieved_rps": 50.07,
"avg": 6.02,
"duration_s": 15,
"failed": 0,
"max": 47.65,
"p50": 5.29,
"p95": 9.34,
"p99": 11.05,
"rate": 50,
"requests": 751,
"status": {
"client_4xx": 0,
"ok": 751,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 100.07,
"avg": 5.64,
"duration_s": 15,
"failed": 0,
"max": 151.23,
"p50": 4.88,
"p95": 7.9,
"p99": 15.62,
"rate": 100,
"requests": 1501,
"status": {
"client_4xx": 0,
"ok": 1501,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 150.07,
"avg": 6.93,
"duration_s": 15,
"failed": 0,
"max": 113.96,
"p50": 4.82,
"p95": 10.96,
"p99": 54.43,
"rate": 150,
"requests": 2251,
"status": {
"client_4xx": 0,
"ok": 2251,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 200.07,
"avg": 5.75,
"duration_s": 15,
"failed": 0,
"max": 79.94,
"p50": 4.36,
"p95": 9.51,
"p99": 31.63,
"rate": 200,
"requests": 3001,
"status": {
"client_4xx": 0,
"ok": 3001,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 249.2,
"avg": 16.31,
"duration_s": 15,
"failed": 0,
"max": 833.96,
"p50": 5.48,
"p95": 43.71,
"p99": 319.73,
"rate": 250,
"requests": 3738,
"status": {
"client_4xx": 0,
"ok": 3738,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 228.27,
"avg": 2772.29,
"duration_s": 15,
"failed": 0,
"max": 10014.3,
"p50": 1924.33,
"p95": 7440.46,
"p99": 8727.82,
"rate": 300,
"requests": 3424,
"status": {
"client_4xx": 0,
"ok": 3424,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 107.4,
"avg": 9791.12,
"duration_s": 15,
"failed": 211,
"max": 14460.97,
"p50": 10452.46,
"p95": 12841.79,
"p99": 13459.58,
"rate": 350,
"requests": 1611,
"status": {
"client_4xx": 0,
"ok": 1400,
"other": 0,
"server_5xx": 211
},
"vus_active": 933
},
{
"achieved_rps": 148.47,
"avg": 6814.84,
"duration_s": 15,
"failed": 721,
"max": 13134.85,
"p50": 8696.57,
"p95": 10162.87,
"p99": 10688.47,
"rate": 400,
"requests": 2227,
"status": {
"client_4xx": 0,
"ok": 1506,
"other": 0,
"server_5xx": 721
},
"vus_active": 177
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 2700
}
@@ -0,0 +1,112 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 2626,
"chats": 891,
"idempotency_keys": 1119020,
"messages": 1119020,
"users": 154
},
"finished_at": "2026-10-15T23:08:30Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
6.41,
5.64,
6.06
],
"mem_available_mib": 5570,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "ladder",
"label": "abdiag#A#rep2",
"mode": "write",
"phases": {},
"profile": "hot",
"quiesce": null,
"replicas": {
"23be4f9e7dce": {
"container": "23be4f9e7dce",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:05:39.208723176Z"
},
"5cfcfb39352c": {
"container": "5cfcfb39352c",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:05:39.316818828Z"
},
"cd553a5b0799": {
"container": "cd553a5b0799",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:05:39.427491054Z"
},
"f614ca30bf2c": {
"container": "f614ca30bf2c",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:05:39.542820702Z"
}
},
"sample_count": 3459,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-before",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:06:18Z",
"step_seconds": 15,
"steps": [
50,
100,
150,
200,
250,
300,
350,
400
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
Binary file not shown.
+180
View File
@@ -0,0 +1,180 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 8462,
"exit_code": 0,
"http_req_duration_p95": 10648.57,
"http_reqs": 18575,
"iterations": 18545,
"kind": "ladder",
"label": "abdiag#A#rep3",
"mode": "write",
"profile": "hot",
"stderr_tail": [
" Container mtusi-lab3-loadgen-run-04ddb000a64a Created ",
"time=\"2026-10-15T23:10:42Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_350",
"time=\"2026-10-15T23:10:57Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_400"
],
"steps": [
{
"achieved_rps": 50.07,
"avg": 5.7,
"duration_s": 15,
"failed": 0,
"max": 65.28,
"p50": 5.07,
"p95": 8.8,
"p99": 9.75,
"rate": 50,
"requests": 751,
"status": {
"client_4xx": 0,
"ok": 751,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 100.07,
"avg": 5.14,
"duration_s": 15,
"failed": 0,
"max": 57.58,
"p50": 4.58,
"p95": 7.55,
"p99": 11.32,
"rate": 100,
"requests": 1501,
"status": {
"client_4xx": 0,
"ok": 1501,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 150.07,
"avg": 4.84,
"duration_s": 15,
"failed": 0,
"max": 44.34,
"p50": 4.34,
"p95": 7.02,
"p99": 13.6,
"rate": 150,
"requests": 2251,
"status": {
"client_4xx": 0,
"ok": 2251,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 200.07,
"avg": 4.98,
"duration_s": 15,
"failed": 0,
"max": 69.98,
"p50": 4.12,
"p95": 8.6,
"p99": 17.87,
"rate": 200,
"requests": 3001,
"status": {
"client_4xx": 0,
"ok": 3001,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 250.07,
"avg": 5.48,
"duration_s": 15,
"failed": 0,
"max": 49.16,
"p50": 4.65,
"p95": 8.65,
"p99": 16.65,
"rate": 250,
"requests": 3751,
"status": {
"client_4xx": 0,
"ok": 3751,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 244.73,
"avg": 1856.08,
"duration_s": 15,
"failed": 4,
"max": 10490.92,
"p50": 904.2,
"p95": 6799.33,
"p99": 8129.89,
"rate": 300,
"requests": 3671,
"status": {
"client_4xx": 0,
"ok": 3667,
"other": 0,
"server_5xx": 4
},
"vus_active": 912
},
{
"achieved_rps": 108.53,
"avg": 9229.15,
"duration_s": 15,
"failed": 327,
"max": 14418.2,
"p50": 9600.7,
"p95": 12121.91,
"p99": 12938.42,
"rate": 350,
"requests": 1628,
"status": {
"client_4xx": 0,
"ok": 1301,
"other": 0,
"server_5xx": 327
},
"vus_active": 935
},
{
"achieved_rps": 132.73,
"avg": 7901.66,
"duration_s": 15,
"failed": 967,
"max": 16212.65,
"p50": 9468.34,
"p95": 12234,
"p99": 13418.87,
"rate": 400,
"requests": 1991,
"status": {
"client_4xx": 0,
"ok": 1024,
"other": 0,
"server_5xx": 967
},
"vus_active": 429
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 2568
}
@@ -0,0 +1,112 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 2770,
"chats": 939,
"idempotency_keys": 1137768,
"messages": 1137768,
"users": 160
},
"finished_at": "2026-10-15T23:11:15Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
7.0,
5.64,
5.95
],
"mem_available_mib": 5530,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "ladder",
"label": "abdiag#A#rep3",
"mode": "write",
"phases": {},
"profile": "hot",
"quiesce": null,
"replicas": {
"23be4f9e7dce": {
"container": "23be4f9e7dce",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:05:39.208723176Z"
},
"5cfcfb39352c": {
"container": "5cfcfb39352c",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:05:39.316818828Z"
},
"cd553a5b0799": {
"container": "cd553a5b0799",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:05:39.427491054Z"
},
"f614ca30bf2c": {
"container": "f614ca30bf2c",
"cpus": 0.75,
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:05:39.542820702Z"
}
},
"sample_count": 3427,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-before",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:09:04Z",
"step_seconds": 15,
"steps": [
50,
100,
150,
200,
250,
300,
350,
400
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
Binary file not shown.
+179
View File
@@ -0,0 +1,179 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 58,
"exit_code": 0,
"http_req_duration_p95": 13.32,
"http_reqs": 26980,
"iterations": 26950,
"kind": "ladder",
"label": "abdiag#B#rep1",
"mode": "write",
"profile": "hot",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-cb79973f000a Creating ",
" Container mtusi-lab3-loadgen-run-cb79973f000a Created"
],
"steps": [
{
"achieved_rps": 50.07,
"avg": 5.08,
"duration_s": 15,
"failed": 0,
"max": 38.77,
"p50": 4.61,
"p95": 7.19,
"p99": 9.34,
"rate": 50,
"requests": 751,
"status": {
"client_4xx": 0,
"ok": 751,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 100.07,
"avg": 5.39,
"duration_s": 15,
"failed": 0,
"max": 118.64,
"p50": 4.19,
"p95": 7.56,
"p99": 38.88,
"rate": 100,
"requests": 1501,
"status": {
"client_4xx": 0,
"ok": 1501,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 150.07,
"avg": 4.07,
"duration_s": 15,
"failed": 0,
"max": 63.16,
"p50": 3.63,
"p95": 5.22,
"p99": 11.69,
"rate": 150,
"requests": 2251,
"status": {
"client_4xx": 0,
"ok": 2251,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 200.07,
"avg": 5.23,
"duration_s": 15,
"failed": 0,
"max": 120.71,
"p50": 3.93,
"p95": 7.29,
"p99": 36.32,
"rate": 200,
"requests": 3001,
"status": {
"client_4xx": 0,
"ok": 3001,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 250.07,
"avg": 4.49,
"duration_s": 15,
"failed": 0,
"max": 45.37,
"p50": 3.73,
"p95": 6.88,
"p99": 15.61,
"rate": 250,
"requests": 3751,
"status": {
"client_4xx": 0,
"ok": 3751,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 300.07,
"avg": 5.29,
"duration_s": 15,
"failed": 0,
"max": 68.58,
"p50": 4.46,
"p95": 7.62,
"p99": 32.64,
"rate": 300,
"requests": 4501,
"status": {
"client_4xx": 0,
"ok": 4501,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 348.67,
"avg": 10.71,
"duration_s": 15,
"failed": 0,
"max": 504.06,
"p50": 4.44,
"p95": 21.8,
"p99": 209.93,
"rate": 350,
"requests": 5230,
"status": {
"client_4xx": 0,
"ok": 5230,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 397.6,
"avg": 19.37,
"duration_s": 15,
"failed": 0,
"max": 816.47,
"p50": 4.42,
"p95": 133.67,
"p99": 285.25,
"rate": 400,
"requests": 5964,
"status": {
"client_4xx": 0,
"ok": 5964,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 231
}
@@ -0,0 +1,112 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 2338,
"chats": 795,
"idempotency_keys": 1071448,
"messages": 1071448,
"users": 142
},
"finished_at": "2026-10-15T23:02:54Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
6.44,
5.36,
6.27
],
"mem_available_mib": 5309,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "ladder",
"label": "abdiag#B#rep1",
"mode": "write",
"phases": {},
"profile": "hot",
"quiesce": null,
"replicas": {
"9470cb6a18b1": {
"container": "9470cb6a18b1",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:00:12.964789417Z"
},
"96c3555d0e59": {
"container": "96c3555d0e59",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:00:13.108026947Z"
},
"f62e9f6d234a": {
"container": "f62e9f6d234a",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:00:12.715512106Z"
},
"fc57e913aecd": {
"container": "fc57e913aecd",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:00:12.396994825Z"
}
},
"sample_count": 3225,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:00:51Z",
"step_seconds": 15,
"steps": [
50,
100,
150,
200,
250,
300,
350,
400
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
Binary file not shown.
+179
View File
@@ -0,0 +1,179 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 10,
"exit_code": 0,
"http_req_duration_p95": 8.23,
"http_reqs": 27028,
"iterations": 26998,
"kind": "ladder",
"label": "abdiag#B#rep2",
"mode": "write",
"profile": "hot",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-77279cb3dd88 Creating ",
" Container mtusi-lab3-loadgen-run-77279cb3dd88 Created"
],
"steps": [
{
"achieved_rps": 50.07,
"avg": 4.62,
"duration_s": 15,
"failed": 0,
"max": 40.87,
"p50": 4.18,
"p95": 6.67,
"p99": 8.41,
"rate": 50,
"requests": 751,
"status": {
"client_4xx": 0,
"ok": 751,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 100.07,
"avg": 4.2,
"duration_s": 15,
"failed": 0,
"max": 28.01,
"p50": 3.85,
"p95": 6.12,
"p99": 7.82,
"rate": 100,
"requests": 1501,
"status": {
"client_4xx": 0,
"ok": 1501,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 150.07,
"avg": 4.27,
"duration_s": 15,
"failed": 0,
"max": 73.68,
"p50": 3.73,
"p95": 5.9,
"p99": 14.46,
"rate": 150,
"requests": 2251,
"status": {
"client_4xx": 0,
"ok": 2251,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 200.07,
"avg": 4.43,
"duration_s": 15,
"failed": 0,
"max": 219.72,
"p50": 3.48,
"p95": 6.52,
"p99": 20.67,
"rate": 200,
"requests": 3001,
"status": {
"client_4xx": 0,
"ok": 3001,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 250.07,
"avg": 5.29,
"duration_s": 15,
"failed": 0,
"max": 89.04,
"p50": 3.81,
"p95": 8.28,
"p99": 38.47,
"rate": 250,
"requests": 3751,
"status": {
"client_4xx": 0,
"ok": 3751,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 299.4,
"avg": 11.82,
"duration_s": 15,
"failed": 0,
"max": 517,
"p50": 4.92,
"p95": 33.49,
"p99": 222.54,
"rate": 300,
"requests": 4491,
"status": {
"client_4xx": 0,
"ok": 4491,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 350.07,
"avg": 5.09,
"duration_s": 15,
"failed": 0,
"max": 74.91,
"p50": 4.47,
"p95": 7.8,
"p99": 25.3,
"rate": 350,
"requests": 5251,
"status": {
"client_4xx": 0,
"ok": 5251,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 400.07,
"avg": 5.64,
"duration_s": 15,
"failed": 0,
"max": 133.21,
"p50": 4.35,
"p95": 10.38,
"p99": 40.42,
"rate": 400,
"requests": 6001,
"status": {
"client_4xx": 0,
"ok": 6001,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 190
}
@@ -0,0 +1,112 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 2482,
"chats": 843,
"idempotency_keys": 1099947,
"messages": 1099947,
"users": 148
},
"finished_at": "2026-10-15T23:05:33Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
6.15,
5.37,
6.1
],
"mem_available_mib": 5405,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "ladder",
"label": "abdiag#B#rep2",
"mode": "write",
"phases": {},
"profile": "hot",
"quiesce": null,
"replicas": {
"9470cb6a18b1": {
"container": "9470cb6a18b1",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:00:12.964789417Z"
},
"96c3555d0e59": {
"container": "96c3555d0e59",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:00:13.108026947Z"
},
"f62e9f6d234a": {
"container": "f62e9f6d234a",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:00:12.715512106Z"
},
"fc57e913aecd": {
"container": "fc57e913aecd",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:00:12.396994825Z"
}
},
"sample_count": 3236,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:03:29Z",
"step_seconds": 15,
"steps": [
50,
100,
150,
200,
250,
300,
350,
400
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
Binary file not shown.
+179
View File
@@ -0,0 +1,179 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 25,
"exit_code": 0,
"http_req_duration_p95": 10.53,
"http_reqs": 27012,
"iterations": 26982,
"kind": "ladder",
"label": "abdiag#B#rep3",
"mode": "write",
"profile": "hot",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-765208351878 Creating ",
" Container mtusi-lab3-loadgen-run-765208351878 Created"
],
"steps": [
{
"achieved_rps": 50.07,
"avg": 4.83,
"duration_s": 15,
"failed": 0,
"max": 9.19,
"p50": 4.5,
"p95": 7.18,
"p99": 8.05,
"rate": 50,
"requests": 751,
"status": {
"client_4xx": 0,
"ok": 751,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 100.07,
"avg": 4.74,
"duration_s": 15,
"failed": 0,
"max": 67.02,
"p50": 4.1,
"p95": 6.63,
"p99": 18.12,
"rate": 100,
"requests": 1501,
"status": {
"client_4xx": 0,
"ok": 1501,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 150.07,
"avg": 4.36,
"duration_s": 15,
"failed": 0,
"max": 126,
"p50": 3.63,
"p95": 5.53,
"p99": 18.83,
"rate": 150,
"requests": 2251,
"status": {
"client_4xx": 0,
"ok": 2251,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 200.07,
"avg": 4.17,
"duration_s": 15,
"failed": 0,
"max": 134.55,
"p50": 3.53,
"p95": 6.64,
"p99": 12.39,
"rate": 200,
"requests": 3001,
"status": {
"client_4xx": 0,
"ok": 3001,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 250.07,
"avg": 4.61,
"duration_s": 15,
"failed": 0,
"max": 58.84,
"p50": 3.7,
"p95": 7.03,
"p99": 20.68,
"rate": 250,
"requests": 3751,
"status": {
"client_4xx": 0,
"ok": 3751,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 300,
"avg": 5.21,
"duration_s": 15,
"failed": 0,
"max": 97.37,
"p50": 4.38,
"p95": 7.54,
"p99": 29.47,
"rate": 300,
"requests": 4500,
"status": {
"client_4xx": 0,
"ok": 4500,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 349.8,
"avg": 10.05,
"duration_s": 15,
"failed": 0,
"max": 525.57,
"p50": 4.59,
"p95": 26.07,
"p99": 169.93,
"rate": 350,
"requests": 5247,
"status": {
"client_4xx": 0,
"ok": 5247,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
},
{
"achieved_rps": 398.67,
"avg": 13.43,
"duration_s": 15,
"failed": 0,
"max": 490.68,
"p50": 4.41,
"p95": 59.72,
"p99": 220.55,
"rate": 400,
"requests": 5980,
"status": {
"client_4xx": 0,
"ok": 5980,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 198
}
@@ -0,0 +1,112 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 2914,
"chats": 987,
"idempotency_keys": 1166251,
"messages": 1166251,
"users": 166
},
"finished_at": "2026-10-15T23:14:03Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
5.73,
5.44,
5.81
],
"mem_available_mib": 5672,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "ladder",
"label": "abdiag#B#rep3",
"mode": "write",
"phases": {},
"profile": "hot",
"quiesce": null,
"replicas": {
"00edf4d82881": {
"container": "00edf4d82881",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:11:21.869769642Z"
},
"02747fcba8d8": {
"container": "02747fcba8d8",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:11:21.65082314Z"
},
"67bd18d8dada": {
"container": "67bd18d8dada",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:11:21.987624417Z"
},
"ef2bd6195705": {
"container": "ef2bd6195705",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:11:21.760099235Z"
}
},
"sample_count": 3225,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:12:00Z",
"step_seconds": 15,
"steps": [
50,
100,
150,
200,
250,
300,
350,
400
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
Binary file not shown.
+46
View File
@@ -0,0 +1,46 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 610,
"exit_code": 0,
"http_req_duration_p95": 267.24,
"http_reqs": 53421,
"iterations": 53391,
"kind": "steady",
"label": "block#n1#rep1",
"mode": "write",
"profile": "spread",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-3203db35723e Creating ",
" Container mtusi-lab3-loadgen-run-3203db35723e Created"
],
"steps": [
{
"achieved_rps": 889.85,
"avg": 56.47,
"duration_s": 60,
"failed": 0,
"max": 765.88,
"p50": 4.3,
"p95": 267.26,
"p99": 442.85,
"rate": 900,
"requests": 53391,
"status": {
"client_4xx": 0,
"ok": 53391,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 436
}
@@ -0,0 +1,81 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 3202,
"chats": 1083,
"idempotency_keys": 1444577,
"messages": 1444577,
"users": 178
},
"finished_at": "2026-10-15T23:29:03Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
11.53,
8.01,
6.32
],
"mem_available_mib": 6109,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "block#n1#rep1",
"mode": "write",
"phases": {},
"profile": "spread",
"quiesce": null,
"replicas": {
"577063dae39a": {
"container": "577063dae39a",
"cpus": 3.0,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 1536,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:27:56.481634736Z"
}
},
"sample_count": 1503,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "3.0",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "1536m",
"API_REPLICAS": "1",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:28:02Z",
"step_seconds": 60,
"steps": [
900
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
Binary file not shown.
+47
View File
@@ -0,0 +1,47 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 2221,
"exit_code": 0,
"http_req_duration_p95": 1121.3,
"http_reqs": 51809,
"iterations": 51779,
"kind": "steady",
"label": "block#n1#rep2",
"mode": "write",
"profile": "spread",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-58c89d461586 Creating ",
" Container mtusi-lab3-loadgen-run-58c89d461586 Created ",
"time=\"2026-10-15T23:40:14Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=steady"
],
"steps": [
{
"achieved_rps": 862.98,
"avg": 477.87,
"duration_s": 60,
"failed": 0,
"max": 1477.63,
"p50": 486.59,
"p95": 1121.38,
"p99": 1239.73,
"rate": 900,
"requests": 51779,
"status": {
"client_4xx": 0,
"ok": 51779,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 900
}
@@ -0,0 +1,81 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 3850,
"chats": 1299,
"idempotency_keys": 1921956,
"messages": 1921956,
"users": 205
},
"finished_at": "2026-10-15T23:40:24Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
12.94,
15.93,
11.58
],
"mem_available_mib": 5767,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "block#n1#rep2",
"mode": "write",
"phases": {},
"profile": "spread",
"quiesce": null,
"replicas": {
"5558406e61ca": {
"container": "5558406e61ca",
"cpus": 3.0,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 1536,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:39:16.135401464Z"
}
},
"sample_count": 1530,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "3.0",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "1536m",
"API_REPLICAS": "1",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:39:21Z",
"step_seconds": 60,
"steps": [
900
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
Binary file not shown.
+46
View File
@@ -0,0 +1,46 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 367,
"exit_code": 0,
"http_req_duration_p95": 240.64,
"http_reqs": 53665,
"iterations": 53635,
"kind": "steady",
"label": "block#n4#rep1",
"mode": "write",
"profile": "spread",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-0438cff2d222 Creating ",
" Container mtusi-lab3-loadgen-run-0438cff2d222 Created"
],
"steps": [
{
"achieved_rps": 893.92,
"avg": 76.95,
"duration_s": 60,
"failed": 0,
"max": 556.65,
"p50": 46.57,
"p95": 240.5,
"p99": 349.8,
"rate": 900,
"requests": 53635,
"status": {
"client_4xx": 0,
"ok": 53635,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 296
}
@@ -0,0 +1,105 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 3274,
"chats": 1107,
"idempotency_keys": 1498212,
"messages": 1498212,
"users": 181
},
"finished_at": "2026-10-15T23:30:19Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
18.94,
10.69,
7.36
],
"mem_available_mib": 5768,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "block#n4#rep1",
"mode": "write",
"phases": {},
"profile": "spread",
"quiesce": null,
"replicas": {
"12763cbd3bb4": {
"container": "12763cbd3bb4",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:29:11.16219698Z"
},
"703731295df0": {
"container": "703731295df0",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:29:10.760336329Z"
},
"8d7ead02214b": {
"container": "8d7ead02214b",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:29:10.49987357Z"
},
"bd5d5f346f96": {
"container": "bd5d5f346f96",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:29:11.017097Z"
}
},
"sample_count": 1644,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:29:16Z",
"step_seconds": 60,
"steps": [
900
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
Binary file not shown.
+46
View File
@@ -0,0 +1,46 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 481,
"exit_code": 0,
"http_req_duration_p95": 338.69,
"http_reqs": 53550,
"iterations": 53520,
"kind": "steady",
"label": "block#n4#rep2",
"mode": "write",
"profile": "spread",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-42ac6d734583 Creating ",
" Container mtusi-lab3-loadgen-run-42ac6d734583 Created"
],
"steps": [
{
"achieved_rps": 892,
"avg": 158.25,
"duration_s": 60,
"failed": 0,
"max": 628.3,
"p50": 162.2,
"p95": 338.62,
"p99": 432.72,
"rate": 900,
"requests": 53520,
"status": {
"client_4xx": 0,
"ok": 53520,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 373
}
@@ -0,0 +1,105 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 3778,
"chats": 1275,
"idempotency_keys": 1870177,
"messages": 1870177,
"users": 202
},
"finished_at": "2026-10-15T23:39:08Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
24.22,
18.02,
11.84
],
"mem_available_mib": 5711,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "block#n4#rep2",
"mode": "write",
"phases": {},
"profile": "spread",
"quiesce": null,
"replicas": {
"5a11bcd5ccd0": {
"container": "5a11bcd5ccd0",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:37:54.35619414Z"
},
"744aa340048e": {
"container": "744aa340048e",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:37:54.607602948Z"
},
"7af2205be7ae": {
"container": "7af2205be7ae",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:37:54.498245674Z"
},
"f08c1f63658b": {
"container": "f08c1f63658b",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:37:54.72452668Z"
}
},
"sample_count": 1652,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:38:04Z",
"step_seconds": 60,
"steps": [
900
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
Binary file not shown.
@@ -0,0 +1,46 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 797,
"exit_code": 0,
"http_req_duration_p95": 663.86,
"http_reqs": 53233,
"iterations": 53203,
"kind": "steady",
"label": "block#n4-api6#rep1",
"mode": "write",
"profile": "spread",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-baaf356ae4b9 Creating ",
" Container mtusi-lab3-loadgen-run-baaf356ae4b9 Created"
],
"steps": [
{
"achieved_rps": 886.72,
"avg": 216.06,
"duration_s": 60,
"failed": 0,
"max": 1049.27,
"p50": 153.78,
"p95": 663.87,
"p99": 837.08,
"rate": 900,
"requests": 53203,
"status": {
"client_4xx": 0,
"ok": 53203,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 562
}
@@ -0,0 +1,105 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 3418,
"chats": 1155,
"idempotency_keys": 1605185,
"messages": 1605185,
"users": 187
},
"finished_at": "2026-10-15T23:32:51Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
15.13,
12.09,
8.39
],
"mem_available_mib": 5694,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "block#n4-api6#rep1",
"mode": "write",
"phases": {},
"profile": "spread",
"quiesce": null,
"replicas": {
"42fa480595e4": {
"container": "42fa480595e4",
"cpus": 1.5,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:31:42.835752143Z"
},
"8461904845cc": {
"container": "8461904845cc",
"cpus": 1.5,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:31:43.201717153Z"
},
"a3ebb4ba51f5": {
"container": "a3ebb4ba51f5",
"cpus": 1.5,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:31:42.954604503Z"
},
"aebc922b8969": {
"container": "aebc922b8969",
"cpus": 1.5,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:31:43.06615271Z"
}
},
"sample_count": 1636,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "1.5",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "6.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:31:48Z",
"step_seconds": 60,
"steps": [
900
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
@@ -0,0 +1,47 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 2816,
"exit_code": 0,
"http_req_duration_p95": 1223.26,
"http_reqs": 51216,
"iterations": 51186,
"kind": "steady",
"label": "block#n4-api6#rep2",
"mode": "write",
"profile": "spread",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-74934e80e4c1 Creating ",
" Container mtusi-lab3-loadgen-run-74934e80e4c1 Created ",
"time=\"2026-10-15T23:36:21Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=steady"
],
"steps": [
{
"achieved_rps": 853.1,
"avg": 606.8,
"duration_s": 60,
"failed": 0,
"max": 1920.99,
"p50": 569.12,
"p95": 1223.39,
"p99": 1589.59,
"rate": 900,
"requests": 51186,
"status": {
"client_4xx": 0,
"ok": 51186,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 900
}
@@ -0,0 +1,105 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 3634,
"chats": 1227,
"idempotency_keys": 1763135,
"messages": 1763135,
"users": 196
},
"finished_at": "2026-10-15T23:36:30Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
19.32,
12.94,
9.34
],
"mem_available_mib": 5719,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "block#n4-api6#rep2",
"mode": "write",
"phases": {},
"profile": "spread",
"quiesce": null,
"replicas": {
"104f2f92ffa6": {
"container": "104f2f92ffa6",
"cpus": 1.5,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:35:21.003945477Z"
},
"1bef372a3deb": {
"container": "1bef372a3deb",
"cpus": 1.5,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:35:20.351793069Z"
},
"5a0e3daac377": {
"container": "5a0e3daac377",
"cpus": 1.5,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:35:21.332389033Z"
},
"a902e33a3bae": {
"container": "a902e33a3bae",
"cpus": 1.5,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:35:20.723208055Z"
}
},
"sample_count": 1655,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "1.5",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "6.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:35:27Z",
"step_seconds": 60,
"steps": [
900
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
@@ -0,0 +1,46 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 231,
"exit_code": 0,
"http_req_duration_p95": 170.88,
"http_reqs": 53800,
"iterations": 53770,
"kind": "steady",
"label": "block#n4-pg3#rep1",
"mode": "write",
"profile": "spread",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-65519d34b174 Creating ",
" Container mtusi-lab3-loadgen-run-65519d34b174 Created"
],
"steps": [
{
"achieved_rps": 896.17,
"avg": 48,
"duration_s": 60,
"failed": 0,
"max": 407.9,
"p50": 11.02,
"p95": 170.83,
"p99": 233.29,
"rate": 900,
"requests": 53770,
"status": {
"client_4xx": 0,
"ok": 53770,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 196
}
@@ -0,0 +1,105 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 3346,
"chats": 1131,
"idempotency_keys": 1551982,
"messages": 1551982,
"users": 184
},
"finished_at": "2026-10-15T23:31:36Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
13.82,
11.28,
7.86
],
"mem_available_mib": 5412,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "block#n4-pg3#rep1",
"mode": "write",
"phases": {},
"profile": "spread",
"quiesce": null,
"replicas": {
"01203ea8b1fd": {
"container": "01203ea8b1fd",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:30:27.108270693Z"
},
"723a1b67a4c9": {
"container": "723a1b67a4c9",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:30:26.750610702Z"
},
"a586c6a6ceae": {
"container": "a586c6a6ceae",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:30:27.389774474Z"
},
"df49f3a4f7ea": {
"container": "df49f3a4f7ea",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:30:27.693714485Z"
}
},
"sample_count": 1644,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "3.0",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:30:33Z",
"step_seconds": 60,
"steps": [
900
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
@@ -0,0 +1,46 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 479,
"exit_code": 0,
"http_req_duration_p95": 312.21,
"http_reqs": 53552,
"iterations": 53522,
"kind": "steady",
"label": "block#n4-pg3#rep2",
"mode": "write",
"profile": "spread",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-f7f4b2e3dcd4 Creating ",
" Container mtusi-lab3-loadgen-run-f7f4b2e3dcd4 Created"
],
"steps": [
{
"achieved_rps": 892.03,
"avg": 113.16,
"duration_s": 60,
"failed": 0,
"max": 610.59,
"p50": 94.76,
"p95": 312.2,
"p99": 391.05,
"rate": 900,
"requests": 53522,
"status": {
"client_4xx": 0,
"ok": 53522,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 319
}
@@ -0,0 +1,105 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 3706,
"chats": 1251,
"idempotency_keys": 1816657,
"messages": 1816657,
"users": 199
},
"finished_at": "2026-10-15T23:37:47Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
24.69,
15.99,
10.68
],
"mem_available_mib": 5658,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "block#n4-pg3#rep2",
"mode": "write",
"phases": {},
"profile": "spread",
"quiesce": null,
"replicas": {
"1cc0536d4acb": {
"container": "1cc0536d4acb",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:36:38.74977131Z"
},
"63c09b0aaaac": {
"container": "63c09b0aaaac",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:36:38.9415062Z"
},
"69b19cdf40cd": {
"container": "69b19cdf40cd",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:36:38.551537683Z"
},
"8649b1f04da5": {
"container": "8649b1f04da5",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:36:38.314940188Z"
}
},
"sample_count": 1642,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "3.0",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:36:44Z",
"step_seconds": 60,
"steps": [
900
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
@@ -0,0 +1,46 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 458,
"exit_code": 0,
"http_req_duration_p95": 387.97,
"http_reqs": 53572,
"iterations": 53542,
"kind": "steady",
"label": "block#n4-pool20#rep1",
"mode": "write",
"profile": "spread",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-4e164042a0f9 Creating ",
" Container mtusi-lab3-loadgen-run-4e164042a0f9 Created"
],
"steps": [
{
"achieved_rps": 892.37,
"avg": 157.72,
"duration_s": 60,
"failed": 0,
"max": 770.24,
"p50": 140.56,
"p95": 388.02,
"p99": 529.93,
"rate": 900,
"requests": 53542,
"status": {
"client_4xx": 0,
"ok": 53542,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 345
}
@@ -0,0 +1,105 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 3490,
"chats": 1179,
"idempotency_keys": 1658727,
"messages": 1658727,
"users": 190
},
"finished_at": "2026-10-15T23:34:08Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
10.62,
11.54,
8.49
],
"mem_available_mib": 5798,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "block#n4-pool20#rep1",
"mode": "write",
"phases": {},
"profile": "spread",
"quiesce": null,
"replicas": {
"3ce3bbee2794": {
"container": "3ce3bbee2794",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:32:59.113511298Z"
},
"4db93f3a2975": {
"container": "4db93f3a2975",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:32:58.723686481Z"
},
"a59c68e1eb39": {
"container": "a59c68e1eb39",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:32:58.947243557Z"
},
"dadf6af9b5c6": {
"container": "dadf6af9b5c6",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:32:58.585898562Z"
}
},
"sample_count": 1638,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "20",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:33:04Z",
"step_seconds": 60,
"steps": [
900
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
@@ -0,0 +1,46 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 779,
"exit_code": 0,
"http_req_duration_p95": 593.68,
"http_reqs": 53252,
"iterations": 53222,
"kind": "steady",
"label": "block#n4-pool20#rep2",
"mode": "write",
"profile": "spread",
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-04450fa8ebfd Creating ",
" Container mtusi-lab3-loadgen-run-04450fa8ebfd Created"
],
"steps": [
{
"achieved_rps": 887.03,
"avg": 239.42,
"duration_s": 60,
"failed": 0,
"max": 1196.4,
"p50": 207.18,
"p95": 593.7,
"p99": 900.56,
"rate": 900,
"requests": 53222,
"status": {
"client_4xx": 0,
"ok": 53222,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 553
}
@@ -0,0 +1,105 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 3562,
"chats": 1203,
"idempotency_keys": 1711949,
"messages": 1711949,
"users": 193
},
"finished_at": "2026-10-15T23:35:13Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
9.06,
10.88,
8.47
],
"mem_available_mib": 5770,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "block#n4-pool20#rep2",
"mode": "write",
"phases": {},
"profile": "spread",
"quiesce": null,
"replicas": {
"3ce3bbee2794": {
"container": "3ce3bbee2794",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-15T23:32:59.113511298Z"
},
"4db93f3a2975": {
"container": "4db93f3a2975",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-15T23:32:58.723686481Z"
},
"a59c68e1eb39": {
"container": "a59c68e1eb39",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-15T23:32:58.947243557Z"
},
"dadf6af9b5c6": {
"container": "dadf6af9b5c6",
"cpus": 0.75,
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-15T23:32:58.585898562Z"
}
},
"sample_count": 1642,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3-after",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "20",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "1024m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T23:34:10Z",
"step_seconds": 60,
"steps": [
900
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
@@ -0,0 +1,41 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 0,
"http_req_duration_p95": 6.29,
"http_reqs": 11631,
"iterations": 11601,
"kind": "steady",
"label": "failover#3ae9682cb023",
"mode": "write",
"profile": "spread",
"steps": [
{
"achieved_rps": 200.02,
"avg": 3.85,
"duration_s": 58,
"failed": 0,
"max": 49.94,
"p50": 3.41,
"p95": 6.28,
"p99": 7.82,
"rate": 200,
"requests": 11601,
"status": {
"client_4xx": 0,
"ok": 11601,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 200,
"preAllocated": 60
},
"vus_max": 60
}
@@ -0,0 +1,105 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 1748,
"chats": 591,
"idempotency_keys": 959301,
"messages": 959301,
"users": 98
},
"finished_at": "2026-10-15T22:47:58Z",
"generator": {
"cpus": "1.5",
"max_vus": "200",
"memory": "256m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
4.53,
7.39,
8.21
],
"mem_available_mib": 4696,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "failover#3ae9682cb023",
"mode": "write",
"phases": {
"absent_window_seconds": 0.2,
"first_success_after_exit_s": 0.2,
"lb_down_at": "2026-10-15T22:47:06Z",
"probe_offsets": {
"container_exit": 11.27,
"last_sample": 60.05,
"restore_command": 31.47,
"stop_command": 8.0
},
"replica_rejoined_s": 3.29,
"restore_at": "2026-10-15T22:47:29Z",
"stop_command_at": "2026-10-15T22:47:09Z",
"stop_command_took_s": 3.26,
"stop_exit_code": 0,
"stop_window_seconds": 3.47
},
"profile": "spread",
"quiesce": null,
"replicas": {
"3ae9682cb023": {
"container": "3ae9682cb023",
"cpus": 1.5,
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
"memory_mb": 768,
"name": "mtusi-lab3-api-1",
"started_at": "2026-10-15T22:47:29.548874355Z"
},
"93d6ac125b68": {
"container": "93d6ac125b68",
"cpus": 1.5,
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
"memory_mb": 768,
"name": "mtusi-lab3-api-2",
"started_at": "2026-10-15T22:45:14.135109905Z"
}
},
"sample_count": 1490,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "1.5",
"API_IMAGE": "mtusi-messenger:lab3",
"API_MEMORY_PER_REPLICA": "768m",
"API_REPLICAS": "2",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "256m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T22:46:57Z",
"step_seconds": 58,
"steps": [
200
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}
@@ -0,0 +1,17 @@
{
"absent_window_seconds": 0.2,
"first_success_after_exit_s": 0.2,
"lb_down_at": "2026-10-15T22:47:06Z",
"probe_offsets": {
"container_exit": 11.27,
"last_sample": 60.05,
"restore_command": 31.47,
"stop_command": 8.0
},
"replica_rejoined_s": 3.29,
"restore_at": "2026-10-15T22:47:29Z",
"stop_command_at": "2026-10-15T22:47:09Z",
"stop_command_took_s": 3.26,
"stop_exit_code": 0,
"stop_window_seconds": 3.47
}
@@ -0,0 +1,41 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 0,
"http_req_duration_p95": 36.27,
"http_reqs": 11631,
"iterations": 11601,
"kind": "steady",
"label": "failover#93d6ac125b68",
"mode": "write",
"profile": "spread",
"steps": [
{
"achieved_rps": 200.02,
"avg": 8.08,
"duration_s": 58,
"failed": 0,
"max": 308.1,
"p50": 3.6,
"p95": 36.08,
"p99": 82.1,
"rate": 200,
"requests": 11601,
"status": {
"client_4xx": 0,
"ok": 11601,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 200,
"preAllocated": 60
},
"vus_max": 60
}
@@ -0,0 +1,105 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"chat_members": 1833,
"chats": 626,
"idempotency_keys": 971200,
"messages": 971200,
"users": 120
},
"finished_at": "2026-10-15T22:49:00Z",
"generator": {
"cpus": "1.5",
"max_vus": "200",
"memory": "256m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
4.7,
6.9,
7.99
],
"mem_available_mib": 4736,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "failover#93d6ac125b68",
"mode": "write",
"phases": {
"absent_window_seconds": 0.1,
"first_success_after_exit_s": 0.1,
"lb_down_at": "2026-10-15T22:48:08Z",
"probe_offsets": {
"container_exit": 11.29,
"last_sample": 60.16,
"restore_command": 31.39,
"stop_command": 8.0
},
"replica_rejoined_s": 3.83,
"restore_at": "2026-10-15T22:48:31Z",
"stop_command_at": "2026-10-15T22:48:11Z",
"stop_command_took_s": 3.29,
"stop_exit_code": 0,
"stop_window_seconds": 3.39
},
"profile": "spread",
"quiesce": null,
"replicas": {
"3ae9682cb023": {
"container": "3ae9682cb023",
"cpus": 1.5,
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
"memory_mb": 768,
"name": "mtusi-lab3-api-1",
"started_at": "2026-10-15T22:47:29.548874355Z"
},
"93d6ac125b68": {
"container": "93d6ac125b68",
"cpus": 1.5,
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
"memory_mb": 768,
"name": "mtusi-lab3-api-2",
"started_at": "2026-10-15T22:48:31.599002589Z"
}
},
"sample_count": 1488,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "1.5",
"API_IMAGE": "mtusi-messenger:lab3",
"API_MEMORY_PER_REPLICA": "768m",
"API_REPLICAS": "2",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "10",
"LB_CPUS": "0.25",
"LB_MEMORY": "128m",
"LOADGEN_CPUS": "1.5",
"LOADGEN_MEMORY": "256m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T22:48:00Z",
"step_seconds": 58,
"steps": [
200
],
"versions": {
"haproxy": "haproxy:3.2-alpine",
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
"node_host": "v25.7.0",
"postgres": "postgres:16.4-alpine",
"postgres_runtime": "postgres (PostgreSQL) 16.4",
"redis": "redis:7.4.2-alpine",
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
}
}

Some files were not shown because too many files have changed in this diff Show More