137 changed files with 130263 additions and 54 deletions
+10 -7
View File
@@ -1,20 +1,23 @@
.git
.github
.env
.env.*
!.env.example
.env*
secrets
certs
volumes
data
backups
*.key
*.pem
*.p12
*.pfx
*.jks
node_modules
.DS_Store
evidence
backups
.venv
__pycache__
node_modules
evidence
.DS_Store
*.exe
student-tests/*
!student-tests/loadgen.go
.gocache
.plotdeps
+10 -11
View File
@@ -1,13 +1,12 @@
# Copy to .env for your LOCAL synthetic test environment; never commit .env.
# These are logical interface suggestions; map actual framework names in REPORT.md.
APP_HOST=0.0.0.0
APP_PORT=8080
APP_ENV=lab
# python scripts/bootstrap.py generates .env and secrets/ locally.
POSTGRES_PASSWORD=GENERATED_BY_BOOTSTRAP
HOST_PORT=8083
SESSION_TTL_SECONDS=3600
# Choose credentials locally. File paths contain no secret values.
DATABASE_URL_FILE=/run/secrets/database_url
# Optional on 3, required use on 4 in lab2; Redis OR Valkey:
SESSION_STORE=postgres
CACHE_URL_FILE=/run/secrets/cache_url
API_REPLICAS=2
IDEMPOTENCY_TTL_SECONDS=86400
API_CPUS=0.5
API_MEMORY=256m
DB_MAX_CONNECTIONS=8
DB_CPUS=1.0
DB_MEMORY=512m
LB_CPUS=0.5
CHAT_CACHE_ENABLED=true
+5
View File
@@ -0,0 +1,5 @@
*.sh text eol=lf
*.cmd text eol=crlf
*.py text eol=lf
*.go text eol=lf
*.sql text eol=lf
+45 -15
View File
@@ -1,18 +1,48 @@
## Лабораторная 3
# ЛР 3 — БВТ2303 — Брезгунова — на 5
Автор / группа: TODO
Целевая оценка (3/4/5): TODO
Трек 5, если заявлен: TODO
Автор / группа: Брезгунова Анжелика, БВТ2303.
Целевая оценка: 5. Трек 1 — цена масштабирования.
Что реализовано и что перенесено: TODO
Команды запуска из чистого clone: TODO
Результаты проверок и ссылка на REPORT.md: TODO
Ограничения / известные ошибки: TODO
Источники и использование ИИ: TODO
Приложение из lab2 перенесено в отдельный репозиторий lab3. Две и более API
реплики работают за HAProxy с общими PostgreSQL-сессиями, данными и атомарной
идемпотентностью сообщений. Добавлены X-Instance-Id, отдельный migration job,
readiness/DNS, graceful shutdown, проверка отказа каждой реплики и
последовательной замены контейнеров под нагрузкой. Папки lab1/lab2 сохранены.
- [ ] Весь обязательный минимум текущей и предыдущих работ сохранён с объявленными переходами.
- [ ] Контракт и публичные тесты не ослаблены.
- [ ] make check и make test выполнены; приложен реальный вывод.
- [ ] Сценарии отказов/безопасности своего уровня воспроизведены.
- [ ] Все секреты и приватные ключи находятся вне Git; отчёт не содержит tokens.
- [ ] README задания сохранён, REPORT.md содержит инструкцию именно моего решения.
Исследование сравнивает 1/2/4 реплики при фиксированном суммарном CPU/RAM и
при увеличении ресурсов, измеряет насыщение PostgreSQL и эффект общего кэша
неизменяемого доступа к чату. Сырые JSON, CPU/RAM/pool counters, графики и
ограничения приведены в [REPORT.md](REPORT.md) и [evidence/](evidence/).
Запуск из чистого clone:
```sh
python -X utf8 scripts/bootstrap.py
docker compose --env-file .env up -d --build --wait
python -X utf8 student-tests/verify.py
python -X utf8 student-tests/research.py --duration 20 --repeats 3
```
Проверки: Dockerfile запускает go test/vet; полный OpenAPI validator;
публичные smoke/persistence/failover; 24 конкурентных повтора и конфликтная
гонка body; последовательные SIGTERM каждой реплики; SIGKILL; rolling
replacement; потеря Redis с fallback. Фактические результаты доступны
в `evidence/verification.json`, `checks/`, `resilience-summary.json`.
Ограничения: один Docker-host, DB, LB и disk остаются SPOF. Node/DB failover
не заявляется. Closed-loop исследование имеет coordinated omission, короткие
локальные серии не являются production capacity. Кэш чата корректен при
неизменяемых участниках; для изменения membership потребуется инвалидация.
Несовместимые DDL/API изменения требуют отдельного expand/contract плана.
Источники: собственная lab2, официальные Docker/HAProxy/PostgreSQL docs;
закреплённые зависимости go.mod/go.sum. Codex помог с реализацией, тестами,
экспериментами и оформлением; объяснения защиты находятся в DEFENSE.md.
- [x] Минимум lab2 и обязательный контракт lab3 сохранены.
- [x] Публичные contracts/tests/README не ослаблены; lab1/lab2 не изменены.
- [x] Offline/smoke/persistence/failover и собственные проверки выполнены.
- [x] Отказ каждой реплики и замена под нагрузкой воспроизведены.
- [x] Трек 1 завершён: raw data, графики, граница насыщения и измеренное улучшение.
- [x] Секреты находятся вне Git и build context; tokens не сохраняются.
- [x] REPORT/RUNBOOK/DEFENSE содержат команды и объяснения.
+33
View File
@@ -0,0 +1,33 @@
name: Application and resilience
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
application:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: python scripts/bootstrap.py
- run: docker compose --env-file .env config --quiet
- run: docker compose --env-file .env up -d --build --wait
- run: make check test PYTHON=python BASE_URL=http://127.0.0.1:8083
- run: python student-tests/verify.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: lab3-verification
path: |
evidence/checks/
evidence/actions/
evidence/verification.json
evidence/integration.json
evidence/resilience-summary.json
- if: always()
run: docker compose down
+2
View File
@@ -15,6 +15,8 @@ data/
backups/
# Runtime/build artifacts
.venv/
.gocache/
.plotdeps/
__pycache__/
*.py[cod]
node_modules/
+71
View File
@@ -0,0 +1,71 @@
# Пояснения для защиты
## Показать за 5–7 минут
1. `docker compose ps`: два настоящих контейнера API, HAProxy, PostgreSQL и Redis.
2. `python -X utf8 student-tests/integration.py`: одна сессия работает через
разные `X-Instance-Id`; 24 конкурентных POST возвращают одно Message.
3. Публичный failover по команде из RUNBOOK. Затем `docker compose ps -a`:
целевой контейнер действительно остановлен. Восстановить через
`python -X utf8 scripts/actions.py restore`.
4. Показать `evidence/resilience-summary.json`: обе реплики остановлены по
очереди, прежняя восстановлена перед следующим отказом; отдельно SIGKILL,
замена контейнеров и потеря Redis. Все подтверждённые сообщения проверены.
5. Публичный persistence: перезапуск API, PostgreSQL, Redis и LB с тем же
token; в `evidence/actions/restart-*.json` сравнить `started` каждого
контейнера до и после.
6. Открыть `evidence/figures/scaling.png`, `resources.png` и результаты трека 1
в REPORT: фиксированные ресурсы, растущие ресурсы, насыщение и кэш A/B.
## Почему это работает
**Сессия общая.** API не хранит токены в памяти. Bearer token хешируется SHA-256,
а проверка действительности и срока сессии идёт в PostgreSQL при каждом запросе.
Sticky sessions не требуются. Локальные счётчики и admission gate не являются
источником бизнес-данных.
**Idempotency-Key защищает неопределённый POST.** После timeout клиент не знает,
прошёл ли COMMIT. Он повторяет то же содержимое с тем же ключом. Уникальная
строка `(user_id, chat_id, key)` блокирует конкурентов на разных репликах.
Заявка и Message коммитятся вместе. Повтор получает исходные ID и created_at;
другое содержимое возвращает 409. Сессионные/правовые проверки выполняются
раньше чтения результата. Нет защиты повторного создания чата/пользователя:
LB повторяет только ошибку установления соединения до отправки запроса.
**Почему claim-first FK отложен.** `message_keys` создаётся первым, а ссылка на
новое сообщение проверяется только на COMMIT. Если процесс умер между INSERT,
вся транзакция откатывается; пустой подтверждённый результат невозможен.
`ON CONFLICT` сериализует конкурентов даже при READ COMMITTED. Второй SELECT
в новой snapshot видит подтверждённое сообщение конкурента.
**Почему depends_on недостаточно.** Compose упорядочивает запуск. Рабочие
HTTP-запросы распределяет HAProxy и удаляет backend по активной readiness
проверке. Docker DNS сообщает актуальные адреса новых контейнеров.
**SIGTERM и SIGKILL различаются.** При SIGTERM API перестаёт принимать бизнес
работу, readiness становится 503, ждёт 2,5 секунды обнаружения LB и завершает
уже начатые запросы за 10 секунд. При SIGKILL обработчик не запускается;
незавершённая DB-транзакция откатывается, соединения могут оборваться. Клиент
повторяет неопределённую запись с прежним ключом.
**Почему общий кэш безопасен в этом контракте.** Кэшируется только положительный
результат доступа пользователя к неизменяемому чату. Данные/участники чата
не редактируются обязательным API. Token по-прежнему проверяется в PostgreSQL.
При потере Redis выполняется обычный DB-запрос; readiness зависит от БД.
Если добавить изменение участников, нужны инвалидация или versioned keys.
**Что является SPOF.** Один PostgreSQL, HAProxy, Docker-host и его disk/volumes.
Две API-реплики выдерживают отказ процесса. Они не переживут потерю всего
компьютера или единственной БД. Выбран исследовательский трек 1; HA узлов/БД
не заявляется.
**Почему реплики перестают помогать.** Суммарный CPU API не вырос в первой
серии. Во второй вырос, но общий PostgreSQL остаётся ограничен одним CPU.
При повышении concurrency RPS выходит на плато, растёт latency и ожидание
DB-пула. Сопоставить график с `cgroup_deltas` и `pool_deltas`, не объяснять
насыщение только числом запросов или количеством контейнеров.
**Границы измерений.** Closed-loop снижает arrival rate при росте latency
(coordinated omission). Прогон локальный, клиент и сервер делят host;
три повтора характеризуют разброс на этой машине, не production capacity.
Измеренные ошибки включены отдельно, p50/p95/p99 относятся ко всем попыткам.
+16
View File
@@ -0,0 +1,16 @@
FROM golang:1.24.7-alpine3.22 AS build
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go test ./... && go vet ./...
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/messenger .
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/loadgen ./student-tests/loadgen.go
FROM alpine:3.22.1
RUN addgroup -S app && adduser -S -G app app
COPY --from=build /out/messenger /usr/local/bin/messenger
COPY --from=build /out/loadgen /usr/local/bin/loadgen
USER app
EXPOSE 8080
ENTRYPOINT ["messenger"]
+23
View File
@@ -6,6 +6,29 @@ TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
.PHONY: help check validate test load test-persistence test-failover
.PHONY: bootstrap up down restore rolling integration resilience research verify figures
bootstrap:
$(PYTHON) scripts/bootstrap.py
up: bootstrap
docker compose --env-file .env up -d --build --wait
down:
docker compose --env-file .env down
restore:
$(PYTHON) scripts/actions.py restore
rolling:
docker compose --env-file .env build api
$(PYTHON) scripts/actions.py rolling
integration:
$(PYTHON) student-tests/integration.py
resilience:
$(PYTHON) student-tests/resilience_load.py
research:
$(PYTHON) student-tests/research.py --duration 20 --repeats 3
verify:
$(PYTHON) student-tests/verify.py
figures:
$(PYTHON) student-tests/plot_results.py
help:
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"
+48
View File
@@ -0,0 +1,48 @@
# ЛР 3 — БВТ2303 — Брезгунова — на 5
Автор / группа: Брезгунова Анжелика, БВТ2303.
Целевая оценка: 5. Трек 1 — цена масштабирования.
Приложение из lab2 перенесено в отдельный репозиторий lab3. Две и более API
реплики работают за HAProxy с общими PostgreSQL-сессиями, данными и атомарной
идемпотентностью сообщений. Добавлены X-Instance-Id, отдельный migration job,
readiness/DNS, graceful shutdown, проверка отказа каждой реплики и
последовательной замены контейнеров под нагрузкой. Папки lab1/lab2 сохранены.
Исследование сравнивает 1/2/4 реплики при фиксированном суммарном CPU/RAM и
при увеличении ресурсов, измеряет насыщение PostgreSQL и эффект общего кэша
неизменяемого доступа к чату. Сырые JSON, CPU/RAM/pool counters, графики и
ограничения приведены в [REPORT.md](REPORT.md) и [evidence/](evidence/).
Запуск из чистого clone:
```sh
python -X utf8 scripts/bootstrap.py
docker compose --env-file .env up -d --build --wait
python -X utf8 student-tests/verify.py
python -X utf8 student-tests/research.py --duration 20 --repeats 3
```
Проверки: Dockerfile запускает go test/vet; полный OpenAPI validator;
публичные smoke/persistence/failover; 24 конкурентных повтора и конфликтная
гонка body; последовательные SIGTERM каждой реплики; SIGKILL; rolling
replacement; потеря Redis с fallback. Фактические результаты доступны
в `evidence/verification.json`, `checks/`, `resilience-summary.json`.
Ограничения: один Docker-host, DB, LB и disk остаются SPOF. Node/DB failover
не заявляется. Closed-loop исследование имеет coordinated omission, короткие
локальные серии не являются production capacity. Кэш чата корректен при
неизменяемых участниках; для изменения membership потребуется инвалидация.
Несовместимые DDL/API изменения требуют отдельного expand/contract плана.
Источники: собственная lab2, официальные Docker/HAProxy/PostgreSQL docs;
закреплённые зависимости go.mod/go.sum. Codex помог с реализацией, тестами,
экспериментами и оформлением; объяснения защиты находятся в DEFENSE.md.
- [x] Минимум lab2 и обязательный контракт lab3 сохранены.
- [x] Публичные contracts/tests/README не ослаблены; lab1/lab2 не изменены.
- [x] Offline/smoke/persistence/failover и собственные проверки выполнены.
- [x] Отказ каждой реплики и замена под нагрузкой воспроизведены.
- [x] Трек 1 завершён: raw data, графики, граница насыщения и измеренное улучшение.
- [x] Секреты находятся вне Git и build context; tokens не сохраняются.
- [x] REPORT/RUNBOOK/DEFENSE содержат команды и объяснения.
+265 -21
View File
@@ -1,37 +1,281 @@
# Отчёт — лабораторная 3
- Автор, группа: TODO
- Целевая оценка; выбранный трек 5, если нужен: TODO
- Commit/PR: TODO после публикации
- Использованные источники, библиотеки и помощь ИИ: TODO
- Автор, группа: Брезгунова Анжелика, БВТ2303.
- Целевая оценка: **5**, трек 1 — цена масштабирования.
- Ветка: `solution/BVT2303-Brezgunova-5`; commit/PR заполняются при публикации.
- Реализация Go перенесена из собственной lab2. Папки lab1/lab2 не изменялись;
проверка SHA-256 приведена в `evidence/scope-before.json` и `scope-after.json`.
- Использована помощь Codex для реализации, тестов, экспериментов и оформления.
Обязательные contracts, публичные tests, README задания и COURSE сохранены.
## Запуск из чистого clone
TODO: версии runtime/образов, prerequisites, команды создания локальных secrets/.env, build, миграций, запуска, ожидания готовности, тестов и остановки. Указать необходимые действия оператора. Не вставлять секреты. Отдельно указать безопасную остановку и команду намеренного удаления учебных данных.
Нужны Docker с Linux-контейнерами, Compose v2+ и Python 3.9+.
Локальный Go не требуется. Используются закреплённые образы: Go
`1.24.7-alpine3.22`, Alpine `3.22.1`, PostgreSQL `17.6-alpine3.22`, Redis
`7.4.5-alpine3.21`, HAProxy `3.0.11-alpine`. Локальный образ приложения:
`mtusi-messenger:lab3`. Dockerfile выполняет `go test ./...`, `go vet ./...`,
собирает API и отдельный Go-генератор нагрузки.
```sh
python -X utf8 scripts/bootstrap.py
docker compose --env-file .env config --quiet
docker compose --env-file .env up -d --build --wait
python -X utf8 scripts/wait_ready.py --base-url http://127.0.0.1:8083
python -X utf8 student-tests/verify.py
```
Порт 8083 выбран, чтобы не затрагивать lab2 на 8080. Настраивается `HOST_PORT`.
Bootstrap создаёт локальные `.env` и `secrets/`, сохраняет пароль при повторном
запуске и не выводит credentials. Только API/migrate получают database URL,
PostgreSQL получает password file, Redis и LB не получают DB-секреты.
Файлы исключены из Git и Docker build context. Существующий пароль volumes
не изменяется простым редактированием `.env`.
Windows-эквиваленты make и отдельные команды проверки: [RUNBOOK.md](RUNBOOK.md).
Для Linux выполнить `chmod +x scripts/*.sh`; доступны `make check test`,
`make test-persistence` и `make test-failover` с `BASE_URL` и `ACTION_SCRIPT`
из RUNBOOK. `make validate` проверяет OpenAPI после установки
`requirements-dev.txt`. CI `application.yml` собирает стенд и запускает
публичные и собственные проверки отдельно от skeleton workflow.
Остановить с сохранением данных: `docker compose --env-file .env down`.
Отдельная команда намеренного удаления учебных volumes —
`docker compose --env-file .env down --volumes`; тесты её не используют.
## Архитектура и решения
TODO: схема процессов/хранилищ, источник истины, транзакционные границы, ограничения. Что перенесено из lab2, что изменено в этой работе. Соответствие переменных из .env.example реальной конфигурации.
```mermaid
flowchart LR
C[Клиент] --> L[HAProxy :8083]
L --> A[API replica 1]
L --> B[API replica 2]
A --> P[(PostgreSQL: данные, сессии, message_keys)]
B --> P
A --> R[(Redis: общий кэш)]
B --> R
M[Однократный migration job] --> P
```
## Доказательства критериев
Архитектура Compose + HAProxy. `api` — один масштабируемый service, без
`container_name`, без публичного host-порта. PostgreSQL и Redis доступны только
в internal-сети storage; LB видит только front. По умолчанию два API,
round-robin без sticky session. Каждый API устанавливает `X-Instance-Id`,
соответствующий hostname реального контейнера и стабильный для жизни процесса.
Необходимые данные не находятся в локальной памяти реплики.
| Критерий README | Команда/сценарий | Наблюдаемый результат | Файл доказательства |
| --- | --- | --- | --- |
| Публичный smoke | make test | TODO | TODO |
| Остальные пункты уровня 3 | TODO | TODO | TODO |
| Все пункты уровня 4, если заявлен | TODO | TODO | TODO |
| Выбранный трек 5, если заявлен | TODO | TODO | TODO |
Из lab2 сохранены REST API, PostgreSQL-модель, keyset pagination, Argon2id,
Bearer-сессии, лимиты запросов и Redis-кэш профилей. Сессии — всегда PostgreSQL,
TTL 3600 секунд, в DB хранится SHA-256 token. Кэш общего чата добавлен в lab3
как измеряемое улучшение; отключается `CHAT_CACHE_ENABLED=false`.
TODO: добавить отдельную строку для каждого заявленного критерия. PASS без команды и наблюдения не является доказательством. Проверка инфраструктурного hook требует подтверждения, какие реальные процессы/хранилища перезапущены.
Общий кэш хранит только положительный доступ `(chat, user)` на 5 минут.
Метаданные и участники чата неизменяемы в обязательном API; каждый запрос
проверяет сессию в PostgreSQL. При ошибке Redis — fallback в DB за ограниченные
150 мс. Остановка Redis не блокирует корректность или readiness. При будущем
редактировании участников понадобится инвалидация/versioned keys.
## Эксперименты и отказы
## Атомарная идемпотентность
TODO: гипотеза, hardware/лимиты, версии, объём данных, профиль нагрузки, concurrency/arrival rate, длительность/прогрев, повторы, успешные RPS, ошибки, p50/p95/p99, CPU/RAM. Сохранить raw summary без tokens и объяснить ограничения измерения.
Ключ проверяется по `[A-Za-z0-9._:-]{1,128}` только при POST сообщения.
Область уникальности `(user_id, chat_id, key)` соответствует единственному
POST-пути сообщений. Сначала снова проверяются сессия, доступ и тело.
Семантическое содержимое в lab3 — единственное поле `text`, поэтому JSON
escape и форматирование не меняют равенство. `attachment_ids` отсутствует
в CreateMessage текущего OpenAPI и не принимается до lab4.
| Воздействие | Что ожидаем | Что наблюдали | Время восстановления / потеря данных |
| --- | --- | --- | --- |
| TODO | TODO | TODO | TODO |
Одна транзакция сначала делает INSERT claim в `message_keys`, затем INSERT
Message. Unique constraint и `ON CONFLICT` сериализуют одновременные запросы.
При повторе неистёкшего ключа транзакция читает исходный Message в следующей
READ COMMITTED snapshot; одинаковый text возвращает прежний 201, другой — 409.
Ссылка claim → Message отложена до COMMIT: невозможно подтвердить claim без
Message. Ошибка/rollback не фиксирует окончательный 5xx. При неопределённом
COMMIT клиент безопасно повторяет исходный ключ. TTL — 24 часа; истёкший claim
заменяется атомарно, ранее созданное сообщение остаётся в истории.
## Ограничения и следующие шаги
Записи с давно истёкшими уникальными ключами пока сохраняются: нужен janitor
для ограничения размера таблицы. Это не меняет TTL/поведение повторов.
TODO: какие отказы выдерживаются и какие нет; что не реализовано; где учебное упрощение; какое улучшение подтверждено, а какое пока гипотеза.
## Readiness, DNS и завершение
HAProxy проверяет `/health/ready` каждые 500 мс, `fall=2`, `rise=2`, timeout
проверки 500 мс; ожидаемое исключение при отвечающем/оборванном backend —
около 1 секунды, при двух timeout — до примерно 2 секунд без CPU starvation.
Docker DNS `127.0.0.11` и `server-template` обновляют до 8 адресов API без
перезапуска LB (`hold valid/obsolete=1s`). В ходе rolling замены проверяется,
что новый hostname действительно наблюдается через LB.
DB/application timeout — 2 с; DB lock timeout — 1 с; LB connect — 500 мс,
server — 5 с, client — 10 с. LB повторяет только `conn-failure` и redispatch:
создание пользователя/чата после неопределённого ответа автоматически не
повторяется. При SIGTERM readiness и новая бизнес-работа получают 503,
далее задержка 2,5 с для LB и `Server.Shutdown` до 10 с. Compose даёт 15 с.
`/health/live` остаётся доступным во время drain. Переходные ошибки измерены.
Миграции запускаются отдельным service `migrate`, однократно за bootstrap,
под advisory lock; checksums предотвращают незаметное изменение старого SQL.
API не запускают DDL и при старте проверяют схему. `002` добавляет таблицу и
индекс; rolling текущей схемы заменяет процессы по одному с surge=1.
Удаляющие/несовместимые миграции требуют expand/contract. Смешивать версии
lab2 и lab3 за одним LB нельзя из-за обязательного Idempotency-Key.
## Лимиты и критерии
| Компонент | CPU | RAM | Публичный порт |
| --- | ---: | ---: | --- |
| API, каждый из двух | 0,5 | 256 MiB | нет |
| PostgreSQL | 1 | 512 MiB | нет |
| Redis | 0,25 | 128 MiB | нет |
| HAProxy | 0,5 | 128 MiB | 127.0.0.1:8083 |
| Migration job, только при запуске | 0,5 | 128 MiB | нет |
| Генератор, только во время исследования | 2 | 256 MiB | нет |
API admission gate 128, DB pool 8 connections на реплику, KDF gate 4.
API/LB/migrate/loadgen: read-only filesystem, drop ALL capabilities,
no-new-privileges; API работает непривилегированным пользователем.
| Критерий README | Проверка | Доказательство |
| --- | --- | --- |
| ≥2 настоящих реплик, единый вход | inspect labels + разные headers в одной сессии | `evidence/integration.json`, `verification.json` |
| Контракт предыдущей лабы и lab3 | публичный smoke | `evidence/checks/smoke.txt`, `final-smoke.txt` |
| Общие сессии и сохранность volumes | публичный persistence, restart всего стенда | `evidence/checks/persistence.txt`, `actions/restart-*.json` |
| Общая идемпотентность, разные реплики | 24 одинаковых POST + 24 разных body с общим ключом | `evidence/integration.json` |
| Восстановление ≤10 с, сохранность подтверждений | публичный failover | `evidence/checks/failover.txt` |
| Последовательный отказ каждой реплики, RPS/ошибки | четыре клиента read/write, restore между остановками | `evidence/stop-replica-1.json`, `stop-replica-2.json` |
| Неожиданный отказ процесса | отдельный SIGKILL, прежние ключи и token | `evidence/hard-kill.json` |
| Readiness/timeouts/graceful shutdown | конфигурация + фактические stop/kill | `infra/haproxy.cfg`, `resilience-summary.json` |
| CPU/RAM, изоляция портов, масштабируемый service | безопасная выборка docker inspect | `evidence/verification.json` |
| Поочерёдная замена под нагрузкой | новая реплика наблюдается до остановки старой | `evidence/rolling-update.json`, `actions/rolling-*.json` |
| Однократные согласованные миграции | отдельный job, checksums, повторный restart | `migrations/`, `evidence/checks/persistence.txt` |
| Redis fallback сохраняет корректность | stop Redis на 5 с во время read/write | `evidence/cache-loss.json` |
| Трек 1 на оценку 5 | фиксированный/растущий бюджет, насыщение, A/B | `evidence/research.json`, `runs/`, `figures/` |
## Эксперимент трека 1
Гипотеза: при одинаковом суммарном CPU/RAM API дополнительные реплики дают
мало выигрыша; рост ресурсов API ограничивается общим PostgreSQL. Кэш
неизменяемых данных/доступа чата должен снизить число DB-запросов и дать
измеряемый рост RPS при прежних лимитах.
Методика: `python -X utf8 student-tests/research.py --duration 20 --repeats 3`.
Свой Go closed-loop генератор в отдельном контейнере, persistent connections
через LB, 80% GET history `limit=50`, 20% POST текста 200 байт, без retry,
32 workers. Прогрев 3 с, измерение 20 с, три повтора. Каждый прогон создаёт
новый чат с 1000 синтетическими сообщениями; общий объём БД до/после записан.
Порядок вариантов в каждом повторе детерминированно перемешан.
Фиксированный бюджет API — 1 CPU / 512 MiB / 8 суммарных DB connections,
поделённые между 1/2/4 репликами. DB/LB/Redis неизменны, поэтому суммарный
бюджет работающего серверного стенда одинаков: 2,75 CPU / 1280 MiB.
Во второй серии каждая реплика получает 0,5 CPU / 256 MiB / pool 8;
общие DB/LB/Redis остаются прежними. Обе серии выполняются с выключенным
кэшем чатов, чтобы отдельно измерить его эффект. Серия насыщения:
4 API, concurrency 1/2/4/8/16/32/64 (один прогон на точку; 1/2 уточняют
нижнюю границу насыщения). A/B кэша: две API, одинаковые лимиты,
чередование off/on с обратным порядком второго повтора.
Ресурсы: Intel Core i7-12700H, 14 cores / 20 logical processors, около 16 GiB
RAM. Docker Desktop Linux VM имеет 20 CPU и около 7,57 GiB RAM. Детали —
`evidence/hardware.json`, `evidence/research.json`. Lab2 оставался запущен
и простаивал. CPU/RAM контейнеров снимаются во время прогонов; cgroup CPU
usage/throttling и pool wait counters — до/после. Ресурсное окно включает
прогрев и запуск клиента; latency относится к измеряемой фазе и ко всем
попыткам, включая ошибки.
<!-- MEASURED_RESULTS_START -->
### Измеренные результаты
Значения RPS — медианы трёх прогонов; диапазон — min/max. p50/p95/p99 — медианы соответствующих квантилей отдельных прогонов, мс.
| Серия | Реплики | RPS, медиана | min–max RPS | p50 / p95 / p99, мс | Ошибки |
| --- | ---: | ---: | ---: | --- | ---: |
| Фиксированный бюджет | 1 | 194.1 | 192.2–198.6 | 180.2 / 302.4 / 400.5 | 0 |
| Фиксированный бюджет | 2 | 222.6 | 195.1–257.1 | 93.9 / 475.1 / 690.2 | 0 |
| Фиксированный бюджет | 4 | 202.0 | 196.2–245.6 | 93.9 / 569.2 / 889.9 | 0 |
| Растущий бюджет | 1 | 141.0 | 111.6–147.6 | 200.9 / 406.5 / 595.3 | 0 |
| Растущий бюджет | 2 | 198.7 | 173.1–211.7 | 103.9 / 489.4 / 638.3 | 0 |
| Растущий бюджет | 4 | 210.4 | 200.6–252.7 | 106.1 / 307.7 / 401.1 | 0 |
При фиксированном бюджете 4/1 = **1.041×**: добавление процессов само по себе не даёт линейного ускорения. При растущем бюджете 4/2 = **1.059×**: после двух реплик выигрыш невелик, общая БД становится ограничением.
| Concurrency, 4 API | RPS | p95, мс | Ошибки | PostgreSQL CPU / quota | DB pool wait, суммарно с |
| ---: | ---: | ---: | ---: | ---: | ---: |
| 1 | 225.3 | 7.6 | 0 | 50.0% | 0.0 |
| 2 | 456.0 | 7.8 | 0 | 89.2% | 0.0 |
| 4 | 305.4 | 56.7 | 0 | 93.7% | 0.0 |
| 8 | 217.0 | 92.2 | 0 | 94.4% | 0.0 |
| 16 | 184.3 | 193.2 | 0 | 94.2% | 0.5 |
| 32 | 165.8 | 398.3 | 0 | 95.2% | 61.2 |
| 64 | 171.5 | 1009.1 | 4 | 95.8% | 768.2 |
Лучший измеренный RPS в серии насыщения — **456.0** при concurrency **2**. Выше этой точки растёт время запросов и ожидание пула, прирост реплик не убирает ограничение общего PostgreSQL. CPU БД достигает почти всей quota, у LB остаётся запас. Cgroup throttled_usec — накопленное время ограничения задач планировщиком, а не длительность отказа стенда. Это локальная измеренная граница данного профиля; по каждой точке concurrency один прогон, глобального максимума производительности не заявляем.
| Кэш чата, прежние лимиты | RPS, медиана | min–max | p95, медиана, мс | Ошибки |
| --- | ---: | ---: | ---: | ---: |
| off | 187.0 | 179.3–221.5 | 481.7 | 0 |
| on | 316.2 | 282.6–340.3 | 211.7 | 0 |
Подтверждённое улучшение: общий кэш неизменяемого чата дал **+69.1% медианного RPS** при прежних CPU/RAM/pool и профиле запросов. Реальные hits отражены в pool_deltas; сессии остались в PostgreSQL. Каждый повтор сравнивался с выключенным кэшем, порядок A/B чередовался. Разброс остаётся; статистической значимости по трём повторам не заявляем.
![Масштабирование, насыщение и A/B](evidence/figures/scaling.png)
![CPU относительно quota](evidence/figures/resources.png)
### Отказы и замена под нагрузкой
Четыре клиента читают профиль и записывают сообщения через LB. При неопределённом POST сохраняют ключ. Время восстановления ниже отсчитывается от начала action до первой успешной операции после его завершения; для rolling также указано время всей замены. Все подтверждения, исходное сообщение, прежний token и исходный Idempotency-Key проверены после воздействия.
| Воздействие | RPS | Ошибки / доля | p95, мс | Read / write после начала action, с | Подтверждения сохранены |
| --- | ---: | --- | ---: | --- | --- |
| stop-replica-1 | 107.2 | 41 / 1.88% | 28.0 | 3.633 / 3.692 | 1078 из 1078 |
| stop-replica-2 | 106.0 | 49 / 2.26% | 28.6 | 3.645 / 3.642 | 1049 из 1049 |
| hard-kill | 107.4 | 2 / 0.09% | 28.3 | 1.129 / 1.131 | 1073 из 1073 |
| rolling-update | 107.9 | 54 / 1.64% | 28.6 | 11.346 / 11.385 | 1615 из 1615 |
| cache-loss | 102.7 | 0 / 0.00% | 29.4 | 6.382 / 6.394 | 1027 из 1027 |
`rolling-update`: action продолжался 11.330 с, но запросы обслуживались во время него. Максимальный промежуток между успешными GET / POST за весь прогон — 0.093 / 0.091 с. Время в предыдущей таблице учитывает завершение всей action и не означает такой же простой.
`cache-loss`: action продолжался 6.378 с, но запросы обслуживались во время него. Максимальный промежуток между успешными GET / POST за весь прогон — 0.663 / 0.375 с. Время в предыдущей таблице учитывает завершение всей action и не означает такой же простой.
Переходные 503/оборванные соединения включены в ошибки. Дубли и потеря подтверждённых данных не обнаружены. Во время rolling сначала новая реплика наблюдалась через LB, затем старая останавливалась; в action сохранены реальные ID до/после. При Redis outage система продолжала работать через PostgreSQL.
Публичные проверки и отдельные Go test/vet/сборка: `evidence/checks/`, `evidence/build.txt`; полный OpenAPI validator — `evidence/checks/validate.txt`. Все проверки verification завершились PASS.
<!-- MEASURED_RESULTS_END -->
## Ограничения
Один host, PostgreSQL, LB и disk — SPOF; исследование отказа узла не заявляется.
Это локальный учебный стенд, не производственная гарантия HA. Closed-loop имеет
coordinated omission; насыщение описывает этот профиль и лимиты, а не
максимальный production arrival rate. DB постепенно растёт; это отражено
в raw results. Короткие серии и три повтора дают эмпирический диапазон,
статистической значимости или универсального проходного RPS не заявляем.
Замена процессов проверена на текущей совместимой схеме; несовместимые
изменения API/DDL требуют отдельного плана. В дальнейшем нужны janitor
истёкших keys, open-loop генератор, более длинные серии и план HA DB/LB.
## Исправления по замечаниям от 29 октября 2026 года
Из актуальной lab2 перенесены точная проверка JSON-имён по тегам (включая
регистр и дубли после Unicode-unescape) и проверка присутствия параметров
пагинации. `Text`/`TEXT`, пустые `limit=`/`cursor=` и повторяющиеся параметры
возвращают `400 invalid_request`. Отсутствующие параметры сохраняют значения
по умолчанию. Код и файлы lab1/lab2 при переносе не изменялись.
Регрессии: `main_test.go`, `student-tests/review_regressions.py`; результаты —
`evidence/review-build.txt`, `evidence/checks/review-regressions.txt` и
`evidence/review-regressions.json`. HTTP-проверка подтверждает, что отклонённый
POST не создаёт Message и не занимает Idempotency-Key.
Таблица отказов и `evidence/summary.md` генерируются из подробных raw JSON.
`student-tests/verify.py` после успешной полной проверки автоматически
запускает `student-tests/summarize.py`, синхронизируя отчёт с новым прогоном.
## Источники
- [Docker Compose services](https://docs.docker.com/reference/compose-file/services/): replicas, healthcheck, depends_on, CPU/RAM и stop_grace_period.
- [HAProxy 3.0 manual](https://docs.haproxy.org/3.0/configuration.html): server-template, DNS resolvers, checks, retry-on.
- [PostgreSQL 17 INSERT](https://www.postgresql.org/docs/17/sql-insert.html): ON CONFLICT и конкурентный захват ключа.
- [PostgreSQL constraints](https://www.postgresql.org/docs/17/ddl-constraints.html): unique и внешние ключи.
- Исходная собственная lab2; зависимости `lib/pq 1.10.9`, `go-redis/v9 9.12.1`, `x/crypto 0.41.0` закреплены в go.mod/go.sum.
- Codex использован для реализации, проверки и оформления; объяснения для защиты — [DEFENSE.md](DEFENSE.md).
+116
View File
@@ -0,0 +1,116 @@
# Лабораторная 3 — запуск и защита
Работать из `mtusi2026lab3`. Папки лабораторных 1 и 2 не нужны для запуска.
Требования: Docker с Linux-контейнерами и Compose v2+, Python 3.9+.
Go установлен внутри Dockerfile; локальная установка Go не требуется.
## Запуск
```sh
python -X utf8 scripts/bootstrap.py
docker compose --env-file .env config --quiet
docker compose --env-file .env up -d --build --wait
python -X utf8 scripts/wait_ready.py --base-url http://127.0.0.1:8083
python -X utf8 tests/smoke.py --base-url http://127.0.0.1:8083
```
Единственный публичный адрес — `http://127.0.0.1:8083`. Выбраны отдельные
имена Compose-проекта, сетей и volumes, чтобы сохранять работающий стенд lab2
на 8080. API, PostgreSQL и Redis не публикуют host-порты. В `.env` можно
выбрать другой `HOST_PORT`; тогда его надо передать публичным тестам.
`.env` и `secrets/` создаются локально, повторный bootstrap сохраняет пароль.
Не копировать их из lab2. Не менять пароль при существующем volume: PostgreSQL
использует initial password только при первой инициализации.
## Все проверки
```sh
python -X utf8 student-tests/verify.py
```
Сценарий запускает публичные offline/smoke/persistence/failover, собственные
проверки конкурентных запросов, поочерёдную остановку каждой реплики, SIGKILL,
замену контейнеров и отказ Redis. В конце остаются две работающие реплики.
Выводы сохраняются в `evidence/checks/`, реальные операции — в
`evidence/actions/`, сводки — в `evidence/verification.json` и
`evidence/resilience-summary.json`. Тесты создают только синтетические данные.
Отдельные публичные сценарии в **Windows / PowerShell**:
```powershell
python -X utf8 tests/resilience.py --mode persistence --action-script scripts/restart.cmd --base-url http://127.0.0.1:8083
python -X utf8 tests/resilience.py --mode failover --action-script scripts/stop-one.cmd --base-url http://127.0.0.1:8083
python -X utf8 scripts/actions.py restore
```
На **Linux**:
```sh
chmod +x scripts/restart.sh scripts/stop-one.sh scripts/rolling-update.sh
make check test PYTHON=python3 BASE_URL=http://127.0.0.1:8083
make test-persistence PYTHON=python3 BASE_URL=http://127.0.0.1:8083 ACTION_SCRIPT=scripts/restart.sh
make test-failover PYTHON=python3 BASE_URL=http://127.0.0.1:8083 ACTION_SCRIPT=scripts/stop-one.sh
python3 scripts/actions.py restore
```
Hook остановки получает `TARGET_INSTANCE_ID`, сверяет его с hostname реального
контейнера и дополнительно фильтрует Compose labels `mtusi-lab3` / `api`.
Реплика остаётся остановленной. Скрипт не действует на другие проекты.
## Замена под нагрузкой
`python -X utf8 student-tests/resilience_load.py` выполняет эту проверку
автоматически. Для самостоятельной демонстрации в двух терминалах:
```sh
# Терминал 1: запросы идут через балансировщик.
python -X utf8 student-tests/benchmark.py --label manual-rolling --duration 60 --concurrency 16
# Терминал 2: собрать образ и заменить процессы по одному.
docker compose --env-file .env build api
python -X utf8 scripts/actions.py rolling
```
Сначала запускается новая третья реплика и наблюдается через LB, затем старая
получает SIGTERM и удаляется. Операция повторяется для второй старой реплики.
Одновременная недоступность всех API не требуется. Это эквивалент поочерёдной
замены в Compose, а не обещание поддержки Swarm `update_config`.
Миграции выполняет один job `migrate`; API только сверяют уже применённые
checksums. Для будущего обновления схемы сначала выполняется
`docker compose run --rm migrate`, затем rolling replacement. Нынешняя
`002_idempotency.sql` добавляет новую таблицу и индекс. Удаляющие/несовместимые
изменения схемы таким способом не поддерживаются: нужны expand/contract этапы.
Нельзя смешивать lab2 API без Idempotency-Key с API lab3 за одним LB.
## Эксперимент на 5
```sh
python -X utf8 student-tests/research.py --duration 20 --repeats 3
```
Это последовательный эксперимент: не запускать одновременно другие тесты или
ручные воздействия. Скрипт меняет только контейнеры проекта lab3, в конце
возвращает стандартные две реплики, лимиты и включённый общий кэш чата.
Он не удаляет volumes и сообщения. Используется отдельный Go-генератор
`loadgen` с persistent HTTP connections, 32 конкурентными запросами, чтением
истории/записью в пропорции 80/20; каждый запуск начинает новый чат с 1000
сообщений. Сырые результаты: `evidence/runs/`; сводка: `evidence/research.json`.
Графики воспроизводятся отдельно; matplotlib не нужен серверу и тестам:
```sh
python -m pip install -r requirements-research.txt
python -X utf8 student-tests/plot_results.py
```
## Остановка
```sh
docker compose --env-file .env down
```
Данные сохраняются в named volumes. `docker compose down --volumes` — отдельная
команда намеренного удаления **всех учебных данных lab3**; в тестах её нет.
Подробное объяснение решений и фактические измерения — в `REPORT.md`.
+123
View File
@@ -0,0 +1,123 @@
name: mtusi-lab3
services:
loadgen:
profiles: [research]
image: mtusi-messenger:lab3
entrypoint: [loadgen]
networks: [front]
cpus: 2.0
mem_limit: 256m
read_only: true
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
postgres:
image: postgres:17.6-alpine3.22
environment:
POSTGRES_USER: messenger
POSTGRES_DB: messenger
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
secrets: [postgres_password]
volumes: [postgres_data:/var/lib/postgresql/data]
networks: [storage]
healthcheck:
test: [CMD-SHELL, 'pg_isready -U messenger -d messenger']
interval: 2s
timeout: 2s
retries: 30
cpus: ${DB_CPUS:-1.0}
mem_limit: ${DB_MEMORY:-512m}
restart: unless-stopped
redis:
image: redis:7.4.5-alpine3.21
command: [redis-server, /etc/redis/redis.conf]
volumes:
- redis_data:/data
- ./infra/redis.conf:/etc/redis/redis.conf:ro
networks: [storage]
healthcheck:
test: [CMD, redis-cli, ping]
interval: 2s
timeout: 2s
retries: 30
cpus: 0.25
mem_limit: 128m
restart: unless-stopped
migrate:
image: mtusi-messenger:lab3
build: .
command: [migrate]
environment:
DATABASE_URL_FILE: /run/secrets/database_url
secrets: [database_url]
networks: [storage]
depends_on:
postgres: {condition: service_healthy}
cpus: 0.5
mem_limit: 128m
read_only: true
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
restart: 'no'
api:
image: mtusi-messenger:lab3
build: .
environment:
APP_HOST: 0.0.0.0
APP_PORT: 8080
DATABASE_URL_FILE: /run/secrets/database_url
CACHE_URL_FILE: /run/secrets/cache_url
SESSION_STORE: postgres
CHAT_CACHE_ENABLED: ${CHAT_CACHE_ENABLED:-true}
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
DB_MAX_CONNECTIONS: ${DB_MAX_CONNECTIONS:-8}
DB_TIMEOUT_MS: 2000
DRAIN_DELAY_MS: 2500
MAX_IN_FLIGHT: 128
MAX_BODY_BYTES: 1048576
KDF_CONCURRENCY: 4
secrets: [database_url, cache_url]
networks: [front, storage]
depends_on:
migrate: {condition: service_completed_successfully}
redis: {condition: service_healthy}
deploy:
replicas: ${API_REPLICAS:-2}
healthcheck:
test: [CMD, wget, -q, -O, /dev/null, 'http://127.0.0.1:8080/health/ready']
interval: 1s
timeout: 3s
retries: 30
cpus: ${API_CPUS:-0.5}
mem_limit: ${API_MEMORY:-256m}
stop_grace_period: 15s
read_only: true
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
restart: unless-stopped
lb:
image: haproxy:3.0.11-alpine
ports: ['127.0.0.1:${HOST_PORT:-8083}:8080']
volumes: [./infra/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro]
networks: [front]
depends_on:
api: {condition: service_healthy}
cpus: ${LB_CPUS:-0.5}
mem_limit: 128m
read_only: true
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
restart: unless-stopped
volumes:
postgres_data:
redis_data:
networks:
front:
storage:
internal: true
secrets:
postgres_password:
file: ./secrets/postgres_password
database_url:
file: ./secrets/database_url
cache_url:
file: ./secrets/cache_url
+234
View File
@@ -0,0 +1,234 @@
package main
import (
"context"
"crypto/sha256"
"database/sql"
"embed"
"encoding/hex"
"encoding/json"
"errors"
"fmt"
"time"
"github.com/lib/pq"
"github.com/redis/go-redis/v9"
"mtusi2026lab3/models"
)
//go:embed migrations/*.sql
var migrations embed.FS
func verifySchema(ctx context.Context, db *sql.DB) error {
entries, err := migrations.ReadDir("migrations")
if err != nil {
return err
}
for _, entry := range entries {
data, err := migrations.ReadFile("migrations/" + entry.Name())
if err != nil {
return err
}
sum := sha256.Sum256(data)
var checksum string
if err = db.QueryRowContext(ctx, `SELECT checksum FROM schema_migrations WHERE name=$1`, entry.Name()).Scan(&checksum); err != nil {
return err
}
if checksum != hex.EncodeToString(sum[:]) {
return fmt.Errorf("migration mismatch: %s", entry.Name())
}
}
return nil
}
type store struct {
db *sql.DB
cache *redis.Client
metrics *cacheMetrics
chatCache bool
chatMetrics *cacheMetrics
}
// A transaction-scoped advisory lock serializes migrations across starting API processes.
func migrate(ctx context.Context, db *sql.DB) error {
tx, err := db.BeginTx(ctx, nil)
if err != nil {
return err
}
defer tx.Rollback()
if _, err = tx.ExecContext(ctx, `SELECT pg_advisory_xact_lock(202602)`); err != nil {
return err
}
if _, err = tx.ExecContext(ctx, `CREATE TABLE IF NOT EXISTS schema_migrations (name text PRIMARY KEY, checksum text NOT NULL, applied_at timestamptz NOT NULL DEFAULT clock_timestamp())`); err != nil {
return err
}
entries, err := migrations.ReadDir("migrations")
if err != nil {
return err
}
for _, entry := range entries {
data, err := migrations.ReadFile("migrations/" + entry.Name())
if err != nil {
return err
}
sum := sha256.Sum256(data)
checksum := hex.EncodeToString(sum[:])
var previous string
err = tx.QueryRowContext(ctx, `SELECT checksum FROM schema_migrations WHERE name=$1`, entry.Name()).Scan(&previous)
if err == nil {
if previous != checksum {
return fmt.Errorf("changed migration %s", entry.Name())
}
continue
}
if !errors.Is(err, sql.ErrNoRows) {
return err
}
if _, err = tx.ExecContext(ctx, string(data)); err != nil {
return err
}
if _, err = tx.ExecContext(ctx, `INSERT INTO schema_migrations(name,checksum) VALUES($1,$2)`, entry.Name(), checksum); err != nil {
return err
}
}
return tx.Commit()
}
func scanUser(row interface{ Scan(...any) error }) (models.User, error) {
var u models.User
err := row.Scan(&u.ID, &u.Username, &u.DisplayName, &u.CreatedAt)
u.CreatedAt = u.CreatedAt.UTC()
return u, err
}
func (s *store) user(ctx context.Context, id models.UUID) (models.User, error) {
key := "profile:v1:" + string(id)
if s.cache != nil {
cacheCtx, cancel := context.WithTimeout(ctx, 150*time.Millisecond)
data, err := s.cache.Get(cacheCtx, key).Bytes()
cancel()
var u models.User
if err == nil && json.Unmarshal(data, &u) == nil && u.ID == id {
s.metrics.hits.Add(1)
return u, nil
}
s.metrics.misses.Add(1)
if err != nil && !errors.Is(err, redis.Nil) {
s.metrics.failures.Add(1)
}
}
u, err := scanUser(s.db.QueryRowContext(ctx, `SELECT id,username,display_name,created_at FROM users WHERE id=$1`, id))
if err == nil && s.cache != nil {
data, _ := json.Marshal(u)
cacheCtx, cancel := context.WithTimeout(ctx, 150*time.Millisecond)
if s.cache.Set(cacheCtx, key, data, 5*time.Minute).Err() != nil {
s.metrics.failures.Add(1)
}
cancel()
}
return u, err
}
func (s *store) createChat(ctx context.Context, title string, members []models.UUID) (models.Chat, error) {
tx, err := s.db.BeginTx(ctx, nil)
if err != nil {
return models.Chat{}, err
}
defer tx.Rollback()
chat := models.Chat{ID: models.UUID(newID()), Title: title, MemberIDs: members}
err = tx.QueryRowContext(ctx, `INSERT INTO chats(id,title) VALUES($1,$2) RETURNING created_at`, chat.ID, title).Scan(&chat.CreatedAt)
if err != nil {
return chat, err
}
for i, id := range members {
if _, err = tx.ExecContext(ctx, `INSERT INTO chat_members(chat_id,user_id,position) VALUES($1,$2,$3)`, chat.ID, id, i); err != nil {
return chat, err
}
}
err = tx.Commit()
chat.CreatedAt = chat.CreatedAt.UTC()
return chat, err
}
func scanChat(row interface{ Scan(...any) error }) (models.Chat, error) {
var c models.Chat
var members pq.StringArray
err := row.Scan(&c.ID, &c.Title, &c.CreatedAt, &members)
c.CreatedAt = c.CreatedAt.UTC()
c.MemberIDs = make([]models.UUID, len(members))
for i, m := range members {
c.MemberIDs[i] = models.UUID(m)
}
return c, err
}
const chatColumns = `c.id,c.title,c.created_at,ARRAY(SELECT user_id::text FROM chat_members WHERE chat_id=c.id ORDER BY position)`
func (s *store) chat(ctx context.Context, id, user models.UUID) (models.Chat, error) {
// Chat metadata/membership are immutable in the mandatory API. Cache only
// positive access scoped by user; sessions are ALWAYS checked in PostgreSQL.
key := "chat:v1:" + string(id) + ":" + string(user)
if s.chatCache && s.cache != nil {
cacheCtx, cancel := context.WithTimeout(ctx, 150*time.Millisecond)
data, err := s.cache.Get(cacheCtx, key).Bytes()
cancel()
var chat models.Chat
if err == nil && json.Unmarshal(data, &chat) == nil && chat.ID == id {
for _, member := range chat.MemberIDs {
if member == user {
s.chatMetrics.hits.Add(1)
return chat, nil
}
}
}
s.chatMetrics.misses.Add(1)
if err != nil && !errors.Is(err, redis.Nil) {
s.chatMetrics.failures.Add(1)
}
}
chat, err := scanChat(s.db.QueryRowContext(ctx, `SELECT `+chatColumns+` FROM chats c WHERE c.id=$1 AND EXISTS(SELECT 1 FROM chat_members WHERE chat_id=c.id AND user_id=$2)`, id, user))
if err == nil && s.chatCache && s.cache != nil {
data, _ := json.Marshal(chat)
cacheCtx, cancel := context.WithTimeout(ctx, 150*time.Millisecond)
if s.cache.Set(cacheCtx, key, data, 5*time.Minute).Err() != nil {
s.chatMetrics.failures.Add(1)
}
cancel()
}
return chat, err
}
func (s *store) chats(ctx context.Context, user models.UUID, p cursor, limit int) ([]models.Chat, error) {
rows, err := s.db.QueryContext(ctx, `SELECT `+chatColumns+` FROM chats c WHERE EXISTS(SELECT 1 FROM chat_members WHERE chat_id=c.id AND user_id=$1) AND (c.created_at,c.id)>($2,$3::uuid) ORDER BY c.created_at,c.id LIMIT $4`, user, p.CreatedAt, p.ID, limit+1)
if err != nil {
return nil, err
}
defer rows.Close()
items := []models.Chat{}
for rows.Next() {
c, err := scanChat(rows)
if err != nil {
return nil, err
}
items = append(items, c)
}
return items, rows.Err()
}
func (s *store) messages(ctx context.Context, chat models.UUID, p cursor, limit int) ([]models.Message, error) {
rows, err := s.db.QueryContext(ctx, `SELECT id,chat_id,sender_id,text,created_at FROM messages WHERE chat_id=$1 AND (created_at,id)>($2,$3::uuid) ORDER BY created_at,id LIMIT $4`, chat, p.CreatedAt, p.ID, limit+1)
if err != nil {
return nil, err
}
defer rows.Close()
items := []models.Message{}
for rows.Next() {
var m models.Message
if err = rows.Scan(&m.ID, &m.ChatID, &m.SenderID, &m.Text, &m.CreatedAt); err != nil {
return nil, err
}
m.CreatedAt = m.CreatedAt.UTC()
items = append(items, m)
}
return items, rows.Err()
}
+94
View File
@@ -0,0 +1,94 @@
package main
import (
"fmt"
"os"
"runtime"
runtimemetrics "runtime/metrics"
"strconv"
"strings"
"sync/atomic"
)
type limits struct {
maxInFlight int
maxBodyBytes int64
}
func loadLimits() limits {
return limits{
maxInFlight: envInt("MAX_IN_FLIGHT", 64, 1),
maxBodyBytes: int64(envInt("MAX_BODY_BYTES", 1<<20, 1024)),
}
}
func envInt(name string, fallback, minimum int) int {
value, err := strconv.Atoi(os.Getenv(name))
if err != nil || value < minimum {
return fallback
}
return value
}
type metrics struct {
requests atomic.Uint64
inFlight atomic.Int64
status413 atomic.Uint64
status429 atomic.Uint64
status503 atomic.Uint64
accepted atomic.Uint64
}
func (metrics *metrics) snapshot() string {
var memory runtime.MemStats
runtime.ReadMemStats(&memory)
processCPU := processCPUSeconds()
residentMemory := residentMemoryBytes()
return fmt.Sprintf("# HELP messenger_requests_total Total HTTP requests.\n"+
"# TYPE messenger_requests_total counter\n"+
"messenger_requests_total %d\n"+
"# HELP messenger_responses_total Responses rejected by overload protection.\n"+
"# TYPE messenger_responses_total counter\n"+
"messenger_responses_total{status=\"413\"} %d\n"+
"messenger_responses_total{status=\"429\"} %d\n"+
"messenger_responses_total{status=\"503\"} %d\n"+
"# HELP messenger_messages_accepted_total Confirmed message writes.\n"+
"# TYPE messenger_messages_accepted_total counter\n"+
"messenger_messages_accepted_total %d\n"+
"# HELP messenger_in_flight Current requests inside the admission gate.\n"+
"# TYPE messenger_in_flight gauge\n"+"messenger_in_flight %d\n"+
"# HELP messenger_memory_alloc_bytes Go heap bytes currently allocated.\n"+
"# TYPE messenger_memory_alloc_bytes gauge\n"+"messenger_memory_alloc_bytes %d\n"+
"# HELP process_cpu_seconds_total CPU time consumed by the Go process.\n"+
"# TYPE process_cpu_seconds_total counter\n"+"process_cpu_seconds_total %.6f\n"+
"# HELP process_resident_memory_bytes Resident memory used by the Go process.\n"+
"# TYPE process_resident_memory_bytes gauge\n"+"process_resident_memory_bytes %d\n",
metrics.requests.Load(), metrics.status413.Load(), metrics.status429.Load(), metrics.status503.Load(),
metrics.accepted.Load(), metrics.inFlight.Load(), memory.Alloc,
processCPU, residentMemory)
}
func processCPUSeconds() float64 {
samples := []runtimemetrics.Sample{{Name: "/cpu/classes/total:cpu-seconds"}}
runtimemetrics.Read(samples)
if samples[0].Value.Kind() != runtimemetrics.KindFloat64 {
return 0
}
return samples[0].Value.Float64()
}
func residentMemoryBytes() int64 {
data, err := os.ReadFile("/proc/self/statm")
if err != nil {
return 0
}
fields := strings.Fields(string(data))
if len(fields) < 2 {
return 0
}
residentPages, err := strconv.ParseInt(fields[1], 10, 64)
if err != nil {
return 0
}
return residentPages * int64(os.Getpagesize())
}
+32
View File
@@ -3,3 +3,35 @@
Храните небольшие обезличенные результаты: команды и stdout проверок, JSON/CSV агрегатов нагрузки, EXPLAIN, dashboard JSON, текст разбора отказа. Укажите дату, commit, аппаратные лимиты и профиль нагрузки.
Не добавляйте .env, session tokens, cookies, приватные ключи, credentials, реальные сообщения, raw dumps и signed URLs. Для скриншотов скрывайте секреты. Большие логи/бинарные traces сохраняйте отдельно по правилам преподавателя; одного скриншота без методики недостаточно.
## Результаты решения
Дата: 10 октября 2026 года. Автор: Брезгунова Анжелика, БВТ2303.
Ветка `solution/BVT2303-Brezgunova-5`; commit/PR появятся при публикации.
Все сообщения и пользователи синтетические. Tokens остаются в памяти клиента.
- `summary.md`: таблицы исследования и отказов, включённые в REPORT.md.
- `build.txt`: реальный вывод сборки, Go tests и vet.
- `checks/`: stdout публичных проверок и full OpenAPI validator.
- `verification.json`: команды, exit codes и окончательное состояние контейнеров.
- `integration.json`: 24 конкурентных одинаковых запроса, конфликтная гонка,
scope, валидация, expiry и повторная авторизация.
- `resilience-summary.json`: последовательные остановки всех реплик, SIGKILL,
rolling replacement, Redis fallback; RPS, ошибки и время восстановления.
- `stop-replica-*.json`, `hard-kill.json`, `rolling-update.json`, `cache-loss.json`:
безопасные подробности попыток (время, метод, результат, alias; без headers/body/token).
- `actions/`: реальные containers до/после, hostname, image, CPU/RAM,
ports и StartedAt; secret/environment значения не экспортируются.
- `research.json`: гипотеза, методика, hardware/лимиты, 31 измеренный случай,
три повтора сравнения реплик/A-B, отдельная серия saturation.
- `runs/`: исходные агрегаты каждого прогона, p50/p95/p99 всех попыток,
container resource samples, cgroup deltas и DB-pool/cache counters.
- `figures/`: проверенные графики PNG и экспортируемые SVG.
- `hardware.json`: CPU/RAM host; параметры Linux VM также в research.json.
- `scope-before.json`, `scope-after.json`: SHA-256-аудит неизменности lab1/lab2
и публичных требований lab3. В отдельном clone соседние каталоги необязательны.
`runs/pilot.json` — предварительная проверка генератора, в итоговые сравнения
не включена. `research-progress.json` — промежуточный checkpoint; итоговые
результаты находятся в `research.json`. Ошибки насыщения и переходов не
скрываются; их границы объяснены в REPORT.md.
@@ -0,0 +1,34 @@
{
"action": "cache-loss",
"at_utc": "2026-10-10T16:58:45.885749+00:00",
"before": [
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-10T16:56:30.049452844Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"after": [
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "exited",
"started": "2026-10-10T16:56:30.049452844Z",
"health": "unhealthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
]
}
@@ -0,0 +1,34 @@
{
"action": "cache-loss",
"at_utc": "2026-10-22T11:09:32.838517+00:00",
"before": [
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-22T11:07:28.367384445Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"after": [
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "exited",
"started": "2026-10-22T11:07:28.367384445Z",
"health": "unhealthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
]
}
@@ -0,0 +1,34 @@
{
"action": "cache-loss",
"at_utc": "2026-10-29T09:49:28.631802+00:00",
"before": [
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-29T09:47:23.454925109Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"after": [
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "exited",
"started": "2026-10-29T09:47:23.454925109Z",
"health": "unhealthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
]
}
@@ -0,0 +1,61 @@
{
"action": "kill",
"at_utc": "2026-10-10T16:57:48.926129+00:00",
"before": [
{
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:57:17.241436532Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:57:40.586960222Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "exited",
"started": "2026-10-10T16:57:17.241436532Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:57:40.586960222Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "bef927070390"
}
@@ -0,0 +1,61 @@
{
"action": "kill",
"at_utc": "2026-10-22T11:08:39.824952+00:00",
"before": [
{
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:08:11.970530618Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:08:34.300287782Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "exited",
"started": "2026-10-22T11:08:11.970530618Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:08:34.300287782Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "efd1dd190f18"
}
@@ -0,0 +1,61 @@
{
"action": "kill",
"at_utc": "2026-10-29T09:48:35.139663+00:00",
"before": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:07.207434195Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:29.089021081Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "exited",
"started": "2026-10-29T09:48:07.207434195Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:29.089021081Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "ee0d1482c5cf"
}
@@ -0,0 +1,178 @@
{
"action": "restart",
"at_utc": "2026-10-10T16:56:35.114961+00:00",
"before": [
{
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:55:10.386596232Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:55:10.1591012Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-10T16:23:36.205859505Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "5c1b4b5f2c6a",
"name": "mtusi-lab3-migrate-1",
"service": "migrate",
"instance": "5c1b4b5f2c6a",
"image": "sha256:1346b74aefda2770d3f849f663303061eced16ba434314aeb497159e47697559",
"status": "exited",
"started": "2026-10-10T16:56:16.065205465Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-10T16:23:28.556455062Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-10T16:23:28.117798819Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"after": [
{
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:56:32.857158142Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:56:32.734957579Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-10T16:56:30.480117736Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "5c1b4b5f2c6a",
"name": "mtusi-lab3-migrate-1",
"service": "migrate",
"instance": "5c1b4b5f2c6a",
"image": "sha256:1346b74aefda2770d3f849f663303061eced16ba434314aeb497159e47697559",
"status": "exited",
"started": "2026-10-10T16:56:16.065205465Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-10T16:56:30.376014026Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-10T16:56:30.049452844Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
]
}
@@ -0,0 +1,178 @@
{
"action": "restart",
"at_utc": "2026-10-22T11:07:32.542173+00:00",
"before": [
{
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:07:04.739858201Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:07:04.925609864Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-22T10:22:46.640478273Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "d1a22ed6154a",
"name": "mtusi-lab3-migrate-1",
"service": "migrate",
"instance": "d1a22ed6154a",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "exited",
"started": "2026-10-22T11:07:04.069877088Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-22T10:22:46.771595058Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-22T10:22:46.664856854Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"after": [
{
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:07:31.018218239Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:07:30.906647733Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-22T11:07:28.670422703Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "d1a22ed6154a",
"name": "mtusi-lab3-migrate-1",
"service": "migrate",
"instance": "d1a22ed6154a",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "exited",
"started": "2026-10-22T11:07:04.069877088Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-22T11:07:28.482246081Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-22T11:07:28.367384445Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
]
}
@@ -0,0 +1,178 @@
{
"action": "restart",
"at_utc": "2026-10-29T09:47:28.046589+00:00",
"before": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:03.881932495Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:04.081005338Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-29T09:37:53.790900094Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "ec7f95f615d1",
"name": "mtusi-lab3-migrate-1",
"service": "migrate",
"instance": "ec7f95f615d1",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "exited",
"started": "2026-10-29T09:47:03.19606727Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-29T09:37:53.708154795Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-29T09:37:53.98111014Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"after": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:26.033424878Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:25.929976254Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-29T09:47:23.635812542Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "ec7f95f615d1",
"name": "mtusi-lab3-migrate-1",
"service": "migrate",
"instance": "ec7f95f615d1",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "exited",
"started": "2026-10-29T09:47:03.19606727Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-29T09:47:23.381514871Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-29T09:47:23.454925109Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
]
}
@@ -0,0 +1,118 @@
{
"action": "rolling",
"at_utc": "2026-10-10T16:58:24.165708+00:00",
"before": [
{
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:58:05.122007549Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:57:40.586960222Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "ecaed45f6693",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "ecaed45f6693",
"image": "sha256:1346b74aefda2770d3f849f663303061eced16ba434314aeb497159e47697559",
"status": "running",
"started": "2026-10-10T16:58:12.541035958Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "9d0120bfd27c",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "9d0120bfd27c",
"image": "sha256:1346b74aefda2770d3f849f663303061eced16ba434314aeb497159e47697559",
"status": "running",
"started": "2026-10-10T16:58:18.30872363Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"replacements": [
{
"old": {
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:58:05.122007549Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
"new": {
"id": "ecaed45f6693",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "ecaed45f6693",
"image": "sha256:1346b74aefda2770d3f849f663303061eced16ba434314aeb497159e47697559",
"status": "running",
"started": "2026-10-10T16:58:12.541035958Z",
"health": "starting",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
},
{
"old": {
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:57:40.586960222Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
"new": {
"id": "9d0120bfd27c",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "9d0120bfd27c",
"image": "sha256:1346b74aefda2770d3f849f663303061eced16ba434314aeb497159e47697559",
"status": "running",
"started": "2026-10-10T16:58:18.30872363Z",
"health": "starting",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
}
]
}
@@ -0,0 +1,118 @@
{
"action": "rolling",
"at_utc": "2026-10-22T11:09:10.209704+00:00",
"before": [
{
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:08:56.475643662Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:08:34.300287782Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "94812bcac16d",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "94812bcac16d",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:09:01.693531783Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "86445f191cd1",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "86445f191cd1",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:09:05.714308318Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"replacements": [
{
"old": {
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:08:56.475643662Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
"new": {
"id": "94812bcac16d",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "94812bcac16d",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:09:01.693531783Z",
"health": "starting",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
},
{
"old": {
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:08:34.300287782Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
"new": {
"id": "86445f191cd1",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "86445f191cd1",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:09:05.714308318Z",
"health": "starting",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
}
]
}
@@ -0,0 +1,118 @@
{
"action": "rolling",
"at_utc": "2026-10-29T09:49:07.350641+00:00",
"before": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:51.288401872Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:29.089021081Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "3cce86c2250e",
"name": "mtusi-lab3-api-7",
"service": "api",
"instance": "3cce86c2250e",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:56.995368282Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "1fbdc803701d",
"name": "mtusi-lab3-api-8",
"service": "api",
"instance": "1fbdc803701d",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:49:02.499529746Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"replacements": [
{
"old": {
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:51.288401872Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
"new": {
"id": "3cce86c2250e",
"name": "mtusi-lab3-api-7",
"service": "api",
"instance": "3cce86c2250e",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:56.995368282Z",
"health": "starting",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
},
{
"old": {
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:29.089021081Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
"new": {
"id": "1fbdc803701d",
"name": "mtusi-lab3-api-8",
"service": "api",
"instance": "1fbdc803701d",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:49:02.499529746Z",
"health": "starting",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
}
]
}
@@ -0,0 +1,61 @@
{
"action": "stop",
"at_utc": "2026-10-10T16:32:03.700449+00:00",
"before": [
{
"id": "7ba0587ec2ba",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "7ba0587ec2ba",
"image": "sha256:cba09c0d5743f953600c1f8ae9050ac66c6d27fad6fd4e496e2d2527eecfde1d",
"status": "running",
"started": "2026-10-10T16:29:16.741672012Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "6a2e5cb1b3ef",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "6a2e5cb1b3ef",
"image": "sha256:cba09c0d5743f953600c1f8ae9050ac66c6d27fad6fd4e496e2d2527eecfde1d",
"status": "running",
"started": "2026-10-10T16:29:17.096112169Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "7ba0587ec2ba",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "7ba0587ec2ba",
"image": "sha256:cba09c0d5743f953600c1f8ae9050ac66c6d27fad6fd4e496e2d2527eecfde1d",
"status": "running",
"started": "2026-10-10T16:29:16.741672012Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "6a2e5cb1b3ef",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "6a2e5cb1b3ef",
"image": "sha256:cba09c0d5743f953600c1f8ae9050ac66c6d27fad6fd4e496e2d2527eecfde1d",
"status": "exited",
"started": "2026-10-10T16:29:17.096112169Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "6a2e5cb1b3ef"
}
@@ -0,0 +1,61 @@
{
"action": "stop",
"at_utc": "2026-10-10T16:34:27.453841+00:00",
"before": [
{
"id": "491b7a43e66b",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "491b7a43e66b",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:34:15.263625283Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "1eae5d4ea0e5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "1eae5d4ea0e5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:34:14.899999486Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "491b7a43e66b",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "491b7a43e66b",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "exited",
"started": "2026-10-10T16:34:15.263625283Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "1eae5d4ea0e5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "1eae5d4ea0e5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:34:14.899999486Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "491b7a43e66b"
}
@@ -0,0 +1,61 @@
{
"action": "stop",
"at_utc": "2026-10-10T16:56:41.526887+00:00",
"before": [
{
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:56:32.857158142Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:56:32.734957579Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:56:32.857158142Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "exited",
"started": "2026-10-10T16:56:32.734957579Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "210d0c5205a5"
}
@@ -0,0 +1,61 @@
{
"action": "stop",
"at_utc": "2026-10-10T16:57:03.496172+00:00",
"before": [
{
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:56:32.857158142Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:56:52.990662222Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "exited",
"started": "2026-10-10T16:56:32.857158142Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:56:52.990662222Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "bef927070390"
}
@@ -0,0 +1,61 @@
{
"action": "stop",
"at_utc": "2026-10-10T16:57:27.132671+00:00",
"before": [
{
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:57:17.241436532Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:56:52.990662222Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "bef927070390",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "bef927070390",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:57:17.241436532Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "210d0c5205a5",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "210d0c5205a5",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "exited",
"started": "2026-10-10T16:56:52.990662222Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "210d0c5205a5"
}
@@ -0,0 +1,61 @@
{
"action": "stop",
"at_utc": "2026-10-22T11:07:37.181896+00:00",
"before": [
{
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:07:31.018218239Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:07:30.906647733Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "exited",
"started": "2026-10-22T11:07:31.018218239Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:07:30.906647733Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "efd1dd190f18"
}
@@ -0,0 +1,61 @@
{
"action": "stop",
"at_utc": "2026-10-22T11:07:57.664318+00:00",
"before": [
{
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:07:49.333450094Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:07:30.906647733Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "exited",
"started": "2026-10-22T11:07:49.333450094Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:07:30.906647733Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "efd1dd190f18"
}
@@ -0,0 +1,61 @@
{
"action": "stop",
"at_utc": "2026-10-22T11:08:20.037802+00:00",
"before": [
{
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:08:11.970530618Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:07:30.906647733Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "efd1dd190f18",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "efd1dd190f18",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "running",
"started": "2026-10-22T11:08:11.970530618Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "f8f40a53b9cf",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "f8f40a53b9cf",
"image": "sha256:f0473b9d49d131f7828dad21efd004d7b45c3864693671b4551da7a4e565158f",
"status": "exited",
"started": "2026-10-22T11:07:30.906647733Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "f8f40a53b9cf"
}
@@ -0,0 +1,61 @@
{
"action": "stop",
"at_utc": "2026-10-29T09:47:32.970233+00:00",
"before": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:26.033424878Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:25.929976254Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "exited",
"started": "2026-10-29T09:47:26.033424878Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:25.929976254Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "ee0d1482c5cf"
}
@@ -0,0 +1,61 @@
{
"action": "stop",
"at_utc": "2026-10-29T09:47:53.499688+00:00",
"before": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:44.549102349Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:25.929976254Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "exited",
"started": "2026-10-29T09:47:44.549102349Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:25.929976254Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "ee0d1482c5cf"
}
@@ -0,0 +1,61 @@
{
"action": "stop",
"at_utc": "2026-10-29T09:48:15.437798+00:00",
"before": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:07.207434195Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:25.929976254Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:07.207434195Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "exited",
"started": "2026-10-29T09:47:25.929976254Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "51fd87d53616"
}
+90
View File
@@ -0,0 +1,90 @@
Image mtusi-messenger:lab3 Building
#1 [internal] load local bake definitions
#1 reading from stdin 1.05kB 0.1s done
#1 DONE 0.1s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 570B done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/golang:1.24.7-alpine3.22
#3 ...
#4 [auth] library/alpine:pull token for registry-1.docker.io
#4 DONE 0.0s
#5 [auth] library/golang:pull token for registry-1.docker.io
#5 DONE 0.0s
#6 [internal] load metadata for docker.io/library/alpine:3.22.1
#6 ...
#3 [internal] load metadata for docker.io/library/golang:1.24.7-alpine3.22
#3 DONE 1.2s
#6 [internal] load metadata for docker.io/library/alpine:3.22.1
#6 DONE 1.2s
#7 [internal] load .dockerignore
#7 transferring context: 243B done
#7 DONE 0.0s
#8 [build 1/8] FROM docker.io/library/golang:1.24.7-alpine3.22@sha256:fc2cff6625f3c1c92e6c85938ac5bd09034ad0d4bc2dfb08278020b68540dbb5
#8 resolve docker.io/library/golang:1.24.7-alpine3.22@sha256:fc2cff6625f3c1c92e6c85938ac5bd09034ad0d4bc2dfb08278020b68540dbb5 0.0s done
#8 DONE 0.0s
#9 [stage-1 1/4] FROM docker.io/library/alpine:3.22.1@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1
#9 resolve docker.io/library/alpine:3.22.1@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1 0.0s done
#9 DONE 0.0s
#10 [internal] load build context
#10 transferring context: 71.35kB 0.0s done
#10 DONE 0.1s
#11 [build 2/8] WORKDIR /src
#11 CACHED
#12 [build 3/8] COPY go.mod go.sum ./
#12 CACHED
#13 [build 4/8] RUN go mod download
#13 CACHED
#14 [build 5/8] COPY . .
#14 DONE 0.0s
#15 [build 6/8] RUN go test ./... && go vet ./...
#15 12.99 ok mtusi2026lab3 0.224s
#15 12.99 ? mtusi2026lab3/models [no test files]
#15 12.99 ? mtusi2026lab3/student-tests [no test files]
#15 DONE 14.8s
#16 [build 7/8] RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/messenger .
#16 DONE 12.3s
#17 [build 8/8] RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/loadgen ./student-tests/loadgen.go
#17 DONE 0.8s
#18 [stage-1 3/4] COPY --from=build /out/messenger /usr/local/bin/messenger
#18 CACHED
#19 [stage-1 2/4] RUN addgroup -S app && adduser -S -G app app
#19 CACHED
#20 [stage-1 4/4] COPY --from=build /out/loadgen /usr/local/bin/loadgen
#20 CACHED
#21 exporting to image
#21 exporting layers done
#21 exporting manifest sha256:58895bad5e1e1aee4d911b88d8e57127d1219ecd19e331279a2c45e62670cc1a done
#21 exporting config sha256:bb3954a291b3a68d6d5016efbad150b8d97784452bfe5410891b88fa8ff8719c done
#21 exporting attestation manifest sha256:264e4e3ae92aa399c33f598b74a16515de759523b5c0c4382b813eb7c1b78fc9 0.0s done
#21 exporting manifest list sha256:1346b74aefda2770d3f849f663303061eced16ba434314aeb497159e47697559
#21 exporting manifest list sha256:1346b74aefda2770d3f849f663303061eced16ba434314aeb497159e47697559 0.0s done
#21 naming to docker.io/library/mtusi-messenger:lab3 done
#21 unpacking to docker.io/library/mtusi-messenger:lab3 0.0s done
#21 DONE 0.2s
#22 resolving provenance for metadata file
#22 DONE 0.0s
Image mtusi-messenger:lab3 Built
File diff suppressed because it is too large Load Diff
+5
View File
@@ -0,0 +1,5 @@
stop-replica-1: PASS; 107.2 RPS, errors=41, recovery={'GET': 0.007119700079783797, 'POST': 0.06569770001806319}
stop-replica-2: PASS; 106.0 RPS, errors=49, recovery={'GET': 0.032959400210529566, 'POST': 0.03058970021083951}
hard-kill: PASS; 107.4 RPS, errors=2, recovery={'GET': 0.007260899990797043, 'POST': 0.009793800069019198}
rolling-update: PASS; 107.9 RPS, errors=54, recovery={'GET': 0.016626600176095963, 'POST': 0.05509410006925464}
cache-loss: PASS; 102.7 RPS, errors=0, recovery={'GET': 0.004215099848806858, 'POST': 0.015473600011318922}
+3
View File
@@ -0,0 +1,3 @@
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 119, "failed_attempts": 3, "first_recovery_seconds": 3.899}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+1
View File
@@ -0,0 +1 @@
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
+15
View File
@@ -0,0 +1,15 @@
{
"pass": true,
"parallel_requests": 24,
"observed_instances": [
"51fd87d53616",
"ee0d1482c5cf"
],
"identical_response_and_one_message": true,
"conflicting_body_race_201": 12,
"conflicting_body_race_409": 12,
"key_validation": true,
"scope_user_and_chat": true,
"authorization_rechecked": true,
"expired_key_reusable_without_deleting_old_message": true
}
+1
View File
@@ -0,0 +1 @@
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
+2
View File
@@ -0,0 +1,2 @@
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
+1
View File
@@ -0,0 +1 @@
PASS: exact JSON fields, pagination presence and no message/key side effects.
+1
View File
@@ -0,0 +1 @@
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
+1
View File
@@ -0,0 +1 @@
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
+87
View File
@@ -0,0 +1,87 @@
[
{
"id": "ecaed45f6693",
"name": "mtusi-lab3-api-3",
"service": "api",
"instance": "ecaed45f6693",
"image": "sha256:1346b74aefda2770d3f849f663303061eced16ba434314aeb497159e47697559",
"status": "running",
"started": "2026-10-10T16:58:12.541035958Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "9d0120bfd27c",
"name": "mtusi-lab3-api-4",
"service": "api",
"instance": "9d0120bfd27c",
"image": "sha256:1346b74aefda2770d3f849f663303061eced16ba434314aeb497159e47697559",
"status": "running",
"started": "2026-10-10T16:58:18.30872363Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-10T16:56:30.480117736Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "5c1b4b5f2c6a",
"name": "mtusi-lab3-migrate-1",
"service": "migrate",
"instance": "5c1b4b5f2c6a",
"image": "sha256:1346b74aefda2770d3f849f663303061eced16ba434314aeb497159e47697559",
"status": "exited",
"started": "2026-10-10T16:56:16.065205465Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-10T16:56:30.376014026Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-10T16:58:51.000840156Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
]
+19
View File
@@ -0,0 +1,19 @@
{
"version": "PostgreSQL 17.6 on x86_64-pc-linux-musl, compiled by gcc (Alpine 14.2.0) 14.2.0, 64-bit",
"users": 80,
"chats": 50,
"messages": 70037,
"claims": 38035,
"schema_migrations": [
{
"name": "001_initial.sql",
"checksum": "e6024ac63c7e01d15efb380b21b1e3c3f58fff747359f3e46388385b8d3b8bbe",
"applied_at": "2026-10-10T16:23:33.597705+00:00"
},
{
"name": "002_idempotency.sql",
"checksum": "2f698ddec200aef6aeeaa38106afcfb0273ce736e3910f1575ad55ddd5948ffc",
"applied_at": "2026-10-10T16:23:33.604595+00:00"
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 81 KiB

File diff suppressed because it is too large Load Diff
+9
View File
@@ -0,0 +1,9 @@
{
"cpu": {
"Name": "12th Gen Intel(R) Core(TM) i7-12700H",
"NumberOfCores": 14,
"NumberOfLogicalProcessors": 20
},
"ram_bytes": 16788811776,
"measured_at": "2026-10-10T19:40:38.5533189+03:00"
}
+15
View File
@@ -0,0 +1,15 @@
{
"pass": true,
"parallel_requests": 24,
"observed_instances": [
"51fd87d53616",
"ee0d1482c5cf"
],
"identical_response_and_one_message": true,
"conflicting_body_race_201": 12,
"conflicting_body_race_409": 12,
"key_validation": true,
"scope_user_and_chat": true,
"authorization_rechecked": true,
"expired_key_reusable_without_deleting_old_message": true
}
+224
View File
@@ -0,0 +1,224 @@
{
"at_utc": "2026-10-10T16:34:55.342970+00:00",
"track": 1,
"hypothesis": "At fixed total API resources replica overhead offers limited throughput benefit. Growing API resources eventually saturates the shared PostgreSQL CPU; caching immutable chat access reduces this work.",
"host": "Windows-10-10.0.26200-SP0",
"docker": {
"cpus": 20,
"memory_bytes": 8129257472,
"kernel": "6.18.33.2-microsoft-standard-WSL2",
"version": "29.8.0"
},
"duration_seconds": 20.0,
"warmup_seconds": 3,
"repetitions": 3,
"concurrency": 32,
"runs": [
{
"group": "growing-2",
"label": "growing-2-r1",
"rps": 211.7078010960242,
"errors": 0,
"latency": {
"p50": 103.032,
"p95": 403.072,
"p99": 593.925
}
},
{
"group": "fixed-4",
"label": "fixed-4-r1",
"rps": 201.98063608593637,
"errors": 0,
"latency": {
"p50": 89.016,
"p95": 594.965,
"p99": 1088.854
}
},
{
"group": "growing-4",
"label": "growing-4-r1",
"rps": 252.69355941966506,
"errors": 0,
"latency": {
"p50": 100.543,
"p95": 300.893,
"p99": 398.681
}
},
{
"group": "fixed-1",
"label": "fixed-1-r1",
"rps": 194.07764674761182,
"errors": 0,
"latency": {
"p50": 182.076,
"p95": 301.229,
"p99": 393.105
}
},
{
"group": "growing-1",
"label": "growing-1-r1",
"rps": 147.61274933407014,
"errors": 0,
"latency": {
"p50": 198.649,
"p95": 405.541,
"p99": 591.271
}
},
{
"group": "fixed-2",
"label": "fixed-2-r1",
"rps": 195.07052331790695,
"errors": 0,
"latency": {
"p50": 93.897,
"p95": 516.399,
"p99": 705.707
}
},
{
"group": "fixed-1",
"label": "fixed-1-r2",
"rps": 192.2331823276647,
"errors": 0,
"latency": {
"p50": 180.172,
"p95": 302.584,
"p99": 400.54
}
},
{
"group": "fixed-4",
"label": "fixed-4-r2",
"rps": 196.21246244462247,
"errors": 0,
"latency": {
"p50": 98.873,
"p95": 569.232,
"p99": 889.888
}
},
{
"group": "growing-1",
"label": "growing-1-r2",
"rps": 141.03948821855502,
"errors": 0,
"latency": {
"p50": 200.925,
"p95": 406.508,
"p99": 595.324
}
},
{
"group": "growing-4",
"label": "growing-4-r2",
"rps": 210.37136638319353,
"errors": 0,
"latency": {
"p50": 106.076,
"p95": 309.112,
"p99": 403.836
}
},
{
"group": "fixed-2",
"label": "fixed-2-r2",
"rps": 222.57703099934778,
"errors": 0,
"latency": {
"p50": 99.041,
"p95": 475.148,
"p99": 690.186
}
},
{
"group": "growing-2",
"label": "growing-2-r2",
"rps": 173.10520969276016,
"errors": 0,
"latency": {
"p50": 109.472,
"p95": 504.141,
"p99": 694.302
}
},
{
"group": "growing-1",
"label": "growing-1-r3",
"rps": 111.6220836288919,
"errors": 0,
"latency": {
"p50": 292.176,
"p95": 589.944,
"p99": 703.098
}
},
{
"group": "fixed-2",
"label": "fixed-2-r3",
"rps": 257.0774572491194,
"errors": 0,
"latency": {
"p50": 83.079,
"p95": 400.003,
"p99": 599.521
}
},
{
"group": "growing-4",
"label": "growing-4-r3",
"rps": 200.57481049474694,
"errors": 0,
"latency": {
"p50": 108.643,
"p95": 307.711,
"p99": 401.137
}
},
{
"group": "fixed-4",
"label": "fixed-4-r3",
"rps": 245.6200227591464,
"errors": 0,
"latency": {
"p50": 93.908,
"p95": 403.533,
"p99": 639.669
}
},
{
"group": "fixed-1",
"label": "fixed-1-r3",
"rps": 198.61873708219392,
"errors": 0,
"latency": {
"p50": 173.514,
"p95": 302.399,
"p99": 402.267
}
},
{
"group": "growing-2",
"label": "growing-2-r3",
"rps": 198.67286443570768,
"errors": 0,
"latency": {
"p50": 103.908,
"p95": 489.423,
"p99": 638.279
}
}
],
"groups": {},
"limitations": [
"Single Docker Desktop host; lab2 containers remain running and idle.",
"Closed-loop benchmark with coordinated omission; not maximum production arrival rate.",
"Each run seeds a fresh chat with 1000 messages; aggregate DB size increases and is recorded.",
"Resource samples include warmup/container startup; HTTP percentiles include all attempts.",
"No claim of node, DB, LB, or storage high availability."
]
}
+426
View File
@@ -0,0 +1,426 @@
{
"at_utc": "2026-10-10T16:34:55.342970+00:00",
"track": 1,
"hypothesis": "At fixed total API resources replica overhead offers limited throughput benefit. Growing API resources eventually saturates the shared PostgreSQL CPU; caching immutable chat access reduces this work.",
"host": "Windows-10-10.0.26200-SP0",
"docker": {
"cpus": 20,
"memory_bytes": 8129257472,
"kernel": "6.18.33.2-microsoft-standard-WSL2",
"version": "29.8.0"
},
"duration_seconds": 20.0,
"warmup_seconds": 3,
"repetitions": 3,
"concurrency": 32,
"runs": [
{
"group": "growing-2",
"label": "growing-2-r1",
"rps": 211.7078010960242,
"errors": 0,
"latency": {
"p50": 103.032,
"p95": 403.072,
"p99": 593.925
}
},
{
"group": "fixed-4",
"label": "fixed-4-r1",
"rps": 201.98063608593637,
"errors": 0,
"latency": {
"p50": 89.016,
"p95": 594.965,
"p99": 1088.854
}
},
{
"group": "growing-4",
"label": "growing-4-r1",
"rps": 252.69355941966506,
"errors": 0,
"latency": {
"p50": 100.543,
"p95": 300.893,
"p99": 398.681
}
},
{
"group": "fixed-1",
"label": "fixed-1-r1",
"rps": 194.07764674761182,
"errors": 0,
"latency": {
"p50": 182.076,
"p95": 301.229,
"p99": 393.105
}
},
{
"group": "growing-1",
"label": "growing-1-r1",
"rps": 147.61274933407014,
"errors": 0,
"latency": {
"p50": 198.649,
"p95": 405.541,
"p99": 591.271
}
},
{
"group": "fixed-2",
"label": "fixed-2-r1",
"rps": 195.07052331790695,
"errors": 0,
"latency": {
"p50": 93.897,
"p95": 516.399,
"p99": 705.707
}
},
{
"group": "fixed-1",
"label": "fixed-1-r2",
"rps": 192.2331823276647,
"errors": 0,
"latency": {
"p50": 180.172,
"p95": 302.584,
"p99": 400.54
}
},
{
"group": "fixed-4",
"label": "fixed-4-r2",
"rps": 196.21246244462247,
"errors": 0,
"latency": {
"p50": 98.873,
"p95": 569.232,
"p99": 889.888
}
},
{
"group": "growing-1",
"label": "growing-1-r2",
"rps": 141.03948821855502,
"errors": 0,
"latency": {
"p50": 200.925,
"p95": 406.508,
"p99": 595.324
}
},
{
"group": "growing-4",
"label": "growing-4-r2",
"rps": 210.37136638319353,
"errors": 0,
"latency": {
"p50": 106.076,
"p95": 309.112,
"p99": 403.836
}
},
{
"group": "fixed-2",
"label": "fixed-2-r2",
"rps": 222.57703099934778,
"errors": 0,
"latency": {
"p50": 99.041,
"p95": 475.148,
"p99": 690.186
}
},
{
"group": "growing-2",
"label": "growing-2-r2",
"rps": 173.10520969276016,
"errors": 0,
"latency": {
"p50": 109.472,
"p95": 504.141,
"p99": 694.302
}
},
{
"group": "growing-1",
"label": "growing-1-r3",
"rps": 111.6220836288919,
"errors": 0,
"latency": {
"p50": 292.176,
"p95": 589.944,
"p99": 703.098
}
},
{
"group": "fixed-2",
"label": "fixed-2-r3",
"rps": 257.0774572491194,
"errors": 0,
"latency": {
"p50": 83.079,
"p95": 400.003,
"p99": 599.521
}
},
{
"group": "growing-4",
"label": "growing-4-r3",
"rps": 200.57481049474694,
"errors": 0,
"latency": {
"p50": 108.643,
"p95": 307.711,
"p99": 401.137
}
},
{
"group": "fixed-4",
"label": "fixed-4-r3",
"rps": 245.6200227591464,
"errors": 0,
"latency": {
"p50": 93.908,
"p95": 403.533,
"p99": 639.669
}
},
{
"group": "fixed-1",
"label": "fixed-1-r3",
"rps": 198.61873708219392,
"errors": 0,
"latency": {
"p50": 173.514,
"p95": 302.399,
"p99": 402.267
}
},
{
"group": "growing-2",
"label": "growing-2-r3",
"rps": 198.67286443570768,
"errors": 0,
"latency": {
"p50": 103.908,
"p95": 489.423,
"p99": 638.279
}
},
{
"group": "saturation",
"concurrency": 4,
"label": "saturation-c4",
"rps": 305.4089331725305,
"errors": 0,
"latency": {
"p50": 6.894,
"p95": 56.688,
"p99": 71.729
}
},
{
"group": "saturation",
"concurrency": 8,
"label": "saturation-c8",
"rps": 217.04216003083909,
"errors": 0,
"latency": {
"p50": 10.633,
"p95": 92.211,
"p99": 98.152
}
},
{
"group": "saturation",
"concurrency": 16,
"label": "saturation-c16",
"rps": 184.2634589959225,
"errors": 0,
"latency": {
"p50": 96.603,
"p95": 193.167,
"p99": 203.771
}
},
{
"group": "saturation",
"concurrency": 32,
"label": "saturation-c32",
"rps": 165.80391566792468,
"errors": 0,
"latency": {
"p50": 194.156,
"p95": 398.285,
"p99": 498.459
}
},
{
"group": "saturation",
"concurrency": 64,
"label": "saturation-c64",
"rps": 171.45381083595345,
"errors": 4,
"latency": {
"p50": 292.274,
"p95": 1009.063,
"p99": 1502.997
}
},
{
"group": "cache-off",
"label": "cache-off-r1",
"rps": 221.5076481534085,
"errors": 0,
"latency": {
"p50": 107.487,
"p95": 389.289,
"p99": 504.691
}
},
{
"group": "cache-on",
"label": "cache-on-r1",
"rps": 340.2755245950718,
"errors": 0,
"latency": {
"p50": 94.943,
"p95": 203.519,
"p99": 299.346
}
},
{
"group": "cache-on",
"label": "cache-on-r2",
"rps": 282.64091664101477,
"errors": 0,
"latency": {
"p50": 100.011,
"p95": 211.718,
"p99": 308.865
}
},
{
"group": "cache-off",
"label": "cache-off-r2",
"rps": 187.02530945598375,
"errors": 0,
"latency": {
"p50": 143.388,
"p95": 481.661,
"p99": 630.944
}
},
{
"group": "cache-off",
"label": "cache-off-r3",
"rps": 179.26561869596196,
"errors": 0,
"latency": {
"p50": 105.663,
"p95": 499.372,
"p99": 705.957
}
},
{
"group": "cache-on",
"label": "cache-on-r3",
"rps": 316.22291522965446,
"errors": 0,
"latency": {
"p50": 95.752,
"p95": 250.103,
"p99": 345.465
}
},
{
"group": "saturation",
"concurrency": 1,
"label": "saturation-c1",
"rps": 225.27981605577023,
"errors": 0,
"latency": {
"p50": 3.635,
"p95": 7.621,
"p99": 11.611
}
},
{
"group": "saturation",
"concurrency": 2,
"label": "saturation-c2",
"rps": 455.9750993284763,
"errors": 0,
"latency": {
"p50": 3.348,
"p95": 7.776,
"p99": 23.452
}
}
],
"groups": {
"cache-off": {
"median_rps": 187.02530945598375,
"min_rps": 179.26561869596196,
"max_rps": 221.5076481534085,
"repetitions": 3
},
"cache-on": {
"median_rps": 316.22291522965446,
"min_rps": 282.64091664101477,
"max_rps": 340.2755245950718,
"repetitions": 3
},
"fixed-1": {
"median_rps": 194.07764674761182,
"min_rps": 192.2331823276647,
"max_rps": 198.61873708219392,
"repetitions": 3
},
"fixed-2": {
"median_rps": 222.57703099934778,
"min_rps": 195.07052331790695,
"max_rps": 257.0774572491194,
"repetitions": 3
},
"fixed-4": {
"median_rps": 201.98063608593637,
"min_rps": 196.21246244462247,
"max_rps": 245.6200227591464,
"repetitions": 3
},
"growing-1": {
"median_rps": 141.03948821855502,
"min_rps": 111.6220836288919,
"max_rps": 147.61274933407014,
"repetitions": 3
},
"growing-2": {
"median_rps": 198.67286443570768,
"min_rps": 173.10520969276016,
"max_rps": 211.7078010960242,
"repetitions": 3
},
"growing-4": {
"median_rps": 210.37136638319353,
"min_rps": 200.57481049474694,
"max_rps": 252.69355941966506,
"repetitions": 3
}
},
"limitations": [
"Single Docker Desktop host; lab2 containers remain running and idle.",
"Closed-loop benchmark with coordinated omission; not maximum production arrival rate.",
"Each run seeds a fresh chat with 1000 messages; aggregate DB size increases and is recorded.",
"Resource samples include warmup/container startup; HTTP percentiles include all attempts.",
"No claim of node, DB, LB, or storage high availability."
],
"cache_improvement_ratio": 1.6908027910739925,
"cache_improvement_confirmed": true,
"boundary_refinement": "Concurrency 1 and 2 added after the initial sweep to locate the lower saturation boundary; same resource/workload configuration."
}
+492
View File
@@ -0,0 +1,492 @@
[
{
"label": "stop-replica-1",
"pass": true,
"duration_seconds": 20,
"workers": 4,
"successful_rps": 107.25,
"all_attempt_latency_ms": {
"p50": 6.473399931564927,
"p95": 28.032500064000487,
"p99": 33.475999953225255
},
"error_ratio": 0.018755718206770355,
"failed_requests": 41,
"successful_requests": 2145,
"confirmed_messages": 1078,
"all_confirmed_preserved": true,
"no_duplicate_texts": true,
"existing_token_and_idempotency_preserved": true,
"first_success_after_action_completed_seconds": {
"GET": 0.007119700079783797,
"POST": 0.06569770001806319
},
"action": {
"started": 3.0004276998806745,
"result": {
"action": "stop",
"at_utc": "2026-10-29T09:47:53.499688+00:00",
"before": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:44.549102349Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:25.929976254Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "exited",
"started": "2026-10-29T09:47:44.549102349Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:25.929976254Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "ee0d1482c5cf"
},
"completed": 6.626408899901435
},
"first_success_after_action_started_seconds": {
"GET": 3.633100900100544,
"POST": 3.6916789000388235
}
},
{
"label": "stop-replica-2",
"pass": true,
"duration_seconds": 20,
"workers": 4,
"successful_rps": 105.95,
"all_attempt_latency_ms": {
"p50": 6.4125999342650175,
"p95": 28.59230013564229,
"p99": 36.39589995145798
},
"error_ratio": 0.022601476014760147,
"failed_requests": 49,
"successful_requests": 2119,
"confirmed_messages": 1049,
"all_confirmed_preserved": true,
"no_duplicate_texts": true,
"existing_token_and_idempotency_preserved": true,
"first_success_after_action_completed_seconds": {
"GET": 0.032959400210529566,
"POST": 0.03058970021083951
},
"action": {
"started": 3.0004555000923574,
"result": {
"action": "stop",
"at_utc": "2026-10-29T09:48:15.437798+00:00",
"before": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:07.207434195Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:47:25.929976254Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:07.207434195Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "exited",
"started": "2026-10-29T09:47:25.929976254Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "51fd87d53616"
},
"completed": 6.612365399952978
},
"first_success_after_action_started_seconds": {
"GET": 3.64486930007115,
"POST": 3.64249960007146
}
},
{
"label": "hard-kill",
"pass": true,
"duration_seconds": 20,
"workers": 4,
"successful_rps": 107.4,
"all_attempt_latency_ms": {
"p50": 6.1847001779824495,
"p95": 28.284600004553795,
"p99": 33.7139000184834
},
"error_ratio": 0.0009302325581395349,
"failed_requests": 2,
"successful_requests": 2148,
"confirmed_messages": 1073,
"all_confirmed_preserved": true,
"no_duplicate_texts": true,
"existing_token_and_idempotency_preserved": true,
"first_success_after_action_completed_seconds": {
"GET": 0.007260899990797043,
"POST": 0.009793800069019198
},
"action": {
"started": 3.0007069997955114,
"result": {
"action": "kill",
"at_utc": "2026-10-29T09:48:35.139663+00:00",
"before": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:07.207434195Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:29.089021081Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "exited",
"started": "2026-10-29T09:48:07.207434195Z",
"health": "unhealthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:29.089021081Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"target": "ee0d1482c5cf"
},
"completed": 4.122128899907693
},
"first_success_after_action_started_seconds": {
"GET": 1.128682800102979,
"POST": 1.131215700181201
}
},
{
"label": "rolling-update",
"pass": true,
"duration_seconds": 30,
"workers": 4,
"successful_rps": 107.86666666666666,
"all_attempt_latency_ms": {
"p50": 6.453499896451831,
"p95": 28.629800071939826,
"p99": 35.583400167524815
},
"error_ratio": 0.01641337386018237,
"failed_requests": 54,
"successful_requests": 3236,
"confirmed_messages": 1615,
"all_confirmed_preserved": true,
"no_duplicate_texts": true,
"existing_token_and_idempotency_preserved": true,
"first_success_after_action_completed_seconds": {
"GET": 0.016626600176095963,
"POST": 0.05509410006925464
},
"action": {
"started": 3.0003606001846492,
"result": {
"action": "rolling",
"at_utc": "2026-10-29T09:49:07.350641+00:00",
"before": [
{
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:51.288401872Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:29.089021081Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"after": [
{
"id": "3cce86c2250e",
"name": "mtusi-lab3-api-7",
"service": "api",
"instance": "3cce86c2250e",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:56.995368282Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "1fbdc803701d",
"name": "mtusi-lab3-api-8",
"service": "api",
"instance": "1fbdc803701d",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:49:02.499529746Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
],
"replacements": [
{
"old": {
"id": "ee0d1482c5cf",
"name": "mtusi-lab3-api-5",
"service": "api",
"instance": "ee0d1482c5cf",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:51.288401872Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
"new": {
"id": "3cce86c2250e",
"name": "mtusi-lab3-api-7",
"service": "api",
"instance": "3cce86c2250e",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:56.995368282Z",
"health": "starting",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
},
{
"old": {
"id": "51fd87d53616",
"name": "mtusi-lab3-api-6",
"service": "api",
"instance": "51fd87d53616",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:48:29.089021081Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
"new": {
"id": "1fbdc803701d",
"name": "mtusi-lab3-api-8",
"service": "api",
"instance": "1fbdc803701d",
"image": "sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5",
"status": "running",
"started": "2026-10-29T09:49:02.499529746Z",
"health": "starting",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
}
}
]
},
"completed": 14.329985999967903
},
"first_success_after_action_started_seconds": {
"GET": 11.34625199995935,
"POST": 11.384719499852508
}
},
{
"label": "cache-loss",
"pass": true,
"duration_seconds": 20,
"workers": 4,
"successful_rps": 102.7,
"all_attempt_latency_ms": {
"p50": 7.15319998562336,
"p95": 29.376500053331256,
"p99": 38.29359984956682
},
"error_ratio": 0.0,
"failed_requests": 0,
"successful_requests": 2054,
"confirmed_messages": 1027,
"all_confirmed_preserved": true,
"no_duplicate_texts": true,
"existing_token_and_idempotency_preserved": true,
"first_success_after_action_completed_seconds": {
"GET": 0.004215099848806858,
"POST": 0.015473600011318922
},
"action": {
"started": 3.000393300084397,
"result": {
"action": "cache-loss",
"at_utc": "2026-10-29T09:49:28.631802+00:00",
"before": [
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-29T09:47:23.454925109Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"after": [
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "exited",
"started": "2026-10-29T09:47:23.454925109Z",
"health": "unhealthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
]
},
"completed": 9.37854230008088
},
"first_success_after_action_started_seconds": {
"GET": 6.38236409984529,
"POST": 6.393622600007802
}
}
]
+91
View File
@@ -0,0 +1,91 @@
Image mtusi-messenger:lab3 Building
#1 [internal] load local bake definitions
#1 reading from stdin 1.05kB 0.0s done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 570B done
#2 DONE 0.0s
#3 [auth] library/golang:pull token for registry-1.docker.io
#3 DONE 0.0s
#4 [auth] library/alpine:pull token for registry-1.docker.io
#4 DONE 0.0s
#5 [internal] load metadata for docker.io/library/golang:1.24.7-alpine3.22
#5 ...
#6 [internal] load metadata for docker.io/library/alpine:3.22.1
#6 DONE 1.0s
#5 [internal] load metadata for docker.io/library/golang:1.24.7-alpine3.22
#5 DONE 1.0s
#7 [internal] load .dockerignore
#7 transferring context: 243B 0.0s done
#7 DONE 0.1s
#8 [internal] load build context
#8 DONE 0.0s
#9 [stage-1 1/4] FROM docker.io/library/alpine:3.22.1@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1
#9 resolve docker.io/library/alpine:3.22.1@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1 0.0s done
#9 DONE 0.0s
#10 [build 1/8] FROM docker.io/library/golang:1.24.7-alpine3.22@sha256:fc2cff6625f3c1c92e6c85938ac5bd09034ad0d4bc2dfb08278020b68540dbb5
#10 resolve docker.io/library/golang:1.24.7-alpine3.22@sha256:fc2cff6625f3c1c92e6c85938ac5bd09034ad0d4bc2dfb08278020b68540dbb5
#10 resolve docker.io/library/golang:1.24.7-alpine3.22@sha256:fc2cff6625f3c1c92e6c85938ac5bd09034ad0d4bc2dfb08278020b68540dbb5 0.0s done
#10 DONE 0.0s
#8 [internal] load build context
#8 transferring context: 411.72kB 0.2s done
#8 DONE 0.2s
#11 [build 2/8] WORKDIR /src
#11 CACHED
#12 [build 3/8] COPY go.mod go.sum ./
#12 CACHED
#13 [build 4/8] RUN go mod download
#13 CACHED
#14 [build 5/8] COPY . .
#14 DONE 0.0s
#15 [build 6/8] RUN go test ./... && go vet ./...
#15 8.550 ok mtusi2026lab3 0.125s
#15 8.550 ? mtusi2026lab3/models [no test files]
#15 8.550 ? mtusi2026lab3/student-tests [no test files]
#15 DONE 9.6s
#16 [build 7/8] RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/messenger .
#16 DONE 8.9s
#17 [build 8/8] RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/loadgen ./student-tests/loadgen.go
#17 DONE 0.5s
#18 [stage-1 2/4] RUN addgroup -S app && adduser -S -G app app
#18 CACHED
#19 [stage-1 3/4] COPY --from=build /out/messenger /usr/local/bin/messenger
#19 DONE 0.1s
#20 [stage-1 4/4] COPY --from=build /out/loadgen /usr/local/bin/loadgen
#20 DONE 0.1s
#21 exporting to image
#21 exporting layers
#21 exporting layers 0.3s done
#21 exporting manifest sha256:f295fcddda6055110e89a80bbbccdcbe2c3528d0adb8f20547cff1cf8e5201b3 0.0s done
#21 exporting config sha256:ea08034df42fd66283f57db1310e8d82651c574456e50008147791bad7348aba 0.0s done
#21 exporting attestation manifest sha256:821928c7c3a06c69d4b9e6d02d7c159e5dc5ea14f3d159db3212236d70809f37 0.0s done
#21 exporting manifest list sha256:a4a4ba290a0f70efc96960454e87d87e3f68940770dbfcf0caade037b702e0b5 0.0s done
#21 naming to docker.io/library/mtusi-messenger:lab3 done
#21 unpacking to docker.io/library/mtusi-messenger:lab3 0.1s done
#21 DONE 0.6s
#22 resolving provenance for metadata file
#22 DONE 0.0s
Image mtusi-messenger:lab3 Built
+104
View File
@@ -0,0 +1,104 @@
{
"pass": true,
"cases": [
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?limit=",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?cursor=",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?limit",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?cursor",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?limit=1&limit=2",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?cursor=&cursor=garbage",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?limit=",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?cursor=",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?limit",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?cursor",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?limit=1&limit=2",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?cursor=&cursor=garbage",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats",
"status": 400
}
],
"exact_json_field_names": true,
"invalid_body_has_no_message_or_key_side_effect": true,
"empty_and_duplicate_pagination_rejected": true,
"absent_and_boundary_limits_accepted": true
}
+117
View File
@@ -0,0 +1,117 @@
{
"mtusi2026lab1-fork": {
".dockerignore": "697f3fbff3c7abe37468df6e5ff324bec3023f8fb0ba37badbe38dd75ff31180",
".env.example": "0ac35625c64a8fa9b6afdd8596d313f39a98addb090d0788b2c35f20386fb052",
".gitignore": "fd2c5f54cd9dde6efd64b3977cd10d1400f83609939585778a2acce1b087581d",
"CONTRIBUTING.md": "08f247085938bd1efc4b8f7f48e3d520b1dc11ce569f4259491e8f01b9abd02c",
"COURSE.md": "1e3c65e345b7f89d08ed86a3b50061935ee8157907cb4043cfa40689781f54e0",
"debug.log": "3f40e735ec8533abf2e310e47c5f5575de2fee948d5cc46c916828f0075190cc",
"degradation.go": "42d2868672cbf0c5fdd38a2bedfb515bba7ad666cd7faefd31cdd02f09324761",
"docker-compose.yml": "50e356e96e3145e7088a7d696efa7f9a664506acfb3c6a70b38fa3e85a222dfb",
"Dockerfile": "d494105f4eebb6ce89f1d058ed657cc0704ae7b795adacd29543d1ae5609025b",
"Dockerfile.example": "37050a40f15e29ee7f5eed7b2123fea9e6531d68b5735256e4c41c60255cffc9",
"go.mod": "2e48f488f21227082710d53c4a013fd47ff00f4a20af3a12b1915b8898cff31e",
"lab.json": "4d7bdc7e53bb2bcb67ca48f8f00c8233f9f02704d75a053f657a3b7ddbbd8a3c",
"main.go": "05572333f8a735b4848da8d4dcf64ab349f2a77a43960b901bbcdbf6fa0d589e",
"MAINTAINERS.md": "aa0ab6e4eeb58170b5ffb987399f268f7da0fa50467b13672a870697c90b85c8",
"main_test.go": "1960b13aa6338dc1c3a8c1377a9cc978866f18435701a88eddd1ec17f0880646",
"Makefile": "a2b62be6f5a218e4f7ae92b2a9da2211b660963f36f525e6d860ba41fe926522",
"README.md": "fcf21ec2b111a22987acaadc2c1e2b4a0566e93abe57724409ea692d25414f8d",
"REPORT.md": "a717dddf6c457cc51519da9da21a07fe42a5745d1a54e32abba1f86e4daf6b45",
"requirements-dev.txt": "e70f5e9db859ef3439dc6ae647890a18cd7a2752889598bbd19c822f31b7c499",
"server.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
".github\\pull_request_template.md": "4a1127036cb6d69228cc8041dfe76a44e4d1798fc593ec8b20598633dc75df97",
"contracts\\examples.json": "a0cb75bfe943e5ab979ff5435ecfd5fc46506be48e9606c7394f45100b4e534f",
"contracts\\infrastructure.json": "a29f36927e74554f2a2c2b679510340003e9edd17a03b7fd48c42b9fe086d6d0",
"contracts\\openapi.json": "55e710086c14279e4b4bf600dad003dce2ae6f569d7a38ace7e4f29f930515af",
"contracts\\README.md": "4c04faede4a2ffa35183455b51da21764b7fa3997c0a4b3963614b82586eed28",
"evidence\\image-1.png": "c29d774b744dae01edd638796bc33569b7bb512751e9fc2ef8438d0936c8770e",
"evidence\\image.png": "1c1325d27c2fe80088ecca20336df00e473480c465ceb9abe34d6da63c71c549",
"evidence\\load.json": "d895ad4f1c32e47b965caa7f72987fe79c31a3187af86e1564f17125f1872917",
"evidence\\README.md": "6c012110fa70b191ca9af69eac8b58b08d9a9c041d88a66957487f2d50c43a10",
"evidence\\track2-log-sample.txt": "46839392c616055b3e51620c4ff7b881920b592b460ff6ee0a2beb506f13088f",
"examples\\requests.http": "6f84035a2e6e21d1c97499920698bad12b27a316a297a873e583ef92667ca79e",
"models\\models.go": "1161c73ad6f8794d8d697e997c9fe5878556b75f078101ca7b599d8dcfeae9d1",
"models\\store.go": "4c00dd877dba7238300bb8d8f7a492d4bd70d7705045f84487a576b92446c958",
"observability\\grafana-dashboard.json": "6046b508ed418a7eeb511d5b639ba71db475f7ebb15d842fc90fce7510b76d7c",
"observability\\prometheus.yml": "16fd8f49f430bcea9ae3252dbda9def9ce26237d77a14ce95ff81d6c187772b6",
"observability\\README.md": "6b99a9857398e910f15de2aed20dab47825b34c14c6c2f76081028ec8209a5e5",
"scripts\\check_contract.py": "61e300fe5c1074360418e24b4653b12f96808247a2beaf2a64859aa360f81493",
"scripts\\validate_openapi.py": "cd7a33221b1860c5d2330e52afa6cb222d375db671ae9ab379ba51a0d3a77946",
"tests\\client.py": "b318084e2a4c380db91a55d082190bf33979fa556a4c4ca87e01f46ae275775c",
"tests\\concurrency.py": "882bfa062e809585efc3108ee6ab258e3ff7453b82552bc31e663a13491d81ab",
"tests\\load.py": "04d2ab39b07080a48cf86eec8bb1d9192a3480c89a3b9857b5ddfa97711a8970",
"tests\\README.md": "89afb3063ec0ccd7cb68fdac1de57513f9cc81b77bad96f202daaca2b66a5e82",
"tests\\smoke.py": "354e168e1e644145c3ff50bbbe189fd217cce5659aa125f588098025ffab0fdf",
"observability\\grafana\\provisioning\\dashboards\\dashboards.yml": "0e1eaf47f6984d75fb92d3a1398ad6ed3fcc558057436c43163d15bdce27cefb",
"observability\\grafana\\provisioning\\datasources\\prometheus.yml": "3514dd3727511871ce5fe9374a685b3e91d15a5a5d595c67149cb75461439343",
".github\\workflows\\contracts.yml": "57acaf40811dddc83f27bc52bff3e22e60f817ef1b71d764678562ec56f5ca97"
},
"mtusi2026lab2": {
".dockerignore": "9c307884eda8387a781e8942b4df571ae0eee950c822aff044e7ed3d21e325f9",
".env": "cedbc8f79c0b2c5b6acaf1dca75b1a97ff2e9c40cd810a5cf1fd353f3242daa0",
".env.example": "20ced84bd123ccaadc17c1ca6b07afe4e707c0c500950ba226d5f38bfa9d2138",
".gitignore": "fd2c5f54cd9dde6efd64b3977cd10d1400f83609939585778a2acce1b087581d",
"compose.example.yaml": "68588e6bfa2f00fea39cbc35a1bac0dc4d5067e5045a27000fe7e2c49153a567",
"compose.yaml": "55cf90b0348bf2e9ff35ee167c963820c037c0a92653a5870db93785caaba77b",
"CONTRIBUTING.md": "08f247085938bd1efc4b8f7f48e3d520b1dc11ce569f4259491e8f01b9abd02c",
"COURSE.md": "1e3c65e345b7f89d08ed86a3b50061935ee8157907cb4043cfa40689781f54e0",
"database.go": "80433e78d2d6effe8ec72bf69440b045c825cd9e684e29e92d275d324d836820",
"debug.log": "9ffb8cee7c48027bbc9409c8b69c940a9c9d1a33eb3a6684bb2f9d711afa0e30",
"degradation.go": "be3c4ba0c73562f77f6aeba50fa22667d151c0c3236c8e92a4b3042c1b939057",
"Dockerfile": "e16a43383bc8f8a46b18f1f3870028e7cc0cd4d2cc30c92a85ff1402c4903417",
"Dockerfile.example": "37050a40f15e29ee7f5eed7b2123fea9e6531d68b5735256e4c41c60255cffc9",
"go.mod": "34d5ce525e691f508e81a00604acf47d4c570e6598ea2621669a98077c1b67b9",
"go.sum": "cd8cd861de44846dd7b3d0cf0456122fc05a7b5404d8860c30705e8edcf943e2",
"lab.json": "022ea5b6d584a2fd6c2953db1eac73ca2f0888465a5bfe210422112a3d689464",
"main.go": "5a6d4f0bef47db8a9f99f8010ae19420ad15c3c3d7f112da9f75550f0e970d5c",
"MAINTAINERS.md": "b8ecf2db12f074875bb3425b99a25839e228a3d40097fc38d8ac8ea66214966d",
"main_test.go": "5ed9d0118f5ec9c3f830332064a5d495d4c495434800e414c92a98fe38f3fb88",
"Makefile": "eeccdd45153a6053d76e30b4dd3e621f1575bb7db97ca2da12ac6158f158c337",
"password.go": "ab6ff7e45fbc7981546dbab7cffd9f1e2ca71c53b0088129178b0a1015695c81",
"README.md": "eb2f458f8afe7ad955aae85d5bbb7caae097b07667cb006dbc9b2249b0527c21",
"REPORT.md": "fd5ffd47dbc3a40f8248b3c4e52a416cf59c171f767180d874e4912faf7c34ad",
"requirements-dev.txt": "e70f5e9db859ef3439dc6ae647890a18cd7a2752889598bbd19c822f31b7c499",
".github\\pull_request_template.md": "a130d5d59558b4fe87ebaed543d73a68e085e5f2f1027874802a834b8332673c",
"backups\\research_27f78a987f54.dump": "f33f2365e625b11a1f8ac0c34ee9e9df42495e3fbeec72af06e5eefdbfc0542c",
"backups\\research_39f6f19a3a15.dump": "326afe65762316930de31b44c91352589d3ed52a71ccc6c3882e0e1c08f116d0",
"contracts\\examples.json": "f566c2a935e583caf919ea8f4faeb8da29a4e05cc5fb7626c38f7be665cb60f5",
"contracts\\infrastructure.json": "2697bf8850be8661eb35db4fb0806a909f66c5c5093a990921377dddaad10629",
"contracts\\openapi.json": "3aa2a5459902b66c24895db2522868fe283c91012d9f8682113396be2c93bc9c",
"contracts\\README.md": "4c04faede4a2ffa35183455b51da21764b7fa3997c0a4b3963614b82586eed28",
"evidence\\build.txt": "f1a9a296c880058e4d5a4a70430398b47d69df7d1fae24a95b9b83461068c12b",
"evidence\\integration.json": "c6393e3f52a6ea616db641bca10b71dd3ae70daed8be77b0eee619df9eb7192f",
"evidence\\load.json": "a4f22ac6084993ff8dd2264b1517766e2175e517a676ecf2162ad505a959291e",
"evidence\\README.md": "4ae3ab8da9fe3af5442f6b2e60c55d7d34de7bf0addffcc6a55f981baf0fe5cf",
"evidence\\regression.json": "f64a9234f74df5b7d5f0b3d737b5f43535196c9de2ebf394d014ac25ee5027d6",
"evidence\\research.json": "5618836a6581bad75fd0c69d44c5cb7e2bfeef7adc0c5ee892564518378bb576",
"evidence\\resources.json": "6b739c788f80485af39e173980fa1e50844052f02a42e1656c2d4c086caa8719",
"evidence\\verification.json": "090536bc38394810d3da984afb328a9455fc9b2b5eb955dde6d8019ce70741a7",
"examples\\requests.http": "c91533d9c88101d9d8e0eaefe473f22f96eb530d0c55c6a59ac3476e5ccff6ab",
"infra\\README.md": "33a4f7b870fd0b2bed98d46daf26d45dd7436176739672925246f8e3fe7c2278",
"infra\\redis.conf": "204de9d2d05c115fec145c5583604c1815df01c8cd1970d67e191d8b8b8f6415",
"migrations\\001_initial.sql": "e6024ac63c7e01d15efb380b21b1e3c3f58fff747359f3e46388385b8d3b8bbe",
"models\\models.go": "1161c73ad6f8794d8d697e997c9fe5878556b75f078101ca7b599d8dcfeae9d1",
"scripts\\bootstrap.py": "8a4c9035d530517848189ae010c8fd90dd484933ba19edd60edda4b0e0f6a768",
"scripts\\check_contract.py": "61e300fe5c1074360418e24b4653b12f96808247a2beaf2a64859aa360f81493",
"scripts\\restart.cmd": "d2841bd88be635fea2c854318a4d80eddcb3dc146bead78122b7acef2eb21fae",
"scripts\\restart.example.sh": "7cbfc7f518b975ee3ca37a645359ff734ab0686789b795a9ac845789eb46fbd9",
"scripts\\restart.sh": "e00f0e0422f3c94ef4a527071eb48906378e6a84b97e9da26fb3c76f87f424f0",
"scripts\\validate_openapi.py": "cd7a33221b1860c5d2330e52afa6cb222d375db671ae9ab379ba51a0d3a77946",
"scripts\\wait_ready.py": "b6e447d323df87abd4a683f23a4f765322f21e0a75e88c42688903a6685c84b1",
"secrets\\cache_url": "f4e420c3b37c5503ad5d9aaca146a28e331d67cf2fc2b8fd090bfcbbf92e62b7",
"secrets\\database_url": "19231cf01c33c87ee962ff3f0c53f2268a169e26b7548ea16a983eefb7fc62e3",
"student-tests\\integration.py": "e30706e13e2b4d6d2cbf024ccb23de0e4c6e76e9451f340ad011ea2b3f6351d4",
"student-tests\\profile_load.py": "829ec3af2b50c4fabc3f22d03ffe0e4fe5a8da6766a2d4f22f382460a441a2e5",
"student-tests\\regression.py": "6242b7ddb52e69ad340ec9461643a0747894d64a989b14ea7b7a1d41c636e44f",
"student-tests\\research.py": "f0e44e39f5bfafdcba7e1137745658a90f3845f0b734baa33ea5509b2e41bc89",
"student-tests\\verify.py": "d29b4be15fc08579c532bad8d714124b06c77690536b31ff75eb294d06d32e1d",
"tests\\client.py": "b318084e2a4c380db91a55d082190bf33979fa556a4c4ca87e01f46ae275775c",
"tests\\load.py": "9a9aff05e109630e243c3b092d7bd564344e4872b29e38b6618647a08460a72e",
"tests\\README.md": "89afb3063ec0ccd7cb68fdac1de57513f9cc81b77bad96f202daaca2b66a5e82",
"tests\\resilience.py": "4ba30b9c81a0664127ddab2b0bea5e76aa2087be8bb25aa13cd5a8e69be23fdd",
"tests\\smoke.py": "354e168e1e644145c3ff50bbbe189fd217cce5659aa125f588098025ffab0fdf",
".github\\workflows\\application.yml": "ff2ef16783b66ef40eb1271572135d63023b94fe9700f74199aa0e30ad2b5bf3",
".github\\workflows\\contracts.yml": "57acaf40811dddc83f27bc52bff3e22e60f817ef1b71d764678562ec56f5ca97"
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"mtusi2026lab1-fork": {
"unchanged": true,
"files": 46,
"sha256": "c853480bceca03d789b66d0922d9eb35f6a2bc5b49d040f1b5bb1bd3324b8ec0"
},
"mtusi2026lab2": {
"unchanged": true,
"files": 65,
"sha256": "5ba76a3ba79c900095207e3acb9fc7030f5e39cca19df083b95e55685bd90ea9"
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+851
View File
@@ -0,0 +1,851 @@
{
"elapsed_seconds": 20.110507652,
"concurrency": 32,
"successful_requests": 3903,
"failed_requests": 0,
"successful_rps": 194.07764674761182,
"error_ratio": 0,
"all_attempt_latency_ms": {
"p50": 182.076,
"p95": 301.229,
"p99": 393.105
},
"statuses": {
"200": 3122,
"201": 781
},
"instances": {
"883e910510db": 3903
},
"per_second": [
{
"error": 0,
"success": 161
},
{
"error": 0,
"success": 172
},
{
"error": 0,
"success": 187
},
{
"error": 0,
"success": 213
},
{
"error": 0,
"success": 196
},
{
"error": 0,
"success": 207
},
{
"error": 0,
"success": 219
},
{
"error": 0,
"success": 194
},
{
"error": 0,
"success": 196
},
{
"error": 0,
"success": 183
},
{
"error": 0,
"success": 193
},
{
"error": 0,
"success": 170
},
{
"error": 0,
"success": 212
},
{
"error": 0,
"success": 173
},
{
"error": 0,
"success": 240
},
{
"error": 0,
"success": 192
},
{
"error": 0,
"success": 185
},
{
"error": 0,
"success": 181
},
{
"error": 0,
"success": 226
},
{
"error": 0,
"success": 171
},
{
"error": 0,
"success": 32
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
}
],
"label": "fixed-1-r1",
"workload": "closed-loop, persistent connections, 80% GET history limit=50 / 20% POST text=200 bytes, no retries",
"warmup_seconds": 3,
"requested_duration_seconds": 20.0,
"seed_messages_in_new_chat": 1000,
"total_messages_before": 8948,
"total_messages_after": 9879,
"resources": [
{
"id": "883e910510db",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "883e910510db",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:37:06.565134925Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-10T16:23:36.205859505Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-10T16:23:28.556455062Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-10T16:23:28.117798819Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"resource_window_seconds": 24.65700000000652,
"resource_window_includes": "generator container startup, warmup and measurement",
"resource_samples": [
{
"elapsed_seconds": 2.266,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "23.39%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "14.03%",
"MemUsage": "71.85MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "841kB / 1.07MB",
"PIDs": "16"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "17.85%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.06%",
"MemUsage": "19.28MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "332MB / 332MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 112MB",
"CPUPerc": "100.26%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.19%",
"MemUsage": "72.65MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "32.5MB / 260MB",
"PIDs": "20"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.85%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.84%",
"MemUsage": "4.918MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 4.297,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.19%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "2.94%",
"MemUsage": "15.05MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "10.9MB / 14.1MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.89%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.45%",
"MemUsage": "19.78MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "340MB / 340MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 113MB",
"CPUPerc": "82.68%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.43%",
"MemUsage": "68.78MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "33.2MB / 266MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "3.20%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.77%",
"MemUsage": "4.824MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 6.313,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.41%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "3.31%",
"MemUsage": "16.96MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "15.5MB / 20.1MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.38%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.91%",
"MemUsage": "19.09MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "345MB / 346MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 114MB",
"CPUPerc": "81.99%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.35%",
"MemUsage": "68.35MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "33.8MB / 270MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "7.44%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.02%",
"MemUsage": "5.145MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 8.36,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "107.13%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "3.28%",
"MemUsage": "16.81MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "21.3MB / 27.7MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.94%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.64%",
"MemUsage": "18.74MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "352MB / 353MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 114MB",
"CPUPerc": "86.97%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.42%",
"MemUsage": "68.73MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "34.4MB / 276MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "6.54%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.04%",
"MemUsage": "5.172MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 10.375,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.56%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "3.29%",
"MemUsage": "16.82MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "27.2MB / 35.5MB",
"PIDs": "27"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.67%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.16%",
"MemUsage": "19.41MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "360MB / 360MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 115MB",
"CPUPerc": "85.57%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.33%",
"MemUsage": "68.25MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "35.1MB / 282MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "7.38%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.12%",
"MemUsage": "5.277MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 12.407,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.29%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "3.22%",
"MemUsage": "16.5MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "32.6MB / 42.4MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.41%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.20%",
"MemUsage": "19.46MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "366MB / 367MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 116MB",
"CPUPerc": "82.54%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.14%",
"MemUsage": "67.26MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "35.8MB / 287MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "7.24%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.70%",
"MemUsage": "6.02MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 14.454,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "107.42%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "3.08%",
"MemUsage": "15.79MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "38MB / 49.6MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.80%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.40%",
"MemUsage": "19.71MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "373MB / 373MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 117MB",
"CPUPerc": "96.77%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.29%",
"MemUsage": "68.06MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "36.4MB / 292MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "7.89%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.74%",
"MemUsage": "6.066MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 16.485,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "98.00%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "3.13%",
"MemUsage": "16.05MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "43MB / 56.1MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.35%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.28%",
"MemUsage": "19.56MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "379MB / 380MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 117MB",
"CPUPerc": "82.10%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.40%",
"MemUsage": "68.62MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "37MB / 297MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "6.18%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "8.23%",
"MemUsage": "10.53MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "12"
}
]
},
{
"elapsed_seconds": 18.532,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.02%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "3.21%",
"MemUsage": "16.43MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "48.7MB / 63.5MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.35%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.47%",
"MemUsage": "19.8MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "386MB / 387MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 118MB",
"CPUPerc": "89.96%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.38%",
"MemUsage": "68.48MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "37.7MB / 302MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.83%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.36%",
"MemUsage": "5.586MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 20.547,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "108.49%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "3.23%",
"MemUsage": "16.52MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "54.3MB / 71MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.60%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.21%",
"MemUsage": "19.47MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "393MB / 394MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 119MB",
"CPUPerc": "90.33%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.45%",
"MemUsage": "68.87MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "38.3MB / 308MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.82%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.78%",
"MemUsage": "4.832MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 22.579,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "99.33%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "3.00%",
"MemUsage": "15.38MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "59.7MB / 78MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.78%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.09%",
"MemUsage": "19.31MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "400MB / 400MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 120MB",
"CPUPerc": "82.26%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.32%",
"MemUsage": "73.34MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "39MB / 313MB",
"PIDs": "20"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.86%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.87%",
"MemUsage": "4.953MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 24.61,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "71.12%",
"Container": "883e910510db",
"ID": "883e910510db",
"MemPerc": "3.66%",
"MemUsage": "18.73MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "64.1MB / 83.9MB",
"PIDs": "30"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "10.68%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "13.26%",
"MemUsage": "16.98MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "405MB / 406MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 121MB",
"CPUPerc": "54.60%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "12.93%",
"MemUsage": "66.2MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "39.5MB / 317MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "1.17%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.66%",
"MemUsage": "4.688MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.1kB / 60.3kB",
"PIDs": "6"
}
]
}
],
"sampling_errors": [],
"action": {},
"cgroup_deltas": {
"883e910510db": {
"usage_usec": 23109668,
"user_usec": 11543931,
"system_usec": 11565737,
"nice_usec": 0,
"nr_periods": 252,
"nr_throttled": 213,
"throttled_usec": 95872935,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.9372457314350444,
"name": "mtusi-lab3-api-1"
},
"0d69ca2aa516": {
"usage_usec": 3569065,
"user_usec": 1302946,
"system_usec": 2266119,
"nice_usec": 0,
"nr_periods": 250,
"nr_throttled": 0,
"throttled_usec": 0,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.28949710021487257,
"name": "mtusi-lab3-lb-1"
},
"05b93b527179": {
"usage_usec": 20107063,
"user_usec": 12164412,
"system_usec": 7942652,
"nice_usec": 0,
"nr_periods": 252,
"nr_throttled": 60,
"throttled_usec": 18662211,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.8154707790888869,
"name": "mtusi-lab3-postgres-1"
},
"b47d70b5286f": {
"usage_usec": 998590,
"user_usec": 729520,
"system_usec": 269069,
"nice_usec": 0,
"nr_periods": 267,
"nr_throttled": 26,
"throttled_usec": 1885207,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.16199699882382057,
"name": "mtusi-lab3-redis-1"
}
},
"pool_deltas": {
"883e910510db": {
"messenger_chat_cache_hits_total": 0.0,
"messenger_chat_cache_misses_total": 0.0,
"messenger_chat_cache_failures_total": 0.0,
"messenger_db_wait_total": 14007.0,
"messenger_db_wait_seconds_total": 510.57953
}
}
}
+851
View File
@@ -0,0 +1,851 @@
{
"elapsed_seconds": 20.110992042,
"concurrency": 32,
"successful_requests": 3866,
"failed_requests": 0,
"successful_rps": 192.2331823276647,
"error_ratio": 0,
"all_attempt_latency_ms": {
"p50": 180.172,
"p95": 302.584,
"p99": 400.54
},
"statuses": {
"200": 3093,
"201": 773
},
"instances": {
"3c25330faa5a": 3866
},
"per_second": [
{
"error": 0,
"success": 157
},
{
"error": 0,
"success": 168
},
{
"error": 0,
"success": 183
},
{
"error": 0,
"success": 189
},
{
"error": 0,
"success": 162
},
{
"error": 0,
"success": 203
},
{
"error": 0,
"success": 176
},
{
"error": 0,
"success": 211
},
{
"error": 0,
"success": 189
},
{
"error": 0,
"success": 189
},
{
"error": 0,
"success": 196
},
{
"error": 0,
"success": 204
},
{
"error": 0,
"success": 215
},
{
"error": 0,
"success": 181
},
{
"error": 0,
"success": 187
},
{
"error": 0,
"success": 192
},
{
"error": 0,
"success": 220
},
{
"error": 0,
"success": 209
},
{
"error": 0,
"success": 201
},
{
"error": 0,
"success": 202
},
{
"error": 0,
"success": 32
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
}
],
"label": "fixed-1-r2",
"workload": "closed-loop, persistent connections, 80% GET history limit=50 / 20% POST text=200 bytes, no retries",
"warmup_seconds": 3,
"requested_duration_seconds": 20.0,
"seed_messages_in_new_chat": 1000,
"total_messages_before": 14531,
"total_messages_after": 15473,
"resources": [
{
"id": "3c25330faa5a",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "3c25330faa5a",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:38:58.738397668Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-10T16:23:36.205859505Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-10T16:23:28.556455062Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-10T16:23:28.117798819Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"resource_window_seconds": 24.625,
"resource_window_includes": "generator container startup, warmup and measurement",
"resource_samples": [
{
"elapsed_seconds": 2.235,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "74.41%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "14.16%",
"MemUsage": "72.48MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "4.12MB / 5.35MB",
"PIDs": "21"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "16.21%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.88%",
"MemUsage": "19.04MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "550MB / 551MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 145MB",
"CPUPerc": "99.17%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.02%",
"MemUsage": "71.78MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "53.4MB / 431MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "2.85%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.40%",
"MemUsage": "5.637MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 4.297,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "102.02%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "3.11%",
"MemUsage": "15.9MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "12.5MB / 16.3MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "16.79%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.79%",
"MemUsage": "20.21MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "560MB / 561MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 146MB",
"CPUPerc": "87.00%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.01%",
"MemUsage": "71.75MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "54.4MB / 439MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.71%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.95%",
"MemUsage": "5.059MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 6.328,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "107.78%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "3.10%",
"MemUsage": "15.88MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "17.4MB / 22.5MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "17.31%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.48%",
"MemUsage": "19.82MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "566MB / 567MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 147MB",
"CPUPerc": "94.88%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.02%",
"MemUsage": "71.8MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "54.9MB / 444MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.96%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.86%",
"MemUsage": "4.945MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 8.36,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.38%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "3.12%",
"MemUsage": "15.99MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "22.1MB / 28.8MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.02%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.96%",
"MemUsage": "19.15MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "572MB / 573MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 148MB",
"CPUPerc": "83.27%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.15%",
"MemUsage": "72.43MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "55.5MB / 448MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.94%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.30%",
"MemUsage": "5.508MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 10.391,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.01%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "3.12%",
"MemUsage": "15.97MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "27.4MB / 35.8MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.22%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.41%",
"MemUsage": "19.72MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "579MB / 580MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 149MB",
"CPUPerc": "89.40%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.26%",
"MemUsage": "72.99MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "56.1MB / 453MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "1.16%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.32%",
"MemUsage": "5.523MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 12.422,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.74%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "4.04%",
"MemUsage": "20.7MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "33.1MB / 43.1MB",
"PIDs": "30"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.29%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.56%",
"MemUsage": "19.92MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "586MB / 586MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 150MB",
"CPUPerc": "86.12%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.19%",
"MemUsage": "72.66MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "56.8MB / 459MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.79%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.22%",
"MemUsage": "5.406MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 14.438,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.80%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "3.16%",
"MemUsage": "16.16MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "38MB / 49.7MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "13.78%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.22%",
"MemUsage": "19.48MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "592MB / 593MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 150MB",
"CPUPerc": "81.26%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.02%",
"MemUsage": "71.79MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "57.4MB / 463MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.94%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.16%",
"MemUsage": "5.324MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 16.485,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "99.54%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "2.88%",
"MemUsage": "14.73MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "43.8MB / 57MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.11%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.67%",
"MemUsage": "20.06MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "599MB / 600MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 151MB",
"CPUPerc": "92.31%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.16%",
"MemUsage": "72.48MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "58.1MB / 469MB",
"PIDs": "15"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.87%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.37%",
"MemUsage": "5.59MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 18.531,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "104.70%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "3.02%",
"MemUsage": "15.46MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "49.3MB / 64.3MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.47%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.80%",
"MemUsage": "18.95MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "606MB / 606MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 152MB",
"CPUPerc": "79.76%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.01%",
"MemUsage": "76.88MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "58.7MB / 474MB",
"PIDs": "20"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "1.12%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.83%",
"MemUsage": "6.18MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 20.547,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.23%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "3.36%",
"MemUsage": "17.18MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "54.7MB / 71.5MB",
"PIDs": "27"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.60%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.26%",
"MemUsage": "19.54MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "612MB / 613MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 153MB",
"CPUPerc": "84.10%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.16%",
"MemUsage": "72.49MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "59.3MB / 480MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.86%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.67%",
"MemUsage": "5.977MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 22.578,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.73%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "3.12%",
"MemUsage": "16MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "60.4MB / 78.9MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.67%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.28%",
"MemUsage": "19.55MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "619MB / 620MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 154MB",
"CPUPerc": "78.29%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.28%",
"MemUsage": "73.1MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "60MB / 485MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.93%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.21%",
"MemUsage": "5.383MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 24.625,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "44.20%",
"Container": "3c25330faa5a",
"ID": "3c25330faa5a",
"MemPerc": "2.58%",
"MemUsage": "13.2MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "64.9MB / 84.9MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.48%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "13.47%",
"MemUsage": "17.25MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "625MB / 626MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 155MB",
"CPUPerc": "35.29%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.67%",
"MemUsage": "69.97MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "60.5MB / 489MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "2.56%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.67%",
"MemUsage": "4.695MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.8kB / 60.3kB",
"PIDs": "6"
}
]
}
],
"sampling_errors": [],
"action": {},
"cgroup_deltas": {
"3c25330faa5a": {
"usage_usec": 23159956,
"user_usec": 11628724,
"system_usec": 11531232,
"nice_usec": 0,
"nr_periods": 259,
"nr_throttled": 216,
"throttled_usec": 82691733,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.9405058274111675,
"name": "mtusi-lab3-api-1"
},
"0d69ca2aa516": {
"usage_usec": 3646715,
"user_usec": 1364056,
"system_usec": 2282659,
"nice_usec": 0,
"nr_periods": 251,
"nr_throttled": 0,
"throttled_usec": 0,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.29617989847715737,
"name": "mtusi-lab3-lb-1"
},
"05b93b527179": {
"usage_usec": 19923637,
"user_usec": 11922241,
"system_usec": 8001397,
"nice_usec": 0,
"nr_periods": 255,
"nr_throttled": 63,
"throttled_usec": 18605910,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.8090817055837564,
"name": "mtusi-lab3-postgres-1"
},
"b47d70b5286f": {
"usage_usec": 932930,
"user_usec": 687203,
"system_usec": 245727,
"nice_usec": 0,
"nr_periods": 267,
"nr_throttled": 20,
"throttled_usec": 1071177,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.15154192893401017,
"name": "mtusi-lab3-redis-1"
}
},
"pool_deltas": {
"3c25330faa5a": {
"messenger_chat_cache_hits_total": 0.0,
"messenger_chat_cache_misses_total": 0.0,
"messenger_chat_cache_failures_total": 0.0,
"messenger_db_wait_total": 14178.0,
"messenger_db_wait_seconds_total": 511.001527
}
}
}
+851
View File
@@ -0,0 +1,851 @@
{
"elapsed_seconds": 20.093773924,
"concurrency": 32,
"successful_requests": 3991,
"failed_requests": 0,
"successful_rps": 198.61873708219392,
"error_ratio": 0,
"all_attempt_latency_ms": {
"p50": 173.514,
"p95": 302.399,
"p99": 402.267
},
"statuses": {
"200": 3193,
"201": 798
},
"instances": {
"9d4f3ae70ec7": 3991
},
"per_second": [
{
"error": 0,
"success": 235
},
{
"error": 0,
"success": 277
},
{
"error": 0,
"success": 318
},
{
"error": 0,
"success": 194
},
{
"error": 0,
"success": 191
},
{
"error": 0,
"success": 205
},
{
"error": 0,
"success": 157
},
{
"error": 0,
"success": 161
},
{
"error": 0,
"success": 168
},
{
"error": 0,
"success": 158
},
{
"error": 0,
"success": 150
},
{
"error": 0,
"success": 177
},
{
"error": 0,
"success": 181
},
{
"error": 0,
"success": 168
},
{
"error": 0,
"success": 166
},
{
"error": 0,
"success": 153
},
{
"error": 0,
"success": 170
},
{
"error": 0,
"success": 228
},
{
"error": 0,
"success": 251
},
{
"error": 0,
"success": 251
},
{
"error": 0,
"success": 32
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
}
],
"label": "fixed-1-r3",
"workload": "closed-loop, persistent connections, 80% GET history limit=50 / 20% POST text=200 bytes, no retries",
"warmup_seconds": 3,
"requested_duration_seconds": 20.0,
"seed_messages_in_new_chat": 1000,
"total_messages_before": 33867,
"total_messages_after": 34823,
"resources": [
{
"id": "9d4f3ae70ec7",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "9d4f3ae70ec7",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:45:42.767800179Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-10T16:23:36.205859505Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-10T16:23:28.556455062Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-10T16:23:28.117798819Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"resource_window_seconds": 24.56199999997625,
"resource_window_includes": "generator container startup, warmup and measurement",
"resource_samples": [
{
"elapsed_seconds": 2.219,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "76.78%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "14.86%",
"MemUsage": "76.08MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "5.27MB / 6.84MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.75%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.99%",
"MemUsage": "20.47MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.34GB / 1.34GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 260MB",
"CPUPerc": "55.25%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.66%",
"MemUsage": "85.29MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "129MB / 1.05GB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.43%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "8.10%",
"MemUsage": "10.37MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "12"
}
]
},
{
"elapsed_seconds": 4.25,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "93.34%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "2.75%",
"MemUsage": "14.09MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "11.8MB / 15.3MB",
"PIDs": "20"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "12.24%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.28%",
"MemUsage": "19.56MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.35GB / 1.35GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 261MB",
"CPUPerc": "86.37%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "20.14%",
"MemUsage": "103.1MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "130MB / 1.06GB",
"PIDs": "15"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.66%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.31%",
"MemUsage": "5.512MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 6.281,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "89.56%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "2.93%",
"MemUsage": "15.02MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "19.2MB / 25.1MB",
"PIDs": "20"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "12.93%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.80%",
"MemUsage": "20.22MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.36GB / 1.36GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 262MB",
"CPUPerc": "86.80%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.83%",
"MemUsage": "86.15MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "131MB / 1.07GB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.78%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.33%",
"MemUsage": "5.543MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 8.312,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "101.05%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "2.93%",
"MemUsage": "15.01MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "26.1MB / 34.1MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.87%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.51%",
"MemUsage": "19.85MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.37GB / 1.37GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 263MB",
"CPUPerc": "94.68%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.81%",
"MemUsage": "86.06MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "132MB / 1.07GB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.96%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.66%",
"MemUsage": "5.969MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 10.344,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "99.77%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "2.96%",
"MemUsage": "15.17MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "31.3MB / 40.8MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.04%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.83%",
"MemUsage": "18.98MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.38GB / 1.38GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 265MB",
"CPUPerc": "81.68%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.82%",
"MemUsage": "86.14MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "132MB / 1.08GB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.90%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.24%",
"MemUsage": "5.43MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 12.39,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.57%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "2.89%",
"MemUsage": "14.79MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "35.9MB / 46.9MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.31%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.19%",
"MemUsage": "19.45MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.38GB / 1.38GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 265MB",
"CPUPerc": "86.37%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "17.17%",
"MemUsage": "87.92MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "133MB / 1.08GB",
"PIDs": "15"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.83%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.20%",
"MemUsage": "5.379MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 14.422,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "99.15%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "3.12%",
"MemUsage": "15.98MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "40.5MB / 53MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.05%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.62%",
"MemUsage": "20MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.39GB / 1.39GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 266MB",
"CPUPerc": "81.50%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.87%",
"MemUsage": "86.38MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "133MB / 1.09GB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.96%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.85%",
"MemUsage": "6.211MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 16.453,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "100.09%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "4.00%",
"MemUsage": "20.5MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "44.9MB / 58.8MB",
"PIDs": "30"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.30%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.51%",
"MemUsage": "19.86MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.39GB / 1.39GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 266MB",
"CPUPerc": "78.33%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.95%",
"MemUsage": "86.8MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "134MB / 1.09GB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "1.02%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.58%",
"MemUsage": "5.863MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 18.484,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "99.65%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "2.93%",
"MemUsage": "15.01MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "49.8MB / 65.1MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.51%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.01%",
"MemUsage": "19.21MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.4GB / 1.4GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 267MB",
"CPUPerc": "77.47%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.85%",
"MemUsage": "86.29MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "135MB / 1.1GB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "2.55%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.69%",
"MemUsage": "6.004MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 20.515,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "98.11%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "3.00%",
"MemUsage": "15.36MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "54.5MB / 71.2MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.97%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.32%",
"MemUsage": "19.61MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.4GB / 1.41GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 268MB",
"CPUPerc": "80.91%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "17.01%",
"MemUsage": "87.1MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "135MB / 1.1GB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "6.34%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.61%",
"MemUsage": "5.895MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 22.531,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "101.11%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "3.77%",
"MemUsage": "19.31MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "60.8MB / 79.5MB",
"PIDs": "31"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "15.12%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.46%",
"MemUsage": "19.79MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.41GB / 1.41GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 268MB",
"CPUPerc": "81.53%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.98%",
"MemUsage": "86.95MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "136MB / 1.11GB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.56%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.74%",
"MemUsage": "6.062MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 24.562,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "45.20%",
"Container": "9d4f3ae70ec7",
"ID": "9d4f3ae70ec7",
"MemPerc": "2.56%",
"MemUsage": "13.11MiB / 512MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "65.8MB / 86.1MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "6.94%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "13.62%",
"MemUsage": "17.43MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.42GB / 1.42GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 270MB",
"CPUPerc": "34.96%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.46%",
"MemUsage": "84.28MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "136MB / 1.11GB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.25%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.48%",
"MemUsage": "4.457MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "63.6kB / 60.3kB",
"PIDs": "6"
}
]
}
],
"sampling_errors": [],
"action": {},
"cgroup_deltas": {
"9d4f3ae70ec7": {
"usage_usec": 22425733,
"user_usec": 11542110,
"system_usec": 10883622,
"nice_usec": 0,
"nr_periods": 252,
"nr_throttled": 192,
"throttled_usec": 79982769,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.9130255272380785,
"name": "mtusi-lab3-api-1"
},
"0d69ca2aa516": {
"usage_usec": 3443652,
"user_usec": 1278368,
"system_usec": 2165285,
"nice_usec": 0,
"nr_periods": 252,
"nr_throttled": 0,
"throttled_usec": 0,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.2804048530252691,
"name": "mtusi-lab3-lb-1"
},
"05b93b527179": {
"usage_usec": 20259803,
"user_usec": 12147998,
"system_usec": 8111805,
"nice_usec": 0,
"nr_periods": 249,
"nr_throttled": 82,
"throttled_usec": 30946504,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.8248433759473818,
"name": "mtusi-lab3-postgres-1"
},
"b47d70b5286f": {
"usage_usec": 968762,
"user_usec": 703217,
"system_usec": 265546,
"nice_usec": 0,
"nr_periods": 267,
"nr_throttled": 22,
"throttled_usec": 1533358,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.15776597996921043,
"name": "mtusi-lab3-redis-1"
}
},
"pool_deltas": {
"9d4f3ae70ec7": {
"messenger_chat_cache_hits_total": 0.0,
"messenger_chat_cache_misses_total": 0.0,
"messenger_chat_cache_failures_total": 0.0,
"messenger_db_wait_total": 14385.0,
"messenger_db_wait_seconds_total": 512.126627
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+851
View File
@@ -0,0 +1,851 @@
{
"elapsed_seconds": 20.296349831,
"concurrency": 32,
"successful_requests": 2996,
"failed_requests": 0,
"successful_rps": 147.61274933407014,
"error_ratio": 0,
"all_attempt_latency_ms": {
"p50": 198.649,
"p95": 405.541,
"p99": 591.271
},
"statuses": {
"200": 2397,
"201": 599
},
"instances": {
"c3f98e2cc369": 2996
},
"per_second": [
{
"error": 0,
"success": 164
},
{
"error": 0,
"success": 194
},
{
"error": 0,
"success": 133
},
{
"error": 0,
"success": 103
},
{
"error": 0,
"success": 129
},
{
"error": 0,
"success": 113
},
{
"error": 0,
"success": 193
},
{
"error": 0,
"success": 171
},
{
"error": 0,
"success": 174
},
{
"error": 0,
"success": 198
},
{
"error": 0,
"success": 161
},
{
"error": 0,
"success": 162
},
{
"error": 0,
"success": 206
},
{
"error": 0,
"success": 144
},
{
"error": 0,
"success": 184
},
{
"error": 0,
"success": 111
},
{
"error": 0,
"success": 93
},
{
"error": 0,
"success": 108
},
{
"error": 0,
"success": 101
},
{
"error": 0,
"success": 122
},
{
"error": 0,
"success": 32
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
}
],
"label": "growing-1-r1",
"workload": "closed-loop, persistent connections, 80% GET history limit=50 / 20% POST text=200 bytes, no retries",
"warmup_seconds": 3,
"requested_duration_seconds": 20.0,
"seed_messages_in_new_chat": 1000,
"total_messages_before": 10879,
"total_messages_after": 11582,
"resources": [
{
"id": "c3f98e2cc369",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "c3f98e2cc369",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:37:42.757671811Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-10T16:23:36.205859505Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-10T16:23:28.556455062Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-10T16:23:28.117798819Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"resource_window_seconds": 24.92200000002049,
"resource_window_includes": "generator container startup, warmup and measurement",
"resource_samples": [
{
"elapsed_seconds": 2.219,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "54.36%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "29.89%",
"MemUsage": "76.52MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "2.9MB / 3.75MB",
"PIDs": "30"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "11.37%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.32%",
"MemUsage": "19.61MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "409MB / 409MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 122MB",
"CPUPerc": "26.01%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.14%",
"MemUsage": "67.29MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "39.5MB / 317MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.72%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.49%",
"MemUsage": "5.742MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 4.25,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "50.47%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "23.34%",
"MemUsage": "59.76MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "7.27MB / 9.46MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "8.89%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.58%",
"MemUsage": "19.94MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "414MB / 415MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 123MB",
"CPUPerc": "56.28%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.56%",
"MemUsage": "69.44MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "40.3MB / 324MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.23%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.86%",
"MemUsage": "6.227MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 6.266,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.48%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "5.96%",
"MemUsage": "15.26MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "12.3MB / 15.9MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "8.19%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.43%",
"MemUsage": "19.75MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "420MB / 421MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 124MB",
"CPUPerc": "45.34%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.59%",
"MemUsage": "69.6MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "40.9MB / 329MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.58%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.58%",
"MemUsage": "5.859MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 8.281,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "47.82%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "7.74%",
"MemUsage": "19.82MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "15.5MB / 20.2MB",
"PIDs": "30"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.31%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.00%",
"MemUsage": "19.2MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "424MB / 425MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 124MB",
"CPUPerc": "40.42%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.58%",
"MemUsage": "69.51MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "41.3MB / 332MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.16%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.21%",
"MemUsage": "5.383MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 10.312,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.39%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "6.20%",
"MemUsage": "15.87MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "18.8MB / 24.6MB",
"PIDs": "26"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "6.79%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.54%",
"MemUsage": "19.89MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "428MB / 429MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 125MB",
"CPUPerc": "36.85%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.56%",
"MemUsage": "69.43MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "41.7MB / 335MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.31%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.28%",
"MemUsage": "5.484MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 12.312,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "53.13%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "6.24%",
"MemUsage": "15.96MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "24.2MB / 31.6MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.24%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.94%",
"MemUsage": "19.12MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "435MB / 435MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 125MB",
"CPUPerc": "43.50%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.61%",
"MemUsage": "69.68MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "42.4MB / 340MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.54%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.39%",
"MemUsage": "5.613MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 14.344,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.13%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "7.81%",
"MemUsage": "20MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "29.2MB / 38.2MB",
"PIDs": "31"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.54%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.45%",
"MemUsage": "19.78MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "441MB / 442MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 126MB",
"CPUPerc": "45.14%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.65%",
"MemUsage": "69.89MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "43MB / 345MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "3.96%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.00%",
"MemUsage": "5.125MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 16.359,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.60%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "6.02%",
"MemUsage": "15.41MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "33.7MB / 44MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "6.79%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.15%",
"MemUsage": "19.39MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "446MB / 447MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 126MB",
"CPUPerc": "37.64%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.67%",
"MemUsage": "70MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "43.5MB / 350MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.59%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.30%",
"MemUsage": "5.504MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 18.375,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "48.25%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "6.15%",
"MemUsage": "15.75MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "38.5MB / 50.3MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "6.59%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.47%",
"MemUsage": "19.8MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "452MB / 453MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 127MB",
"CPUPerc": "37.95%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.60%",
"MemUsage": "69.62MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "44.1MB / 354MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.54%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.26%",
"MemUsage": "5.457MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 20.406,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "50.61%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "6.29%",
"MemUsage": "16.11MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "42.5MB / 55.6MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.83%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.91%",
"MemUsage": "19.09MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "457MB / 458MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 127MB",
"CPUPerc": "40.96%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.62%",
"MemUsage": "69.72MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "44.5MB / 358MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "5.74%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "7.96%",
"MemUsage": "10.18MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "12"
}
]
},
{
"elapsed_seconds": 22.437,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "51.73%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "7.58%",
"MemUsage": "19.41MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "45.4MB / 59.4MB",
"PIDs": "31"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "8.56%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.55%",
"MemUsage": "19.91MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "461MB / 461MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 128MB",
"CPUPerc": "48.14%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.65%",
"MemUsage": "69.89MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "44.9MB / 361MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.88%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.94%",
"MemUsage": "5.043MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 24.469,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "50.55%",
"Container": "c3f98e2cc369",
"ID": "c3f98e2cc369",
"MemPerc": "7.65%",
"MemUsage": "19.59MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "48.5MB / 63.4MB",
"PIDs": "32"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "6.99%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.30%",
"MemUsage": "19.58MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "465MB / 465MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 128MB",
"CPUPerc": "46.42%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "13.64%",
"MemUsage": "69.82MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "45.2MB / 364MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.88%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.93%",
"MemUsage": "5.035MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "59.3kB / 60.3kB",
"PIDs": "6"
}
]
}
],
"sampling_errors": [],
"action": {},
"cgroup_deltas": {
"c3f98e2cc369": {
"usage_usec": 11921181,
"user_usec": 6465175,
"system_usec": 5456007,
"nice_usec": 0,
"nr_periods": 255,
"nr_throttled": 232,
"throttled_usec": 98906727,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.9566793194759811,
"name": "mtusi-lab3-api-1"
},
"0d69ca2aa516": {
"usage_usec": 1895718,
"user_usec": 718033,
"system_usec": 1177684,
"nice_usec": 0,
"nr_periods": 254,
"nr_throttled": 0,
"throttled_usec": 0,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.15213209212731255,
"name": "mtusi-lab3-lb-1"
},
"05b93b527179": {
"usage_usec": 11330696,
"user_usec": 6727751,
"system_usec": 4602945,
"nice_usec": 0,
"nr_periods": 252,
"nr_throttled": 11,
"throttled_usec": 2997689,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.4546463365697249,
"name": "mtusi-lab3-postgres-1"
},
"b47d70b5286f": {
"usage_usec": 783543,
"user_usec": 566014,
"system_usec": 217529,
"nice_usec": 0,
"nr_periods": 257,
"nr_throttled": 17,
"throttled_usec": 1076688,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.12575924885632866,
"name": "mtusi-lab3-redis-1"
}
},
"pool_deltas": {
"c3f98e2cc369": {
"messenger_chat_cache_hits_total": 0.0,
"messenger_chat_cache_misses_total": 0.0,
"messenger_chat_cache_failures_total": 0.0,
"messenger_db_wait_total": 10590.0,
"messenger_db_wait_seconds_total": 509.883365
}
}
}
+851
View File
@@ -0,0 +1,851 @@
{
"elapsed_seconds": 20.107843809,
"concurrency": 32,
"successful_requests": 2836,
"failed_requests": 0,
"successful_rps": 141.03948821855502,
"error_ratio": 0,
"all_attempt_latency_ms": {
"p50": 200.925,
"p95": 406.508,
"p99": 595.324
},
"statuses": {
"200": 2269,
"201": 567
},
"instances": {
"a143382df423": 2836
},
"per_second": [
{
"error": 0,
"success": 104
},
{
"error": 0,
"success": 130
},
{
"error": 0,
"success": 161
},
{
"error": 0,
"success": 134
},
{
"error": 0,
"success": 177
},
{
"error": 0,
"success": 167
},
{
"error": 0,
"success": 139
},
{
"error": 0,
"success": 132
},
{
"error": 0,
"success": 136
},
{
"error": 0,
"success": 144
},
{
"error": 0,
"success": 160
},
{
"error": 0,
"success": 110
},
{
"error": 0,
"success": 118
},
{
"error": 0,
"success": 111
},
{
"error": 0,
"success": 136
},
{
"error": 0,
"success": 113
},
{
"error": 0,
"success": 137
},
{
"error": 0,
"success": 185
},
{
"error": 0,
"success": 146
},
{
"error": 0,
"success": 164
},
{
"error": 0,
"success": 32
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
}
],
"label": "growing-1-r2",
"workload": "closed-loop, persistent connections, 80% GET history limit=50 / 20% POST text=200 bytes, no retries",
"warmup_seconds": 3,
"requested_duration_seconds": 20.0,
"seed_messages_in_new_chat": 1000,
"total_messages_before": 18490,
"total_messages_after": 19147,
"resources": [
{
"id": "a143382df423",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "a143382df423",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:40:23.379760446Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-10T16:23:36.205859505Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-10T16:23:28.556455062Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-10T16:23:28.117798819Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"resource_window_seconds": 24.67200000002049,
"resource_window_includes": "generator container startup, warmup and measurement",
"resource_samples": [
{
"elapsed_seconds": 2.25,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "51.05%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "30.01%",
"MemUsage": "76.84MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "2.2MB / 2.79MB",
"PIDs": "30"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.19%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.56%",
"MemUsage": "19.91MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "711MB / 713MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 173MB",
"CPUPerc": "70.11%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.55%",
"MemUsage": "74.49MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "69.1MB / 559MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.77%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.05%",
"MemUsage": "5.18MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 4.281,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.85%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "28.74%",
"MemUsage": "73.58MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "6.39MB / 8.28MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "9.63%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.34%",
"MemUsage": "19.64MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "719MB / 720MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 173MB",
"CPUPerc": "54.25%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.63%",
"MemUsage": "74.92MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "69.6MB / 563MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "6.82%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.48%",
"MemUsage": "5.73MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 6.297,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "50.32%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "6.28%",
"MemUsage": "16.08MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "9.84MB / 12.8MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.64%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.81%",
"MemUsage": "20.24MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "723MB / 724MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 174MB",
"CPUPerc": "48.58%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.61%",
"MemUsage": "74.8MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "70MB / 566MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "5.66%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.50%",
"MemUsage": "5.758MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 8.328,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.57%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "8.41%",
"MemUsage": "21.53MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "13.7MB / 17.9MB",
"PIDs": "31"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.66%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.49%",
"MemUsage": "19.83MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "728MB / 729MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 174MB",
"CPUPerc": "45.59%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.63%",
"MemUsage": "74.9MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "70.5MB / 570MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.74%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.92%",
"MemUsage": "6.297MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 10.344,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "52.35%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "5.99%",
"MemUsage": "15.34MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "18.9MB / 24.6MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.18%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.44%",
"MemUsage": "19.76MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "734MB / 735MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 175MB",
"CPUPerc": "48.63%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.63%",
"MemUsage": "74.92MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "71.1MB / 575MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "3.57%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "7.28%",
"MemUsage": "9.32MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "12"
}
]
},
{
"elapsed_seconds": 12.375,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "48.64%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "6.14%",
"MemUsage": "15.71MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "22.4MB / 29.2MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.03%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.84%",
"MemUsage": "18.99MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "739MB / 740MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 175MB",
"CPUPerc": "46.71%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.65%",
"MemUsage": "75.03MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "71.5MB / 578MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.92%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.44%",
"MemUsage": "5.688MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 14.391,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.21%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "7.02%",
"MemUsage": "17.98MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "26.3MB / 34.4MB",
"PIDs": "27"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "8.18%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.30%",
"MemUsage": "19.59MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "743MB / 745MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 176MB",
"CPUPerc": "50.61%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.67%",
"MemUsage": "75.09MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "72MB / 582MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.92%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.21%",
"MemUsage": "5.391MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 16.437,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.70%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "6.34%",
"MemUsage": "16.23MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "30MB / 39.2MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.23%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.63%",
"MemUsage": "20MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "748MB / 749MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 176MB",
"CPUPerc": "45.76%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.73%",
"MemUsage": "75.44MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "72.4MB / 586MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.94%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.92%",
"MemUsage": "5.012MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 18.469,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "48.87%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "6.17%",
"MemUsage": "15.79MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "33.2MB / 43.5MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "6.79%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.08%",
"MemUsage": "19.3MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "752MB / 753MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 176MB",
"CPUPerc": "42.00%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.84%",
"MemUsage": "75.97MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "72.8MB / 589MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "1.06%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.74%",
"MemUsage": "4.781MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 20.5,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.19%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "6.17%",
"MemUsage": "15.8MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "36.7MB / 47.9MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.08%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.71%",
"MemUsage": "20.11MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "756MB / 757MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 177MB",
"CPUPerc": "45.84%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.79%",
"MemUsage": "75.75MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "73.2MB / 592MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "1.07%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.11%",
"MemUsage": "5.266MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 22.531,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "51.38%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "8.14%",
"MemUsage": "20.84MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "41.2MB / 53.9MB",
"PIDs": "31"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "10.77%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.46%",
"MemUsage": "19.79MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "762MB / 763MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 177MB",
"CPUPerc": "78.25%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.67%",
"MemUsage": "75.11MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "73.7MB / 597MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.88%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "5.11%",
"MemUsage": "6.535MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 24.547,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "37.90%",
"Container": "a143382df423",
"ID": "a143382df423",
"MemPerc": "5.22%",
"MemUsage": "13.38MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "45.4MB / 59.4MB",
"PIDs": "25"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "5.48%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "13.35%",
"MemUsage": "17.08MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "767MB / 768MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 179MB",
"CPUPerc": "35.41%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "14.26%",
"MemUsage": "73.02MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "74.2MB / 601MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.74%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.47%",
"MemUsage": "4.441MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "60.6kB / 60.3kB",
"PIDs": "6"
}
]
}
],
"sampling_errors": [],
"action": {},
"cgroup_deltas": {
"a143382df423": {
"usage_usec": 12032194,
"user_usec": 6625067,
"system_usec": 5407128,
"nice_usec": 0,
"nr_periods": 258,
"nr_throttled": 236,
"throttled_usec": 107773351,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.9753724059654676,
"name": "mtusi-lab3-api-1"
},
"0d69ca2aa516": {
"usage_usec": 2005014,
"user_usec": 713110,
"system_usec": 1291905,
"nice_usec": 0,
"nr_periods": 255,
"nr_throttled": 1,
"throttled_usec": 344316,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.16253356031114907,
"name": "mtusi-lab3-lb-1"
},
"05b93b527179": {
"usage_usec": 11666226,
"user_usec": 7138273,
"system_usec": 4527952,
"nice_usec": 0,
"nr_periods": 248,
"nr_throttled": 12,
"throttled_usec": 2848888,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.47285286964941275,
"name": "mtusi-lab3-postgres-1"
},
"b47d70b5286f": {
"usage_usec": 774597,
"user_usec": 541258,
"system_usec": 233338,
"nice_usec": 0,
"nr_periods": 264,
"nr_throttled": 15,
"throttled_usec": 759381,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.1255831712061214,
"name": "mtusi-lab3-redis-1"
}
},
"pool_deltas": {
"a143382df423": {
"messenger_chat_cache_hits_total": 0.0,
"messenger_chat_cache_misses_total": 0.0,
"messenger_chat_cache_failures_total": 0.0,
"messenger_db_wait_total": 9900.0,
"messenger_db_wait_seconds_total": 511.919633
}
}
}
+851
View File
@@ -0,0 +1,851 @@
{
"elapsed_seconds": 20.21105436,
"concurrency": 32,
"successful_requests": 2256,
"failed_requests": 0,
"successful_rps": 111.6220836288919,
"error_ratio": 0,
"all_attempt_latency_ms": {
"p50": 292.176,
"p95": 589.944,
"p99": 703.098
},
"statuses": {
"200": 1805,
"201": 451
},
"instances": {
"be152490b1c4": 2256
},
"per_second": [
{
"error": 0,
"success": 97
},
{
"error": 0,
"success": 139
},
{
"error": 0,
"success": 122
},
{
"error": 0,
"success": 132
},
{
"error": 0,
"success": 173
},
{
"error": 0,
"success": 184
},
{
"error": 0,
"success": 114
},
{
"error": 0,
"success": 91
},
{
"error": 0,
"success": 87
},
{
"error": 0,
"success": 85
},
{
"error": 0,
"success": 86
},
{
"error": 0,
"success": 103
},
{
"error": 0,
"success": 90
},
{
"error": 0,
"success": 122
},
{
"error": 0,
"success": 110
},
{
"error": 0,
"success": 102
},
{
"error": 0,
"success": 85
},
{
"error": 0,
"success": 103
},
{
"error": 0,
"success": 100
},
{
"error": 0,
"success": 99
},
{
"error": 0,
"success": 32
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
}
],
"label": "growing-1-r3",
"workload": "closed-loop, persistent connections, 80% GET history limit=50 / 20% POST text=200 bytes, no retries",
"warmup_seconds": 3,
"requested_duration_seconds": 20.0,
"seed_messages_in_new_chat": 1000,
"total_messages_before": 26025,
"total_messages_after": 26584,
"resources": [
{
"id": "be152490b1c4",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "be152490b1c4",
"image": "sha256:59a25959e382f33f70961aa776a281e7e763cfc8776059d043c417c95ea8af49",
"status": "running",
"started": "2026-10-10T16:42:18.129177222Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-10T16:23:36.205859505Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-10T16:23:28.556455062Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-10T16:23:28.117798819Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"resource_window_seconds": 24.70299999997951,
"resource_window_includes": "generator container startup, warmup and measurement",
"resource_samples": [
{
"elapsed_seconds": 2.235,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "53.33%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "36.77%",
"MemUsage": "94.12MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "31.9MB / 41.5MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "10.25%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.44%",
"MemUsage": "19.77MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.02GB / 1.02GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 208MB",
"CPUPerc": "66.92%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.75%",
"MemUsage": "80.66MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "98MB / 796MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.37%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.24%",
"MemUsage": "5.422MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 4.266,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "48.76%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "7.17%",
"MemUsage": "18.34MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "35.9MB / 46.7MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "8.02%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.35%",
"MemUsage": "19.65MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.02GB / 1.02GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 208MB",
"CPUPerc": "52.50%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.75%",
"MemUsage": "80.66MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "98.4MB / 800MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "1.16%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.43%",
"MemUsage": "5.676MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 6.282,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "50.78%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "7.59%",
"MemUsage": "19.43MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "39.3MB / 51.1MB",
"PIDs": "30"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.03%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.32%",
"MemUsage": "19.61MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.02GB / 1.03GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 209MB",
"CPUPerc": "46.56%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.70%",
"MemUsage": "80.37MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "98.8MB / 803MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.79%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.19%",
"MemUsage": "5.363MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 8.313,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.70%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "6.56%",
"MemUsage": "16.79MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "42.9MB / 55.8MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "6.99%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.29%",
"MemUsage": "19.57MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.03GB / 1.03GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 209MB",
"CPUPerc": "45.19%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.89%",
"MemUsage": "81.36MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "99.3MB / 806MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "2.04%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.28%",
"MemUsage": "5.484MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 10.344,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "53.00%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "6.49%",
"MemUsage": "16.61MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "48.1MB / 62.6MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.94%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.38%",
"MemUsage": "19.68MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.04GB / 1.04GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 210MB",
"CPUPerc": "51.67%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.84%",
"MemUsage": "81.08MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "99.9MB / 811MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.45%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.23%",
"MemUsage": "5.418MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 12.375,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.86%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "6.75%",
"MemUsage": "17.29MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "50.7MB / 66.1MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "8.78%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.47%",
"MemUsage": "19.8MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.04GB / 1.04GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 210MB",
"CPUPerc": "49.69%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.84%",
"MemUsage": "81.11MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "100MB / 814MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "6.96%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.53%",
"MemUsage": "5.793MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 14.407,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.01%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "6.36%",
"MemUsage": "16.29MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "53.1MB / 69.1MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.62%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.49%",
"MemUsage": "19.83MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.04GB / 1.04GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 210MB",
"CPUPerc": "49.72%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.87%",
"MemUsage": "81.28MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "100MB / 816MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "7.12%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.18%",
"MemUsage": "5.352MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 16.438,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "51.14%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "7.72%",
"MemUsage": "19.75MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "55.7MB / 72.6MB",
"PIDs": "30"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.63%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.69%",
"MemUsage": "20.08MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.04GB / 1.05GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 211MB",
"CPUPerc": "43.99%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.57%",
"MemUsage": "84.86MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "101MB / 819MB",
"PIDs": "20"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "6.68%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.01%",
"MemUsage": "5.129MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 18.469,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "50.03%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "8.45%",
"MemUsage": "21.62MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "58.7MB / 76.4MB",
"PIDs": "30"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.59%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.10%",
"MemUsage": "19.33MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.05GB / 1.05GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 211MB",
"CPUPerc": "41.57%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.70%",
"MemUsage": "80.39MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "101MB / 822MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "6.95%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.00%",
"MemUsage": "5.117MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 20.5,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "49.61%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "8.11%",
"MemUsage": "20.77MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "61.6MB / 80.4MB",
"PIDs": "30"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.46%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.01%",
"MemUsage": "19.21MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.05GB / 1.05GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 211MB",
"CPUPerc": "38.49%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.78%",
"MemUsage": "80.79MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "102MB / 824MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "7.10%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.90%",
"MemUsage": "4.992MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 22.547,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "51.59%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "6.61%",
"MemUsage": "16.93MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "64.4MB / 83.9MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "7.59%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "15.23%",
"MemUsage": "19.5MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.06GB / 1.06GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 212MB",
"CPUPerc": "37.38%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.07%",
"MemUsage": "82.28MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "102MB / 827MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "3.43%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "7.20%",
"MemUsage": "9.211MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "12"
}
]
},
{
"elapsed_seconds": 24.578,
"containers": [
{
"BlockIO": "0B / 0B",
"CPUPerc": "38.68%",
"Container": "be152490b1c4",
"ID": "be152490b1c4",
"MemPerc": "5.34%",
"MemUsage": "13.67MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "66.9MB / 87.3MB",
"PIDs": "24"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "5.55%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "13.35%",
"MemUsage": "17.09MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "1.06GB / 1.06GB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 213MB",
"CPUPerc": "27.04%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.24%",
"MemUsage": "78.04MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "102MB / 830MB",
"PIDs": "14"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.83%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.48%",
"MemUsage": "4.453MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "61.8kB / 60.3kB",
"PIDs": "6"
}
]
}
],
"sampling_errors": [],
"action": {},
"cgroup_deltas": {
"be152490b1c4": {
"usage_usec": 12004648,
"user_usec": 6501243,
"system_usec": 5503406,
"nice_usec": 0,
"nr_periods": 253,
"nr_throttled": 237,
"throttled_usec": 114035254,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.9719182285560423,
"name": "mtusi-lab3-api-1"
},
"0d69ca2aa516": {
"usage_usec": 1892817,
"user_usec": 740598,
"system_usec": 1152219,
"nice_usec": 0,
"nr_periods": 252,
"nr_throttled": 0,
"throttled_usec": 0,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.15324592154811723,
"name": "mtusi-lab3-lb-1"
},
"05b93b527179": {
"usage_usec": 10780310,
"user_usec": 6707225,
"system_usec": 4073085,
"nice_usec": 0,
"nr_periods": 252,
"nr_throttled": 3,
"throttled_usec": 385915,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.4363967939120326,
"name": "mtusi-lab3-postgres-1"
},
"b47d70b5286f": {
"usage_usec": 928970,
"user_usec": 704657,
"system_usec": 224313,
"nice_usec": 0,
"nr_periods": 268,
"nr_throttled": 22,
"throttled_usec": 1754771,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.15042221592531602,
"name": "mtusi-lab3-redis-1"
}
},
"pool_deltas": {
"be152490b1c4": {
"messenger_chat_cache_hits_total": 0.0,
"messenger_chat_cache_misses_total": 0.0,
"messenger_chat_cache_failures_total": 0.0,
"messenger_db_wait_total": 8428.0,
"messenger_db_wait_seconds_total": 515.765157
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+671
View File
@@ -0,0 +1,671 @@
{
"elapsed_seconds": 10.196128267,
"concurrency": 32,
"successful_requests": 2805,
"failed_requests": 0,
"successful_rps": 275.1044245959955,
"error_ratio": 0,
"all_attempt_latency_ms": {
"p50": 98.819,
"p95": 291.709,
"p99": 392.28
},
"statuses": {
"200": 2244,
"201": 561
},
"instances": {
"6a2e5cb1b3ef": 1403,
"7ba0587ec2ba": 1402
},
"per_second": [
{
"error": 0,
"success": 331
},
{
"error": 0,
"success": 330
},
{
"error": 0,
"success": 260
},
{
"error": 0,
"success": 301
},
{
"error": 0,
"success": 336
},
{
"error": 0,
"success": 251
},
{
"error": 0,
"success": 264
},
{
"error": 0,
"success": 237
},
{
"error": 0,
"success": 235
},
{
"error": 0,
"success": 228
},
{
"error": 0,
"success": 32
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
},
{
"error": 0,
"success": 0
}
],
"label": "pilot",
"workload": "closed-loop, persistent connections, 80% GET history limit=50 / 20% POST text=200 bytes, no retries",
"warmup_seconds": 3,
"requested_duration_seconds": 10.0,
"seed_messages_in_new_chat": 1000,
"total_messages_before": 1008,
"total_messages_after": 1691,
"resources": [
{
"id": "7ba0587ec2ba",
"name": "mtusi-lab3-api-1",
"service": "api",
"instance": "7ba0587ec2ba",
"image": "sha256:cba09c0d5743f953600c1f8ae9050ac66c6d27fad6fd4e496e2d2527eecfde1d",
"status": "running",
"started": "2026-10-10T16:29:16.741672012Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "6a2e5cb1b3ef",
"name": "mtusi-lab3-api-2",
"service": "api",
"instance": "6a2e5cb1b3ef",
"image": "sha256:cba09c0d5743f953600c1f8ae9050ac66c6d27fad6fd4e496e2d2527eecfde1d",
"status": "running",
"started": "2026-10-10T16:29:17.096112169Z",
"health": "healthy",
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {}
},
{
"id": "0d69ca2aa516",
"name": "mtusi-lab3-lb-1",
"service": "lb",
"instance": "0d69ca2aa516",
"image": "sha256:e49b7beb96f4dba79f9a671515b469a6e516a2b88ff0681a820b184bba1effbd",
"status": "running",
"started": "2026-10-10T16:23:36.205859505Z",
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {
"8080/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8083"
}
]
}
},
{
"id": "05b93b527179",
"name": "mtusi-lab3-postgres-1",
"service": "postgres",
"instance": "05b93b527179",
"image": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
"status": "running",
"started": "2026-10-10T16:23:28.556455062Z",
"health": "healthy",
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {}
},
{
"id": "b47d70b5286f",
"name": "mtusi-lab3-redis-1",
"service": "redis",
"instance": "b47d70b5286f",
"image": "sha256:bb186d083732f669da90be8b0f975a37812b15e913465bb14d845db72a4e3e08",
"status": "running",
"started": "2026-10-10T16:23:28.117798819Z",
"health": "healthy",
"nano_cpus": 250000000,
"memory_bytes": 134217728,
"published_ports": {}
}
],
"resource_window_seconds": 14.5,
"resource_window_includes": "generator container startup, warmup and measurement",
"resource_samples": [
{
"elapsed_seconds": 2.25,
"containers": [
{
"BlockIO": "16.4kB / 0B",
"CPUPerc": "29.28%",
"Container": "7ba0587ec2ba",
"ID": "7ba0587ec2ba",
"MemPerc": "28.09%",
"MemUsage": "71.92MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "1.46MB / 1.86MB",
"PIDs": "17"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "27.34%",
"Container": "6a2e5cb1b3ef",
"ID": "6a2e5cb1b3ef",
"MemPerc": "28.38%",
"MemUsage": "72.64MiB / 256MiB",
"Name": "mtusi-lab3-api-2",
"NetIO": "1.54MB / 1.99MB",
"PIDs": "19"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "13.10%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.90%",
"MemUsage": "19.07MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "4.35MB / 4MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 57.8MB",
"CPUPerc": "99.11%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.29%",
"MemUsage": "78.3MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "851kB / 3.07MB",
"PIDs": "22"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.65%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.66%",
"MemUsage": "4.684MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "9.26kB / 6.47kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 4.281,
"containers": [
{
"BlockIO": "16.4kB / 0B",
"CPUPerc": "33.19%",
"Container": "7ba0587ec2ba",
"ID": "7ba0587ec2ba",
"MemPerc": "28.32%",
"MemUsage": "72.51MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "4.92MB / 6.38MB",
"PIDs": "19"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "33.23%",
"Container": "6a2e5cb1b3ef",
"ID": "6a2e5cb1b3ef",
"MemPerc": "28.58%",
"MemUsage": "73.16MiB / 256MiB",
"Name": "mtusi-lab3-api-2",
"NetIO": "5.05MB / 6.54MB",
"PIDs": "23"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "17.07%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.80%",
"MemUsage": "18.95MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "13.1MB / 12.8MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 58.2MB",
"CPUPerc": "99.26%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.49%",
"MemUsage": "79.3MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "1.66MB / 9.83MB",
"PIDs": "22"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "4.51%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.07%",
"MemUsage": "5.207MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "9.26kB / 6.47kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 6.297,
"containers": [
{
"BlockIO": "16.4kB / 0B",
"CPUPerc": "40.74%",
"Container": "7ba0587ec2ba",
"ID": "7ba0587ec2ba",
"MemPerc": "7.30%",
"MemUsage": "18.68MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "9.4MB / 12.2MB",
"PIDs": "20"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "44.32%",
"Container": "6a2e5cb1b3ef",
"ID": "6a2e5cb1b3ef",
"MemPerc": "6.02%",
"MemUsage": "15.41MiB / 256MiB",
"Name": "mtusi-lab3-api-2",
"NetIO": "9.41MB / 12.2MB",
"PIDs": "23"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "13.14%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.80%",
"MemUsage": "18.95MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "23.9MB / 23.6MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 58.8MB",
"CPUPerc": "99.05%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "16.13%",
"MemUsage": "82.57MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "2.68MB / 18.3MB",
"PIDs": "28"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "5.49%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.02%",
"MemUsage": "5.145MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "9.26kB / 6.47kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 8.344,
"containers": [
{
"BlockIO": "16.4kB / 0B",
"CPUPerc": "40.33%",
"Container": "7ba0587ec2ba",
"ID": "7ba0587ec2ba",
"MemPerc": "5.20%",
"MemUsage": "13.3MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "13.4MB / 17.4MB",
"PIDs": "19"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "44.72%",
"Container": "6a2e5cb1b3ef",
"ID": "6a2e5cb1b3ef",
"MemPerc": "5.88%",
"MemUsage": "15.05MiB / 256MiB",
"Name": "mtusi-lab3-api-2",
"NetIO": "13.8MB / 17.9MB",
"PIDs": "23"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "12.71%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.78%",
"MemUsage": "18.91MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "34.1MB / 33.8MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 59.3MB",
"CPUPerc": "100.88%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.57%",
"MemUsage": "79.73MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "3.66MB / 26.5MB",
"PIDs": "22"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "5.48%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.10%",
"MemUsage": "5.254MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "9.26kB / 6.47kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 10.359,
"containers": [
{
"BlockIO": "16.4kB / 0B",
"CPUPerc": "48.14%",
"Container": "7ba0587ec2ba",
"ID": "7ba0587ec2ba",
"MemPerc": "5.42%",
"MemUsage": "13.87MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "17.5MB / 22.7MB",
"PIDs": "19"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "48.72%",
"Container": "6a2e5cb1b3ef",
"ID": "6a2e5cb1b3ef",
"MemPerc": "7.66%",
"MemUsage": "19.61MiB / 256MiB",
"Name": "mtusi-lab3-api-2",
"NetIO": "17.8MB / 23.1MB",
"PIDs": "29"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "14.31%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.75%",
"MemUsage": "18.88MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "44MB / 43.8MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 59.9MB",
"CPUPerc": "101.29%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.61%",
"MemUsage": "79.9MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "4.58MB / 34.2MB",
"PIDs": "22"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "7.34%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "4.27%",
"MemUsage": "5.469MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "9.26kB / 6.47kB",
"PIDs": "6"
}
]
},
{
"elapsed_seconds": 12.391,
"containers": [
{
"BlockIO": "16.4kB / 0B",
"CPUPerc": "40.76%",
"Container": "7ba0587ec2ba",
"ID": "7ba0587ec2ba",
"MemPerc": "5.38%",
"MemUsage": "13.79MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "20.8MB / 27MB",
"PIDs": "19"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "41.54%",
"Container": "6a2e5cb1b3ef",
"ID": "6a2e5cb1b3ef",
"MemPerc": "5.76%",
"MemUsage": "14.75MiB / 256MiB",
"Name": "mtusi-lab3-api-2",
"NetIO": "21.1MB / 27.3MB",
"PIDs": "23"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "13.21%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "14.84%",
"MemUsage": "18.99MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "52MB / 51.8MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 60.4MB",
"CPUPerc": "99.26%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.60%",
"MemUsage": "79.87MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "5.33MB / 40.4MB",
"PIDs": "22"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "3.65%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "7.88%",
"MemUsage": "10.09MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "9.26kB / 6.47kB",
"PIDs": "12"
}
]
},
{
"elapsed_seconds": 14.422,
"containers": [
{
"BlockIO": "16.4kB / 0B",
"CPUPerc": "26.51%",
"Container": "7ba0587ec2ba",
"ID": "7ba0587ec2ba",
"MemPerc": "5.16%",
"MemUsage": "13.22MiB / 256MiB",
"Name": "mtusi-lab3-api-1",
"NetIO": "23.6MB / 30.7MB",
"PIDs": "19"
},
{
"BlockIO": "0B / 0B",
"CPUPerc": "28.95%",
"Container": "6a2e5cb1b3ef",
"ID": "6a2e5cb1b3ef",
"MemPerc": "5.08%",
"MemUsage": "13.02MiB / 256MiB",
"Name": "mtusi-lab3-api-2",
"NetIO": "23.8MB / 30.9MB",
"PIDs": "23"
},
{
"BlockIO": "5.86MB / 0B",
"CPUPerc": "9.39%",
"Container": "0d69ca2aa516",
"ID": "0d69ca2aa516",
"MemPerc": "12.86%",
"MemUsage": "16.46MiB / 128MiB",
"Name": "mtusi-lab3-lb-1",
"NetIO": "58.8MB / 58.6MB",
"PIDs": "21"
},
{
"BlockIO": "37.4MB / 61.5MB",
"CPUPerc": "78.17%",
"Container": "05b93b527179",
"ID": "05b93b527179",
"MemPerc": "15.10%",
"MemUsage": "77.33MiB / 512MiB",
"Name": "mtusi-lab3-postgres-1",
"NetIO": "5.96MB / 45.8MB",
"PIDs": "22"
},
{
"BlockIO": "9.01MB / 0B",
"CPUPerc": "0.63%",
"Container": "b47d70b5286f",
"ID": "b47d70b5286f",
"MemPerc": "3.45%",
"MemUsage": "4.41MiB / 128MiB",
"Name": "mtusi-lab3-redis-1",
"NetIO": "9.26kB / 6.47kB",
"PIDs": "6"
}
]
}
],
"sampling_errors": [],
"action": {},
"cgroup_deltas": {
"7ba0587ec2ba": {
"usage_usec": 5231728,
"user_usec": 2680811,
"system_usec": 2550916,
"nice_usec": 0,
"nr_periods": 153,
"nr_throttled": 34,
"throttled_usec": 6392830,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.7216176551724138,
"name": "mtusi-lab3-api-1"
},
"6a2e5cb1b3ef": {
"usage_usec": 5428354,
"user_usec": 2887345,
"system_usec": 2541009,
"nice_usec": 0,
"nr_periods": 154,
"nr_throttled": 38,
"throttled_usec": 7761727,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.7487384827586206,
"name": "mtusi-lab3-api-2"
},
"0d69ca2aa516": {
"usage_usec": 1962531,
"user_usec": 713141,
"system_usec": 1249390,
"nice_usec": 0,
"nr_periods": 156,
"nr_throttled": 0,
"throttled_usec": 0,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.27069393103448275,
"name": "mtusi-lab3-lb-1"
},
"05b93b527179": {
"usage_usec": 13464372,
"user_usec": 8352426,
"system_usec": 5111947,
"nice_usec": 0,
"nr_periods": 153,
"nr_throttled": 128,
"throttled_usec": 96028125,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.9285773793103448,
"name": "mtusi-lab3-postgres-1"
},
"b47d70b5286f": {
"usage_usec": 582118,
"user_usec": 433608,
"system_usec": 148509,
"nice_usec": 0,
"nr_periods": 164,
"nr_throttled": 12,
"throttled_usec": 745841,
"nr_bursts": 0,
"burst_usec": 0,
"quota_utilization_ratio": 0.16058427586206897,
"name": "mtusi-lab3-redis-1"
}
},
"pool_deltas": {
"7ba0587ec2ba": {
"messenger_db_wait_total": 3402.0,
"messenger_db_wait_seconds_total": 48.383514
},
"6a2e5cb1b3ef": {
"messenger_db_wait_total": 5141.0,
"messenger_db_wait_seconds_total": 154.842729
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+15
View File
@@ -0,0 +1,15 @@
{
"lab3_requirements_unchanged": true,
"previous_labs": {
"mtusi2026lab1-fork": {
"unchanged": true,
"files": 46,
"sha256": "10170ed104dd17bc689e04d9e3bd1564a5f3328c8a528722936abdfec5dd281a"
},
"mtusi2026lab2": {
"unchanged": true,
"files": 62,
"sha256": "795f63a2a128a76efb4d5fef0d4fb7eddc578af0859173c09c509b961e3b2f58"
}
}
}

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