Реализовать лабораторную 3 на оценку 5 (трек 1)

This commit is contained in:
Чиняева
2026-11-07 00:57:10 +03:00
parent 0ab3a341aa
commit 2c4f0a5a61
96 changed files with 7784 additions and 45 deletions
+33 -2
View File
@@ -1,5 +1,36 @@
# Доказательства
Храните небольшие обезличенные результаты: команды и stdout проверок, JSON/CSV агрегатов нагрузки, EXPLAIN, dashboard JSON, текст разбора отказа. Укажите дату, commit, аппаратные лимиты и профиль нагрузки.
Небольшие обезличенные результаты: команды и stdout проверок, JSON/CSV
агрегаты нагрузки, EXPLAIN, лимиты контейнеров, текст разбора отказа.
Стенд: Windows 11, Docker Desktop 29.9.2, Compose v5.6.1, 16 logical CPU,
~15.2 GiB доступно Docker. Дата прогонов: 2026-11-06/07.
Не добавляйте .env, session tokens, cookies, приватные ключи, credentials, реальные сообщения, raw dumps и signed URLs. Для скриншотов скрывайте секреты. Большие логи/бинарные traces сохраняйте отдельно по правилам преподавателя; одного скриншота без методики недостаточно.
Основные файлы:
| Файл | Что доказывает |
| --- | --- |
| `check.txt` | `make check` / offline structure |
| `smoke.txt` | публичный smoke lab3 |
| `routing.txt` | одна сессия обслуживается ≥2 репликами |
| `idempotency.txt` | конкурентный повтор через разные реплики, 409/400 |
| `idempotency_persistence.txt` | тот же ключ после полного рестарта |
| `failover.txt` | публичный failover-сценарий |
| `failover_matrix.json/.txt` | поочерёдная остановка каждой реплики, RPS/ошибки |
| `persistence.txt` | данные и сессия переживают рестарт |
| `containers-before-restart.txt`, `containers-after-restart.txt` | какие контейнеры реально перезапущены |
| `rolling_update.json/.txt` | поочерёдная замена под нагрузкой |
| `schema.txt` | таблицы, индексы, ограничения, миграции |
| `migrate_service.txt`, `migrate_logs.txt` | one-shot migrate service |
| `pool_settings.txt` | bounded pool и SQL-таймауты |
| `explain_history.txt` | Index Scan на 10 000 сообщений |
| `fault_matrix.txt` | 503 при отказе Redis/PostgreSQL и восстановление |
| `expiry.txt` | короткий TTL и 401 |
| `auth_negative.txt`, `race_username.txt`, `rollback_chat.txt` | негативные и конкурентные проверки |
| `container_limits_ports.txt` | CPU/RAM-лимиты, только LB публикует порт |
| `compose_config.txt` | итоговая конфигурация Compose |
| `track1_report.txt/.json` | агрегаты трека 1 |
| `track1_summary.json`, `track1/*.json` | сырые прогоны и метрики |
| `track1_fixed_total.svg`, `track1_growth.svg` | графики |
Не добавлены `.env`, токены, cookies, приватные ключи, credentials, реальные
сообщения и raw dumps. В `schema.txt` нет секретов; в логах нет токенов.
Binary file not shown.
Binary file not shown.
+190
View File
@@ -0,0 +1,190 @@
name: mtusi-lab3
networks:
backend:
driver: bridge
name: mtusi-lab3_backend
services:
api:
build:
context: C:\Users\Aliror\Documents\mtusi2026lab3-Chinyaeva
dockerfile: Dockerfile
depends_on:
migrate:
condition: service_completed_successfully
required: true
postgres:
condition: service_healthy
required: true
redis:
condition: service_healthy
required: true
deploy:
replicas: ${API_REPLICAS:-2}
resources:
limits:
cpus: ${API_CPU_LIMIT:-1.0}
memory: ${API_MEM_LIMIT:-512M}
environment:
APP_ENV: lab
CACHE_URL: ${CACHE_URL:-redis://redis:6379/0}
DATABASE_URL: ${DATABASE_URL:?set DATABASE_URL in .env}
DB_CONNECT_TIMEOUT_SECONDS: ${DB_CONNECT_TIMEOUT_SECONDS:-3}
DB_POOL_ACQUIRE_TIMEOUT_SECONDS: ${DB_POOL_ACQUIRE_TIMEOUT_SECONDS:-3}
DB_POOL_MAX: ${DB_POOL_MAX:-10}
DB_POOL_MIN: ${DB_POOL_MIN:-1}
DB_STATEMENT_TIMEOUT_MS: ${DB_STATEMENT_TIMEOUT_MS:-5000}
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
MAX_BODY_BYTES: ${MAX_BODY_BYTES:-1048576}
REDIS_CONNECT_TIMEOUT_SECONDS: ${REDIS_CONNECT_TIMEOUT_SECONDS:-2}
REDIS_SOCKET_TIMEOUT_SECONDS: ${REDIS_SOCKET_TIMEOUT_SECONDS:-2}
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
expose:
- "8080"
healthcheck:
interval: 2s
retries: 15
start_period: 15s
test:
- CMD
- python
- -c
- import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/health/ready',
timeout=2).read()
timeout: 2s
networks:
backend: null
restart: unless-stopped
stop_grace_period: 30s
lb:
depends_on:
api:
condition: service_healthy
required: true
deploy:
resources:
limits:
cpus: ${LB_CPU_LIMIT:-0.5}
memory: ${LB_MEM_LIMIT:-128M}
image: nginx:1.27.5-alpine
networks:
backend: null
ports:
- ${API_PORT:-8080}:8080
restart: unless-stopped
volumes:
- bind:
create_host_path: true
read_only: true
source: C:\Users\Aliror\Documents\mtusi2026lab3-Chinyaeva\infra\nginx\nginx.conf
target: /etc/nginx/nginx.conf
type: bind
migrate:
build:
context: C:\Users\Aliror\Documents\mtusi2026lab3-Chinyaeva
dockerfile: Dockerfile
command:
- python
- -m
- app.migrate
depends_on:
postgres:
condition: service_healthy
required: true
deploy:
resources:
limits:
cpus: ${MIGRATE_CPU_LIMIT:-0.5}
memory: ${MIGRATE_MEM_LIMIT:-256M}
environment:
APP_ENV: lab
CACHE_URL: ${CACHE_URL:-redis://redis:6379/0}
DATABASE_URL: ${DATABASE_URL:?set DATABASE_URL in .env}
DB_CONNECT_TIMEOUT_SECONDS: ${DB_CONNECT_TIMEOUT_SECONDS:-3}
DB_POOL_ACQUIRE_TIMEOUT_SECONDS: ${DB_POOL_ACQUIRE_TIMEOUT_SECONDS:-3}
DB_POOL_MAX: ${DB_POOL_MAX:-10}
DB_POOL_MIN: ${DB_POOL_MIN:-1}
DB_STATEMENT_TIMEOUT_MS: ${DB_STATEMENT_TIMEOUT_MS:-5000}
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
MAX_BODY_BYTES: ${MAX_BODY_BYTES:-1048576}
REDIS_CONNECT_TIMEOUT_SECONDS: ${REDIS_CONNECT_TIMEOUT_SECONDS:-2}
REDIS_SOCKET_TIMEOUT_SECONDS: ${REDIS_SOCKET_TIMEOUT_SECONDS:-2}
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
networks:
backend: null
restart: 'no'
postgres:
deploy:
resources:
limits:
cpus: ${POSTGRES_CPU_LIMIT:-1.0}
memory: ${POSTGRES_MEM_LIMIT:-512M}
environment:
POSTGRES_DB: ${POSTGRES_DB:-messenger}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}
POSTGRES_USER: ${POSTGRES_USER:-messenger}
healthcheck:
interval: 3s
retries: 30
test:
- CMD-SHELL
- pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}
timeout: 3s
image: postgres:16.4-alpine
networks:
backend: null
restart: unless-stopped
volumes:
- source: pgdata
target: /var/lib/postgresql/data
type: volume
volume: {}
redis:
command:
- redis-server
- --appendonly
- 'yes'
- --appendfsync
- everysec
- --dir
- /data
deploy:
resources:
limits:
cpus: ${REDIS_CPU_LIMIT:-0.5}
memory: ${REDIS_MEM_LIMIT:-256M}
healthcheck:
interval: 3s
retries: 30
test:
- CMD
- redis-cli
- ping
timeout: 3s
image: redis:7.4.0-alpine
networks:
backend: null
restart: unless-stopped
volumes:
- source: redisdata
target: /data
type: volume
volume: {}
volumes:
pgdata:
name: mtusi-lab3_pgdata
redisdata:
name: mtusi-lab3_redisdata
x-api-environment:
APP_ENV: lab
CACHE_URL: ${CACHE_URL:-redis://redis:6379/0}
DATABASE_URL: ${DATABASE_URL:?set DATABASE_URL in .env}
DB_CONNECT_TIMEOUT_SECONDS: ${DB_CONNECT_TIMEOUT_SECONDS:-3}
DB_POOL_ACQUIRE_TIMEOUT_SECONDS: ${DB_POOL_ACQUIRE_TIMEOUT_SECONDS:-3}
DB_POOL_MAX: ${DB_POOL_MAX:-10}
DB_POOL_MIN: ${DB_POOL_MIN:-1}
DB_STATEMENT_TIMEOUT_MS: ${DB_STATEMENT_TIMEOUT_MS:-5000}
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
MAX_BODY_BYTES: ${MAX_BODY_BYTES:-1048576}
REDIS_CONNECT_TIMEOUT_SECONDS: ${REDIS_CONNECT_TIMEOUT_SECONDS:-2}
REDIS_SOCKET_TIMEOUT_SECONDS: ${REDIS_SOCKET_TIMEOUT_SECONDS:-2}
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+15
View File
@@ -0,0 +1,15 @@
# EXPLAIN (ANALYZE, BUFFERS) for keyset history pagination
generated_at_utc: 2026-11-06T21:33:40.352590Z
messages_in_chat: 10000
chat_id: ce8f7912-30b3-44c6-98f3-aae338209bea
query: WHERE chat_id = ? AND (created_at, id) > (?, ?) ORDER BY created_at, id LIMIT 51
Limit (cost=0.29..11.81 rows=51 width=77) (actual time=0.024..0.032 rows=51 loops=1)
Buffers: shared hit=4
-> Index Scan using messages_chat_created_at_id_idx on messages (cost=0.29..973.31 rows=4305 width=77) (actual time=0.023..0.028 rows=51 loops=1)
Index Cond: ((chat_id = 'ce8f7912-30b3-44c6-98f3-aae338209bea'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:09.501+00'::timestamp with time zone, '806c83dc-f566-4736-8ef4-094bdcd28f33'::uuid)))
Buffers: shared hit=4
Planning:
Buffers: shared hit=7
Planning Time: 0.208 ms
Execution Time: 0.138 ms
Binary file not shown.
+117
View File
@@ -0,0 +1,117 @@
{
"base_url": "http://localhost:18081",
"workers": 6,
"duration_seconds": 16.0,
"replicas_before": [
"3ea06cf03241",
"ec52acd6f3e0"
],
"runs": [
{
"target_instance": "3ea06cf03241",
"target_container": "3ea06cf03241",
"success_by_second": [
194,
177,
109,
41,
98,
103,
43,
73,
86,
54,
71,
90,
52,
69,
81,
50,
73
],
"errors_by_second": [
0,
0,
2,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"successes_total": 1627,
"errors_total": 3,
"stop_seconds": 2.564,
"restore_seconds": 12.001,
"first_write_after_stop_seconds": 0.009,
"target_served_during_outage": false,
"target_present_after_restore": true,
"instances_after_restore": [
"3ea06cf03241",
"ec52acd6f3e0"
]
},
{
"target_instance": "ec52acd6f3e0",
"target_container": "ec52acd6f3e0",
"success_by_second": [
242,
105,
86,
78,
38,
79,
77,
38,
75,
78,
41,
62,
60,
37,
60,
70,
74
],
"errors_by_second": [
0,
0,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"successes_total": 1300,
"errors_total": 3,
"stop_seconds": 2.803,
"restore_seconds": 12.0,
"first_write_after_stop_seconds": 0.03,
"target_served_during_outage": false,
"target_present_after_restore": true,
"instances_after_restore": [
"3ea06cf03241",
"ec52acd6f3e0"
]
}
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+90
View File
@@ -0,0 +1,90 @@
{
"base_url": "http://localhost:18081",
"workers": 8,
"duration_seconds": 24.0,
"success_by_second": [
86,
137,
149,
139,
87,
38,
60,
62,
40,
55,
62,
63,
117,
144,
58,
53,
63,
43,
55,
57,
67,
124,
196,
150,
8
],
"errors_by_second": [
0,
0,
0,
0,
7,
0,
0,
0,
0,
0,
0,
0,
0,
0,
5,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"successes_total": 2113,
"errors_total": 12,
"runs": [
{
"target_instance": "3ea06cf03241",
"stop_seconds": 4.032,
"stop_command_seconds": 0.599,
"restore_seconds": 6.632,
"recovered_seconds": 11.754,
"first_write_after_stop_seconds": 0.038,
"target_served_during_outage": false,
"instances_after_restore": [
"3ea06cf03241",
"ec52acd6f3e0"
]
},
{
"target_instance": "ec52acd6f3e0",
"stop_seconds": 14.02,
"stop_command_seconds": 0.581,
"restore_seconds": 16.601,
"recovered_seconds": 20.721,
"first_write_after_stop_seconds": 0.022,
"target_served_during_outage": false,
"instances_after_restore": [
"3ea06cf03241",
"ec52acd6f3e0"
]
}
],
"note": "sequential SIGTERM drain + restart; same image, no volume removal"
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
+15
View File
@@ -0,0 +1,15 @@
SELECT table_name FROM information_schema.tables
WHERE table_schema = 'public' ORDER BY table_name;
SELECT version, applied_at FROM schema_migrations ORDER BY version;
SELECT tablename, indexname, indexdef FROM pg_indexes
WHERE schemaname = 'public' ORDER BY tablename, indexname;
SELECT column_name, data_type, is_nullable, column_default
FROM information_schema.columns
WHERE table_name = 'idempotency_keys' ORDER BY ordinal_position;
SELECT conname, pg_get_constraintdef(oid) AS definition
FROM pg_constraint WHERE conrelid = 'idempotency_keys'::regclass
ORDER BY conname;
SELECT count(*) AS messages FROM messages;
SELECT count(*) AS idempotency_rows FROM idempotency_keys;
SHOW max_connections;
SELECT count(*) AS connections FROM pg_stat_activity;
Binary file not shown.
+20
View File
@@ -0,0 +1,20 @@
{
"label": "1x2.0cpu_1g_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 2038,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 101.9,
"successful_latency_ms": {
"p50": 228.683,
"p95": 303.852,
"p99": 341.608
},
"instances": {
"7a402f4155a4": 2038
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions"
}
+20
View File
@@ -0,0 +1,20 @@
{
"label": "1x2.0cpu_1g_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1969,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 98.45,
"successful_latency_ms": {
"p50": 237.575,
"p95": 313.417,
"p99": 367.208
},
"instances": {
"7a402f4155a4": 1969
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions"
}
@@ -0,0 +1,21 @@
{
"label": "2x1.0cpu_512m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 2059,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 102.95,
"successful_latency_ms": {
"p50": 250.436,
"p95": 628.531,
"p99": 747.701
},
"instances": {
"4192c1dc1495": 1030,
"b1b9281ba7d5": 1029
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions"
}
@@ -0,0 +1,21 @@
{
"label": "2x1.0cpu_512m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1903,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 95.15,
"successful_latency_ms": {
"p50": 268.314,
"p95": 681.792,
"p99": 778.125
},
"instances": {
"4192c1dc1495": 951,
"b1b9281ba7d5": 952
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions"
}
@@ -0,0 +1,23 @@
{
"label": "4x0.5cpu_256m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1793,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 89.65,
"successful_latency_ms": {
"p50": 54.121,
"p95": 1214.111,
"p99": 1402.774
},
"instances": {
"31647cf38f06": 447,
"366fd6ad531d": 448,
"5e8eec640f41": 448,
"b454ab735e17": 450
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions"
}
@@ -0,0 +1,23 @@
{
"label": "4x0.5cpu_256m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1834,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 91.7,
"successful_latency_ms": {
"p50": 54.092,
"p95": 1196.053,
"p99": 1393.438
},
"instances": {
"31647cf38f06": 459,
"366fd6ad531d": 459,
"5e8eec640f41": 458,
"b454ab735e17": 458
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions"
}
@@ -0,0 +1,23 @@
{
"label": "4x1.0cpu_512m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 4049,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 202.45,
"successful_latency_ms": {
"p50": 54.105,
"p95": 434.635,
"p99": 584.07
},
"instances": {
"8fa1148dad80": 1012,
"a0f4177ca995": 1012,
"c05c147b6fd6": 1013,
"d407b1c5f7da": 1012
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions"
}
@@ -0,0 +1,23 @@
{
"label": "4x1.0cpu_512m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 3980,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 199.0,
"successful_latency_ms": {
"p50": 54.843,
"p95": 410.962,
"p99": 581.582
},
"instances": {
"8fa1148dad80": 996,
"a0f4177ca995": 995,
"c05c147b6fd6": 995,
"d407b1c5f7da": 994
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions"
}
+23
View File
@@ -0,0 +1,23 @@
{
"label": "4x2.0cpu_1g_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 5558,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 277.9,
"successful_latency_ms": {
"p50": 64.486,
"p95": 216.9,
"p99": 285.827
},
"instances": {
"2a0a9d8f3c8f": 1390,
"3318d5ed950d": 1389,
"d160639a0384": 1391,
"fc4afe6a9bb3": 1388
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions"
}
+23
View File
@@ -0,0 +1,23 @@
{
"label": "4x2.0cpu_1g_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 5606,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 280.3,
"successful_latency_ms": {
"p50": 64.3,
"p95": 212.732,
"p99": 306.857
},
"instances": {
"2a0a9d8f3c8f": 1402,
"3318d5ed950d": 1402,
"d160639a0384": 1401,
"fc4afe6a9bb3": 1401
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions"
}
+172
View File
@@ -0,0 +1,172 @@
[
{
"t": 2.16,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "188.95%",
"mem_usage": "66.58MiB / 1GiB",
"mem_percent": "6.50%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "4.54%",
"mem_usage": "36.29MiB / 128MiB",
"mem_percent": "28.35%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "29.60%",
"mem_usage": "63.19MiB / 512MiB",
"mem_percent": "12.34%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "5.39%",
"mem_usage": "5.438MiB / 256MiB",
"mem_percent": "2.12%"
}
],
"postgres": {
"connections": 11,
"active": 1,
"waiting": 0
}
},
{
"t": 6.66,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "159.04%",
"mem_usage": "54.04MiB / 1GiB",
"mem_percent": "5.28%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.81%",
"mem_usage": "35.55MiB / 128MiB",
"mem_percent": "27.78%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "32.80%",
"mem_usage": "64MiB / 512MiB",
"mem_percent": "12.50%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.68%",
"mem_usage": "5.227MiB / 256MiB",
"mem_percent": "2.04%"
}
],
"postgres": {
"connections": 11,
"active": 1,
"waiting": 0
}
},
{
"t": 11.14,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "169.84%",
"mem_usage": "63.89MiB / 1GiB",
"mem_percent": "6.24%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.81%",
"mem_usage": "35.72MiB / 128MiB",
"mem_percent": "27.91%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "27.18%",
"mem_usage": "64.09MiB / 512MiB",
"mem_percent": "12.52%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.56%",
"mem_usage": "5.805MiB / 256MiB",
"mem_percent": "2.27%"
}
],
"postgres": {
"connections": 11,
"active": 1,
"waiting": 0
}
},
{
"t": 15.67,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "159.10%",
"mem_usage": "54.16MiB / 1GiB",
"mem_percent": "5.29%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.92%",
"mem_usage": "36.27MiB / 128MiB",
"mem_percent": "28.34%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "29.62%",
"mem_usage": "64.61MiB / 512MiB",
"mem_percent": "12.62%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "5.51%",
"mem_usage": "5.535MiB / 256MiB",
"mem_percent": "2.16%"
}
],
"postgres": {
"connections": 11,
"active": 1,
"waiting": 0
}
},
{
"t": 20.14,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "169.57%",
"mem_usage": "66.29MiB / 1GiB",
"mem_percent": "6.47%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.95%",
"mem_usage": "36MiB / 128MiB",
"mem_percent": "28.13%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "26.57%",
"mem_usage": "65.64MiB / 512MiB",
"mem_percent": "12.82%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.73%",
"mem_usage": "5.691MiB / 256MiB",
"mem_percent": "2.22%"
}
],
"postgres": {
"connections": 11,
"active": 1,
"waiting": 0
}
}
]
+172
View File
@@ -0,0 +1,172 @@
[
{
"t": 2.15,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "168.60%",
"mem_usage": "56.7MiB / 1GiB",
"mem_percent": "5.54%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.89%",
"mem_usage": "35.9MiB / 128MiB",
"mem_percent": "28.05%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "25.69%",
"mem_usage": "65.96MiB / 512MiB",
"mem_percent": "12.88%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.60%",
"mem_usage": "5.145MiB / 256MiB",
"mem_percent": "2.01%"
}
],
"postgres": {
"connections": 11,
"active": 1,
"waiting": 0
}
},
{
"t": 6.61,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "181.64%",
"mem_usage": "55.97MiB / 1GiB",
"mem_percent": "5.47%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.81%",
"mem_usage": "36.14MiB / 128MiB",
"mem_percent": "28.23%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "29.18%",
"mem_usage": "66.17MiB / 512MiB",
"mem_percent": "12.92%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "4.91%",
"mem_usage": "5.863MiB / 256MiB",
"mem_percent": "2.29%"
}
],
"postgres": {
"connections": 11,
"active": 1,
"waiting": 0
}
},
{
"t": 11.11,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "158.75%",
"mem_usage": "56.34MiB / 1GiB",
"mem_percent": "5.50%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "4.29%",
"mem_usage": "35.59MiB / 128MiB",
"mem_percent": "27.81%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "29.27%",
"mem_usage": "66.61MiB / 512MiB",
"mem_percent": "13.01%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "5.55%",
"mem_usage": "5.641MiB / 256MiB",
"mem_percent": "2.20%"
}
],
"postgres": {
"connections": 11,
"active": 3,
"waiting": 0
}
},
{
"t": 15.63,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "180.40%",
"mem_usage": "56.38MiB / 1GiB",
"mem_percent": "5.51%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "4.29%",
"mem_usage": "36.4MiB / 128MiB",
"mem_percent": "28.44%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "26.98%",
"mem_usage": "67.77MiB / 512MiB",
"mem_percent": "13.24%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.76%",
"mem_usage": "5.949MiB / 256MiB",
"mem_percent": "2.32%"
}
],
"postgres": {
"connections": 11,
"active": 1,
"waiting": 0
}
},
{
"t": 20.11,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "158.06%",
"mem_usage": "56.73MiB / 1GiB",
"mem_percent": "5.54%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.72%",
"mem_usage": "36MiB / 128MiB",
"mem_percent": "28.12%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "25.21%",
"mem_usage": "67.96MiB / 512MiB",
"mem_percent": "13.27%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "5.41%",
"mem_usage": "5.5MiB / 256MiB",
"mem_percent": "2.15%"
}
],
"postgres": {
"connections": 11,
"active": 1,
"waiting": 0
}
}
]
@@ -0,0 +1,202 @@
[
{
"t": 2.17,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "100.28%",
"mem_usage": "66.83MiB / 512MiB",
"mem_percent": "13.05%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "102.35%",
"mem_usage": "66.45MiB / 512MiB",
"mem_percent": "12.98%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.94%",
"mem_usage": "36.54MiB / 128MiB",
"mem_percent": "28.55%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "37.55%",
"mem_usage": "88.87MiB / 512MiB",
"mem_percent": "17.36%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.62%",
"mem_usage": "5.422MiB / 256MiB",
"mem_percent": "2.12%"
}
],
"postgres": {
"connections": 21,
"active": 1,
"waiting": 0
}
},
{
"t": 6.71,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "98.10%",
"mem_usage": "66.82MiB / 512MiB",
"mem_percent": "13.05%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "31.05%",
"mem_usage": "53.66MiB / 512MiB",
"mem_percent": "10.48%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.71%",
"mem_usage": "36.8MiB / 128MiB",
"mem_percent": "28.75%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "33.98%",
"mem_usage": "91.45MiB / 512MiB",
"mem_percent": "17.86%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "2.11%",
"mem_usage": "6.465MiB / 256MiB",
"mem_percent": "2.53%"
}
],
"postgres": {
"connections": 21,
"active": 2,
"waiting": 0
}
},
{
"t": 11.24,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "104.49%",
"mem_usage": "64.58MiB / 512MiB",
"mem_percent": "12.61%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "29.50%",
"mem_usage": "53.86MiB / 512MiB",
"mem_percent": "10.52%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "5.04%",
"mem_usage": "35.71MiB / 128MiB",
"mem_percent": "27.90%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "35.56%",
"mem_usage": "92.11MiB / 512MiB",
"mem_percent": "17.99%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "5.45%",
"mem_usage": "6.562MiB / 256MiB",
"mem_percent": "2.56%"
}
],
"postgres": {
"connections": 21,
"active": 1,
"waiting": 0
}
},
{
"t": 15.75,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "100.45%",
"mem_usage": "54.45MiB / 512MiB",
"mem_percent": "10.64%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "34.29%",
"mem_usage": "53.48MiB / 512MiB",
"mem_percent": "10.44%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "4.01%",
"mem_usage": "36.17MiB / 128MiB",
"mem_percent": "28.26%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "26.17%",
"mem_usage": "92.23MiB / 512MiB",
"mem_percent": "18.01%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "2.11%",
"mem_usage": "6.223MiB / 256MiB",
"mem_percent": "2.43%"
}
],
"postgres": {
"connections": 21,
"active": 1,
"waiting": 0
}
},
{
"t": 20.27,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "101.05%",
"mem_usage": "54.21MiB / 512MiB",
"mem_percent": "10.59%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "71.27%",
"mem_usage": "53.84MiB / 512MiB",
"mem_percent": "10.52%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "4.49%",
"mem_usage": "36.46MiB / 128MiB",
"mem_percent": "28.49%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "40.47%",
"mem_usage": "93.18MiB / 512MiB",
"mem_percent": "18.20%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "2.04%",
"mem_usage": "6.871MiB / 256MiB",
"mem_percent": "2.68%"
}
],
"postgres": {
"connections": 21,
"active": 1,
"waiting": 0
}
}
]
@@ -0,0 +1,202 @@
[
{
"t": 2.18,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "99.93%",
"mem_usage": "53.69MiB / 512MiB",
"mem_percent": "10.49%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "102.08%",
"mem_usage": "54.39MiB / 512MiB",
"mem_percent": "10.62%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "2.74%",
"mem_usage": "36.44MiB / 128MiB",
"mem_percent": "28.47%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "30.92%",
"mem_usage": "93.36MiB / 512MiB",
"mem_percent": "18.23%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "6.32%",
"mem_usage": "5.859MiB / 256MiB",
"mem_percent": "2.29%"
}
],
"postgres": {
"connections": 21,
"active": 2,
"waiting": 0
}
},
{
"t": 6.68,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "72.98%",
"mem_usage": "53.86MiB / 512MiB",
"mem_percent": "10.52%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "99.30%",
"mem_usage": "54.6MiB / 512MiB",
"mem_percent": "10.66%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "5.30%",
"mem_usage": "36.18MiB / 128MiB",
"mem_percent": "28.27%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "35.14%",
"mem_usage": "93.78MiB / 512MiB",
"mem_percent": "18.32%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "2.23%",
"mem_usage": "6.035MiB / 256MiB",
"mem_percent": "2.36%"
}
],
"postgres": {
"connections": 21,
"active": 2,
"waiting": 0
}
},
{
"t": 11.22,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "27.87%",
"mem_usage": "53.55MiB / 512MiB",
"mem_percent": "10.46%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "103.87%",
"mem_usage": "64.29MiB / 512MiB",
"mem_percent": "12.56%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "4.59%",
"mem_usage": "36.46MiB / 128MiB",
"mem_percent": "28.48%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "29.13%",
"mem_usage": "94.23MiB / 512MiB",
"mem_percent": "18.40%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "2.24%",
"mem_usage": "6.906MiB / 256MiB",
"mem_percent": "2.70%"
}
],
"postgres": {
"connections": 21,
"active": 1,
"waiting": 0
}
},
{
"t": 15.8,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "98.47%",
"mem_usage": "69.06MiB / 512MiB",
"mem_percent": "13.49%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "98.09%",
"mem_usage": "68.88MiB / 512MiB",
"mem_percent": "13.45%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.69%",
"mem_usage": "36.65MiB / 128MiB",
"mem_percent": "28.63%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "26.96%",
"mem_usage": "94.99MiB / 512MiB",
"mem_percent": "18.55%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.77%",
"mem_usage": "6.27MiB / 256MiB",
"mem_percent": "2.45%"
}
],
"postgres": {
"connections": 21,
"active": 1,
"waiting": 0
}
},
{
"t": 20.44,
"containers": [
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "64.70%",
"mem_usage": "67.17MiB / 512MiB",
"mem_percent": "13.12%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "99.07%",
"mem_usage": "56.2MiB / 512MiB",
"mem_percent": "10.98%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "5.54%",
"mem_usage": "36.05MiB / 128MiB",
"mem_percent": "28.17%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "35.54%",
"mem_usage": "95.1MiB / 512MiB",
"mem_percent": "18.57%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.71%",
"mem_usage": "5.926MiB / 256MiB",
"mem_percent": "2.31%"
}
],
"postgres": {
"connections": 21,
"active": 1,
"waiting": 0
}
}
]
@@ -0,0 +1,262 @@
[
{
"t": 2.2,
"containers": [
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "35.68%",
"mem_usage": "52.66MiB / 256MiB",
"mem_percent": "20.57%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "27.23%",
"mem_usage": "63.71MiB / 256MiB",
"mem_percent": "24.89%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "48.41%",
"mem_usage": "68.02MiB / 256MiB",
"mem_percent": "26.57%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "34.27%",
"mem_usage": "63.34MiB / 256MiB",
"mem_percent": "24.74%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "4.18%",
"mem_usage": "36.37MiB / 128MiB",
"mem_percent": "28.41%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "12.40%",
"mem_usage": "132.3MiB / 512MiB",
"mem_percent": "25.84%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.79%",
"mem_usage": "5.145MiB / 256MiB",
"mem_percent": "2.01%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
},
{
"t": 6.69,
"containers": [
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "20.62%",
"mem_usage": "52.7MiB / 256MiB",
"mem_percent": "20.59%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "8.66%",
"mem_usage": "53.02MiB / 256MiB",
"mem_percent": "20.71%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "48.96%",
"mem_usage": "54.78MiB / 256MiB",
"mem_percent": "21.40%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "8.51%",
"mem_usage": "51.68MiB / 256MiB",
"mem_percent": "20.19%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.63%",
"mem_usage": "36.14MiB / 128MiB",
"mem_percent": "28.23%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "25.93%",
"mem_usage": "136.3MiB / 512MiB",
"mem_percent": "26.63%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.45%",
"mem_usage": "6.359MiB / 256MiB",
"mem_percent": "2.48%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
},
{
"t": 11.17,
"containers": [
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "27.61%",
"mem_usage": "62.34MiB / 256MiB",
"mem_percent": "24.35%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "36.80%",
"mem_usage": "53.9MiB / 256MiB",
"mem_percent": "21.06%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "48.72%",
"mem_usage": "54.29MiB / 256MiB",
"mem_percent": "21.21%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "12.64%",
"mem_usage": "59.9MiB / 256MiB",
"mem_percent": "23.40%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.34%",
"mem_usage": "36.1MiB / 128MiB",
"mem_percent": "28.20%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "22.16%",
"mem_usage": "137.1MiB / 512MiB",
"mem_percent": "26.79%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.72%",
"mem_usage": "6.172MiB / 256MiB",
"mem_percent": "2.41%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
},
{
"t": 15.67,
"containers": [
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "11.85%",
"mem_usage": "52.71MiB / 256MiB",
"mem_percent": "20.59%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "23.46%",
"mem_usage": "62.82MiB / 256MiB",
"mem_percent": "24.54%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "49.49%",
"mem_usage": "54.15MiB / 256MiB",
"mem_percent": "21.15%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "20.19%",
"mem_usage": "61.51MiB / 256MiB",
"mem_percent": "24.03%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "4.29%",
"mem_usage": "35.92MiB / 128MiB",
"mem_percent": "28.06%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "31.42%",
"mem_usage": "137.8MiB / 512MiB",
"mem_percent": "26.91%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.42%",
"mem_usage": "6.27MiB / 256MiB",
"mem_percent": "2.45%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
},
{
"t": 20.2,
"containers": [
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "43.54%",
"mem_usage": "53.2MiB / 256MiB",
"mem_percent": "20.78%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "14.56%",
"mem_usage": "53.52MiB / 256MiB",
"mem_percent": "20.91%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "50.18%",
"mem_usage": "54.14MiB / 256MiB",
"mem_percent": "21.15%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "14.92%",
"mem_usage": "52MiB / 256MiB",
"mem_percent": "20.31%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "4.97%",
"mem_usage": "37.05MiB / 128MiB",
"mem_percent": "28.95%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "24.67%",
"mem_usage": "137.6MiB / 512MiB",
"mem_percent": "26.88%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "2.04%",
"mem_usage": "5.863MiB / 256MiB",
"mem_percent": "2.29%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
}
]
@@ -0,0 +1,262 @@
[
{
"t": 2.22,
"containers": [
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "15.99%",
"mem_usage": "53.2MiB / 256MiB",
"mem_percent": "20.78%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "33.53%",
"mem_usage": "63.09MiB / 256MiB",
"mem_percent": "24.64%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "30.13%",
"mem_usage": "119.9MiB / 256MiB",
"mem_percent": "46.85%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "32.76%",
"mem_usage": "63.25MiB / 256MiB",
"mem_percent": "24.71%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "5.56%",
"mem_usage": "35.46MiB / 128MiB",
"mem_percent": "27.70%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "28.98%",
"mem_usage": "138.7MiB / 512MiB",
"mem_percent": "27.08%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "2.18%",
"mem_usage": "6.086MiB / 256MiB",
"mem_percent": "2.38%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
},
{
"t": 6.73,
"containers": [
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "19.97%",
"mem_usage": "53.36MiB / 256MiB",
"mem_percent": "20.84%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "9.01%",
"mem_usage": "53.51MiB / 256MiB",
"mem_percent": "20.90%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "50.58%",
"mem_usage": "65.56MiB / 256MiB",
"mem_percent": "25.61%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "8.62%",
"mem_usage": "51.36MiB / 256MiB",
"mem_percent": "20.06%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.35%",
"mem_usage": "36.27MiB / 128MiB",
"mem_percent": "28.33%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "24.95%",
"mem_usage": "139.2MiB / 512MiB",
"mem_percent": "27.18%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "2.44%",
"mem_usage": "8.285MiB / 256MiB",
"mem_percent": "3.24%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
},
{
"t": 11.22,
"containers": [
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "29.50%",
"mem_usage": "65.38MiB / 256MiB",
"mem_percent": "25.54%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "31.16%",
"mem_usage": "53.15MiB / 256MiB",
"mem_percent": "20.76%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "50.27%",
"mem_usage": "65.61MiB / 256MiB",
"mem_percent": "25.63%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "17.51%",
"mem_usage": "62.64MiB / 256MiB",
"mem_percent": "24.47%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.33%",
"mem_usage": "37.04MiB / 128MiB",
"mem_percent": "28.94%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "21.21%",
"mem_usage": "139.7MiB / 512MiB",
"mem_percent": "27.29%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.65%",
"mem_usage": "5.898MiB / 256MiB",
"mem_percent": "2.30%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
},
{
"t": 15.71,
"containers": [
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "7.30%",
"mem_usage": "53.2MiB / 256MiB",
"mem_percent": "20.78%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "12.23%",
"mem_usage": "58.48MiB / 256MiB",
"mem_percent": "22.84%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "50.98%",
"mem_usage": "67.77MiB / 256MiB",
"mem_percent": "26.47%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "17.20%",
"mem_usage": "61.62MiB / 256MiB",
"mem_percent": "24.07%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "2.92%",
"mem_usage": "35.83MiB / 128MiB",
"mem_percent": "27.99%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "21.69%",
"mem_usage": "140MiB / 512MiB",
"mem_percent": "27.34%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.68%",
"mem_usage": "5.598MiB / 256MiB",
"mem_percent": "2.19%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
},
{
"t": 20.19,
"containers": [
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "26.97%",
"mem_usage": "53.29MiB / 256MiB",
"mem_percent": "20.81%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "10.48%",
"mem_usage": "55.08MiB / 256MiB",
"mem_percent": "21.52%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "48.44%",
"mem_usage": "55.78MiB / 256MiB",
"mem_percent": "21.79%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "10.38%",
"mem_usage": "52.32MiB / 256MiB",
"mem_percent": "20.44%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "3.88%",
"mem_usage": "37.21MiB / 128MiB",
"mem_percent": "29.07%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "22.35%",
"mem_usage": "140.9MiB / 512MiB",
"mem_percent": "27.52%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "1.51%",
"mem_usage": "6.844MiB / 256MiB",
"mem_percent": "2.67%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
}
]
@@ -0,0 +1,262 @@
[
{
"t": 2.21,
"containers": [
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "74.56%",
"mem_usage": "52.62MiB / 512MiB",
"mem_percent": "10.28%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "102.71%",
"mem_usage": "53.68MiB / 512MiB",
"mem_percent": "10.49%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "65.35%",
"mem_usage": "52.64MiB / 512MiB",
"mem_percent": "10.28%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "92.96%",
"mem_usage": "54.03MiB / 512MiB",
"mem_percent": "10.55%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "9.02%",
"mem_usage": "36.4MiB / 128MiB",
"mem_percent": "28.44%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "101.78%",
"mem_usage": "134.5MiB / 512MiB",
"mem_percent": "26.27%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "5.02%",
"mem_usage": "5.062MiB / 256MiB",
"mem_percent": "1.98%"
}
],
"postgres": {
"connections": 35,
"active": 1,
"waiting": 0
}
},
{
"t": 6.8,
"containers": [
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "80.67%",
"mem_usage": "52.9MiB / 512MiB",
"mem_percent": "10.33%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "25.95%",
"mem_usage": "53.19MiB / 512MiB",
"mem_percent": "10.39%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "73.32%",
"mem_usage": "51.92MiB / 512MiB",
"mem_percent": "10.14%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "102.18%",
"mem_usage": "54.18MiB / 512MiB",
"mem_percent": "10.58%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "10.55%",
"mem_usage": "36.64MiB / 128MiB",
"mem_percent": "28.62%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "70.79%",
"mem_usage": "140.9MiB / 512MiB",
"mem_percent": "27.52%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "3.70%",
"mem_usage": "4.871MiB / 256MiB",
"mem_percent": "1.90%"
}
],
"postgres": {
"connections": 36,
"active": 2,
"waiting": 0
}
},
{
"t": 11.34,
"containers": [
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "50.92%",
"mem_usage": "53.09MiB / 512MiB",
"mem_percent": "10.37%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "43.58%",
"mem_usage": "64MiB / 512MiB",
"mem_percent": "12.50%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "38.19%",
"mem_usage": "63.98MiB / 512MiB",
"mem_percent": "12.50%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "100.94%",
"mem_usage": "66.47MiB / 512MiB",
"mem_percent": "12.98%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "6.47%",
"mem_usage": "36.32MiB / 128MiB",
"mem_percent": "28.37%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "47.07%",
"mem_usage": "142.4MiB / 512MiB",
"mem_percent": "27.82%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "7.83%",
"mem_usage": "4.168MiB / 256MiB",
"mem_percent": "1.63%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
},
{
"t": 15.86,
"containers": [
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "34.94%",
"mem_usage": "60.82MiB / 512MiB",
"mem_percent": "11.88%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "31.49%",
"mem_usage": "52.68MiB / 512MiB",
"mem_percent": "10.29%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "30.26%",
"mem_usage": "51.76MiB / 512MiB",
"mem_percent": "10.11%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "104.23%",
"mem_usage": "53.51MiB / 512MiB",
"mem_percent": "10.45%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "7.75%",
"mem_usage": "37.03MiB / 128MiB",
"mem_percent": "28.93%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "68.97%",
"mem_usage": "143.6MiB / 512MiB",
"mem_percent": "28.04%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "3.63%",
"mem_usage": "4.633MiB / 256MiB",
"mem_percent": "1.81%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
},
{
"t": 20.44,
"containers": [
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "25.23%",
"mem_usage": "52.65MiB / 512MiB",
"mem_percent": "10.28%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "74.23%",
"mem_usage": "52.21MiB / 512MiB",
"mem_percent": "10.20%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "24.82%",
"mem_usage": "51.7MiB / 512MiB",
"mem_percent": "10.10%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "107.67%",
"mem_usage": "65.01MiB / 512MiB",
"mem_percent": "12.70%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "8.41%",
"mem_usage": "36.26MiB / 128MiB",
"mem_percent": "28.33%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "60.74%",
"mem_usage": "145.4MiB / 512MiB",
"mem_percent": "28.40%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "3.03%",
"mem_usage": "6.359MiB / 256MiB",
"mem_percent": "2.48%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
}
]
@@ -0,0 +1,262 @@
[
{
"t": 2.21,
"containers": [
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "48.75%",
"mem_usage": "62.75MiB / 512MiB",
"mem_percent": "12.26%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "32.71%",
"mem_usage": "59.46MiB / 512MiB",
"mem_percent": "11.61%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "32.48%",
"mem_usage": "64.68MiB / 512MiB",
"mem_percent": "12.63%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "107.83%",
"mem_usage": "64.96MiB / 512MiB",
"mem_percent": "12.69%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "8.81%",
"mem_usage": "36.05MiB / 128MiB",
"mem_percent": "28.17%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "60.67%",
"mem_usage": "145.5MiB / 512MiB",
"mem_percent": "28.42%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "3.02%",
"mem_usage": "5.625MiB / 256MiB",
"mem_percent": "2.20%"
}
],
"postgres": {
"connections": 36,
"active": 1,
"waiting": 0
}
},
{
"t": 6.86,
"containers": [
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "27.45%",
"mem_usage": "53.47MiB / 512MiB",
"mem_percent": "10.44%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "60.47%",
"mem_usage": "52.38MiB / 512MiB",
"mem_percent": "10.23%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "27.69%",
"mem_usage": "53.18MiB / 512MiB",
"mem_percent": "10.39%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "97.41%",
"mem_usage": "54.09MiB / 512MiB",
"mem_percent": "10.56%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "9.29%",
"mem_usage": "36.66MiB / 128MiB",
"mem_percent": "28.64%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "59.93%",
"mem_usage": "146.8MiB / 512MiB",
"mem_percent": "28.66%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "3.36%",
"mem_usage": "5.129MiB / 256MiB",
"mem_percent": "2.00%"
}
],
"postgres": {
"connections": 36,
"active": 2,
"waiting": 0
}
},
{
"t": 11.5,
"containers": [
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "30.69%",
"mem_usage": "52.5MiB / 512MiB",
"mem_percent": "10.25%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "65.14%",
"mem_usage": "65.46MiB / 512MiB",
"mem_percent": "12.79%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "101.45%",
"mem_usage": "53.34MiB / 512MiB",
"mem_percent": "10.42%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "105.85%",
"mem_usage": "57.93MiB / 512MiB",
"mem_percent": "11.32%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "9.84%",
"mem_usage": "36.16MiB / 128MiB",
"mem_percent": "28.25%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "74.69%",
"mem_usage": "158.1MiB / 512MiB",
"mem_percent": "30.87%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "7.00%",
"mem_usage": "4.66MiB / 256MiB",
"mem_percent": "1.82%"
}
],
"postgres": {
"connections": 41,
"active": 1,
"waiting": 0
}
},
{
"t": 16.04,
"containers": [
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "39.50%",
"mem_usage": "52.75MiB / 512MiB",
"mem_percent": "10.30%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "57.64%",
"mem_usage": "52.96MiB / 512MiB",
"mem_percent": "10.34%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "55.27%",
"mem_usage": "53.11MiB / 512MiB",
"mem_percent": "10.37%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "106.56%",
"mem_usage": "64.96MiB / 512MiB",
"mem_percent": "12.69%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "7.25%",
"mem_usage": "37.29MiB / 128MiB",
"mem_percent": "29.13%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "46.24%",
"mem_usage": "159.9MiB / 512MiB",
"mem_percent": "31.23%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "2.80%",
"mem_usage": "4.895MiB / 256MiB",
"mem_percent": "1.91%"
}
],
"postgres": {
"connections": 41,
"active": 1,
"waiting": 0
}
},
{
"t": 20.61,
"containers": [
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "96.58%",
"mem_usage": "55.39MiB / 512MiB",
"mem_percent": "10.82%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "80.33%",
"mem_usage": "55.98MiB / 512MiB",
"mem_percent": "10.93%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "62.66%",
"mem_usage": "66.73MiB / 512MiB",
"mem_percent": "13.03%"
},
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "97.20%",
"mem_usage": "55.42MiB / 512MiB",
"mem_percent": "10.82%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "8.19%",
"mem_usage": "36.23MiB / 128MiB",
"mem_percent": "28.31%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "52.51%",
"mem_usage": "160.5MiB / 512MiB",
"mem_percent": "31.35%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "7.35%",
"mem_usage": "5.125MiB / 256MiB",
"mem_percent": "2.00%"
}
],
"postgres": {
"connections": 41,
"active": 2,
"waiting": 0
}
}
]
+262
View File
@@ -0,0 +1,262 @@
[
{
"t": 2.21,
"containers": [
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "79.05%",
"mem_usage": "51.84MiB / 1GiB",
"mem_percent": "5.06%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "83.97%",
"mem_usage": "53.19MiB / 1GiB",
"mem_percent": "5.19%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "145.45%",
"mem_usage": "53.51MiB / 1GiB",
"mem_percent": "5.23%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "82.12%",
"mem_usage": "53.32MiB / 1GiB",
"mem_percent": "5.21%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "11.41%",
"mem_usage": "36.43MiB / 128MiB",
"mem_percent": "28.46%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "98.70%",
"mem_usage": "131.4MiB / 512MiB",
"mem_percent": "25.67%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "7.96%",
"mem_usage": "4.887MiB / 256MiB",
"mem_percent": "1.91%"
}
],
"postgres": {
"connections": 29,
"active": 3,
"waiting": 0
}
},
{
"t": 7.02,
"containers": [
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "50.63%",
"mem_usage": "52.79MiB / 1GiB",
"mem_percent": "5.16%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "76.63%",
"mem_usage": "61.24MiB / 1GiB",
"mem_percent": "5.98%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "178.16%",
"mem_usage": "54.3MiB / 1GiB",
"mem_percent": "5.30%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "90.90%",
"mem_usage": "53.5MiB / 1GiB",
"mem_percent": "5.22%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "14.33%",
"mem_usage": "35.91MiB / 128MiB",
"mem_percent": "28.05%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "94.33%",
"mem_usage": "134.4MiB / 512MiB",
"mem_percent": "26.24%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "4.98%",
"mem_usage": "3.891MiB / 256MiB",
"mem_percent": "1.52%"
}
],
"postgres": {
"connections": 29,
"active": 1,
"waiting": 0
}
},
{
"t": 11.7,
"containers": [
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "81.38%",
"mem_usage": "52.56MiB / 1GiB",
"mem_percent": "5.13%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "111.05%",
"mem_usage": "53.16MiB / 1GiB",
"mem_percent": "5.19%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "147.47%",
"mem_usage": "63.25MiB / 1GiB",
"mem_percent": "6.18%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "60.03%",
"mem_usage": "52.12MiB / 1GiB",
"mem_percent": "5.09%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "15.19%",
"mem_usage": "36.12MiB / 128MiB",
"mem_percent": "28.22%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "105.00%",
"mem_usage": "136.6MiB / 512MiB",
"mem_percent": "26.68%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "9.42%",
"mem_usage": "3.891MiB / 256MiB",
"mem_percent": "1.52%"
}
],
"postgres": {
"connections": 29,
"active": 2,
"waiting": 0
}
},
{
"t": 16.37,
"containers": [
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "117.67%",
"mem_usage": "53.32MiB / 1GiB",
"mem_percent": "5.21%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "51.22%",
"mem_usage": "53.43MiB / 1GiB",
"mem_percent": "5.22%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "122.46%",
"mem_usage": "53.43MiB / 1GiB",
"mem_percent": "5.22%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "92.30%",
"mem_usage": "63.54MiB / 1GiB",
"mem_percent": "6.21%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "15.09%",
"mem_usage": "35.7MiB / 128MiB",
"mem_percent": "27.89%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "102.76%",
"mem_usage": "140.1MiB / 512MiB",
"mem_percent": "27.37%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "4.87%",
"mem_usage": "3.648MiB / 256MiB",
"mem_percent": "1.43%"
}
],
"postgres": {
"connections": 32,
"active": 2,
"waiting": 0
}
},
{
"t": 21.51,
"containers": [
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "57.40%",
"mem_usage": "53.84MiB / 1GiB",
"mem_percent": "5.26%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "88.39%",
"mem_usage": "63.13MiB / 1GiB",
"mem_percent": "6.16%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "57.76%",
"mem_usage": "53.38MiB / 1GiB",
"mem_percent": "5.21%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "128.50%",
"mem_usage": "54.07MiB / 1GiB",
"mem_percent": "5.28%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "15.15%",
"mem_usage": "36.42MiB / 128MiB",
"mem_percent": "28.45%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "106.40%",
"mem_usage": "164.1MiB / 512MiB",
"mem_percent": "32.05%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "4.61%",
"mem_usage": "5.133MiB / 256MiB",
"mem_percent": "2.01%"
}
],
"postgres": {
"connections": 41,
"active": 6,
"waiting": 0
}
}
]
+262
View File
@@ -0,0 +1,262 @@
[
{
"t": 2.21,
"containers": [
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "136.25%",
"mem_usage": "67.32MiB / 1GiB",
"mem_percent": "6.57%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "72.58%",
"mem_usage": "53.11MiB / 1GiB",
"mem_percent": "5.19%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "99.35%",
"mem_usage": "53.74MiB / 1GiB",
"mem_percent": "5.25%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "123.66%",
"mem_usage": "53.66MiB / 1GiB",
"mem_percent": "5.24%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "16.20%",
"mem_usage": "35.06MiB / 128MiB",
"mem_percent": "27.39%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "106.65%",
"mem_usage": "168.2MiB / 512MiB",
"mem_percent": "32.85%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "5.48%",
"mem_usage": "3.648MiB / 256MiB",
"mem_percent": "1.43%"
}
],
"postgres": {
"connections": 41,
"active": 2,
"waiting": 0
}
},
{
"t": 7.02,
"containers": [
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "187.56%",
"mem_usage": "56.28MiB / 1GiB",
"mem_percent": "5.50%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "104.42%",
"mem_usage": "54.17MiB / 1GiB",
"mem_percent": "5.29%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "89.78%",
"mem_usage": "65.47MiB / 1GiB",
"mem_percent": "6.39%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "145.11%",
"mem_usage": "67.74MiB / 1GiB",
"mem_percent": "6.62%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "15.58%",
"mem_usage": "36.88MiB / 128MiB",
"mem_percent": "28.81%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "101.17%",
"mem_usage": "169.9MiB / 512MiB",
"mem_percent": "33.19%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "10.32%",
"mem_usage": "3.656MiB / 256MiB",
"mem_percent": "1.43%"
}
],
"postgres": {
"connections": 41,
"active": 3,
"waiting": 0
}
},
{
"t": 12.17,
"containers": [
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "166.96%",
"mem_usage": "67.82MiB / 1GiB",
"mem_percent": "6.62%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "118.58%",
"mem_usage": "54.4MiB / 1GiB",
"mem_percent": "5.31%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "52.55%",
"mem_usage": "54.79MiB / 1GiB",
"mem_percent": "5.35%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "112.53%",
"mem_usage": "61.08MiB / 1GiB",
"mem_percent": "5.97%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "15.51%",
"mem_usage": "36.03MiB / 128MiB",
"mem_percent": "28.15%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "99.07%",
"mem_usage": "170.9MiB / 512MiB",
"mem_percent": "33.37%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "4.80%",
"mem_usage": "4.141MiB / 256MiB",
"mem_percent": "1.62%"
}
],
"postgres": {
"connections": 41,
"active": 3,
"waiting": 0
}
},
{
"t": 16.99,
"containers": [
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "152.25%",
"mem_usage": "64.41MiB / 1GiB",
"mem_percent": "6.29%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "109.78%",
"mem_usage": "54.9MiB / 1GiB",
"mem_percent": "5.36%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "106.71%",
"mem_usage": "55.79MiB / 1GiB",
"mem_percent": "5.45%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "58.86%",
"mem_usage": "54.53MiB / 1GiB",
"mem_percent": "5.32%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "15.73%",
"mem_usage": "36.26MiB / 128MiB",
"mem_percent": "28.33%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "105.06%",
"mem_usage": "172.7MiB / 512MiB",
"mem_percent": "33.73%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "9.44%",
"mem_usage": "4.391MiB / 256MiB",
"mem_percent": "1.72%"
}
],
"postgres": {
"connections": 41,
"active": 3,
"waiting": 0
}
},
{
"t": 21.73,
"containers": [
{
"name": "mtusi-lab3-api-4",
"cpu_percent": "136.05%",
"mem_usage": "56.82MiB / 1GiB",
"mem_percent": "5.55%"
},
{
"name": "mtusi-lab3-api-3",
"cpu_percent": "105.87%",
"mem_usage": "54.45MiB / 1GiB",
"mem_percent": "5.32%"
},
{
"name": "mtusi-lab3-api-1",
"cpu_percent": "58.48%",
"mem_usage": "55.8MiB / 1GiB",
"mem_percent": "5.45%"
},
{
"name": "mtusi-lab3-api-2",
"cpu_percent": "56.70%",
"mem_usage": "55.23MiB / 1GiB",
"mem_percent": "5.39%"
},
{
"name": "mtusi-lab3-lb-1",
"cpu_percent": "14.86%",
"mem_usage": "36.66MiB / 128MiB",
"mem_percent": "28.64%"
},
{
"name": "mtusi-lab3-postgres-1",
"cpu_percent": "104.44%",
"mem_usage": "178.2MiB / 512MiB",
"mem_percent": "34.81%"
},
{
"name": "mtusi-lab3-redis-1",
"cpu_percent": "4.88%",
"mem_usage": "3.914MiB / 256MiB",
"mem_percent": "1.53%"
}
],
"postgres": {
"connections": 41,
"active": 3,
"waiting": 0
}
}
]
+8
View File
@@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="760" height="420" viewBox="0 0 760 420">
<rect width="100%" height="100%" fill="white"/>
<text x="380.0" y="28" text-anchor="middle" font-size="18" font-family="sans-serif">Fixed total API budget (2 CPU / 1G): 1 vs 2 vs 4 replicas</text>
<text x="20" y="200.0" transform="rotate(-90 20 200.0)" text-anchor="middle" font-size="12" font-family="sans-serif">successful RPS</text>
<line x1="80" y1="350" x2="730" y2="350" stroke="#333"/>
<line x1="80" y1="50" x2="80" y2="350" stroke="#333"/>
<rect x="128.1" y="100.0" width="120.4" height="250.0" fill="#2f6f9f"/><text x="188.3" y="92.0" text-anchor="middle" font-size="12">100.2</text><text x="188.3" y="370.0" text-anchor="middle" font-size="12">1 replica</text><line x1="128.1" y1="350.0" x2="128.1" y2="50.0" stroke="#ddd"/><rect x="344.8" y="102.8" width="120.4" height="247.2" fill="#2f6f9f"/><text x="405.0" y="94.8" text-anchor="middle" font-size="12">99.0</text><text x="405.0" y="370.0" text-anchor="middle" font-size="12">2 replica</text><line x1="344.8" y1="350.0" x2="344.8" y2="50.0" stroke="#ddd"/><rect x="561.5" y="128.9" width="120.4" height="221.1" fill="#2f6f9f"/><text x="621.7" y="120.9" text-anchor="middle" font-size="12">88.6</text><text x="621.7" y="370.0" text-anchor="middle" font-size="12">4 replica</text><line x1="561.5" y1="350.0" x2="561.5" y2="50.0" stroke="#ddd"/>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

