Дополнить доказательства трека 1 по замечаниям ревью
Измерения (raw-файлы, сводки, отчёт):
- контрольный A/B на бюджете по умолчанию (`abdiag`, 3+3 повтора): A упирается в
250 req/s и отдаёт 503 `unavailable` (4/894/2813 на 300/350/400), B держит
398.7 req/s без единого 5xx;
- блок «почему» на одном темпе (900 и 1500 req/s, 2 повтора x 5 конфигураций):
перераспределение того же бюджета не меняет потолок (820–854 req/s), разделение
бюджета между репликами поднимает время горячего оператора с 1.56 до 17.3–17.9 ms,
ожидания `LWLock:WALWrite`/`Lock:transactionid` общие для всех реплик;
- колено текущей сборки (900–2200 req/s, N=1 и N=4): ≈1200 req/s против ≈700 у
серии A, за коленом одна реплика с полным бюджетом не хуже четырёх;
- пара прогонов HAProxy 0.25 против 1.0 CPU на 1500 req/s: результат одинаков,
при квоте 1.0 балансировщик использует те же 25 % ядра.
Харнесс `scripts/lab3/lab3.py`:
- `--loadgen-memory` для подкоманды `run` (прогон колена падал на разборе аргументов);
- суффикс вывода A/B для контрольной серии (`summary-ab-abdiag.md`, `ab-verdict-abdiag.json`);
- исправлено затенение `header()` локальной переменной в `cmd_check`, из-за которого
падала проверка `check spread`;
- сэмплер: классы ответов LB (`hrsp_*`), ожидания сессий PostgreSQL (`wait_event`),
операторы `idempotency_keys` в дельтах `pg_stat_statements`.
Доказательства и документы: пересняты `evidence/level3/{smoke,persistence}` и
`evidence/level4/{dependency-faults,spread,idempotency-concurrency}`, обновлены
сводки и графики `evidence/track1/*`, `evidence/README.md` (метки и состав сводок),
`REPORT.md` (разбор отказов стороны A, бюджет серии, оговорки о валидности данных,
точные команды воспроизведения, «почему» закрыто измерением).
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"budget": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-before",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"captured_at": "2026-10-15T23:22:01Z",
|
||||
"ceiling": {
|
||||
"A": 250.0,
|
||||
"B": 398.67
|
||||
},
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"images": {
|
||||
"A": "mtusi-messenger:lab3-before",
|
||||
"B": "mtusi-messenger:lab3-after"
|
||||
},
|
||||
"prefix": "abdiag",
|
||||
"rule": "медиана меняется ≥5 % и диапазоны min/max повторов не пересекаются",
|
||||
"verdicts": [
|
||||
{
|
||||
"change_percent": 0.0,
|
||||
"confirmed": false,
|
||||
"rate": 50
|
||||
},
|
||||
{
|
||||
"change_percent": 0.0,
|
||||
"confirmed": false,
|
||||
"rate": 100
|
||||
},
|
||||
{
|
||||
"change_percent": 0.0,
|
||||
"confirmed": false,
|
||||
"rate": 150
|
||||
},
|
||||
{
|
||||
"change_percent": 0.0,
|
||||
"confirmed": false,
|
||||
"rate": 200
|
||||
},
|
||||
{
|
||||
"change_percent": 0.03,
|
||||
"confirmed": false,
|
||||
"rate": 250
|
||||
},
|
||||
{
|
||||
"change_percent": 29.61,
|
||||
"confirmed": true,
|
||||
"rate": 300
|
||||
},
|
||||
{
|
||||
"change_percent": 222.31,
|
||||
"confirmed": true,
|
||||
"rate": 350
|
||||
},
|
||||
{
|
||||
"change_percent": 200.36,
|
||||
"confirmed": true,
|
||||
"rate": 400
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,12 +1,34 @@
|
||||
{
|
||||
"budget": {
|
||||
"API_CPUS_PER_REPLICA": "1.5",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-before",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "6.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "20",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "2.0",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "3.0",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"captured_at": "2026-10-15T23:56:11Z",
|
||||
"ceiling": {
|
||||
"A": 257.8,
|
||||
"B": 400.07
|
||||
},
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"images": {
|
||||
"A": "mtusi-messenger:lab3-before",
|
||||
"B": "mtusi-messenger:lab3-after"
|
||||
},
|
||||
"prefix": "ab",
|
||||
"rule": "медиана меняется ≥5 % и диапазоны min/max повторов не пересекаются",
|
||||
"verdicts": [
|
||||
{
|
||||
"change_percent": 0.14,
|
||||
|
||||
|
After Width: | Height: | Size: 147 KiB |
|
After Width: | Height: | Size: 173 KiB |
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 120 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 120 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 116 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 120 KiB |
|
After Width: | Height: | Size: 105 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 136 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 88 KiB |
|
After Width: | Height: | Size: 88 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 115 KiB |
|
After Width: | Height: | Size: 112 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 120 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 117 KiB |
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 8670,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 11357.59,
|
||||
"http_reqs": 18365,
|
||||
"iterations": 18335,
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#A#rep1",
|
||||
"mode": "write",
|
||||
"profile": "hot",
|
||||
"stderr_tail": [
|
||||
"time=\"2026-10-15T22:59:23Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_300",
|
||||
"time=\"2026-10-15T22:59:30Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_350",
|
||||
"time=\"2026-10-15T22:59:45Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_400"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 50.07,
|
||||
"avg": 6.23,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 51.83,
|
||||
"p50": 5.44,
|
||||
"p95": 9.47,
|
||||
"p99": 17.88,
|
||||
"rate": 50,
|
||||
"requests": 751,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 751,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 100.07,
|
||||
"avg": 7.76,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 310.61,
|
||||
"p50": 5.11,
|
||||
"p95": 9.95,
|
||||
"p99": 78.41,
|
||||
"rate": 100,
|
||||
"requests": 1501,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 1501,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 150.07,
|
||||
"avg": 11.07,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 529.96,
|
||||
"p50": 4.74,
|
||||
"p95": 20.65,
|
||||
"p99": 179.64,
|
||||
"rate": 150,
|
||||
"requests": 2251,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 2251,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 200.07,
|
||||
"avg": 5.99,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 229.06,
|
||||
"p50": 4.14,
|
||||
"p95": 9.2,
|
||||
"p99": 46.76,
|
||||
"rate": 200,
|
||||
"requests": 3001,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3001,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 250,
|
||||
"avg": 6.94,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 135.67,
|
||||
"p50": 5.6,
|
||||
"p95": 11.01,
|
||||
"p99": 38.99,
|
||||
"rate": 250,
|
||||
"requests": 3750,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3750,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 231.47,
|
||||
"avg": 2611.89,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 9968.86,
|
||||
"p50": 1538.81,
|
||||
"p95": 7272.68,
|
||||
"p99": 7868.57,
|
||||
"rate": 300,
|
||||
"requests": 3472,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3472,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 108.73,
|
||||
"avg": 9466.18,
|
||||
"duration_s": 15,
|
||||
"failed": 356,
|
||||
"max": 13409.09,
|
||||
"p50": 9903.97,
|
||||
"p95": 12118.33,
|
||||
"p99": 12733.98,
|
||||
"rate": 350,
|
||||
"requests": 1631,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 1275,
|
||||
"other": 0,
|
||||
"server_5xx": 356
|
||||
},
|
||||
"vus_active": 918
|
||||
},
|
||||
{
|
||||
"achieved_rps": 131.87,
|
||||
"avg": 7990.69,
|
||||
"duration_s": 15,
|
||||
"failed": 1125,
|
||||
"max": 16302.37,
|
||||
"p50": 9759.27,
|
||||
"p95": 13986.51,
|
||||
"p99": 14709.04,
|
||||
"rate": 400,
|
||||
"requests": 1978,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 853,
|
||||
"other": 0,
|
||||
"server_5xx": 1125
|
||||
},
|
||||
"vus_active": 335
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 2700
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 2194,
|
||||
"chats": 747,
|
||||
"idempotency_keys": 1042997,
|
||||
"messages": 1042997,
|
||||
"users": 136
|
||||
},
|
||||
"finished_at": "2026-10-15T23:00:05Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
3.9,
|
||||
4.81,
|
||||
6.31
|
||||
],
|
||||
"mem_available_mib": 5355,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#A#rep1",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "hot",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"b990711d1295": {
|
||||
"container": "b990711d1295",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T22:57:13.32335473Z"
|
||||
},
|
||||
"ce4082527311": {
|
||||
"container": "ce4082527311",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T22:57:12.831841086Z"
|
||||
},
|
||||
"e42143b9cd6d": {
|
||||
"container": "e42143b9cd6d",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T22:57:12.995283342Z"
|
||||
},
|
||||
"f3dc3884cbe2": {
|
||||
"container": "f3dc3884cbe2",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T22:57:13.15770317Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 3505,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-before",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T22:57:51Z",
|
||||
"step_seconds": 15,
|
||||
"steps": [
|
||||
50,
|
||||
100,
|
||||
150,
|
||||
200,
|
||||
250,
|
||||
300,
|
||||
350,
|
||||
400
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 8503,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 10255.6,
|
||||
"http_reqs": 18534,
|
||||
"iterations": 18504,
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#A#rep2",
|
||||
"mode": "write",
|
||||
"profile": "hot",
|
||||
"stderr_tail": [
|
||||
"time=\"2026-10-15T23:07:50Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_300",
|
||||
"time=\"2026-10-15T23:07:56Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_350",
|
||||
"time=\"2026-10-15T23:08:12Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_400"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 50.07,
|
||||
"avg": 6.02,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 47.65,
|
||||
"p50": 5.29,
|
||||
"p95": 9.34,
|
||||
"p99": 11.05,
|
||||
"rate": 50,
|
||||
"requests": 751,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 751,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 100.07,
|
||||
"avg": 5.64,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 151.23,
|
||||
"p50": 4.88,
|
||||
"p95": 7.9,
|
||||
"p99": 15.62,
|
||||
"rate": 100,
|
||||
"requests": 1501,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 1501,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 150.07,
|
||||
"avg": 6.93,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 113.96,
|
||||
"p50": 4.82,
|
||||
"p95": 10.96,
|
||||
"p99": 54.43,
|
||||
"rate": 150,
|
||||
"requests": 2251,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 2251,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 200.07,
|
||||
"avg": 5.75,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 79.94,
|
||||
"p50": 4.36,
|
||||
"p95": 9.51,
|
||||
"p99": 31.63,
|
||||
"rate": 200,
|
||||
"requests": 3001,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3001,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 249.2,
|
||||
"avg": 16.31,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 833.96,
|
||||
"p50": 5.48,
|
||||
"p95": 43.71,
|
||||
"p99": 319.73,
|
||||
"rate": 250,
|
||||
"requests": 3738,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3738,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 228.27,
|
||||
"avg": 2772.29,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 10014.3,
|
||||
"p50": 1924.33,
|
||||
"p95": 7440.46,
|
||||
"p99": 8727.82,
|
||||
"rate": 300,
|
||||
"requests": 3424,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3424,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 107.4,
|
||||
"avg": 9791.12,
|
||||
"duration_s": 15,
|
||||
"failed": 211,
|
||||
"max": 14460.97,
|
||||
"p50": 10452.46,
|
||||
"p95": 12841.79,
|
||||
"p99": 13459.58,
|
||||
"rate": 350,
|
||||
"requests": 1611,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 1400,
|
||||
"other": 0,
|
||||
"server_5xx": 211
|
||||
},
|
||||
"vus_active": 933
|
||||
},
|
||||
{
|
||||
"achieved_rps": 148.47,
|
||||
"avg": 6814.84,
|
||||
"duration_s": 15,
|
||||
"failed": 721,
|
||||
"max": 13134.85,
|
||||
"p50": 8696.57,
|
||||
"p95": 10162.87,
|
||||
"p99": 10688.47,
|
||||
"rate": 400,
|
||||
"requests": 2227,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 1506,
|
||||
"other": 0,
|
||||
"server_5xx": 721
|
||||
},
|
||||
"vus_active": 177
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 2700
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 2626,
|
||||
"chats": 891,
|
||||
"idempotency_keys": 1119020,
|
||||
"messages": 1119020,
|
||||
"users": 154
|
||||
},
|
||||
"finished_at": "2026-10-15T23:08:30Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
6.41,
|
||||
5.64,
|
||||
6.06
|
||||
],
|
||||
"mem_available_mib": 5570,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#A#rep2",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "hot",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"23be4f9e7dce": {
|
||||
"container": "23be4f9e7dce",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:05:39.208723176Z"
|
||||
},
|
||||
"5cfcfb39352c": {
|
||||
"container": "5cfcfb39352c",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:05:39.316818828Z"
|
||||
},
|
||||
"cd553a5b0799": {
|
||||
"container": "cd553a5b0799",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:05:39.427491054Z"
|
||||
},
|
||||
"f614ca30bf2c": {
|
||||
"container": "f614ca30bf2c",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:05:39.542820702Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 3459,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-before",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:06:18Z",
|
||||
"step_seconds": 15,
|
||||
"steps": [
|
||||
50,
|
||||
100,
|
||||
150,
|
||||
200,
|
||||
250,
|
||||
300,
|
||||
350,
|
||||
400
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 8462,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 10648.57,
|
||||
"http_reqs": 18575,
|
||||
"iterations": 18545,
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#A#rep3",
|
||||
"mode": "write",
|
||||
"profile": "hot",
|
||||
"stderr_tail": [
|
||||
" Container mtusi-lab3-loadgen-run-04ddb000a64a Created ",
|
||||
"time=\"2026-10-15T23:10:42Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_350",
|
||||
"time=\"2026-10-15T23:10:57Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_400"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 50.07,
|
||||
"avg": 5.7,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 65.28,
|
||||
"p50": 5.07,
|
||||
"p95": 8.8,
|
||||
"p99": 9.75,
|
||||
"rate": 50,
|
||||
"requests": 751,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 751,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 100.07,
|
||||
"avg": 5.14,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 57.58,
|
||||
"p50": 4.58,
|
||||
"p95": 7.55,
|
||||
"p99": 11.32,
|
||||
"rate": 100,
|
||||
"requests": 1501,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 1501,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 150.07,
|
||||
"avg": 4.84,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 44.34,
|
||||
"p50": 4.34,
|
||||
"p95": 7.02,
|
||||
"p99": 13.6,
|
||||
"rate": 150,
|
||||
"requests": 2251,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 2251,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 200.07,
|
||||
"avg": 4.98,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 69.98,
|
||||
"p50": 4.12,
|
||||
"p95": 8.6,
|
||||
"p99": 17.87,
|
||||
"rate": 200,
|
||||
"requests": 3001,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3001,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 250.07,
|
||||
"avg": 5.48,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 49.16,
|
||||
"p50": 4.65,
|
||||
"p95": 8.65,
|
||||
"p99": 16.65,
|
||||
"rate": 250,
|
||||
"requests": 3751,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3751,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 244.73,
|
||||
"avg": 1856.08,
|
||||
"duration_s": 15,
|
||||
"failed": 4,
|
||||
"max": 10490.92,
|
||||
"p50": 904.2,
|
||||
"p95": 6799.33,
|
||||
"p99": 8129.89,
|
||||
"rate": 300,
|
||||
"requests": 3671,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3667,
|
||||
"other": 0,
|
||||
"server_5xx": 4
|
||||
},
|
||||
"vus_active": 912
|
||||
},
|
||||
{
|
||||
"achieved_rps": 108.53,
|
||||
"avg": 9229.15,
|
||||
"duration_s": 15,
|
||||
"failed": 327,
|
||||
"max": 14418.2,
|
||||
"p50": 9600.7,
|
||||
"p95": 12121.91,
|
||||
"p99": 12938.42,
|
||||
"rate": 350,
|
||||
"requests": 1628,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 1301,
|
||||
"other": 0,
|
||||
"server_5xx": 327
|
||||
},
|
||||
"vus_active": 935
|
||||
},
|
||||
{
|
||||
"achieved_rps": 132.73,
|
||||
"avg": 7901.66,
|
||||
"duration_s": 15,
|
||||
"failed": 967,
|
||||
"max": 16212.65,
|
||||
"p50": 9468.34,
|
||||
"p95": 12234,
|
||||
"p99": 13418.87,
|
||||
"rate": 400,
|
||||
"requests": 1991,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 1024,
|
||||
"other": 0,
|
||||
"server_5xx": 967
|
||||
},
|
||||
"vus_active": 429
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 2568
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 2770,
|
||||
"chats": 939,
|
||||
"idempotency_keys": 1137768,
|
||||
"messages": 1137768,
|
||||
"users": 160
|
||||
},
|
||||
"finished_at": "2026-10-15T23:11:15Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
7.0,
|
||||
5.64,
|
||||
5.95
|
||||
],
|
||||
"mem_available_mib": 5530,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#A#rep3",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "hot",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"23be4f9e7dce": {
|
||||
"container": "23be4f9e7dce",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:05:39.208723176Z"
|
||||
},
|
||||
"5cfcfb39352c": {
|
||||
"container": "5cfcfb39352c",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:05:39.316818828Z"
|
||||
},
|
||||
"cd553a5b0799": {
|
||||
"container": "cd553a5b0799",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:05:39.427491054Z"
|
||||
},
|
||||
"f614ca30bf2c": {
|
||||
"container": "f614ca30bf2c",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:ee5e58ef4db733ba4bc049737440c033bc0f174a6e4d8fd6def8de191e15fa54",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:05:39.542820702Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 3427,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-before",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:09:04Z",
|
||||
"step_seconds": 15,
|
||||
"steps": [
|
||||
50,
|
||||
100,
|
||||
150,
|
||||
200,
|
||||
250,
|
||||
300,
|
||||
350,
|
||||
400
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 58,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 13.32,
|
||||
"http_reqs": 26980,
|
||||
"iterations": 26950,
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#B#rep1",
|
||||
"mode": "write",
|
||||
"profile": "hot",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-cb79973f000a Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-cb79973f000a Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 50.07,
|
||||
"avg": 5.08,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 38.77,
|
||||
"p50": 4.61,
|
||||
"p95": 7.19,
|
||||
"p99": 9.34,
|
||||
"rate": 50,
|
||||
"requests": 751,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 751,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 100.07,
|
||||
"avg": 5.39,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 118.64,
|
||||
"p50": 4.19,
|
||||
"p95": 7.56,
|
||||
"p99": 38.88,
|
||||
"rate": 100,
|
||||
"requests": 1501,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 1501,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 150.07,
|
||||
"avg": 4.07,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 63.16,
|
||||
"p50": 3.63,
|
||||
"p95": 5.22,
|
||||
"p99": 11.69,
|
||||
"rate": 150,
|
||||
"requests": 2251,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 2251,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 200.07,
|
||||
"avg": 5.23,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 120.71,
|
||||
"p50": 3.93,
|
||||
"p95": 7.29,
|
||||
"p99": 36.32,
|
||||
"rate": 200,
|
||||
"requests": 3001,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3001,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 250.07,
|
||||
"avg": 4.49,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 45.37,
|
||||
"p50": 3.73,
|
||||
"p95": 6.88,
|
||||
"p99": 15.61,
|
||||
"rate": 250,
|
||||
"requests": 3751,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3751,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 300.07,
|
||||
"avg": 5.29,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 68.58,
|
||||
"p50": 4.46,
|
||||
"p95": 7.62,
|
||||
"p99": 32.64,
|
||||
"rate": 300,
|
||||
"requests": 4501,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 4501,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 348.67,
|
||||
"avg": 10.71,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 504.06,
|
||||
"p50": 4.44,
|
||||
"p95": 21.8,
|
||||
"p99": 209.93,
|
||||
"rate": 350,
|
||||
"requests": 5230,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 5230,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 397.6,
|
||||
"avg": 19.37,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 816.47,
|
||||
"p50": 4.42,
|
||||
"p95": 133.67,
|
||||
"p99": 285.25,
|
||||
"rate": 400,
|
||||
"requests": 5964,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 5964,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 231
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 2338,
|
||||
"chats": 795,
|
||||
"idempotency_keys": 1071448,
|
||||
"messages": 1071448,
|
||||
"users": 142
|
||||
},
|
||||
"finished_at": "2026-10-15T23:02:54Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
6.44,
|
||||
5.36,
|
||||
6.27
|
||||
],
|
||||
"mem_available_mib": 5309,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#B#rep1",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "hot",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"9470cb6a18b1": {
|
||||
"container": "9470cb6a18b1",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:00:12.964789417Z"
|
||||
},
|
||||
"96c3555d0e59": {
|
||||
"container": "96c3555d0e59",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:00:13.108026947Z"
|
||||
},
|
||||
"f62e9f6d234a": {
|
||||
"container": "f62e9f6d234a",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:00:12.715512106Z"
|
||||
},
|
||||
"fc57e913aecd": {
|
||||
"container": "fc57e913aecd",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:00:12.396994825Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 3225,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:00:51Z",
|
||||
"step_seconds": 15,
|
||||
"steps": [
|
||||
50,
|
||||
100,
|
||||
150,
|
||||
200,
|
||||
250,
|
||||
300,
|
||||
350,
|
||||
400
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 10,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 8.23,
|
||||
"http_reqs": 27028,
|
||||
"iterations": 26998,
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#B#rep2",
|
||||
"mode": "write",
|
||||
"profile": "hot",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-77279cb3dd88 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-77279cb3dd88 Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 50.07,
|
||||
"avg": 4.62,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 40.87,
|
||||
"p50": 4.18,
|
||||
"p95": 6.67,
|
||||
"p99": 8.41,
|
||||
"rate": 50,
|
||||
"requests": 751,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 751,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 100.07,
|
||||
"avg": 4.2,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 28.01,
|
||||
"p50": 3.85,
|
||||
"p95": 6.12,
|
||||
"p99": 7.82,
|
||||
"rate": 100,
|
||||
"requests": 1501,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 1501,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 150.07,
|
||||
"avg": 4.27,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 73.68,
|
||||
"p50": 3.73,
|
||||
"p95": 5.9,
|
||||
"p99": 14.46,
|
||||
"rate": 150,
|
||||
"requests": 2251,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 2251,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 200.07,
|
||||
"avg": 4.43,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 219.72,
|
||||
"p50": 3.48,
|
||||
"p95": 6.52,
|
||||
"p99": 20.67,
|
||||
"rate": 200,
|
||||
"requests": 3001,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3001,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 250.07,
|
||||
"avg": 5.29,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 89.04,
|
||||
"p50": 3.81,
|
||||
"p95": 8.28,
|
||||
"p99": 38.47,
|
||||
"rate": 250,
|
||||
"requests": 3751,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3751,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 299.4,
|
||||
"avg": 11.82,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 517,
|
||||
"p50": 4.92,
|
||||
"p95": 33.49,
|
||||
"p99": 222.54,
|
||||
"rate": 300,
|
||||
"requests": 4491,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 4491,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 350.07,
|
||||
"avg": 5.09,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 74.91,
|
||||
"p50": 4.47,
|
||||
"p95": 7.8,
|
||||
"p99": 25.3,
|
||||
"rate": 350,
|
||||
"requests": 5251,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 5251,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 400.07,
|
||||
"avg": 5.64,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 133.21,
|
||||
"p50": 4.35,
|
||||
"p95": 10.38,
|
||||
"p99": 40.42,
|
||||
"rate": 400,
|
||||
"requests": 6001,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 6001,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 190
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 2482,
|
||||
"chats": 843,
|
||||
"idempotency_keys": 1099947,
|
||||
"messages": 1099947,
|
||||
"users": 148
|
||||
},
|
||||
"finished_at": "2026-10-15T23:05:33Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
6.15,
|
||||
5.37,
|
||||
6.1
|
||||
],
|
||||
"mem_available_mib": 5405,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#B#rep2",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "hot",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"9470cb6a18b1": {
|
||||
"container": "9470cb6a18b1",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:00:12.964789417Z"
|
||||
},
|
||||
"96c3555d0e59": {
|
||||
"container": "96c3555d0e59",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:00:13.108026947Z"
|
||||
},
|
||||
"f62e9f6d234a": {
|
||||
"container": "f62e9f6d234a",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:00:12.715512106Z"
|
||||
},
|
||||
"fc57e913aecd": {
|
||||
"container": "fc57e913aecd",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:00:12.396994825Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 3236,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:03:29Z",
|
||||
"step_seconds": 15,
|
||||
"steps": [
|
||||
50,
|
||||
100,
|
||||
150,
|
||||
200,
|
||||
250,
|
||||
300,
|
||||
350,
|
||||
400
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 25,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 10.53,
|
||||
"http_reqs": 27012,
|
||||
"iterations": 26982,
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#B#rep3",
|
||||
"mode": "write",
|
||||
"profile": "hot",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-765208351878 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-765208351878 Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 50.07,
|
||||
"avg": 4.83,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 9.19,
|
||||
"p50": 4.5,
|
||||
"p95": 7.18,
|
||||
"p99": 8.05,
|
||||
"rate": 50,
|
||||
"requests": 751,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 751,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 100.07,
|
||||
"avg": 4.74,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 67.02,
|
||||
"p50": 4.1,
|
||||
"p95": 6.63,
|
||||
"p99": 18.12,
|
||||
"rate": 100,
|
||||
"requests": 1501,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 1501,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 150.07,
|
||||
"avg": 4.36,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 126,
|
||||
"p50": 3.63,
|
||||
"p95": 5.53,
|
||||
"p99": 18.83,
|
||||
"rate": 150,
|
||||
"requests": 2251,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 2251,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 200.07,
|
||||
"avg": 4.17,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 134.55,
|
||||
"p50": 3.53,
|
||||
"p95": 6.64,
|
||||
"p99": 12.39,
|
||||
"rate": 200,
|
||||
"requests": 3001,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3001,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 250.07,
|
||||
"avg": 4.61,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 58.84,
|
||||
"p50": 3.7,
|
||||
"p95": 7.03,
|
||||
"p99": 20.68,
|
||||
"rate": 250,
|
||||
"requests": 3751,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 3751,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 300,
|
||||
"avg": 5.21,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 97.37,
|
||||
"p50": 4.38,
|
||||
"p95": 7.54,
|
||||
"p99": 29.47,
|
||||
"rate": 300,
|
||||
"requests": 4500,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 4500,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 349.8,
|
||||
"avg": 10.05,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 525.57,
|
||||
"p50": 4.59,
|
||||
"p95": 26.07,
|
||||
"p99": 169.93,
|
||||
"rate": 350,
|
||||
"requests": 5247,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 5247,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 398.67,
|
||||
"avg": 13.43,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 490.68,
|
||||
"p50": 4.41,
|
||||
"p95": 59.72,
|
||||
"p99": 220.55,
|
||||
"rate": 400,
|
||||
"requests": 5980,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 5980,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 198
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 2914,
|
||||
"chats": 987,
|
||||
"idempotency_keys": 1166251,
|
||||
"messages": 1166251,
|
||||
"users": 166
|
||||
},
|
||||
"finished_at": "2026-10-15T23:14:03Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
5.73,
|
||||
5.44,
|
||||
5.81
|
||||
],
|
||||
"mem_available_mib": 5672,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "ladder",
|
||||
"label": "abdiag#B#rep3",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "hot",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"00edf4d82881": {
|
||||
"container": "00edf4d82881",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:11:21.869769642Z"
|
||||
},
|
||||
"02747fcba8d8": {
|
||||
"container": "02747fcba8d8",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:11:21.65082314Z"
|
||||
},
|
||||
"67bd18d8dada": {
|
||||
"container": "67bd18d8dada",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:11:21.987624417Z"
|
||||
},
|
||||
"ef2bd6195705": {
|
||||
"container": "ef2bd6195705",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:11:21.760099235Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 3225,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:12:00Z",
|
||||
"step_seconds": 15,
|
||||
"steps": [
|
||||
50,
|
||||
100,
|
||||
150,
|
||||
200,
|
||||
250,
|
||||
300,
|
||||
350,
|
||||
400
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 610,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 267.24,
|
||||
"http_reqs": 53421,
|
||||
"iterations": 53391,
|
||||
"kind": "steady",
|
||||
"label": "block#n1#rep1",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-3203db35723e Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-3203db35723e Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 889.85,
|
||||
"avg": 56.47,
|
||||
"duration_s": 60,
|
||||
"failed": 0,
|
||||
"max": 765.88,
|
||||
"p50": 4.3,
|
||||
"p95": 267.26,
|
||||
"p99": 442.85,
|
||||
"rate": 900,
|
||||
"requests": 53391,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 53391,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 436
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3202,
|
||||
"chats": 1083,
|
||||
"idempotency_keys": 1444577,
|
||||
"messages": 1444577,
|
||||
"users": 178
|
||||
},
|
||||
"finished_at": "2026-10-15T23:29:03Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
11.53,
|
||||
8.01,
|
||||
6.32
|
||||
],
|
||||
"mem_available_mib": 6109,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "block#n1#rep1",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"577063dae39a": {
|
||||
"container": "577063dae39a",
|
||||
"cpus": 3.0,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 1536,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:27:56.481634736Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1503,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "3.0",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "1536m",
|
||||
"API_REPLICAS": "1",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:28:02Z",
|
||||
"step_seconds": 60,
|
||||
"steps": [
|
||||
900
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 2221,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 1121.3,
|
||||
"http_reqs": 51809,
|
||||
"iterations": 51779,
|
||||
"kind": "steady",
|
||||
"label": "block#n1#rep2",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-58c89d461586 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-58c89d461586 Created ",
|
||||
"time=\"2026-10-15T23:40:14Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=steady"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 862.98,
|
||||
"avg": 477.87,
|
||||
"duration_s": 60,
|
||||
"failed": 0,
|
||||
"max": 1477.63,
|
||||
"p50": 486.59,
|
||||
"p95": 1121.38,
|
||||
"p99": 1239.73,
|
||||
"rate": 900,
|
||||
"requests": 51779,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 51779,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 900
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3850,
|
||||
"chats": 1299,
|
||||
"idempotency_keys": 1921956,
|
||||
"messages": 1921956,
|
||||
"users": 205
|
||||
},
|
||||
"finished_at": "2026-10-15T23:40:24Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
12.94,
|
||||
15.93,
|
||||
11.58
|
||||
],
|
||||
"mem_available_mib": 5767,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "block#n1#rep2",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"5558406e61ca": {
|
||||
"container": "5558406e61ca",
|
||||
"cpus": 3.0,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 1536,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:39:16.135401464Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1530,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "3.0",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "1536m",
|
||||
"API_REPLICAS": "1",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:39:21Z",
|
||||
"step_seconds": 60,
|
||||
"steps": [
|
||||
900
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 367,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 240.64,
|
||||
"http_reqs": 53665,
|
||||
"iterations": 53635,
|
||||
"kind": "steady",
|
||||
"label": "block#n4#rep1",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-0438cff2d222 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-0438cff2d222 Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 893.92,
|
||||
"avg": 76.95,
|
||||
"duration_s": 60,
|
||||
"failed": 0,
|
||||
"max": 556.65,
|
||||
"p50": 46.57,
|
||||
"p95": 240.5,
|
||||
"p99": 349.8,
|
||||
"rate": 900,
|
||||
"requests": 53635,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 53635,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 296
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3274,
|
||||
"chats": 1107,
|
||||
"idempotency_keys": 1498212,
|
||||
"messages": 1498212,
|
||||
"users": 181
|
||||
},
|
||||
"finished_at": "2026-10-15T23:30:19Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
18.94,
|
||||
10.69,
|
||||
7.36
|
||||
],
|
||||
"mem_available_mib": 5768,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "block#n4#rep1",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"12763cbd3bb4": {
|
||||
"container": "12763cbd3bb4",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:29:11.16219698Z"
|
||||
},
|
||||
"703731295df0": {
|
||||
"container": "703731295df0",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:29:10.760336329Z"
|
||||
},
|
||||
"8d7ead02214b": {
|
||||
"container": "8d7ead02214b",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:29:10.49987357Z"
|
||||
},
|
||||
"bd5d5f346f96": {
|
||||
"container": "bd5d5f346f96",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:29:11.017097Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1644,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:29:16Z",
|
||||
"step_seconds": 60,
|
||||
"steps": [
|
||||
900
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 481,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 338.69,
|
||||
"http_reqs": 53550,
|
||||
"iterations": 53520,
|
||||
"kind": "steady",
|
||||
"label": "block#n4#rep2",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-42ac6d734583 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-42ac6d734583 Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 892,
|
||||
"avg": 158.25,
|
||||
"duration_s": 60,
|
||||
"failed": 0,
|
||||
"max": 628.3,
|
||||
"p50": 162.2,
|
||||
"p95": 338.62,
|
||||
"p99": 432.72,
|
||||
"rate": 900,
|
||||
"requests": 53520,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 53520,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 373
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3778,
|
||||
"chats": 1275,
|
||||
"idempotency_keys": 1870177,
|
||||
"messages": 1870177,
|
||||
"users": 202
|
||||
},
|
||||
"finished_at": "2026-10-15T23:39:08Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
24.22,
|
||||
18.02,
|
||||
11.84
|
||||
],
|
||||
"mem_available_mib": 5711,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "block#n4#rep2",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"5a11bcd5ccd0": {
|
||||
"container": "5a11bcd5ccd0",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:37:54.35619414Z"
|
||||
},
|
||||
"744aa340048e": {
|
||||
"container": "744aa340048e",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:37:54.607602948Z"
|
||||
},
|
||||
"7af2205be7ae": {
|
||||
"container": "7af2205be7ae",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:37:54.498245674Z"
|
||||
},
|
||||
"f08c1f63658b": {
|
||||
"container": "f08c1f63658b",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:37:54.72452668Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1652,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:38:04Z",
|
||||
"step_seconds": 60,
|
||||
"steps": [
|
||||
900
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 797,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 663.86,
|
||||
"http_reqs": 53233,
|
||||
"iterations": 53203,
|
||||
"kind": "steady",
|
||||
"label": "block#n4-api6#rep1",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-baaf356ae4b9 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-baaf356ae4b9 Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 886.72,
|
||||
"avg": 216.06,
|
||||
"duration_s": 60,
|
||||
"failed": 0,
|
||||
"max": 1049.27,
|
||||
"p50": 153.78,
|
||||
"p95": 663.87,
|
||||
"p99": 837.08,
|
||||
"rate": 900,
|
||||
"requests": 53203,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 53203,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 562
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3418,
|
||||
"chats": 1155,
|
||||
"idempotency_keys": 1605185,
|
||||
"messages": 1605185,
|
||||
"users": 187
|
||||
},
|
||||
"finished_at": "2026-10-15T23:32:51Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
15.13,
|
||||
12.09,
|
||||
8.39
|
||||
],
|
||||
"mem_available_mib": 5694,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "block#n4-api6#rep1",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"42fa480595e4": {
|
||||
"container": "42fa480595e4",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:31:42.835752143Z"
|
||||
},
|
||||
"8461904845cc": {
|
||||
"container": "8461904845cc",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:31:43.201717153Z"
|
||||
},
|
||||
"a3ebb4ba51f5": {
|
||||
"container": "a3ebb4ba51f5",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:31:42.954604503Z"
|
||||
},
|
||||
"aebc922b8969": {
|
||||
"container": "aebc922b8969",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:31:43.06615271Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1636,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "1.5",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "6.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:31:48Z",
|
||||
"step_seconds": 60,
|
||||
"steps": [
|
||||
900
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 2816,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 1223.26,
|
||||
"http_reqs": 51216,
|
||||
"iterations": 51186,
|
||||
"kind": "steady",
|
||||
"label": "block#n4-api6#rep2",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-74934e80e4c1 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-74934e80e4c1 Created ",
|
||||
"time=\"2026-10-15T23:36:21Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=steady"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 853.1,
|
||||
"avg": 606.8,
|
||||
"duration_s": 60,
|
||||
"failed": 0,
|
||||
"max": 1920.99,
|
||||
"p50": 569.12,
|
||||
"p95": 1223.39,
|
||||
"p99": 1589.59,
|
||||
"rate": 900,
|
||||
"requests": 51186,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 51186,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 900
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3634,
|
||||
"chats": 1227,
|
||||
"idempotency_keys": 1763135,
|
||||
"messages": 1763135,
|
||||
"users": 196
|
||||
},
|
||||
"finished_at": "2026-10-15T23:36:30Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
19.32,
|
||||
12.94,
|
||||
9.34
|
||||
],
|
||||
"mem_available_mib": 5719,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "block#n4-api6#rep2",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"104f2f92ffa6": {
|
||||
"container": "104f2f92ffa6",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:35:21.003945477Z"
|
||||
},
|
||||
"1bef372a3deb": {
|
||||
"container": "1bef372a3deb",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:35:20.351793069Z"
|
||||
},
|
||||
"5a0e3daac377": {
|
||||
"container": "5a0e3daac377",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:35:21.332389033Z"
|
||||
},
|
||||
"a902e33a3bae": {
|
||||
"container": "a902e33a3bae",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:35:20.723208055Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1655,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "1.5",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "6.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:35:27Z",
|
||||
"step_seconds": 60,
|
||||
"steps": [
|
||||
900
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 231,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 170.88,
|
||||
"http_reqs": 53800,
|
||||
"iterations": 53770,
|
||||
"kind": "steady",
|
||||
"label": "block#n4-pg3#rep1",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-65519d34b174 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-65519d34b174 Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 896.17,
|
||||
"avg": 48,
|
||||
"duration_s": 60,
|
||||
"failed": 0,
|
||||
"max": 407.9,
|
||||
"p50": 11.02,
|
||||
"p95": 170.83,
|
||||
"p99": 233.29,
|
||||
"rate": 900,
|
||||
"requests": 53770,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 53770,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 196
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3346,
|
||||
"chats": 1131,
|
||||
"idempotency_keys": 1551982,
|
||||
"messages": 1551982,
|
||||
"users": 184
|
||||
},
|
||||
"finished_at": "2026-10-15T23:31:36Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
13.82,
|
||||
11.28,
|
||||
7.86
|
||||
],
|
||||
"mem_available_mib": 5412,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "block#n4-pg3#rep1",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"01203ea8b1fd": {
|
||||
"container": "01203ea8b1fd",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:30:27.108270693Z"
|
||||
},
|
||||
"723a1b67a4c9": {
|
||||
"container": "723a1b67a4c9",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:30:26.750610702Z"
|
||||
},
|
||||
"a586c6a6ceae": {
|
||||
"container": "a586c6a6ceae",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:30:27.389774474Z"
|
||||
},
|
||||
"df49f3a4f7ea": {
|
||||
"container": "df49f3a4f7ea",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:30:27.693714485Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1644,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "3.0",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:30:33Z",
|
||||
"step_seconds": 60,
|
||||
"steps": [
|
||||
900
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 479,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 312.21,
|
||||
"http_reqs": 53552,
|
||||
"iterations": 53522,
|
||||
"kind": "steady",
|
||||
"label": "block#n4-pg3#rep2",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-f7f4b2e3dcd4 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-f7f4b2e3dcd4 Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 892.03,
|
||||
"avg": 113.16,
|
||||
"duration_s": 60,
|
||||
"failed": 0,
|
||||
"max": 610.59,
|
||||
"p50": 94.76,
|
||||
"p95": 312.2,
|
||||
"p99": 391.05,
|
||||
"rate": 900,
|
||||
"requests": 53522,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 53522,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 319
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3706,
|
||||
"chats": 1251,
|
||||
"idempotency_keys": 1816657,
|
||||
"messages": 1816657,
|
||||
"users": 199
|
||||
},
|
||||
"finished_at": "2026-10-15T23:37:47Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
24.69,
|
||||
15.99,
|
||||
10.68
|
||||
],
|
||||
"mem_available_mib": 5658,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "block#n4-pg3#rep2",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"1cc0536d4acb": {
|
||||
"container": "1cc0536d4acb",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:36:38.74977131Z"
|
||||
},
|
||||
"63c09b0aaaac": {
|
||||
"container": "63c09b0aaaac",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:36:38.9415062Z"
|
||||
},
|
||||
"69b19cdf40cd": {
|
||||
"container": "69b19cdf40cd",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:36:38.551537683Z"
|
||||
},
|
||||
"8649b1f04da5": {
|
||||
"container": "8649b1f04da5",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:36:38.314940188Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1642,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "3.0",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:36:44Z",
|
||||
"step_seconds": 60,
|
||||
"steps": [
|
||||
900
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 458,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 387.97,
|
||||
"http_reqs": 53572,
|
||||
"iterations": 53542,
|
||||
"kind": "steady",
|
||||
"label": "block#n4-pool20#rep1",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-4e164042a0f9 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-4e164042a0f9 Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 892.37,
|
||||
"avg": 157.72,
|
||||
"duration_s": 60,
|
||||
"failed": 0,
|
||||
"max": 770.24,
|
||||
"p50": 140.56,
|
||||
"p95": 388.02,
|
||||
"p99": 529.93,
|
||||
"rate": 900,
|
||||
"requests": 53542,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 53542,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 345
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3490,
|
||||
"chats": 1179,
|
||||
"idempotency_keys": 1658727,
|
||||
"messages": 1658727,
|
||||
"users": 190
|
||||
},
|
||||
"finished_at": "2026-10-15T23:34:08Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
10.62,
|
||||
11.54,
|
||||
8.49
|
||||
],
|
||||
"mem_available_mib": 5798,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "block#n4-pool20#rep1",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"3ce3bbee2794": {
|
||||
"container": "3ce3bbee2794",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:32:59.113511298Z"
|
||||
},
|
||||
"4db93f3a2975": {
|
||||
"container": "4db93f3a2975",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:32:58.723686481Z"
|
||||
},
|
||||
"a59c68e1eb39": {
|
||||
"container": "a59c68e1eb39",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:32:58.947243557Z"
|
||||
},
|
||||
"dadf6af9b5c6": {
|
||||
"container": "dadf6af9b5c6",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:32:58.585898562Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1638,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "20",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:33:04Z",
|
||||
"step_seconds": 60,
|
||||
"steps": [
|
||||
900
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 779,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 593.68,
|
||||
"http_reqs": 53252,
|
||||
"iterations": 53222,
|
||||
"kind": "steady",
|
||||
"label": "block#n4-pool20#rep2",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-04450fa8ebfd Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-04450fa8ebfd Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 887.03,
|
||||
"avg": 239.42,
|
||||
"duration_s": 60,
|
||||
"failed": 0,
|
||||
"max": 1196.4,
|
||||
"p50": 207.18,
|
||||
"p95": 593.7,
|
||||
"p99": 900.56,
|
||||
"rate": 900,
|
||||
"requests": 53222,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 53222,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 553
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3562,
|
||||
"chats": 1203,
|
||||
"idempotency_keys": 1711949,
|
||||
"messages": 1711949,
|
||||
"users": 193
|
||||
},
|
||||
"finished_at": "2026-10-15T23:35:13Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
9.06,
|
||||
10.88,
|
||||
8.47
|
||||
],
|
||||
"mem_available_mib": 5770,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "block#n4-pool20#rep2",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"3ce3bbee2794": {
|
||||
"container": "3ce3bbee2794",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:32:59.113511298Z"
|
||||
},
|
||||
"4db93f3a2975": {
|
||||
"container": "4db93f3a2975",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:32:58.723686481Z"
|
||||
},
|
||||
"a59c68e1eb39": {
|
||||
"container": "a59c68e1eb39",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:32:58.947243557Z"
|
||||
},
|
||||
"dadf6af9b5c6": {
|
||||
"container": "dadf6af9b5c6",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:32:58.585898562Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1642,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "20",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:34:10Z",
|
||||
"step_seconds": 60,
|
||||
"steps": [
|
||||
900
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 0,
|
||||
"http_req_duration_p95": 6.29,
|
||||
"http_reqs": 11631,
|
||||
"iterations": 11601,
|
||||
"kind": "steady",
|
||||
"label": "failover#3ae9682cb023",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 200.02,
|
||||
"avg": 3.85,
|
||||
"duration_s": 58,
|
||||
"failed": 0,
|
||||
"max": 49.94,
|
||||
"p50": 3.41,
|
||||
"p95": 6.28,
|
||||
"p99": 7.82,
|
||||
"rate": 200,
|
||||
"requests": 11601,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 11601,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 200,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 60
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 1748,
|
||||
"chats": 591,
|
||||
"idempotency_keys": 959301,
|
||||
"messages": 959301,
|
||||
"users": 98
|
||||
},
|
||||
"finished_at": "2026-10-15T22:47:58Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "200",
|
||||
"memory": "256m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
4.53,
|
||||
7.39,
|
||||
8.21
|
||||
],
|
||||
"mem_available_mib": 4696,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "failover#3ae9682cb023",
|
||||
"mode": "write",
|
||||
"phases": {
|
||||
"absent_window_seconds": 0.2,
|
||||
"first_success_after_exit_s": 0.2,
|
||||
"lb_down_at": "2026-10-15T22:47:06Z",
|
||||
"probe_offsets": {
|
||||
"container_exit": 11.27,
|
||||
"last_sample": 60.05,
|
||||
"restore_command": 31.47,
|
||||
"stop_command": 8.0
|
||||
},
|
||||
"replica_rejoined_s": 3.29,
|
||||
"restore_at": "2026-10-15T22:47:29Z",
|
||||
"stop_command_at": "2026-10-15T22:47:09Z",
|
||||
"stop_command_took_s": 3.26,
|
||||
"stop_exit_code": 0,
|
||||
"stop_window_seconds": 3.47
|
||||
},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"3ae9682cb023": {
|
||||
"container": "3ae9682cb023",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
|
||||
"memory_mb": 768,
|
||||
"name": "mtusi-lab3-api-1",
|
||||
"started_at": "2026-10-15T22:47:29.548874355Z"
|
||||
},
|
||||
"93d6ac125b68": {
|
||||
"container": "93d6ac125b68",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
|
||||
"memory_mb": 768,
|
||||
"name": "mtusi-lab3-api-2",
|
||||
"started_at": "2026-10-15T22:45:14.135109905Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1490,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "1.5",
|
||||
"API_IMAGE": "mtusi-messenger:lab3",
|
||||
"API_MEMORY_PER_REPLICA": "768m",
|
||||
"API_REPLICAS": "2",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "256m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T22:46:57Z",
|
||||
"step_seconds": 58,
|
||||
"steps": [
|
||||
200
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"absent_window_seconds": 0.2,
|
||||
"first_success_after_exit_s": 0.2,
|
||||
"lb_down_at": "2026-10-15T22:47:06Z",
|
||||
"probe_offsets": {
|
||||
"container_exit": 11.27,
|
||||
"last_sample": 60.05,
|
||||
"restore_command": 31.47,
|
||||
"stop_command": 8.0
|
||||
},
|
||||
"replica_rejoined_s": 3.29,
|
||||
"restore_at": "2026-10-15T22:47:29Z",
|
||||
"stop_command_at": "2026-10-15T22:47:09Z",
|
||||
"stop_command_took_s": 3.26,
|
||||
"stop_exit_code": 0,
|
||||
"stop_window_seconds": 3.47
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 0,
|
||||
"http_req_duration_p95": 36.27,
|
||||
"http_reqs": 11631,
|
||||
"iterations": 11601,
|
||||
"kind": "steady",
|
||||
"label": "failover#93d6ac125b68",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 200.02,
|
||||
"avg": 8.08,
|
||||
"duration_s": 58,
|
||||
"failed": 0,
|
||||
"max": 308.1,
|
||||
"p50": 3.6,
|
||||
"p95": 36.08,
|
||||
"p99": 82.1,
|
||||
"rate": 200,
|
||||
"requests": 11601,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 11601,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 200,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 60
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 1833,
|
||||
"chats": 626,
|
||||
"idempotency_keys": 971200,
|
||||
"messages": 971200,
|
||||
"users": 120
|
||||
},
|
||||
"finished_at": "2026-10-15T22:49:00Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "200",
|
||||
"memory": "256m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
4.7,
|
||||
6.9,
|
||||
7.99
|
||||
],
|
||||
"mem_available_mib": 4736,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "steady",
|
||||
"label": "failover#93d6ac125b68",
|
||||
"mode": "write",
|
||||
"phases": {
|
||||
"absent_window_seconds": 0.1,
|
||||
"first_success_after_exit_s": 0.1,
|
||||
"lb_down_at": "2026-10-15T22:48:08Z",
|
||||
"probe_offsets": {
|
||||
"container_exit": 11.29,
|
||||
"last_sample": 60.16,
|
||||
"restore_command": 31.39,
|
||||
"stop_command": 8.0
|
||||
},
|
||||
"replica_rejoined_s": 3.83,
|
||||
"restore_at": "2026-10-15T22:48:31Z",
|
||||
"stop_command_at": "2026-10-15T22:48:11Z",
|
||||
"stop_command_took_s": 3.29,
|
||||
"stop_exit_code": 0,
|
||||
"stop_window_seconds": 3.39
|
||||
},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"3ae9682cb023": {
|
||||
"container": "3ae9682cb023",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
|
||||
"memory_mb": 768,
|
||||
"name": "mtusi-lab3-api-1",
|
||||
"started_at": "2026-10-15T22:47:29.548874355Z"
|
||||
},
|
||||
"93d6ac125b68": {
|
||||
"container": "93d6ac125b68",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
|
||||
"memory_mb": 768,
|
||||
"name": "mtusi-lab3-api-2",
|
||||
"started_at": "2026-10-15T22:48:31.599002589Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1488,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "1.5",
|
||||
"API_IMAGE": "mtusi-messenger:lab3",
|
||||
"API_MEMORY_PER_REPLICA": "768m",
|
||||
"API_REPLICAS": "2",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "256m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T22:48:00Z",
|
||||
"step_seconds": 58,
|
||||
"steps": [
|
||||
200
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"absent_window_seconds": 0.1,
|
||||
"first_success_after_exit_s": 0.1,
|
||||
"lb_down_at": "2026-10-15T22:48:08Z",
|
||||
"probe_offsets": {
|
||||
"container_exit": 11.29,
|
||||
"last_sample": 60.16,
|
||||
"restore_command": 31.39,
|
||||
"stop_command": 8.0
|
||||
},
|
||||
"replica_rejoined_s": 3.83,
|
||||
"restore_at": "2026-10-15T22:48:31Z",
|
||||
"stop_command_at": "2026-10-15T22:48:11Z",
|
||||
"stop_command_took_s": 3.29,
|
||||
"stop_exit_code": 0,
|
||||
"stop_window_seconds": 3.39
|
||||
}
|
||||
@@ -4,33 +4,43 @@
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 130,
|
||||
"dropped_iterations": 63,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 99.57,
|
||||
"http_reqs": 33501,
|
||||
"iterations": 33471,
|
||||
"http_req_duration_p95": 8.77,
|
||||
"http_reqs": 33568,
|
||||
"iterations": 33538,
|
||||
"kind": "steady",
|
||||
"label": "growth#api-total-6",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"Container mtusi-lab3-loadgen-run-b3c9254a8e00 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-b3c9254a8e00 Created"
|
||||
"Container mtusi-lab3-loadgen-run-6718f9012a82 Creating ",
|
||||
" Container mtusi-lab3-loadgen-run-6718f9012a82 Created"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 557.85,
|
||||
"avg": 19.58,
|
||||
"achieved_rps": 558.97,
|
||||
"avg": 5.7,
|
||||
"duration_s": 60,
|
||||
"failed": 0,
|
||||
"max": 543.25,
|
||||
"p50": 4.97,
|
||||
"p95": 99.41,
|
||||
"p99": 253.94,
|
||||
"max": 355.27,
|
||||
"p50": 3.75,
|
||||
"p95": 8.75,
|
||||
"p99": 45.01,
|
||||
"rate": 560,
|
||||
"requests": 33471,
|
||||
"vus_active": 1
|
||||
"requests": 33538,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 33538,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_max": 170
|
||||
"vus_configured": {
|
||||
"max": 200,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 118
|
||||
}
|
||||
|
||||
@@ -1,23 +1,29 @@
|
||||
{
|
||||
"commit": "410e1ea3ad1b12b1bc650484c3531e6bf76479be",
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 2734,
|
||||
"chats": 929,
|
||||
"idempotency_keys": 697471,
|
||||
"messages": 697471,
|
||||
"users": 181
|
||||
"chat_members": 1602,
|
||||
"chats": 541,
|
||||
"idempotency_keys": 935512,
|
||||
"messages": 935512,
|
||||
"users": 90
|
||||
},
|
||||
"finished_at": "2026-10-15T22:45:07Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "200",
|
||||
"memory": "256m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"finished_at": "2026-10-15T19:19:26Z",
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
10.0,
|
||||
13.9,
|
||||
10.3
|
||||
7.37,
|
||||
9.56,
|
||||
8.94
|
||||
],
|
||||
"mem_available_mib": 6351,
|
||||
"mem_available_mib": 4604,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": true
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
@@ -26,52 +32,42 @@
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": {
|
||||
"started_at": "2026-10-15T18:48:39Z",
|
||||
"stopped": [
|
||||
"omniroute",
|
||||
"lampa",
|
||||
"caddy",
|
||||
"redis",
|
||||
"sql-lab-db-1",
|
||||
"redis-lab-redis-1"
|
||||
]
|
||||
},
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"06aa83f1b853": {
|
||||
"container": "06aa83f1b853",
|
||||
"218dda61d170": {
|
||||
"container": "218dda61d170",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:9a78a626f3be95235160d38b9389f0045fa4092731cc184605bc3d5ccd580a55",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T19:17:46.496644583Z"
|
||||
},
|
||||
"6cdbbedc70c7": {
|
||||
"container": "6cdbbedc70c7",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:9a78a626f3be95235160d38b9389f0045fa4092731cc184605bc3d5ccd580a55",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-2",
|
||||
"started_at": "2026-10-15T19:17:46.879913541Z"
|
||||
},
|
||||
"72c21fd9b1d1": {
|
||||
"container": "72c21fd9b1d1",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:9a78a626f3be95235160d38b9389f0045fa4092731cc184605bc3d5ccd580a55",
|
||||
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-1",
|
||||
"started_at": "2026-10-15T19:17:46.744530468Z"
|
||||
"started_at": "2026-10-15T22:43:26.55538141Z"
|
||||
},
|
||||
"aa201f644179": {
|
||||
"container": "aa201f644179",
|
||||
"a7fcfba3f468": {
|
||||
"container": "a7fcfba3f468",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:9a78a626f3be95235160d38b9389f0045fa4092731cc184605bc3d5ccd580a55",
|
||||
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-2",
|
||||
"started_at": "2026-10-15T22:43:26.336824177Z"
|
||||
},
|
||||
"c0731a92aad6": {
|
||||
"container": "c0731a92aad6",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T19:17:46.629609809Z"
|
||||
"started_at": "2026-10-15T22:43:26.883999047Z"
|
||||
},
|
||||
"d743189956e4": {
|
||||
"container": "d743189956e4",
|
||||
"cpus": 1.5,
|
||||
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T22:43:26.719194441Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1523,
|
||||
"sample_count": 1634,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "1.5",
|
||||
@@ -82,7 +78,7 @@
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "1.0",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "256m",
|
||||
@@ -91,7 +87,7 @@
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T19:18:24Z",
|
||||
"started_at": "2026-10-15T22:44:05Z",
|
||||
"step_seconds": 60,
|
||||
"steps": [
|
||||
560
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 38591,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 1188.78,
|
||||
"http_reqs": 75443,
|
||||
"iterations": 75413,
|
||||
"kind": "ladder",
|
||||
"label": "knee#n1",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"time=\"2026-10-15T23:25:39Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_1500",
|
||||
"time=\"2026-10-15T23:25:50Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_1800",
|
||||
"time=\"2026-10-15T23:26:03Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_2200"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 890.33,
|
||||
"avg": 15.73,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 242.81,
|
||||
"p50": 3.5,
|
||||
"p95": 74.22,
|
||||
"p99": 108.84,
|
||||
"rate": 900,
|
||||
"requests": 13355,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 13355,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 1105.93,
|
||||
"avg": 193.89,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 793.65,
|
||||
"p50": 135.68,
|
||||
"p95": 471.47,
|
||||
"p99": 749.86,
|
||||
"rate": 1200,
|
||||
"requests": 16589,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 16589,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 1036.27,
|
||||
"avg": 676.54,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 1452.13,
|
||||
"p50": 664.81,
|
||||
"p95": 1285.49,
|
||||
"p99": 1382.99,
|
||||
"rate": 1500,
|
||||
"requests": 15544,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 15544,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 1004.13,
|
||||
"avg": 816.47,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 1299.06,
|
||||
"p50": 811.57,
|
||||
"p95": 1195.93,
|
||||
"p99": 1268.94,
|
||||
"rate": 1800,
|
||||
"requests": 15062,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 15062,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 990.87,
|
||||
"avg": 824.78,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 1438.37,
|
||||
"p50": 813.77,
|
||||
"p95": 1248.37,
|
||||
"p99": 1382.26,
|
||||
"rate": 2200,
|
||||
"requests": 14863,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 14863,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 2700
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3058,
|
||||
"chats": 1035,
|
||||
"idempotency_keys": 1320097,
|
||||
"messages": 1320097,
|
||||
"users": 172
|
||||
},
|
||||
"finished_at": "2026-10-15T23:26:18Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
5.23,
|
||||
5.23,
|
||||
5.28
|
||||
],
|
||||
"mem_available_mib": 6068,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "ladder",
|
||||
"label": "knee#n1",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"d12dbc1c96b9": {
|
||||
"container": "d12dbc1c96b9",
|
||||
"cpus": 3.0,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 1536,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:21:28.41470783Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 1883,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "3.0",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "1536m",
|
||||
"API_REPLICAS": "1",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:25:00Z",
|
||||
"step_seconds": 15,
|
||||
"steps": [
|
||||
900,
|
||||
1200,
|
||||
1500,
|
||||
1800,
|
||||
2200
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"base_url": "http://haproxy:8080",
|
||||
"checks": {
|
||||
"fails": 0,
|
||||
"passes": 0
|
||||
},
|
||||
"dropped_iterations": 42915,
|
||||
"exit_code": 0,
|
||||
"http_req_duration_p95": 1222.98,
|
||||
"http_reqs": 71119,
|
||||
"iterations": 71089,
|
||||
"kind": "ladder",
|
||||
"label": "knee#n4",
|
||||
"mode": "write",
|
||||
"profile": "spread",
|
||||
"stderr_tail": [
|
||||
"time=\"2026-10-15T23:27:08Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_1500",
|
||||
"time=\"2026-10-15T23:27:21Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_1800",
|
||||
"time=\"2026-10-15T23:27:34Z\" level=warning msg=\"Insufficient VUs, reached 900 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=step_2200"
|
||||
],
|
||||
"steps": [
|
||||
{
|
||||
"achieved_rps": 886.6,
|
||||
"avg": 30.59,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 360.78,
|
||||
"p50": 6.2,
|
||||
"p95": 124.97,
|
||||
"p99": 186.83,
|
||||
"rate": 900,
|
||||
"requests": 13299,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 13299,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 1054.8,
|
||||
"avg": 475.54,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 1121.08,
|
||||
"p50": 463.21,
|
||||
"p95": 872.93,
|
||||
"p99": 946.21,
|
||||
"rate": 1200,
|
||||
"requests": 15822,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 15822,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 903.4,
|
||||
"avg": 877.93,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 1788.4,
|
||||
"p50": 861.89,
|
||||
"p95": 1419.93,
|
||||
"p99": 1595.33,
|
||||
"rate": 1500,
|
||||
"requests": 13551,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 13551,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 929.27,
|
||||
"avg": 861.89,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 1504.8,
|
||||
"p50": 880.42,
|
||||
"p95": 1301.67,
|
||||
"p99": 1401.46,
|
||||
"rate": 1800,
|
||||
"requests": 13939,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 13939,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
},
|
||||
{
|
||||
"achieved_rps": 965.2,
|
||||
"avg": 910.61,
|
||||
"duration_s": 15,
|
||||
"failed": 0,
|
||||
"max": 1863.49,
|
||||
"p50": 883.95,
|
||||
"p95": 1234.99,
|
||||
"p99": 1600.37,
|
||||
"rate": 2200,
|
||||
"requests": 14478,
|
||||
"status": {
|
||||
"client_4xx": 0,
|
||||
"ok": 14478,
|
||||
"other": 0,
|
||||
"server_5xx": 0
|
||||
},
|
||||
"vus_active": 0
|
||||
}
|
||||
],
|
||||
"vus_configured": {
|
||||
"max": 900,
|
||||
"preAllocated": 60
|
||||
},
|
||||
"vus_max": 2700
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
{
|
||||
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
|
||||
"dataset": {
|
||||
"chat_members": 3130,
|
||||
"chats": 1059,
|
||||
"idempotency_keys": 1391186,
|
||||
"messages": 1391186,
|
||||
"users": 175
|
||||
},
|
||||
"finished_at": "2026-10-15T23:27:50Z",
|
||||
"generator": {
|
||||
"cpus": "1.5",
|
||||
"max_vus": "900",
|
||||
"memory": "1024m",
|
||||
"pre_vus": "60"
|
||||
},
|
||||
"host": {
|
||||
"background": {
|
||||
"load_average": [
|
||||
13.13,
|
||||
7.17,
|
||||
5.93
|
||||
],
|
||||
"mem_available_mib": 5751,
|
||||
"mem_total_mib": 15771,
|
||||
"quiesced": false
|
||||
},
|
||||
"cpus": 8
|
||||
},
|
||||
"kind": "ladder",
|
||||
"label": "knee#n4",
|
||||
"mode": "write",
|
||||
"phases": {},
|
||||
"profile": "spread",
|
||||
"quiesce": null,
|
||||
"replicas": {
|
||||
"319793deaec8": {
|
||||
"container": "319793deaec8",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-4",
|
||||
"started_at": "2026-10-15T23:26:23.557851023Z"
|
||||
},
|
||||
"a6c2b7c79f05": {
|
||||
"container": "a6c2b7c79f05",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-6",
|
||||
"started_at": "2026-10-15T23:26:24.144057042Z"
|
||||
},
|
||||
"c1d978b07132": {
|
||||
"container": "c1d978b07132",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-3",
|
||||
"started_at": "2026-10-15T23:26:24.506559071Z"
|
||||
},
|
||||
"ff3b09a05f88": {
|
||||
"container": "ff3b09a05f88",
|
||||
"cpus": 0.75,
|
||||
"image_id": "sha256:a6920ae6c89e5cfb7d62080dffc6c063dbd8f24cc0818b4f70e92327a32b376b",
|
||||
"memory_mb": 384,
|
||||
"name": "mtusi-lab3-api-5",
|
||||
"started_at": "2026-10-15T23:26:23.844780187Z"
|
||||
}
|
||||
},
|
||||
"sample_count": 2064,
|
||||
"sampler_errors": [],
|
||||
"stand": {
|
||||
"API_CPUS_PER_REPLICA": "0.75",
|
||||
"API_IMAGE": "mtusi-messenger:lab3-after",
|
||||
"API_MEMORY_PER_REPLICA": "384m",
|
||||
"API_REPLICAS": "4",
|
||||
"API_TOTAL_CPUS": "3.0",
|
||||
"API_TOTAL_MEMORY_MB": "1536",
|
||||
"BUILD_ID": "base",
|
||||
"DATABASE_POOL_MAX": "10",
|
||||
"LB_CPUS": "0.25",
|
||||
"LB_MEMORY": "128m",
|
||||
"LOADGEN_CPUS": "1.5",
|
||||
"LOADGEN_MEMORY": "1024m",
|
||||
"PG_CPUS": "1.5",
|
||||
"PG_MEMORY": "512m",
|
||||
"REDIS_CPUS": "0.25",
|
||||
"REDIS_MEMORY": "128m"
|
||||
},
|
||||
"started_at": "2026-10-15T23:26:30Z",
|
||||
"step_seconds": 15,
|
||||
"steps": [
|
||||
900,
|
||||
1200,
|
||||
1500,
|
||||
1800,
|
||||
2200
|
||||
],
|
||||
"versions": {
|
||||
"haproxy": "haproxy:3.2-alpine",
|
||||
"haproxy_runtime": "HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/",
|
||||
"k6": "k6 v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64)",
|
||||
"node_host": "v25.7.0",
|
||||
"postgres": "postgres:16.4-alpine",
|
||||
"postgres_runtime": "postgres (PostgreSQL) 16.4",
|
||||
"redis": "redis:7.4.2-alpine",
|
||||
"redis_runtime": "Redis server v=7.4.2 sha=00000000:0 malloc=jemalloc-5.3.0 bits=64 build=9d14eaf5f599583e"
|
||||
}
|
||||
}
|
||||