+8
View File
@@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="760" height="420" viewBox="0 0 760 420">
<rect width="100%" height="100%" fill="white"/>
<text x="380.0" y="28" text-anchor="middle" font-size="18" font-family="sans-serif">4 replicas: effect of per-replica resources</text>
<text x="20" y="200.0" transform="rotate(-90 20 200.0)" text-anchor="middle" font-size="12" font-family="sans-serif">successful RPS</text>
<line x1="80" y1="350" x2="730" y2="350" stroke="#333"/>
<line x1="80" y1="50" x2="80" y2="350" stroke="#333"/>
<rect x="128.1" y="268.8" width="120.4" height="81.2" fill="#2f6f9f"/><text x="188.3" y="260.8" text-anchor="middle" font-size="12">90.7</text><text x="188.3" y="370.0" text-anchor="middle" font-size="12">0.5 CPU</text><line x1="128.1" y1="350.0" x2="128.1" y2="50.0" stroke="#ddd"/><rect x="344.8" y="170.2" width="120.4" height="179.8" fill="#2f6f9f"/><text x="405.0" y="162.2" text-anchor="middle" font-size="12">200.7</text><text x="405.0" y="370.0" text-anchor="middle" font-size="12">1.0 CPU</text><line x1="344.8" y1="350.0" x2="344.8" y2="50.0" stroke="#ddd"/><rect x="561.5" y="100.0" width="120.4" height="250.0" fill="#2f6f9f"/><text x="621.7" y="92.0" text-anchor="middle" font-size="12">279.1</text><text x="621.7" y="370.0" text-anchor="middle" font-size="12">2.0 CPU</text><line x1="561.5" y1="350.0" x2="561.5" y2="50.0" stroke="#ddd"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

+575
View File
@@ -0,0 +1,575 @@
{
"fixed_total": [
{
"profile": "1x2.0cpu_1g",
"replicas": 1,
"cpu_per_replica": "2.0",
"memory_per_replica": "1G",
"repetitions": 2,
"rps_median": 100.175,
"rps_min": 98.45,
"rps_max": 101.9,
"p95_ms_median": 308.635,
"errors_total": 0
},
{
"profile": "2x1.0cpu_512m",
"replicas": 2,
"cpu_per_replica": "1.0",
"memory_per_replica": "512M",
"repetitions": 2,
"rps_median": 99.05,
"rps_min": 95.15,
"rps_max": 102.95,
"p95_ms_median": 655.161,
"errors_total": 0
},
{
"profile": "4x0.5cpu_256m",
"replicas": 4,
"cpu_per_replica": "0.5",
"memory_per_replica": "256M",
"repetitions": 2,
"rps_median": 88.6,
"rps_min": 85.6,
"rps_max": 91.6,
"p95_ms_median": 1199.748,
"errors_total": 0
}
],
"growth": [
{
"profile": "4x0.5cpu_256m",
"replicas": 4,
"cpu_per_replica": "0.5",
"memory_per_replica": "256M",
"repetitions": 2,
"rps_median": 90.675,
"rps_min": 89.65,
"rps_max": 91.7,
"p95_ms_median": 1205.082,
"errors_total": 0
},
{
"profile": "4x1.0cpu_512m",
"replicas": 4,
"cpu_per_replica": "1.0",
"memory_per_replica": "512M",
"repetitions": 2,
"rps_median": 200.725,
"rps_min": 199.0,
"rps_max": 202.45,
"p95_ms_median": 422.798,
"errors_total": 0
},
{
"profile": "4x2.0cpu_1g",
"replicas": 4,
"cpu_per_replica": "2.0",
"memory_per_replica": "1G",
"repetitions": 2,
"rps_median": 279.1,
"rps_min": 277.9,
"rps_max": 280.3,
"p95_ms_median": 214.816,
"errors_total": 0
}
],
"runs": [
{
"label": "1x2.0cpu_1g_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 2038,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 101.9,
"successful_latency_ms": {
"p50": 228.683,
"p95": 303.852,
"p99": 341.608
},
"instances": {
"7a402f4155a4": 2038
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "1x2.0cpu_1g",
"replicas": 1,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_1x2.0cpu_1g_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 169.3,
"api_cpu_percent_max": 188.95,
"postgres_cpu_percent_max": 32.8,
"lb_cpu_percent_max": 4.54,
"postgres_connections_max": 11,
"postgres_active_max": 1,
"postgres_waiting_max": 0
}
},
{
"label": "1x2.0cpu_1g_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1969,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 98.45,
"successful_latency_ms": {
"p50": 237.575,
"p95": 313.417,
"p99": 367.208
},
"instances": {
"7a402f4155a4": 1969
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "1x2.0cpu_1g",
"replicas": 1,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_1x2.0cpu_1g_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 169.49,
"api_cpu_percent_max": 181.64,
"postgres_cpu_percent_max": 29.27,
"lb_cpu_percent_max": 4.29,
"postgres_connections_max": 11,
"postgres_active_max": 3,
"postgres_waiting_max": 0
}
},
{
"label": "2x1.0cpu_512m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 2059,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 102.95,
"successful_latency_ms": {
"p50": 250.436,
"p95": 628.531,
"p99": 747.701
},
"instances": {
"4192c1dc1495": 1030,
"b1b9281ba7d5": 1029
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "2x1.0cpu_512m",
"replicas": 2,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_2x1.0cpu_512m_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 154.57,
"api_cpu_percent_max": 202.63,
"postgres_cpu_percent_max": 40.47,
"lb_cpu_percent_max": 5.04,
"postgres_connections_max": 21,
"postgres_active_max": 2,
"postgres_waiting_max": 0
}
},
{
"label": "2x1.0cpu_512m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1903,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 95.15,
"successful_latency_ms": {
"p50": 268.314,
"p95": 681.792,
"p99": 778.125
},
"instances": {
"4192c1dc1495": 951,
"b1b9281ba7d5": 952
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "2x1.0cpu_512m",
"replicas": 2,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_2x1.0cpu_512m_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 173.27,
"api_cpu_percent_max": 202.01,
"postgres_cpu_percent_max": 35.54,
"lb_cpu_percent_max": 5.54,
"postgres_connections_max": 21,
"postgres_active_max": 2,
"postgres_waiting_max": 0
}
},
{
"label": "4x0.5cpu_256m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1712,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 85.6,
"successful_latency_ms": {
"p50": 54.575,
"p95": 1227.076,
"p99": 1441.681
},
"instances": {
"31647cf38f06": 428,
"366fd6ad531d": 427,
"5e8eec640f41": 429,
"b454ab735e17": 428
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 117.26,
"api_cpu_percent_max": 145.59,
"postgres_cpu_percent_max": 31.42,
"lb_cpu_percent_max": 4.97,
"postgres_connections_max": 36,
"postgres_active_max": 1,
"postgres_waiting_max": 0
}
},
{
"label": "4x0.5cpu_256m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1832,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 91.6,
"successful_latency_ms": {
"p50": 54.465,
"p95": 1172.42,
"p99": 1391.664
},
"instances": {
"31647cf38f06": 458,
"366fd6ad531d": 457,
"5e8eec640f41": 458,
"b454ab735e17": 459
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 102.6,
"api_cpu_percent_max": 128.44,
"postgres_cpu_percent_max": 28.98,
"lb_cpu_percent_max": 5.56,
"postgres_connections_max": 36,
"postgres_active_max": 1,
"postgres_waiting_max": 0
}
},
{
"label": "4x0.5cpu_256m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1793,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 89.65,
"successful_latency_ms": {
"p50": 54.121,
"p95": 1214.111,
"p99": 1402.774
},
"instances": {
"31647cf38f06": 447,
"366fd6ad531d": 448,
"5e8eec640f41": 448,
"b454ab735e17": 450
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 117.26,
"api_cpu_percent_max": 145.59,
"postgres_cpu_percent_max": 31.42,
"lb_cpu_percent_max": 4.97,
"postgres_connections_max": 36,
"postgres_active_max": 1,
"postgres_waiting_max": 0
}
},
{
"label": "4x0.5cpu_256m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1834,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 91.7,
"successful_latency_ms": {
"p50": 54.092,
"p95": 1196.053,
"p99": 1393.438
},
"instances": {
"31647cf38f06": 459,
"366fd6ad531d": 459,
"5e8eec640f41": 458,
"b454ab735e17": 458
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 102.6,
"api_cpu_percent_max": 128.44,
"postgres_cpu_percent_max": 28.98,
"lb_cpu_percent_max": 5.56,
"postgres_connections_max": 36,
"postgres_active_max": 1,
"postgres_waiting_max": 0
}
},
{
"label": "4x1.0cpu_512m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 4049,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 202.45,
"successful_latency_ms": {
"p50": 54.105,
"p95": 434.635,
"p99": 584.07
},
"instances": {
"8fa1148dad80": 1012,
"a0f4177ca995": 1012,
"c05c147b6fd6": 1013,
"d407b1c5f7da": 1012
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x1.0cpu_512m",
"replicas": 4,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x1.0cpu_512m_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 256.84,
"api_cpu_percent_max": 335.58,
"postgres_cpu_percent_max": 101.78,
"lb_cpu_percent_max": 10.55,
"postgres_connections_max": 36,
"postgres_active_max": 2,
"postgres_waiting_max": 0
}
},
{
"label": "4x1.0cpu_512m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 3980,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 199.0,
"successful_latency_ms": {
"p50": 54.843,
"p95": 410.962,
"p99": 581.582
},
"instances": {
"8fa1148dad80": 996,
"a0f4177ca995": 995,
"c05c147b6fd6": 995,
"d407b1c5f7da": 994
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x1.0cpu_512m",
"replicas": 4,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x1.0cpu_512m_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 266.73,
"api_cpu_percent_max": 336.77,
"postgres_cpu_percent_max": 74.69,
"lb_cpu_percent_max": 9.84,
"postgres_connections_max": 41,
"postgres_active_max": 2,
"postgres_waiting_max": 0
}
},
{
"label": "4x2.0cpu_1g_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 5558,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 277.9,
"successful_latency_ms": {
"p50": 64.486,
"p95": 216.9,
"p99": 285.827
},
"instances": {
"2a0a9d8f3c8f": 1390,
"3318d5ed950d": 1389,
"d160639a0384": 1391,
"fc4afe6a9bb3": 1388
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x2.0cpu_1g",
"replicas": 4,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x2.0cpu_1g_r1.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 380.51,
"api_cpu_percent_max": 399.93,
"postgres_cpu_percent_max": 106.4,
"lb_cpu_percent_max": 15.19,
"postgres_connections_max": 41,
"postgres_active_max": 6,
"postgres_waiting_max": 0
}
},
{
"label": "4x2.0cpu_1g_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 5606,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 280.3,
"successful_latency_ms": {
"p50": 64.3,
"p95": 212.732,
"p99": 306.857
},
"instances": {
"2a0a9d8f3c8f": 1402,
"3318d5ed950d": 1402,
"d160639a0384": 1401,
"fc4afe6a9bb3": 1401
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x2.0cpu_1g",
"replicas": 4,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x2.0cpu_1g_r2.json",
"metrics": {
"samples": 5,
"api_cpu_percent_avg": 438.81,
"api_cpu_percent_max": 526.87,
"postgres_cpu_percent_max": 106.65,
"lb_cpu_percent_max": 16.2,
"postgres_connections_max": 41,
"postgres_active_max": 3,
"postgres_waiting_max": 0
}
}
],
"note": "Closed-loop client on the same Docker host. RPS is HTTP 201 throughput, not a COMMIT counter; p95 covers successful requests only. Two repetitions per profile; medians are reported."
}
+34
View File
@@ -0,0 +1,34 @@
Track 1. Cost of scaling (closed-loop POST /messages)
Fixed total API budget: 1x2.0/1G, 2x1.0/512M, 4x0.5/256M
Profile reps RPS median (min..max) p95 ms median errors
1x2.0cpu_1g 2 100.2 (98.5..101.9) 308.6 0
2x1.0cpu_512m 2 99.0 (95.2..103.0) 655.2 0
4x0.5cpu_256m 2 88.6 (85.6..91.6) 1199.7 0
Growth series: 4 replicas, per-replica CPU/RAM
Profile reps RPS median (min..max) p95 ms median errors
4x0.5cpu_256m 2 90.7 (89.7..91.7) 1205.1 0
4x1.0cpu_512m 2 200.7 (199.0..202.4) 422.8 0
4x2.0cpu_1g 2 279.1 (277.9..280.3) 214.8 0
Resource samples (max over sampled runs):
1x2.0cpu_1g api_cpu=188.95% pg_cpu=32.8% lb_cpu=4.54% pg_conn=11 pg_active=1 pg_wait=0
1x2.0cpu_1g api_cpu=181.64% pg_cpu=29.27% lb_cpu=4.29% pg_conn=11 pg_active=3 pg_wait=0
2x1.0cpu_512m api_cpu=202.63% pg_cpu=40.47% lb_cpu=5.04% pg_conn=21 pg_active=2 pg_wait=0
2x1.0cpu_512m api_cpu=202.01% pg_cpu=35.54% lb_cpu=5.54% pg_conn=21 pg_active=2 pg_wait=0
4x0.5cpu_256m api_cpu=145.59% pg_cpu=31.42% lb_cpu=4.97% pg_conn=36 pg_active=1 pg_wait=0
4x0.5cpu_256m api_cpu=128.44% pg_cpu=28.98% lb_cpu=5.56% pg_conn=36 pg_active=1 pg_wait=0
4x0.5cpu_256m api_cpu=145.59% pg_cpu=31.42% lb_cpu=4.97% pg_conn=36 pg_active=1 pg_wait=0
4x0.5cpu_256m api_cpu=128.44% pg_cpu=28.98% lb_cpu=5.56% pg_conn=36 pg_active=1 pg_wait=0
4x1.0cpu_512m api_cpu=335.58% pg_cpu=101.78% lb_cpu=10.55% pg_conn=36 pg_active=2 pg_wait=0
4x1.0cpu_512m api_cpu=336.77% pg_cpu=74.69% lb_cpu=9.84% pg_conn=41 pg_active=2 pg_wait=0
4x2.0cpu_1g api_cpu=399.93% pg_cpu=106.4% lb_cpu=15.19% pg_conn=41 pg_active=6 pg_wait=0
4x2.0cpu_1g api_cpu=526.87% pg_cpu=106.65% lb_cpu=16.2% pg_conn=41 pg_active=3 pg_wait=0
Interpretation:
- At a fixed total 2 CPU budget, splitting the budget across replicas does not
increase throughput; the per-request CPU cost dominates and p95 grows.
- In the growth series, 4 replicas improve from ~90 to ~280 RPS as total API CPU
grows from 2 to 8 cores, then the curve flattens: PostgreSQL (1 CPU) and the
write/idempotency transaction become the shared bottleneck.
- This is a local comparative experiment, not a production capacity guarantee.
Binary file not shown.
+380
View File
@@ -0,0 +1,380 @@
{
"scaling_fixed_total": [
{
"label": "1x2.0cpu_1g_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 2038,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 101.9,
"successful_latency_ms": {
"p50": 228.683,
"p95": 303.852,
"p99": 341.608
},
"instances": {
"7a402f4155a4": 2038
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "1x2.0cpu_1g",
"replicas": 1,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_1x2.0cpu_1g_r1.json"
},
{
"label": "1x2.0cpu_1g_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1969,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 98.45,
"successful_latency_ms": {
"p50": 237.575,
"p95": 313.417,
"p99": 367.208
},
"instances": {
"7a402f4155a4": 1969
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "1x2.0cpu_1g",
"replicas": 1,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_1x2.0cpu_1g_r2.json"
},
{
"label": "2x1.0cpu_512m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 2059,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 102.95,
"successful_latency_ms": {
"p50": 250.436,
"p95": 628.531,
"p99": 747.701
},
"instances": {
"4192c1dc1495": 1030,
"b1b9281ba7d5": 1029
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "2x1.0cpu_512m",
"replicas": 2,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_2x1.0cpu_512m_r1.json"
},
{
"label": "2x1.0cpu_512m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1903,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 95.15,
"successful_latency_ms": {
"p50": 268.314,
"p95": 681.792,
"p99": 778.125
},
"instances": {
"4192c1dc1495": 951,
"b1b9281ba7d5": 952
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "2x1.0cpu_512m",
"replicas": 2,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_2x1.0cpu_512m_r2.json"
},
{
"label": "4x0.5cpu_256m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1712,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 85.6,
"successful_latency_ms": {
"p50": 54.575,
"p95": 1227.076,
"p99": 1441.681
},
"instances": {
"31647cf38f06": 428,
"366fd6ad531d": 427,
"5e8eec640f41": 429,
"b454ab735e17": 428
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r1.json"
},
{
"label": "4x0.5cpu_256m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1832,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 91.6,
"successful_latency_ms": {
"p50": 54.465,
"p95": 1172.42,
"p99": 1391.664
},
"instances": {
"31647cf38f06": 458,
"366fd6ad531d": 457,
"5e8eec640f41": 458,
"b454ab735e17": 459
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r2.json"
}
],
"growth_four_replicas": [
{
"label": "4x0.5cpu_256m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1793,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 89.65,
"successful_latency_ms": {
"p50": 54.121,
"p95": 1214.111,
"p99": 1402.774
},
"instances": {
"31647cf38f06": 447,
"366fd6ad531d": 448,
"5e8eec640f41": 448,
"b454ab735e17": 450
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r1.json"
},
{
"label": "4x0.5cpu_256m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 1834,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 91.7,
"successful_latency_ms": {
"p50": 54.092,
"p95": 1196.053,
"p99": 1393.438
},
"instances": {
"31647cf38f06": 459,
"366fd6ad531d": 459,
"5e8eec640f41": 458,
"b454ab735e17": 458
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x0.5cpu_256m",
"replicas": 4,
"cpu": "0.5",
"mem": "256M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x0.5cpu_256m_r2.json"
},
{
"label": "4x1.0cpu_512m_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 4049,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 202.45,
"successful_latency_ms": {
"p50": 54.105,
"p95": 434.635,
"p99": 584.07
},
"instances": {
"8fa1148dad80": 1012,
"a0f4177ca995": 1012,
"c05c147b6fd6": 1013,
"d407b1c5f7da": 1012
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x1.0cpu_512m",
"replicas": 4,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x1.0cpu_512m_r1.json"
},
{
"label": "4x1.0cpu_512m_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 3980,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 199.0,
"successful_latency_ms": {
"p50": 54.843,
"p95": 410.962,
"p99": 581.582
},
"instances": {
"8fa1148dad80": 996,
"a0f4177ca995": 995,
"c05c147b6fd6": 995,
"d407b1c5f7da": 994
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x1.0cpu_512m",
"replicas": 4,
"cpu": "1.0",
"mem": "512M",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x1.0cpu_512m_r2.json"
},
{
"label": "4x2.0cpu_1g_r1",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 5558,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 277.9,
"successful_latency_ms": {
"p50": 64.486,
"p95": 216.9,
"p99": 285.827
},
"instances": {
"2a0a9d8f3c8f": 1390,
"3318d5ed950d": 1389,
"d160639a0384": 1391,
"fc4afe6a9bb3": 1388
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x2.0cpu_1g",
"replicas": 4,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 1,
"metrics_file": "evidence\\track1\\metrics_4x2.0cpu_1g_r1.json"
},
{
"label": "4x2.0cpu_1g_r2",
"base_url": "http://localhost:18081",
"concurrency": 24,
"warmup_seconds": 2.0,
"duration_seconds": 20.0,
"successful_requests": 5606,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 280.3,
"successful_latency_ms": {
"p50": 64.3,
"p95": 212.732,
"p99": 306.857
},
"instances": {
"2a0a9d8f3c8f": 1402,
"3318d5ed950d": 1402,
"d160639a0384": 1401,
"fc4afe6a9bb3": 1401
},
"note": "closed-loop client on the same host; latency covers successes only; compare runs under the same client and host conditions",
"profile": {
"name": "4x2.0cpu_1g",
"replicas": 4,
"cpu": "2.0",
"mem": "1G",
"concurrency": 24
},
"repetition": 2,
"metrics_file": "evidence\\track1\\metrics_4x2.0cpu_1g_r2.json"
}
]
}