lab3: проба готовности на отдельном соединении, серия роста на блоке why#

This commit is contained in:
2026-10-16 22:09:31 +03:00
parent e42f02c016
commit 46d84ab0aa
107 changed files with 1999 additions and 1880 deletions
+3
View File
@@ -17,6 +17,9 @@ CACHE_TTL_SECONDS=30
CACHE_MODE=protected
CACHE_LOCK_TTL_MS=1000
CACHE_MISS_DELAY_MS=0
# Бюджет проверки зависимостей в /health/ready: LB пробует ту же ручку
# (timeout check 500 ms), поэтому проба обязана уложиться заметно раньше.
HEALTH_TIMEOUT_MS=400
# Токен доступа к /internal/metrics; сгенерируйте свой.
METRICS_TOKEN=change-me
# Дрейн перед выходом по SIGTERM: реплика перестаёт проходить пробу LB,
+7 -2
View File
@@ -10,12 +10,12 @@ FAILOVER_RUNS ?= 3
RATE ?= 200
TRACK1_ARGS ?=
.PHONY: help check validate test load test-persistence test-failover test-dependencies lab3-before-image \
.PHONY: help check test-analytics validate test load test-persistence test-failover test-dependencies lab3-before-image \
stand-up stand-down stand-status stand-replica wait-ready quiesce-up quiesce-down \
test-e2e test-failover-all rolling-update track1 evidence
help:
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes; test-dependencies: stops/restarts Redis and PostgreSQL"
@echo "check: offline structure; test-analytics: offline analytics regression (no stand); validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes; test-dependencies: stops/restarts Redis and PostgreSQL"
@echo "stand-up/stand-down/stand-status: HAProxy + API x API_REPLICAS over shared PostgreSQL and Redis"
@echo "stand-replica: restore one missing API replica; wait-ready: wait for /health/ready"
@echo "quiesce-up/quiesce-down: stop and restore unrelated background containers of the host"
@@ -25,6 +25,11 @@ help:
check:
$(PYTHON) scripts/check_contract.py
# Регрессия аналитики трека 1: успешный RPS отделён от частоты ответов, рост
# сравнивается только внутри одного темпа. Оффлайн: сырые сводки — фикстуры.
test-analytics:
$(PYTHON) -m unittest discover -s tests -p 'test_*.py' -v
validate:
$(PYTHON) scripts/validate_openapi.py
+38 -14
View File
@@ -28,7 +28,7 @@ src/
cache/ версионированный кэш истории + lock на страницу
idempotency/ журнал Idempotency-Key (claim/read/store/forget/GC)
metrics/ /internal/metrics и /internal/metrics/reset
health/ liveness/readiness с проверкой зависимостей + /internal/lb-check
health/ liveness/readiness с проверкой зависимостей (readiness — проба LB)
common/
http/ cursor (формат+календарь), page (конверт {items,next_cursor}), request-id
errors/ exception filter и тип тела ошибки ApiErrorBody
@@ -102,6 +102,7 @@ npm run start:dev # или npm run start:prod после
| `DATABASE_CONNECTION_TIMEOUT_MS` | `5000` | таймаут установки соединения |
| `DATABASE_STATEMENT_TIMEOUT_MS` | `5000` | таймаут SQL-запроса |
| `SESSION_TTL_SECONDS` | `3600` | TTL сессии (минимум 2) |
| `HEALTH_TIMEOUT_MS` | `400` | бюджет проверки PostgreSQL/Redis внутри `/health/ready`; меньше `timeout check` HAProxy (500 ms) и `DATABASE_STATEMENT_TIMEOUT_MS` |
| `CACHE_TTL_SECONDS` | `30` | TTL страницы истории в Redis |
| `CACHE_MODE` | `protected` | `protected` (lock на страницу) или `naive` (только для эксперимента) |
| `CACHE_LOCK_TTL_MS` | `1000` | TTL lock-а страницы |
@@ -121,9 +122,8 @@ npm run start:dev # или npm run start:prod после
| Метод и путь | Аутентификация | Назначение |
|---|---|---|
| `GET /health/live` | нет | процесс жив |
| `GET /health/ready` | нет | готовность: PostgreSQL и Redis доступны, иначе `503` |
| `GET /internal/lb-check` | нет | проба балансировщика: только флаг дрейна, без обращения к БД/Redis |
| `GET /health/live` | нет | процесс жив; не обращается к зависимостям, поэтому отвечает `200` и при их отказе |
| `GET /health/ready` | нет | готовность реплики: флаг дреина + PostgreSQL и Redis (бюджет `HEALTH_TIMEOUT_MS`), иначе `503`; эту же ручку пробует HAProxy |
| `POST /api/v1/users` | нет | регистрация с паролем (Argon2id) |
| `POST /api/v1/auth/sessions` | `Basic` | вход, выдаёт opaque Bearer-токен |
| `DELETE /api/v1/auth/sessions/current` | `Bearer` | отзыв текущей сессии, `204` |
@@ -191,12 +191,30 @@ make test-dependencies
Он включён по флагу `E2E_DEPENDENCY_FAULTS=1` (им же управляет цель Makefile),
потому что требует прав на управление Docker Compose-проектом; остальные
переменные — `E2E_COMPOSE_DIR`, `E2E_COMPOSE_ENV_FILE`, `E2E_REDIS_SERVICE`,
`E2E_POSTGRES_SERVICE`. Проверяется для Redis и PostgreSQL: `/health/live`
остаётся `200`, `/health/ready` и бизнес-запросы возвращают `503 unavailable`
с `request_id` из `X-Request-Id` и без деталей драйвера, запрос без сессии —
по-прежнему `401`, а после старта зависимости живы прежняя сессия,
подтверждённое сообщение и новая запись. Каждый запрос к остановленной БД ждёт
`DATABASE_CONNECTION_TIMEOUT_MS`, поэтому набор идёт около 40 секунд.
`E2E_POSTGRES_SERVICE`, `E2E_API_SERVICE`, `E2E_LB_STATS_URL`,
`E2E_POSTGRES_USER`, `E2E_POSTGRES_DB`, `E2E_PG_HBA_PATH`.
Проверяются три топологии отказа:
1. **Отказ Redis** (общая зависимость): `/health/live` реплики остаётся `200`,
`/health/ready` и бизнес-запросы — `503 unavailable` с `request_id` из
`X-Request-Id` и без деталей драйвера, запрос без сессии — по-прежнему `401`.
Неготовыми становятся все реплики, HAProxy исключает их из ротации и
отвечает собственным `503`; после старта Redis сессия и подтверждённое
сообщение живы.
2. **Отказ PostgreSQL** (общая зависимость): то же плюс проверка, что после
возврата зависимости данные на месте и новая запись проходит.
3. **Отказ PostgreSQL у одной реплики** (локальный путь к БД): для адреса
выбранной реплики временно ставится `reject`-строка в `pg_hba.conf` (первое
совпадение) и обрываются её соединения. Выбранная реплика отвечает `503` и её
слот уходит в `DOWN`, здоровая продолжает `200`/`UP` и обслуживает все чтения
через LB; `pg_hba.conf` восстанавливается в `finally`, после чего реплика
возвращается в ротацию и снова получает запросы.
Реплики API портов не публикуют, поэтому отдельная реплика опрашивается изнутри
своего контейнера (loopback), а состояние слотов — из `stats;csv` HAProxy
(`127.0.0.1:8404`). Каждый запрос к остановленной БД ждёт
`DATABASE_CONNECTION_TIMEOUT_MS`, поэтому набор идёт около минуты.
## Реплики, балансировка и остановка реплики
@@ -224,10 +242,16 @@ scripts/start-replica.sh # вернуть остано
пулов раньше `beforeApplicationShutdown`), реплика какое-то время остаётся в
ротации уже без ресурсов — это и было причиной явной последовательности в
`src/main.ts`.
- `/internal/lb-check` намеренно не проверяет БД и Redis: отказ общей
зависимости нельзя исправить выводом реплик из ротации, иначе LB ответит
клиенту своей HTML-страницей вместо ограниченного `503 unavailable`.
`/health/ready` остаётся операторским сигналом и healthcheck'ом контейнера.
- **Проба LB — тот же `/health/ready`**, что и healthcheck контейнера: реплика,
потерявшая обязательную зависимость (свой путь к PostgreSQL или Redis),
выходит из ротации, и трафик уходит на здоровые реплики. Проба с зависимостями
ограничена `HEALTH_TIMEOUT_MS=400` на реплику (per-query `query_timeout` для
`SELECT 1` и `AbortSignal.timeout` для `PING`), поэтому она укладывается в
`timeout check 500ms` HAProxy. Когда недоступна общая для всех зависимость,
неготовыми становятся все реплики, и клиент получает `503` от самого LB: это
честный ответ «готовых узлов нет» вместо маскировки отказа.
- `/health/live` зависимостей не касается: он отвечает `200`, пока жив процесс,
и по нему проверяют, что реплика не упала (в том числе при отказе PG/Redis).
## Идемпотентность отправки сообщения
+3
View File
@@ -48,6 +48,9 @@ export const appConfigSchema = z
undefined,
5000,
),
// Бюджет зависимостей в /health/ready: LB проверяет ту же ручку, поэтому
// проба готовности обязана уложиться в timeout check HAProxy (500 ms).
HEALTH_TIMEOUT_MS: numeric('HEALTH_TIMEOUT_MS', 1, undefined, 400),
CACHE_TTL_SECONDS: numeric('CACHE_TTL_SECONDS', 1, undefined, 30),
CACHE_MODE: z.enum(['protected', 'naive']).default('protected'),
CACHE_LOCK_TTL_MS: numeric('CACHE_LOCK_TTL_MS', 1, undefined, 1000),
+17 -2
View File
@@ -7,6 +7,7 @@ import type { AppConfig } from '../config/app-config.schema.js';
@Injectable()
export class DatabaseClient implements OnModuleDestroy {
readonly pool: pg.Pool;
private readonly healthPool: pg.Pool;
private readonly logger = new Logger(DatabaseClient.name);
constructor(
@@ -29,6 +30,19 @@ export class DatabaseClient implements OnModuleDestroy {
this.metrics.increment('database.pool_error');
this.logger.warn(`PostgreSQL pool error: ${error.message}`);
});
// Проба готовности не должна стоять в очереди за бизнес-запросами: занятый
// общий пул — это перегрузка, а не потеря зависимости.
this.healthPool = new pg.Pool({
connectionString: this.config.getOrThrow('DATABASE_URL'),
max: 1,
idleTimeoutMillis: 0,
connectionTimeoutMillis: this.config.getOrThrow('HEALTH_TIMEOUT_MS'),
query_timeout: this.config.getOrThrow('HEALTH_TIMEOUT_MS'),
});
this.healthPool.on('error', (error: Error) => {
this.metrics.increment('database.health_pool_error');
this.logger.warn(`PostgreSQL health connection error: ${error.message}`);
});
}
query<T extends pg.QueryResultRow = pg.QueryResultRow>(
@@ -41,7 +55,8 @@ export class DatabaseClient implements OnModuleDestroy {
}
async health(): Promise<void> {
await this.query('health.database', 'SELECT 1');
this.metrics.increment('health.database');
await this.healthPool.query('SELECT 1');
}
async withTransaction<T>(
@@ -70,6 +85,6 @@ export class DatabaseClient implements OnModuleDestroy {
}
async onModuleDestroy(): Promise<void> {
await this.pool.end();
await Promise.all([this.pool.end(), this.healthPool.end()]);
}
}
+1 -2
View File
@@ -1,13 +1,12 @@
import { Module } from '@nestjs/common';
import { HealthController } from './health.controller.js';
import { LbCheckController } from './lb-check.controller.js';
import { HealthService } from './health.service.js';
import { DatabaseModule } from '../database/database.module.js';
import { RedisModule } from '../redis/redis.module.js';
@Module({
imports: [DatabaseModule, RedisModule],
controllers: [HealthController, LbCheckController],
controllers: [HealthController],
providers: [HealthService],
})
export class HealthModule {}
+44 -5
View File
@@ -9,6 +9,7 @@ describe('HealthService', () => {
const service = new HealthService(
database as never,
redis as never,
{ getOrThrow: () => 50 } as never,
);
expect(service.getLiveness()).toEqual({ status: 'ok' });
await expect(service.getReadiness()).resolves.toEqual({ status: 'ok' });
@@ -22,6 +23,22 @@ describe('HealthService', () => {
const service = new HealthService(
database as never,
redis as never,
{ getOrThrow: () => 50 } as never,
);
await expect(service.getReadiness()).rejects.toBeInstanceOf(
ServiceUnavailableException,
);
});
it('rejects readiness when Redis alone is unavailable', async () => {
const database = { health: vi.fn().mockResolvedValue(undefined) };
const redis = {
health: vi.fn().mockRejectedValue(new Error('down')),
};
const service = new HealthService(
database as never,
redis as never,
{ getOrThrow: () => 50 } as never,
);
await expect(service.getReadiness()).rejects.toBeInstanceOf(
ServiceUnavailableException,
@@ -32,6 +49,7 @@ describe('HealthService', () => {
const service = new HealthService(
{ health: vi.fn() } as never,
{ health: vi.fn() } as never,
{ getOrThrow: () => 50 } as never,
);
service.setDraining();
expect(service.getLiveness()).toEqual({ status: 'ok' });
@@ -40,13 +58,34 @@ describe('HealthService', () => {
);
});
it('keeps the load-balancer check positive while a dependency is down', async () => {
it('answers not-ready during drain without probing dependencies', async () => {
const database = { health: vi.fn().mockResolvedValue(undefined) };
const redis = { health: vi.fn().mockResolvedValue(undefined) };
const service = new HealthService(
{ health: vi.fn().mockRejectedValue(new Error('down')) } as never,
{ health: vi.fn().mockRejectedValue(new Error('down')) } as never,
database as never,
redis as never,
{ getOrThrow: () => 50 } as never,
);
expect(service.getLbCheck()).toEqual({ status: 'ok' });
service.setDraining();
expect(() => service.getLbCheck()).toThrow('Draining');
await expect(service.getReadiness()).rejects.toThrow(
'Service is shutting down',
);
// Дрейн обязан отвечать сразу: проба LB не должна ждать зависимости,
// когда реплика уже выходит из ротации.
expect(database.health).not.toHaveBeenCalled();
expect(redis.health).not.toHaveBeenCalled();
});
it('fails readiness within the budget when a dependency hangs', async () => {
const database = { health: vi.fn(() => new Promise<void>(() => {})) };
const redis = { health: vi.fn().mockResolvedValue(undefined) };
const service = new HealthService(
database as never,
redis as never,
{ getOrThrow: () => 20 } as never,
);
await expect(service.getReadiness()).rejects.toBeInstanceOf(
ServiceUnavailableException,
);
});
});
+24 -15
View File
@@ -6,6 +6,8 @@ import {
} from '@nestjs/common';
import { DatabaseClient } from '../database/database.client.js';
import { RedisClient } from '../redis/redis.client.js';
import { ConfigService } from '@nestjs/config';
import type { AppConfig } from '../config/app-config.schema.js';
@Injectable()
export class HealthService {
@@ -13,34 +15,41 @@ export class HealthService {
constructor(
private readonly database: DatabaseClient,
private readonly redis: RedisClient,
private readonly config: ConfigService<AppConfig>,
) {}
getLiveness() {
return { status: 'ok' as const };
}
// Load-balancer probe, deliberately independent of PostgreSQL and Redis: a
// shared dependency outage cannot be fixed by removing replicas from
// rotation, and draining every backend would answer clients with the LB's
// own HTML error page instead of the bounded API 503. /health/ready stays
// the operator-facing readiness signal.
getLbCheck() {
if (!this.ready)
throw new ServiceUnavailableException('Draining');
return { status: 'ok' as const };
}
async getReadiness() {
if (!this.ready)
throw new ServiceUnavailableException('Service is shutting down');
const dependencies = Promise.all([
this.database.health(),
this.redis.health(),
]);
// Поздний отказ после дедлайна не должен стать unhandled rejection.
dependencies.catch(() => undefined);
let timer: NodeJS.Timeout | undefined;
const deadline = new Promise<never>((_, reject) => {
timer = setTimeout(
() => reject(new Error('readiness budget exceeded')),
this.config.getOrThrow('HEALTH_TIMEOUT_MS'),
);
});
try {
await Promise.all([this.database.health(), this.redis.health()]);
await Promise.race([dependencies, deadline]);
} catch {
throw new ServiceUnavailableException('Dependencies unavailable');
} finally {
clearTimeout(timer);
}
return { status: 'ok' as const };
}
// Called on SIGTERM before the drain delay: the replica turns not-ready for
// both the LB probe and the operator probe while it finishes in-flight
// requests. The delay itself lives in main.ts, because Nest destroys
// providers (closing the pools) before this class could serve anyone.
// Called on SIGTERM before the drain delay: the replica turns not-ready while
// it finishes in-flight requests, so the load balancer stops probing it
// successfully and removes it from rotation. The delay itself lives in
// main.ts, because Nest destroys providers (closing the pools) before this
// class could serve anyone.
setDraining() {
this.ready = false;
}
-14
View File
@@ -1,14 +0,0 @@
import { Controller, Get } from '@nestjs/common';
import { HealthService } from './health.service.js';
// The load balancer probes this route instead of /health/ready so that a shared
// database outage cannot drain the whole fleet; see HealthService.getLbCheck.
@Controller('internal')
export class LbCheckController {
constructor(private readonly health: HealthService) {}
@Get('lb-check')
check() {
return this.health.getLbCheck();
}
}
+13 -2
View File
@@ -1,4 +1,9 @@
import { Injectable, Logger, OnModuleDestroy, OnModuleInit } from '@nestjs/common';
import {
Injectable,
Logger,
OnModuleDestroy,
OnModuleInit,
} from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
import { createClient, type RedisClientType } from 'redis';
import type { AppConfig } from '../config/app-config.schema.js';
@@ -43,7 +48,13 @@ export class RedisClient implements OnModuleInit, OnModuleDestroy {
async health(): Promise<void> {
this.metrics.increment('redis.ping');
await this.client.ping();
// AbortSignal.timeout ограничивает именно пробу: обычные GET/SET остаются
// без командного таймаута, а замороженный Redis проваливает готовность
// в бюджет, который короче timeout check балансировщика.
const timeout = AbortSignal.timeout(
this.config.getOrThrow('HEALTH_TIMEOUT_MS'),
);
await this.client.withAbortSignal(timeout).ping();
}
async get(key: string): Promise<string | null> {
+583 -69
View File
@@ -11,10 +11,20 @@ import type { Page } from '../src/common/http/page.js';
import type { Message } from '../src/messages/message.js';
import type { User } from '../src/users/user.js';
// Automated counterpart of the manual Redis/PostgreSQL outage checks: the suite
// stops a dependency of the Compose stand, asserts a bounded 503 (never a 500,
// never a trusted anonymous request, never a leaked driver error) and then
// restarts it to prove recovery without data loss.
// Automated counterpart of the manual Redis/PostgreSQL outage checks. Four
// topologies, because the load balancer probes /health/ready (the same route as
// the container healthcheck):
// 1. Redis outage — shared dependency: every replica turns not-ready, HAProxy
// removes all backends and answers 503 itself, while the replica's own
// readiness stays a bounded API 503 with request_id.
// 2. PostgreSQL outage — same shared-dependency topology, confirmed data and
// the session survive the restart.
// 3. Per-replica PostgreSQL fault — only the selected replica loses its own
// path to the database (temporary pg_hba reject entry for its address plus
// connection termination): that slot leaves rotation, the healthy replica
// keeps serving, and the fault is always undone.
// 4. Pool saturation — a busy shared pool is overload, not a lost dependency:
// the replicas stay in rotation because the probe uses its own connection.
//
// It is opt-in because it needs control over the Docker Compose project:
// make test-dependencies
@@ -30,22 +40,52 @@ const composeDir =
const composeEnvFile = process.env.E2E_COMPOSE_ENV_FILE ?? '.env';
const redisService = process.env.E2E_REDIS_SERVICE ?? 'redis';
const postgresService = process.env.E2E_POSTGRES_SERVICE ?? 'postgres';
const apiService = process.env.E2E_API_SERVICE ?? 'api';
const lbStatsUrl =
process.env.E2E_LB_STATS_URL ?? 'http://127.0.0.1:8404/stats;csv';
// PostgreSQL superuser of the stand (compose.yaml, .env); psql runs over the
// container's local socket, so no password is needed here.
const postgresUser = process.env.E2E_POSTGRES_USER ?? 'messenger';
const postgresDatabase = process.env.E2E_POSTGRES_DB ?? 'messenger';
const pgHbaPath =
process.env.E2E_PG_HBA_PATH ?? '/var/lib/postgresql/data/pg_hba.conf';
const pgHbaBackup = `${pgHbaPath}.lab3-partial-fault.bak`;
const password = 'outage-check:пароль🔐';
const runId = randomUUID().replaceAll('-', '').slice(0, 12);
// A request that reaches a stopped database waits for the pool connection
// timeout, so every outage step costs up to DATABASE_CONNECTION_TIMEOUT_MS.
const outagedRequestBudgetMs = 180_000;
const slotBudgetMs = 20_000;
// Rotation is checked with HTTP reads through the LB, not with check counters.
const readyReads = 16;
const saturatingWrites = 60; // больше, чем replicas × DATABASE_POOL_MAX (2 × 10)
const execFileAsync = promisify(execFile);
type Result<T> = { body: T; text: string; response: Response };
type ReplicaProbe = {
instanceId: string | null;
requestId: string | null;
status: number;
text: string;
};
type LbSlot = { addr: string; check: string; name: string; status: string };
async function compose(...args: string[]): Promise<void> {
await execFileAsync(
async function compose(...args: string[]): Promise<string> {
const result = await execFileAsync(
'docker',
['compose', '--env-file', composeEnvFile, ...args],
{ cwd: composeDir, timeout: 120_000 },
);
return result.stdout.trim();
}
async function docker(...args: string[]): Promise<string> {
const result = await execFileAsync('docker', args, {
cwd: composeDir,
timeout: 60_000,
});
return result.stdout.trim();
}
async function request<T = unknown>(
@@ -54,7 +94,15 @@ async function request<T = unknown>(
): Promise<Result<T>> {
const response = await fetch(`${baseUrl}${path}`, init);
const text = await response.text();
return { body: (text ? JSON.parse(text) : undefined) as T, text, response };
// With every backend out of rotation the answer is the LB's own HTML 503,
// so a body is not guaranteed to be JSON (it always is for API answers).
let body: T | undefined;
try {
body = text ? (JSON.parse(text) as T) : undefined;
} catch {
body = undefined;
}
return { body: body as T, text, response };
}
function json(
@@ -109,26 +157,290 @@ async function waitForReadiness(
}
}
function expectBoundedOutage(result: Result<ApiErrorBody>): void {
expect(result.response.status).toBe(503);
expect(result.body.error.code).toBe('unavailable');
expect(result.body.error.message).toBe('Service unavailable');
expect(result.body.error.request_id).toBe(
result.response.headers.get('x-request-id'),
);
async function waitFor(
condition: () => Promise<boolean>,
describe: () => Promise<string>,
timeoutMs: number,
): Promise<void> {
const deadline = Date.now() + timeoutMs;
for (;;) {
if (await condition()) return;
if (Date.now() > deadline)
throw new Error(
`condition not reached within ${timeoutMs}ms: ${await describe()}`,
);
await sleep(250);
}
}
// Contract of the bounded unavailable error, checked both on the API replica
// (JSON body with request_id) and through the load balancer.
function expectBoundedError(
status: number,
text: string,
requestId: string | null,
): void {
expect(status).toBe(503);
const body = JSON.parse(text) as ApiErrorBody;
expect(body.error.code).toBe('unavailable');
expect(body.error.message).toBe('Service unavailable');
expect(body.error.request_id).toBe(requestId);
// A bounded error must not leak driver details, SQL text or a stack trace.
expect(result.text).not.toMatch(
expect(text).not.toMatch(
/ECONNREFUSED|ECONNRESET|Connection terminated|pg\.|node_modules|at .*\(.+:\d+:\d+\)/u,
);
}
function expectBoundedOutage(result: Result<ApiErrorBody>): void {
expectBoundedError(
result.response.status,
result.text,
result.response.headers.get('x-request-id'),
);
}
// With every backend out of rotation the last hop is the load balancer itself:
// it answers with its own 503 page, so there is no API error body and no
// X-Instance-Id — the request never reached a replica.
function expectLbOutage(result: Result<unknown>): void {
expect(result.response.status).toBe(503);
expect(result.response.headers.get('x-instance-id')).toBeNull();
}
// What a client sees while a shared dependency is down: either the bounded 503
// of a replica that is still in rotation (identified by X-Instance-Id), or the
// LB's own 503 once every replica has left rotation. Never a success.
function expectUnavailableThroughLb(result: Result<ApiErrorBody>): void {
expect(result.response.status).toBe(503);
if (result.response.headers.get('x-instance-id') === null) return;
expectBoundedOutage(result);
}
async function historyOf(
chatId: string,
token: string,
): Promise<Result<Page<Message>>> {
return request<Page<Message>>(`/api/v1/chats/${chatId}/messages?limit=100`, {
headers: bearer(token),
});
return request<Page<Message>>(
`/api/v1/chats/${chatId}/messages?limit=100`,
{
headers: bearer(token),
},
);
}
async function apiContainers(): Promise<string[]> {
const stdout = await compose('ps', '-q', apiService);
return stdout
.split('\n')
.map((line) => line.trim())
.filter((line) => line.length > 0)
.sort();
}
async function containerIp(container: string): Promise<string> {
return docker(
'inspect',
'-f',
'{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}',
container,
);
}
// The replicas publish no ports, so a single replica is probed from inside its
// own network namespace (loopback).
const probeScript = `
const params = JSON.parse(process.env.LAB3_PROBE);
const port = process.env.APP_PORT || 8080;
const response = await fetch('http://127.0.0.1:' + port + params.path, {
method: params.method || 'GET',
headers: params.headers || {},
body: params.body,
});
const text = await response.text();
console.log(JSON.stringify({
status: response.status,
text,
instanceId: response.headers.get('x-instance-id'),
requestId: response.headers.get('x-request-id'),
}));
`;
type ProbeInit = {
body?: string;
headers?: Record<string, string>;
method?: string;
};
async function probeReplica(
container: string,
path: string,
init: ProbeInit = {},
): Promise<ReplicaProbe> {
const stdout = await docker(
'exec',
'-e',
`LAB3_PROBE=${JSON.stringify({ path, ...init })}`,
container,
'node',
'--input-type=module',
'-e',
probeScript,
);
return JSON.parse(stdout) as ReplicaProbe;
}
async function waitForReplicaReadiness(
container: string,
expected: number,
timeoutMs: number,
): Promise<void> {
let last = 'no probe';
await waitFor(
async () => {
try {
const probe = await probeReplica(container, '/health/ready');
last = `${probe.status} ${probe.text}`;
return probe.status === expected;
} catch (error) {
last = error instanceof Error ? error.message : 'probe failed';
return false;
}
},
async () => last,
timeoutMs,
);
}
function parseCsvLine(line: string): string[] {
const values: string[] = [];
let current = '';
let quoted = false;
for (const character of line) {
if (character === '"') quoted = !quoted;
else if (character === ',' && !quoted) {
values.push(current);
current = '';
} else current += character;
}
values.push(current.replace(/\r$/u, ''));
return values;
}
// Resolved backend slots of the api backend: the unused slots of the
// server-template have no address and are ignored.
async function lbSlots(): Promise<LbSlot[]> {
const response = await fetch(lbStatsUrl);
const lines = (await response.text()).trim().split('\n');
const header = parseCsvLine(lines[0].replace(/^#\s*/u, '')).map((name) =>
name.trim(),
);
const column = (name: string): number => header.indexOf(name);
return lines
.slice(1)
.map(parseCsvLine)
.filter(
(columns) =>
columns[column('pxname')] === 'api' &&
/^api\d+$/u.test(columns[column('svname')] ?? '') &&
(columns[column('addr')] ?? '').length > 0,
)
.map((columns) => ({
addr: columns[column('addr')],
check: columns[column('check_status')],
name: columns[column('svname')],
status: columns[column('status')],
}));
}
async function waitForSlot(
predicate: (slots: LbSlot[]) => boolean,
describe: string,
timeoutMs = slotBudgetMs,
): Promise<LbSlot[]> {
let last = 'no stats';
await waitFor(
async () => {
try {
const slots = await lbSlots();
last = slots
.map(
(slot) =>
`${slot.name}@${slot.addr} ${slot.status}/${slot.check}`,
)
.join(', ');
return slots.length > 0 && predicate(slots);
} catch (error) {
last = error instanceof Error ? error.message : 'stats failed';
return false;
}
},
async () => `${describe} (last: ${last})`,
timeoutMs,
);
return lbSlots();
}
function upSlots(slots: LbSlot[]): LbSlot[] {
return slots.filter((slot) => slot.status === 'UP');
}
async function psql(query: string): Promise<string> {
return dockerExecService(
postgresService,
'psql',
'-U',
postgresUser,
'-d',
postgresDatabase,
'-tA',
'-c',
query,
);
}
// docker exec needs a container, while the suite is configured with Compose
// service names, so the container of the service is resolved first.
async function dockerExecService(
service: string,
...args: string[]
): Promise<string> {
const container = (await compose('ps', '-q', service))
.split('\n')[0]
?.trim();
if (!container) throw new Error(`no container for service ${service}`);
return docker('exec', container, ...args);
}
// Takes away the replica's own path to PostgreSQL without touching the shared
// database: a reject entry for the replica's address becomes the first matching
// line of pg_hba.conf, so its new connections fail while the server stays up
// for everyone else. The file is rewritten through the existing inode (`cat >
// file`) to preserve the owner and mode the server needs to reload it.
async function applyReplicaDatabaseReject(address: string): Promise<void> {
const script = [
`test -f ${pgHbaBackup} || cat ${pgHbaPath} > ${pgHbaBackup}`,
`printf 'host all all ${address}/32 reject\\n' > /tmp/lab3-pg-hba`,
`cat ${pgHbaPath} >> /tmp/lab3-pg-hba`,
`cat /tmp/lab3-pg-hba > ${pgHbaPath}`,
'rm -f /tmp/lab3-pg-hba',
].join('; ');
await dockerExecService(postgresService, 'sh', '-c', script);
await psql('select pg_reload_conf()');
await psql(
`select count(pg_terminate_backend(pid)) from pg_stat_activity where client_addr = '${address}'`,
);
}
// Idempotent restore: also runs from afterAll, so an assertion that failed
// mid-fault cannot leave the stand rejecting one replica.
async function restoreDatabaseAccess(): Promise<void> {
await dockerExecService(
postgresService,
'sh',
'-c',
`if [ -f ${pgHbaBackup} ]; then cat ${pgHbaBackup} > ${pgHbaPath}; rm -f ${pgHbaBackup}; fi`,
);
await psql('select pg_reload_conf()');
}
describe.skipIf(!enabled)('dependency outages', () => {
@@ -136,6 +448,7 @@ describe.skipIf(!enabled)('dependency outages', () => {
let token: string;
let chat: Chat;
let message: Message;
let replicas: string[];
beforeAll(async () => {
await compose('up', '-d');
@@ -171,49 +484,129 @@ describe.skipIf(!enabled)('dependency outages', () => {
);
expect(sent.response.status).toBe(201);
message = sent.body;
replicas = await apiContainers();
// Partial removal from rotation needs a healthy peer to compare with.
expect(replicas.length).toBeGreaterThanOrEqual(2);
await waitForSlot(
(slots) => upSlots(slots).length === replicas.length,
'not every replica is UP',
30_000,
);
}, outagedRequestBudgetMs);
afterAll(async () => {
// Always restore the stand, even when an assertion failed mid-outage.
// Always restore the stand, even when an assertion failed mid-outage:
// first the services (pg_hba is only reachable in a running container),
// then the temporary per-replica rule, then rotation.
await compose('start', redisService);
await compose('start', postgresService);
await waitForReadiness(200);
await restoreDatabaseAccess();
const expected = (await apiContainers()).length;
await waitForSlot(
(slots) => upSlots(slots).length === expected,
'backends did not return to rotation',
30_000,
);
}, outagedRequestBudgetMs);
it(
'keeps every replica in rotation while the database pool is saturated',
async () => {
// A row lock on the chat parks every write in the shared pool; the
// readiness probe uses its own connection and must keep answering.
const lock = psql(
`begin; select id from chats where id = '${chat.id}' for update; select pg_sleep(4); commit;`,
);
await sleep(300);
const statuses = new Set<string>();
let sampling = true;
const sampler = (async () => {
while (sampling) {
for (const slot of await lbSlots()) statuses.add(slot.status);
await sleep(200);
}
})();
const writes = await Promise.all(
Array.from({ length: saturatingWrites }, () =>
request(
`/api/v1/chats/${chat.id}/messages`,
json({ text: 'saturation' }, messageHeaders(token)),
),
),
);
await lock;
await sleep(1000);
sampling = false;
await sampler;
expect([...statuses]).toEqual(['UP']);
expect(
writes
.map((write) => write.response.status)
.filter((status) => status !== 201),
).toEqual([]);
},
outagedRequestBudgetMs,
);
it(
'serves bounded 503 for the Redis outage and recovers the session',
async () => {
await compose('stop', redisService);
const replica = replicas[0];
const live = await request('/health/live');
expect(live.response.status).toBe(200);
await waitForReadiness(503);
// The replica itself stays bounded: liveness is unaffected, readiness
// and business requests report the missing dependency with an API
// error body.
expect((await probeReplica(replica, '/health/live')).status).toBe(
200,
);
await waitForReplicaReadiness(replica, 503, 30_000);
const readiness = await probeReplica(replica, '/health/ready');
expectBoundedError(
readiness.status,
readiness.text,
readiness.requestId,
);
expectBoundedOutage(await request<ApiErrorBody>('/health/ready'));
const me = await probeReplica(replica, '/api/v1/users/me', {
headers: bearer(token),
});
expectBoundedError(me.status, me.text, me.requestId);
expectBoundedOutage(
// A request without a session must stay unauthorized during an outage:
// the outage may not turn an anonymous caller into a trusted one.
const anonymous = await probeReplica(replica, '/api/v1/chats', {
headers: { 'x-user-id': user.id },
});
expect(anonymous.status).toBe(401);
expect(
(JSON.parse(anonymous.text) as ApiErrorBody).error.code,
).toBe('unauthorized');
// The shared dependency is missing for every replica: a client keeps
// getting 503 (from a replica first, then from the LB itself), and
// once all backends have left rotation the answer is the LB's own.
expectUnavailableThroughLb(
await request<ApiErrorBody>('/api/v1/users/me', {
headers: bearer(token),
}),
);
expectBoundedOutage(
await request<ApiErrorBody>('/api/v1/auth/sessions', {
method: 'POST',
headers: { authorization: basic(user.username, password) },
}),
await waitForSlot(
(slots) => upSlots(slots).length === 0,
'not every slot left rotation',
);
expectLbOutage(
await request('/api/v1/users/me', { headers: bearer(token) }),
);
// A request without a session must stay unauthorized during an outage:
// the outage may not turn an anonymous caller into a trusted one.
const anonymous = await request<ApiErrorBody>('/api/v1/chats', {
headers: { 'x-user-id': user.id },
});
expect(anonymous.response.status).toBe(401);
expect(anonymous.body.error.code).toBe('unauthorized');
await compose('start', redisService);
await waitForReadiness(200);
await waitForSlot(
(slots) => upSlots(slots).length === replicas.length,
'backends did not return to rotation',
30_000,
);
// Sessions live in Redis with persistence, so the old token still works.
const recovered = await request<User>('/api/v1/users/me', {
@@ -235,46 +628,75 @@ describe.skipIf(!enabled)('dependency outages', () => {
'serves bounded 503 for the PostgreSQL outage and keeps confirmed data',
async () => {
await compose('stop', postgresService);
const replica = replicas[0];
const live = await request('/health/live');
expect(live.response.status).toBe(200);
await waitForReadiness(503);
expect((await probeReplica(replica, '/health/live')).status).toBe(
200,
);
await waitForReplicaReadiness(replica, 503, 30_000);
const readiness = await probeReplica(replica, '/health/ready');
expectBoundedError(
readiness.status,
readiness.text,
readiness.requestId,
);
expectBoundedOutage(await request<ApiErrorBody>('/health/ready'));
// Redis still answers, so these requests reach the database layer and
// must fail with the bounded 503, not an unhandled 500.
const me = await probeReplica(replica, '/api/v1/users/me', {
headers: bearer(token),
});
expectBoundedError(me.status, me.text, me.requestId);
// Redis still answers, so these requests reach the database layer.
expectBoundedOutage(
const chats = await probeReplica(replica, '/api/v1/chats', {
headers: bearer(token),
});
expectBoundedError(chats.status, chats.text, chats.requestId);
const history = await probeReplica(
replica,
`/api/v1/chats/${chat.id}/messages?limit=100`,
{ headers: bearer(token) },
);
expectBoundedError(history.status, history.text, history.requestId);
const registration = await probeReplica(replica, '/api/v1/users', {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({
username: `outage_${runId}_late`,
display_name: 'Отказ зависимости',
password,
}),
});
expectBoundedError(
registration.status,
registration.text,
registration.requestId,
);
// Every replica loses the shared database; a client keeps getting 503,
// first from a replica and then from the LB itself.
expectUnavailableThroughLb(
await request<ApiErrorBody>('/api/v1/users/me', {
headers: bearer(token),
}),
);
expectBoundedOutage(
await request<ApiErrorBody>('/api/v1/chats', {
headers: bearer(token),
}),
await waitForSlot(
(slots) => upSlots(slots).length === 0,
'not every slot left rotation',
);
expectBoundedOutage(
await request<ApiErrorBody>(
`/api/v1/chats/${chat.id}/messages?limit=100`,
{ headers: bearer(token) },
),
);
expectBoundedOutage(
await request<ApiErrorBody>(
'/api/v1/users',
json({
username: `outage_${runId}_late`,
display_name: 'Отказ зависимости',
password,
}),
),
expectLbOutage(
await request('/api/v1/users/me', { headers: bearer(token) }),
);
await compose('start', postgresService);
await waitForReadiness(200);
await waitForSlot(
(slots) => upSlots(slots).length === replicas.length,
'backends did not return to rotation',
30_000,
);
const recovered = await request<User>('/api/v1/users/me', {
headers: bearer(token),
@@ -282,9 +704,9 @@ describe.skipIf(!enabled)('dependency outages', () => {
expect(recovered.response.status).toBe(200);
expect(recovered.body.id).toBe(user.id);
const history = await historyOf(chat.id, token);
expect(history.response.status).toBe(200);
expect(history.body.items.map((item) => item.id)).toContain(
const after = await historyOf(chat.id, token);
expect(after.response.status).toBe(200);
expect(after.body.items.map((item) => item.id)).toContain(
message.id,
);
@@ -296,4 +718,96 @@ describe.skipIf(!enabled)('dependency outages', () => {
},
outagedRequestBudgetMs,
);
it(
'excludes only the replica that lost its own database path',
async () => {
const selected = replicas[0];
const healthy = replicas[1];
const selectedIp = await containerIp(selected);
const selectedAddress = `${selectedIp}:8080`;
const selectedInstance = (
await probeReplica(selected, '/health/live')
).instanceId;
expect(selectedInstance).not.toBeNull();
const healthyInstance = (
await probeReplica(healthy, '/health/live')
).instanceId;
try {
await applyReplicaDatabaseReject(selectedIp);
const faultAt = Date.now();
// The selected replica reports the loss, the healthy one does not.
await waitForReplicaReadiness(selected, 503, 30_000);
expect(
(await probeReplica(healthy, '/health/ready')).status,
).toBe(200);
// Only the affected slot leaves rotation. While `fall 2` counts the
// failed checks the slot passes through "UP 1/2 (L7STS)", so the
// wait is for DOWN itself, not for "no longer plain UP".
const slots = await waitForSlot(
(candidates) =>
upSlots(candidates).length === replicas.length - 1 &&
candidates.some(
(slot) =>
slot.addr === selectedAddress &&
slot.status === 'DOWN',
),
`selected slot ${selectedAddress} did not go down`,
30_000,
);
// inter 500 ms × fall 2 + timeout check 500 ms + polling step 250 ms.
expect(Date.now() - faultAt).toBeLessThan(3_000);
expect(
slots.find((slot) => slot.addr === selectedAddress)?.status,
).toBe('DOWN');
// Traffic through the LB stays on the healthy replica: no errors
// and no request served by the replica that lost its database.
const served = new Set<string>();
for (let index = 0; index < readyReads; index += 1) {
const read = await historyOf(chat.id, token);
expect(read.response.status).toBe(200);
served.add(
read.response.headers.get('x-instance-id') ?? 'unknown',
);
}
expect(served.has(selectedInstance as string)).toBe(false);
expect(served.has(healthyInstance as string)).toBe(true);
} finally {
await restoreDatabaseAccess();
}
// The restored replica answers again and returns to rotation.
await waitForReplicaReadiness(selected, 200, 30_000);
await waitForSlot(
(slots) =>
upSlots(slots).length === replicas.length &&
slots.some(
(slot) =>
slot.addr === selectedAddress &&
slot.status === 'UP',
),
'restored replica did not return to rotation',
30_000,
);
let servedAgain = false;
for (
let index = 0;
index < readyReads * 2 && !servedAgain;
index += 1
) {
const read = await historyOf(chat.id, token);
expect(read.response.status).toBe(200);
servedAgain =
read.response.headers.get('x-instance-id') ===
selectedInstance;
}
expect(servedAgain).toBe(true);
},
outagedRequestBudgetMs,
);
});
+2
View File
@@ -113,6 +113,8 @@ services:
CACHE_MODE: ${CACHE_MODE:-protected}
CACHE_MISS_DELAY_MS: ${CACHE_MISS_DELAY_MS:-0}
SESSION_TTL_SECONDS: ${SESSION_TTL_SECONDS:-3600}
# Бюджет пробы готовности; LB проверяет ту же ручку с timeout check 500 ms.
HEALTH_TIMEOUT_MS: ${HEALTH_TIMEOUT_MS:-400}
# Дрейн длиннее обнаружения отказа LB (500 ms x fall 2 ≈ 1 s).
DRAIN_DELAY_MS: ${DRAIN_DELAY_MS:-3000}
deploy:
Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 116 KiB

+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 50,
"attempted_rps": 50.0,
"avg": 6.24,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 11.89,
"rate": 50,
"requests": 750,
"successful_rps": 50.0,
"vus_active": 1
},
{
"achieved_rps": 100,
"attempted_rps": 100.0,
"avg": 6.8,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 46,
"rate": 100,
"requests": 1500,
"successful_rps": 100.0,
"vus_active": 1
},
{
"achieved_rps": 150.07,
"attempted_rps": 150.07,
"avg": 6.12,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 16.54,
"rate": 150,
"requests": 2251,
"successful_rps": 150.07,
"vus_active": 3
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 6.43,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 30.66,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 2
},
{
"achieved_rps": 250.07,
"attempted_rps": 250.07,
"avg": 7.19,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 46.41,
"rate": 250,
"requests": 3751,
"successful_rps": 250.07,
"vus_active": 4
},
{
"achieved_rps": 257.8,
"attempted_rps": 257.8,
"avg": 1278.09,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 5873.71,
"rate": 300,
"requests": 3867,
"successful_rps": 257.8,
"vus_active": 1032
},
{
"achieved_rps": 188.33,
"attempted_rps": 188.33,
"avg": 6457.66,
"duration_s": 15,
"failed": 914,
@@ -108,10 +114,11 @@
"p99": 11675,
"rate": 350,
"requests": 2825,
"successful_rps": 127.4,
"vus_active": 1201
},
{
"achieved_rps": 171.73,
"attempted_rps": 171.73,
"avg": 6828.33,
"duration_s": 15,
"failed": 978,
@@ -121,6 +128,7 @@
"p99": 11434.26,
"rate": 400,
"requests": 2576,
"successful_rps": 106.53,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 50,
"attempted_rps": 50.0,
"avg": 6.08,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 10.81,
"rate": 50,
"requests": 750,
"successful_rps": 50.0,
"vus_active": 1
},
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 5.67,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 11.35,
"rate": 100,
"requests": 1501,
"successful_rps": 100.07,
"vus_active": 3
},
{
"achieved_rps": 150.07,
"attempted_rps": 150.07,
"avg": 6.16,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 25.17,
"rate": 150,
"requests": 2251,
"successful_rps": 150.07,
"vus_active": 3
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 6.28,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 16.19,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 4
},
{
"achieved_rps": 250.07,
"attempted_rps": 250.07,
"avg": 6.93,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 44.47,
"rate": 250,
"requests": 3751,
"successful_rps": 250.07,
"vus_active": 5
},
{
"achieved_rps": 261.87,
"attempted_rps": 261.87,
"avg": 753.22,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 3753.44,
"rate": 300,
"requests": 3928,
"successful_rps": 261.87,
"vus_active": 646
},
{
"achieved_rps": 210.07,
"attempted_rps": 210.07,
"avg": 5512.59,
"duration_s": 15,
"failed": 420,
@@ -108,10 +114,11 @@
"p99": 9141.24,
"rate": 350,
"requests": 3151,
"successful_rps": 182.07,
"vus_active": 1195
},
{
"achieved_rps": 167.07,
"attempted_rps": 167.07,
"avg": 6915.62,
"duration_s": 15,
"failed": 972,
@@ -121,6 +128,7 @@
"p99": 11711.95,
"rate": 400,
"requests": 2506,
"successful_rps": 102.27,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 50.07,
"attempted_rps": 50.07,
"avg": 6.51,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 11.89,
"rate": 50,
"requests": 751,
"successful_rps": 50.07,
"vus_active": 2
},
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 5.4,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 10.79,
"rate": 100,
"requests": 1501,
"successful_rps": 100.07,
"vus_active": 2
},
{
"achieved_rps": 150.07,
"attempted_rps": 150.07,
"avg": 5.46,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 14.74,
"rate": 150,
"requests": 2251,
"successful_rps": 150.07,
"vus_active": 3
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 12.43,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 241.67,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 4
},
{
"achieved_rps": 250.07,
"attempted_rps": 250.07,
"avg": 8.42,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 72.08,
"rate": 250,
"requests": 3751,
"successful_rps": 250.07,
"vus_active": 4
},
{
"achieved_rps": 243.87,
"attempted_rps": 243.87,
"avg": 2197.03,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 7868.46,
"rate": 300,
"requests": 3658,
"successful_rps": 243.87,
"vus_active": 1200
},
{
"achieved_rps": 187.93,
"attempted_rps": 187.93,
"avg": 6785.89,
"duration_s": 15,
"failed": 1337,
@@ -108,10 +114,11 @@
"p99": 12482.46,
"rate": 350,
"requests": 2819,
"successful_rps": 98.8,
"vus_active": 1201
},
{
"achieved_rps": 226.73,
"attempted_rps": 226.73,
"avg": 5291.43,
"duration_s": 15,
"failed": 1535,
@@ -121,6 +128,7 @@
"p99": 9621.22,
"rate": 400,
"requests": 3401,
"successful_rps": 124.4,
"vus_active": 1
}
],
+16 -8
View File
@@ -19,7 +19,7 @@
],
"steps": [
{
"achieved_rps": 50.07,
"attempted_rps": 50.07,
"avg": 5.2,
"duration_s": 15,
"failed": 0,
@@ -29,10 +29,11 @@
"p99": 9.29,
"rate": 50,
"requests": 751,
"successful_rps": 50.07,
"vus_active": 2
},
{
"achieved_rps": 100,
"attempted_rps": 100.0,
"avg": 4.86,
"duration_s": 15,
"failed": 0,
@@ -42,10 +43,11 @@
"p99": 12.95,
"rate": 100,
"requests": 1500,
"successful_rps": 100.0,
"vus_active": 1
},
{
"achieved_rps": 150,
"attempted_rps": 150.0,
"avg": 4.82,
"duration_s": 15,
"failed": 0,
@@ -55,10 +57,11 @@
"p99": 19.55,
"rate": 150,
"requests": 2250,
"successful_rps": 150.0,
"vus_active": 1
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 4.83,
"duration_s": 15,
"failed": 0,
@@ -68,10 +71,11 @@
"p99": 20.47,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 3
},
{
"achieved_rps": 250,
"attempted_rps": 250.0,
"avg": 5.66,
"duration_s": 15,
"failed": 0,
@@ -81,10 +85,11 @@
"p99": 50.6,
"rate": 250,
"requests": 3750,
"successful_rps": 250.0,
"vus_active": 2
},
{
"achieved_rps": 300.07,
"attempted_rps": 300.07,
"avg": 7.89,
"duration_s": 15,
"failed": 0,
@@ -94,10 +99,11 @@
"p99": 109.61,
"rate": 300,
"requests": 4501,
"successful_rps": 300.07,
"vus_active": 4
},
{
"achieved_rps": 348.13,
"attempted_rps": 348.13,
"avg": 12.74,
"duration_s": 15,
"failed": 0,
@@ -107,10 +113,11 @@
"p99": 270.31,
"rate": 350,
"requests": 5222,
"successful_rps": 348.13,
"vus_active": 3
},
{
"achieved_rps": 400.07,
"attempted_rps": 400.07,
"avg": 8.11,
"duration_s": 15,
"failed": 0,
@@ -120,6 +127,7 @@
"p99": 91.04,
"rate": 400,
"requests": 6001,
"successful_rps": 400.07,
"vus_active": 1
}
],
+16 -8
View File
@@ -19,7 +19,7 @@
],
"steps": [
{
"achieved_rps": 50,
"attempted_rps": 50.0,
"avg": 4.62,
"duration_s": 15,
"failed": 0,
@@ -29,10 +29,11 @@
"p99": 7.39,
"rate": 50,
"requests": 750,
"successful_rps": 50.0,
"vus_active": 1
},
{
"achieved_rps": 100,
"attempted_rps": 100.0,
"avg": 4.42,
"duration_s": 15,
"failed": 0,
@@ -42,10 +43,11 @@
"p99": 6.83,
"rate": 100,
"requests": 1500,
"successful_rps": 100.0,
"vus_active": 1
},
{
"achieved_rps": 150.07,
"attempted_rps": 150.07,
"avg": 4.67,
"duration_s": 15,
"failed": 0,
@@ -55,10 +57,11 @@
"p99": 13.1,
"rate": 150,
"requests": 2251,
"successful_rps": 150.07,
"vus_active": 2
},
{
"achieved_rps": 200,
"attempted_rps": 200.0,
"avg": 5.31,
"duration_s": 15,
"failed": 0,
@@ -68,10 +71,11 @@
"p99": 25.51,
"rate": 200,
"requests": 3000,
"successful_rps": 200.0,
"vus_active": 1
},
{
"achieved_rps": 250.07,
"attempted_rps": 250.07,
"avg": 5.18,
"duration_s": 15,
"failed": 0,
@@ -81,10 +85,11 @@
"p99": 19.08,
"rate": 250,
"requests": 3751,
"successful_rps": 250.07,
"vus_active": 4
},
{
"achieved_rps": 300.07,
"attempted_rps": 300.07,
"avg": 4.9,
"duration_s": 15,
"failed": 0,
@@ -94,10 +99,11 @@
"p99": 21.47,
"rate": 300,
"requests": 4501,
"successful_rps": 300.07,
"vus_active": 4
},
{
"achieved_rps": 348.6,
"attempted_rps": 348.6,
"avg": 22.03,
"duration_s": 15,
"failed": 0,
@@ -107,10 +113,11 @@
"p99": 329.83,
"rate": 350,
"requests": 5229,
"successful_rps": 348.6,
"vus_active": 3
},
{
"achieved_rps": 400.07,
"attempted_rps": 400.07,
"avg": 7.25,
"duration_s": 15,
"failed": 0,
@@ -120,6 +127,7 @@
"p99": 73.99,
"rate": 400,
"requests": 6001,
"successful_rps": 400.07,
"vus_active": 1
}
],
+16 -8
View File
@@ -19,7 +19,7 @@
],
"steps": [
{
"achieved_rps": 50.07,
"attempted_rps": 50.07,
"avg": 5.35,
"duration_s": 15,
"failed": 0,
@@ -29,10 +29,11 @@
"p99": 8.85,
"rate": 50,
"requests": 751,
"successful_rps": 50.07,
"vus_active": 2
},
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 4.52,
"duration_s": 15,
"failed": 0,
@@ -42,10 +43,11 @@
"p99": 7.86,
"rate": 100,
"requests": 1501,
"successful_rps": 100.07,
"vus_active": 2
},
{
"achieved_rps": 150.07,
"attempted_rps": 150.07,
"avg": 4.29,
"duration_s": 15,
"failed": 0,
@@ -55,10 +57,11 @@
"p99": 8.75,
"rate": 150,
"requests": 2251,
"successful_rps": 150.07,
"vus_active": 2
},
{
"achieved_rps": 198.93,
"attempted_rps": 198.93,
"avg": 16.7,
"duration_s": 15,
"failed": 0,
@@ -68,10 +71,11 @@
"p99": 435.11,
"rate": 200,
"requests": 2984,
"successful_rps": 198.93,
"vus_active": 2
},
{
"achieved_rps": 250.07,
"attempted_rps": 250.07,
"avg": 8.19,
"duration_s": 15,
"failed": 0,
@@ -81,10 +85,11 @@
"p99": 114.79,
"rate": 250,
"requests": 3751,
"successful_rps": 250.07,
"vus_active": 9
},
{
"achieved_rps": 300.07,
"attempted_rps": 300.07,
"avg": 5.68,
"duration_s": 15,
"failed": 0,
@@ -94,10 +99,11 @@
"p99": 43.48,
"rate": 300,
"requests": 4501,
"successful_rps": 300.07,
"vus_active": 3
},
{
"achieved_rps": 350.07,
"attempted_rps": 350.07,
"avg": 5.46,
"duration_s": 15,
"failed": 0,
@@ -107,10 +113,11 @@
"p99": 35.7,
"rate": 350,
"requests": 5251,
"successful_rps": 350.07,
"vus_active": 4
},
{
"achieved_rps": 399.93,
"attempted_rps": 399.93,
"avg": 13.8,
"duration_s": 15,
"failed": 0,
@@ -120,6 +127,7 @@
"p99": 173.89,
"rate": 400,
"requests": 5999,
"successful_rps": 399.93,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 50.07,
"attempted_rps": 50.07,
"avg": 6.23,
"duration_s": 15,
"failed": 0,
@@ -36,10 +36,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 50.07,
"vus_active": 0
},
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 7.76,
"duration_s": 15,
"failed": 0,
@@ -55,10 +56,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 100.07,
"vus_active": 0
},
{
"achieved_rps": 150.07,
"attempted_rps": 150.07,
"avg": 11.07,
"duration_s": 15,
"failed": 0,
@@ -74,10 +76,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 150.07,
"vus_active": 0
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 5.99,
"duration_s": 15,
"failed": 0,
@@ -93,10 +96,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 200.07,
"vus_active": 0
},
{
"achieved_rps": 250,
"attempted_rps": 250.0,
"avg": 6.94,
"duration_s": 15,
"failed": 0,
@@ -112,10 +116,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 250.0,
"vus_active": 0
},
{
"achieved_rps": 231.47,
"attempted_rps": 231.47,
"avg": 2611.89,
"duration_s": 15,
"failed": 0,
@@ -131,10 +136,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 231.47,
"vus_active": 0
},
{
"achieved_rps": 108.73,
"attempted_rps": 108.73,
"avg": 9466.18,
"duration_s": 15,
"failed": 356,
@@ -150,10 +156,11 @@
"other": 0,
"server_5xx": 356
},
"successful_rps": 85.0,
"vus_active": 918
},
{
"achieved_rps": 131.87,
"attempted_rps": 131.87,
"avg": 7990.69,
"duration_s": 15,
"failed": 1125,
@@ -169,6 +176,7 @@
"other": 0,
"server_5xx": 1125
},
"successful_rps": 56.87,
"vus_active": 335
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 50.07,
"attempted_rps": 50.07,
"avg": 6.02,
"duration_s": 15,
"failed": 0,
@@ -36,10 +36,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 50.07,
"vus_active": 0
},
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 5.64,
"duration_s": 15,
"failed": 0,
@@ -55,10 +56,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 100.07,
"vus_active": 0
},
{
"achieved_rps": 150.07,
"attempted_rps": 150.07,
"avg": 6.93,
"duration_s": 15,
"failed": 0,
@@ -74,10 +76,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 150.07,
"vus_active": 0
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 5.75,
"duration_s": 15,
"failed": 0,
@@ -93,10 +96,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 200.07,
"vus_active": 0
},
{
"achieved_rps": 249.2,
"attempted_rps": 249.2,
"avg": 16.31,
"duration_s": 15,
"failed": 0,
@@ -112,10 +116,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 249.2,
"vus_active": 0
},
{
"achieved_rps": 228.27,
"attempted_rps": 228.27,
"avg": 2772.29,
"duration_s": 15,
"failed": 0,
@@ -131,10 +136,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 228.27,
"vus_active": 0
},
{
"achieved_rps": 107.4,
"attempted_rps": 107.4,
"avg": 9791.12,
"duration_s": 15,
"failed": 211,
@@ -150,10 +156,11 @@
"other": 0,
"server_5xx": 211
},
"successful_rps": 93.33,
"vus_active": 933
},
{
"achieved_rps": 148.47,
"attempted_rps": 148.47,
"avg": 6814.84,
"duration_s": 15,
"failed": 721,
@@ -169,6 +176,7 @@
"other": 0,
"server_5xx": 721
},
"successful_rps": 100.4,
"vus_active": 177
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 50.07,
"attempted_rps": 50.07,
"avg": 5.7,
"duration_s": 15,
"failed": 0,
@@ -36,10 +36,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 50.07,
"vus_active": 0
},
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 5.14,
"duration_s": 15,
"failed": 0,
@@ -55,10 +56,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 100.07,
"vus_active": 0
},
{
"achieved_rps": 150.07,
"attempted_rps": 150.07,
"avg": 4.84,
"duration_s": 15,
"failed": 0,
@@ -74,10 +76,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 150.07,
"vus_active": 0
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 4.98,
"duration_s": 15,
"failed": 0,
@@ -93,10 +96,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 200.07,
"vus_active": 0
},
{
"achieved_rps": 250.07,
"attempted_rps": 250.07,
"avg": 5.48,
"duration_s": 15,
"failed": 0,
@@ -112,10 +116,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 250.07,
"vus_active": 0
},
{
"achieved_rps": 244.73,
"attempted_rps": 244.73,
"avg": 1856.08,
"duration_s": 15,
"failed": 4,
@@ -131,10 +136,11 @@
"other": 0,
"server_5xx": 4
},
"successful_rps": 244.47,
"vus_active": 912
},
{
"achieved_rps": 108.53,
"attempted_rps": 108.53,
"avg": 9229.15,
"duration_s": 15,
"failed": 327,
@@ -150,10 +156,11 @@
"other": 0,
"server_5xx": 327
},
"successful_rps": 86.73,
"vus_active": 935
},
{
"achieved_rps": 132.73,
"attempted_rps": 132.73,
"avg": 7901.66,
"duration_s": 15,
"failed": 967,
@@ -169,6 +176,7 @@
"other": 0,
"server_5xx": 967
},
"successful_rps": 68.27,
"vus_active": 429
}
],
+16 -8
View File
@@ -19,7 +19,7 @@
],
"steps": [
{
"achieved_rps": 50.07,
"attempted_rps": 50.07,
"avg": 5.08,
"duration_s": 15,
"failed": 0,
@@ -35,10 +35,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 50.07,
"vus_active": 0
},
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 5.39,
"duration_s": 15,
"failed": 0,
@@ -54,10 +55,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 100.07,
"vus_active": 0
},
{
"achieved_rps": 150.07,
"attempted_rps": 150.07,
"avg": 4.07,
"duration_s": 15,
"failed": 0,
@@ -73,10 +75,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 150.07,
"vus_active": 0
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 5.23,
"duration_s": 15,
"failed": 0,
@@ -92,10 +95,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 200.07,
"vus_active": 0
},
{
"achieved_rps": 250.07,
"attempted_rps": 250.07,
"avg": 4.49,
"duration_s": 15,
"failed": 0,
@@ -111,10 +115,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 250.07,
"vus_active": 0
},
{
"achieved_rps": 300.07,
"attempted_rps": 300.07,
"avg": 5.29,
"duration_s": 15,
"failed": 0,
@@ -130,10 +135,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 300.07,
"vus_active": 0
},
{
"achieved_rps": 348.67,
"attempted_rps": 348.67,
"avg": 10.71,
"duration_s": 15,
"failed": 0,
@@ -149,10 +155,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 348.67,
"vus_active": 0
},
{
"achieved_rps": 397.6,
"attempted_rps": 397.6,
"avg": 19.37,
"duration_s": 15,
"failed": 0,
@@ -168,6 +175,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 397.6,
"vus_active": 0
}
],
+16 -8
View File
@@ -19,7 +19,7 @@
],
"steps": [
{
"achieved_rps": 50.07,
"attempted_rps": 50.07,
"avg": 4.62,
"duration_s": 15,
"failed": 0,
@@ -35,10 +35,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 50.07,
"vus_active": 0
},
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 4.2,
"duration_s": 15,
"failed": 0,
@@ -54,10 +55,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 100.07,
"vus_active": 0
},
{
"achieved_rps": 150.07,
"attempted_rps": 150.07,
"avg": 4.27,
"duration_s": 15,
"failed": 0,
@@ -73,10 +75,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 150.07,
"vus_active": 0
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 4.43,
"duration_s": 15,
"failed": 0,
@@ -92,10 +95,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 200.07,
"vus_active": 0
},
{
"achieved_rps": 250.07,
"attempted_rps": 250.07,
"avg": 5.29,
"duration_s": 15,
"failed": 0,
@@ -111,10 +115,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 250.07,
"vus_active": 0
},
{
"achieved_rps": 299.4,
"attempted_rps": 299.4,
"avg": 11.82,
"duration_s": 15,
"failed": 0,
@@ -130,10 +135,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 299.4,
"vus_active": 0
},
{
"achieved_rps": 350.07,
"attempted_rps": 350.07,
"avg": 5.09,
"duration_s": 15,
"failed": 0,
@@ -149,10 +155,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 350.07,
"vus_active": 0
},
{
"achieved_rps": 400.07,
"attempted_rps": 400.07,
"avg": 5.64,
"duration_s": 15,
"failed": 0,
@@ -168,6 +175,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 400.07,
"vus_active": 0
}
],
+16 -8
View File
@@ -19,7 +19,7 @@
],
"steps": [
{
"achieved_rps": 50.07,
"attempted_rps": 50.07,
"avg": 4.83,
"duration_s": 15,
"failed": 0,
@@ -35,10 +35,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 50.07,
"vus_active": 0
},
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 4.74,
"duration_s": 15,
"failed": 0,
@@ -54,10 +55,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 100.07,
"vus_active": 0
},
{
"achieved_rps": 150.07,
"attempted_rps": 150.07,
"avg": 4.36,
"duration_s": 15,
"failed": 0,
@@ -73,10 +75,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 150.07,
"vus_active": 0
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 4.17,
"duration_s": 15,
"failed": 0,
@@ -92,10 +95,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 200.07,
"vus_active": 0
},
{
"achieved_rps": 250.07,
"attempted_rps": 250.07,
"avg": 4.61,
"duration_s": 15,
"failed": 0,
@@ -111,10 +115,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 250.07,
"vus_active": 0
},
{
"achieved_rps": 300,
"attempted_rps": 300.0,
"avg": 5.21,
"duration_s": 15,
"failed": 0,
@@ -130,10 +135,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 300.0,
"vus_active": 0
},
{
"achieved_rps": 349.8,
"attempted_rps": 349.8,
"avg": 10.05,
"duration_s": 15,
"failed": 0,
@@ -149,10 +155,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 349.8,
"vus_active": 0
},
{
"achieved_rps": 398.67,
"attempted_rps": 398.67,
"avg": 13.43,
"duration_s": 15,
"failed": 0,
@@ -168,6 +175,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 398.67,
"vus_active": 0
}
],
+2 -1
View File
@@ -19,7 +19,7 @@
],
"steps": [
{
"achieved_rps": 889.85,
"attempted_rps": 889.85,
"avg": 56.47,
"duration_s": 60,
"failed": 0,
@@ -35,6 +35,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 889.85,
"vus_active": 0
}
],
+2 -1
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 862.98,
"attempted_rps": 862.98,
"avg": 477.87,
"duration_s": 60,
"failed": 0,
@@ -36,6 +36,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 862.98,
"vus_active": 0
}
],
+2 -1
View File
@@ -19,7 +19,7 @@
],
"steps": [
{
"achieved_rps": 893.92,
"attempted_rps": 893.92,
"avg": 76.95,
"duration_s": 60,
"failed": 0,
@@ -35,6 +35,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 893.92,
"vus_active": 0
}
],
+2 -1
View File
@@ -19,7 +19,7 @@
],
"steps": [
{
"achieved_rps": 892,
"attempted_rps": 892.0,
"avg": 158.25,
"duration_s": 60,
"failed": 0,
@@ -35,6 +35,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 892.0,
"vus_active": 0
}
],
@@ -19,7 +19,7 @@
],
"steps": [
{
"achieved_rps": 886.72,
"attempted_rps": 886.72,
"avg": 216.06,
"duration_s": 60,
"failed": 0,
@@ -35,6 +35,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 886.72,
"vus_active": 0
}
],
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 853.1,
"attempted_rps": 853.1,
"avg": 606.8,
"duration_s": 60,
"failed": 0,
@@ -36,6 +36,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 853.1,
"vus_active": 0
}
],
@@ -14,7 +14,7 @@
"profile": "spread",
"steps": [
{
"achieved_rps": 200.02,
"attempted_rps": 200.02,
"avg": 4,
"duration_s": 58,
"failed": 0,
@@ -24,6 +24,7 @@
"p99": 8.95,
"rate": 200,
"requests": 11601,
"successful_rps": 200.02,
"vus_active": 1
}
],
@@ -14,7 +14,7 @@
"profile": "spread",
"steps": [
{
"achieved_rps": 200.02,
"attempted_rps": 200.02,
"avg": 3.85,
"duration_s": 58,
"failed": 0,
@@ -30,6 +30,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 200.02,
"vus_active": 0
}
],
@@ -14,7 +14,7 @@
"profile": "spread",
"steps": [
{
"achieved_rps": 200.02,
"attempted_rps": 200.02,
"avg": 5.57,
"duration_s": 58,
"failed": 0,
@@ -24,6 +24,7 @@
"p99": 24.44,
"rate": 200,
"requests": 11601,
"successful_rps": 200.02,
"vus_active": 1
}
],
@@ -14,7 +14,7 @@
"profile": "spread",
"steps": [
{
"achieved_rps": 200.02,
"attempted_rps": 200.02,
"avg": 4.67,
"duration_s": 58,
"failed": 0,
@@ -24,6 +24,7 @@
"p99": 10.34,
"rate": 200,
"requests": 11601,
"successful_rps": 200.02,
"vus_active": 1
}
],
@@ -14,7 +14,7 @@
"profile": "spread",
"steps": [
{
"achieved_rps": 200.02,
"attempted_rps": 200.02,
"avg": 8.08,
"duration_s": 58,
"failed": 0,
@@ -30,6 +30,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 200.02,
"vus_active": 0
}
],
@@ -14,7 +14,7 @@
"profile": "spread",
"steps": [
{
"achieved_rps": 200.02,
"attempted_rps": 200.02,
"avg": 3.8,
"duration_s": 58,
"failed": 0,
@@ -24,6 +24,7 @@
"p99": 7.83,
"rate": 200,
"requests": 11601,
"successful_rps": 200.02,
"vus_active": 1
}
],
@@ -1,47 +0,0 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 913,
"exit_code": 0,
"http_req_duration_p95": 604.64,
"http_reqs": 53119,
"iterations": 53089,
"kind": "steady",
"label": "growth#api-total-6-900",
"mode": "write",
"profile": "spread",
"seed_messages_per_chat": 0,
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-2c232a831987 Creating ",
" Container mtusi-lab3-loadgen-run-2c232a831987 Created"
],
"steps": [
{
"achieved_rps": 884.82,
"avg": 105.87,
"duration_s": 60,
"failed": 0,
"max": 1028.21,
"p50": 6.63,
"p95": 604.71,
"p99": 778.37,
"rate": 900,
"requests": 53089,
"status": {
"client_4xx": 0,
"ok": 53089,
"other": 0,
"server_5xx": 0
},
"vus_active": 615
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 616
}
@@ -1,177 +0,0 @@
{
"commit": "6cced49486011d9a8fe15628944e331edb700bcd",
"dataset": {
"chat_members": 6273,
"chats": 2123,
"idempotency_keys": 3438382,
"messages": 3438382,
"users": 365
},
"finished_at": "2026-10-16T12:54:22Z",
"generator": {
"cpus": "1.5",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
12.8,
10.35,
9.91
],
"mem_available_mib": 6603,
"mem_total_mib": 15771,
"quiesced": true
},
"cpus": 8
},
"kind": "steady",
"label": "growth#api-total-6-900",
"mode": "write",
"observed_stand": {
"api": [
{
"container": "a8108803534a",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-3",
"pool_max": 10
},
{
"container": "6160d09b9510",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-6",
"pool_max": 10
},
{
"container": "25561c10c440",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-5",
"pool_max": 10
},
{
"container": "8659b0db1891",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-4",
"pool_max": 10
}
],
"haproxy": [
{
"container": "ec593c7cf5e2",
"cpus": 0.25,
"image_id": "sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122",
"memory_bytes": 134217728,
"name": "mtusi-lab3-haproxy-1"
}
],
"postgres": [
{
"container": "7f02978f8ed1",
"cpus": 1.5,
"image_id": "sha256:5660c2cbfea50c7a9127d17dc4e48543eedd3d7a41a595a2dfa572471e37e64c",
"memory_bytes": 536870912,
"name": "mtusi-lab3-postgres-1"
}
],
"redis": [
{
"container": "cca316e66b57",
"cpus": 0.25,
"image_id": "sha256:02419de7eddf55aa5bcf49efb74e88fa8d931b4d77c07eff8a6b2144472b6952",
"memory_bytes": 134217728,
"name": "mtusi-lab3-redis-1"
}
]
},
"phases": {},
"profile": "spread",
"quiesce": {
"started_at": "2026-10-16T12:30:13Z",
"stopped": [
"lampa",
"caddy",
"redis",
"sql-lab-db-1",
"redis-lab-redis-1"
]
},
"replicas": {
"25561c10c440": {
"container": "25561c10c440",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-16T12:52:42.178202775Z"
},
"6160d09b9510": {
"container": "6160d09b9510",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-16T12:52:42.059806514Z"
},
"8659b0db1891": {
"container": "8659b0db1891",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-16T12:52:42.316245054Z"
},
"a8108803534a": {
"container": "a8108803534a",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-16T12:52:41.94020557Z"
}
},
"sample_count": 1535,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "1.5",
"API_IMAGE": "mtusi-messenger:lab3",
"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-16T12:53:20Z",
"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"
}
}
@@ -1,46 +0,0 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 63,
"exit_code": 0,
"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-6718f9012a82 Creating ",
" Container mtusi-lab3-loadgen-run-6718f9012a82 Created"
],
"steps": [
{
"achieved_rps": 558.97,
"avg": 5.7,
"duration_s": 60,
"failed": 0,
"max": 355.27,
"p50": 3.75,
"p95": 8.75,
"p99": 45.01,
"rate": 560,
"requests": 33538,
"status": {
"client_4xx": 0,
"ok": 33538,
"other": 0,
"server_5xx": 0
},
"vus_active": 0
}
],
"vus_configured": {
"max": 200,
"preAllocated": 60
},
"vus_max": 118
}
@@ -1,105 +0,0 @@
{
"commit": "e38795d0a39c20960049f84bf6b301832804964d",
"dataset": {
"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"
},
"host": {
"background": {
"load_average": [
7.37,
9.56,
8.94
],
"mem_available_mib": 4604,
"mem_total_mib": 15771,
"quiesced": false
},
"cpus": 8
},
"kind": "steady",
"label": "growth#api-total-6",
"mode": "write",
"phases": {},
"profile": "spread",
"quiesce": null,
"replicas": {
"218dda61d170": {
"container": "218dda61d170",
"cpus": 1.5,
"image_id": "sha256:2ff9aa617ac17b3454a138b81320470fbed2a70ce9ea0d9fb9914b2ffb5461ab",
"memory_mb": 384,
"name": "mtusi-lab3-api-1",
"started_at": "2026-10-15T22:43:26.55538141Z"
},
"a7fcfba3f468": {
"container": "a7fcfba3f468",
"cpus": 1.5,
"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-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": 1634,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "1.5",
"API_IMAGE": "mtusi-messenger:lab3",
"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": "256m",
"PG_CPUS": "1.5",
"PG_MEMORY": "512m",
"REDIS_CPUS": "0.25",
"REDIS_MEMORY": "128m"
},
"started_at": "2026-10-15T22:44:05Z",
"step_seconds": 60,
"steps": [
560
],
"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"
}
}
@@ -1,47 +0,0 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 107,
"exit_code": 0,
"http_req_duration_p95": 20.38,
"http_reqs": 53924,
"iterations": 53894,
"kind": "steady",
"label": "growth#api6-pg3-900",
"mode": "write",
"profile": "spread",
"seed_messages_per_chat": 0,
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-cc022370b727 Creating ",
" Container mtusi-lab3-loadgen-run-cc022370b727 Created"
],
"steps": [
{
"achieved_rps": 898.23,
"avg": 8.25,
"duration_s": 60,
"failed": 0,
"max": 351.62,
"p50": 5.07,
"p95": 20.37,
"p99": 66.45,
"rate": 900,
"requests": 53894,
"status": {
"client_4xx": 0,
"ok": 53894,
"other": 0,
"server_5xx": 0
},
"vus_active": 105
}
],
"vus_configured": {
"max": 900,
"preAllocated": 60
},
"vus_max": 106
}
@@ -1,177 +0,0 @@
{
"commit": "6cced49486011d9a8fe15628944e331edb700bcd",
"dataset": {
"chat_members": 6417,
"chats": 2171,
"idempotency_keys": 3519108,
"messages": 3519108,
"users": 371
},
"finished_at": "2026-10-16T12:56:19Z",
"generator": {
"cpus": "2.0",
"max_vus": "900",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
13.44,
11.14,
10.23
],
"mem_available_mib": 6546,
"mem_total_mib": 15771,
"quiesced": true
},
"cpus": 8
},
"kind": "steady",
"label": "growth#api6-pg3-900",
"mode": "write",
"observed_stand": {
"api": [
{
"container": "d206ccc1c81e",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-4",
"pool_max": 20
},
{
"container": "9a9ee612a332",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-3",
"pool_max": 20
},
{
"container": "ca9bab0424ee",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-5",
"pool_max": 20
},
{
"container": "a60d478514bb",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-6",
"pool_max": 20
}
],
"haproxy": [
{
"container": "ec593c7cf5e2",
"cpus": 0.25,
"image_id": "sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122",
"memory_bytes": 134217728,
"name": "mtusi-lab3-haproxy-1"
}
],
"postgres": [
{
"container": "5ec44cf9fd94",
"cpus": 3.0,
"image_id": "sha256:5660c2cbfea50c7a9127d17dc4e48543eedd3d7a41a595a2dfa572471e37e64c",
"memory_bytes": 536870912,
"name": "mtusi-lab3-postgres-1"
}
],
"redis": [
{
"container": "cca316e66b57",
"cpus": 0.25,
"image_id": "sha256:02419de7eddf55aa5bcf49efb74e88fa8d931b4d77c07eff8a6b2144472b6952",
"memory_bytes": 134217728,
"name": "mtusi-lab3-redis-1"
}
]
},
"phases": {},
"profile": "spread",
"quiesce": {
"started_at": "2026-10-16T12:30:13Z",
"stopped": [
"lampa",
"caddy",
"redis",
"sql-lab-db-1",
"redis-lab-redis-1"
]
},
"replicas": {
"9a9ee612a332": {
"container": "9a9ee612a332",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-16T12:54:39.570706901Z"
},
"a60d478514bb": {
"container": "a60d478514bb",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-16T12:54:39.835430797Z"
},
"ca9bab0424ee": {
"container": "ca9bab0424ee",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-16T12:54:39.699156477Z"
},
"d206ccc1c81e": {
"container": "d206ccc1c81e",
"cpus": 1.5,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-16T12:54:39.439965143Z"
}
},
"sample_count": 1518,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "1.5",
"API_IMAGE": "mtusi-messenger:lab3",
"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"
},
"started_at": "2026-10-16T12:55:17Z",
"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"
}
}
@@ -1,47 +0,0 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 180,
"exit_code": 0,
"http_req_duration_p95": 32.75,
"http_reqs": 53851,
"iterations": 53821,
"kind": "steady",
"label": "growth#pg-3.0-900",
"mode": "write",
"profile": "spread",
"seed_messages_per_chat": 0,
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-6a07bbf325d9 Creating ",
" Container mtusi-lab3-loadgen-run-6a07bbf325d9 Created"
],
"steps": [
{
"achieved_rps": 897.02,
"avg": 9.13,
"duration_s": 60,
"failed": 0,
"max": 305.79,
"p50": 4.1,
"p95": 32.62,
"p99": 108.14,
"rate": 900,
"requests": 53821,
"status": {
"client_4xx": 0,
"ok": 53821,
"other": 0,
"server_5xx": 0
},
"vus_active": 172
}
],
"vus_configured": {
"max": 200,
"preAllocated": 60
},
"vus_max": 172
}
@@ -1,177 +0,0 @@
{
"commit": "6cced49486011d9a8fe15628944e331edb700bcd",
"dataset": {
"chat_members": 5409,
"chats": 1835,
"idempotency_keys": 2968817,
"messages": 2968817,
"users": 329
},
"finished_at": "2026-10-16T12:40:23Z",
"generator": {
"cpus": "1.5",
"max_vus": "200",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
8.35,
12.69,
9.63
],
"mem_available_mib": 6602,
"mem_total_mib": 15771,
"quiesced": true
},
"cpus": 8
},
"kind": "steady",
"label": "growth#pg-3.0-900",
"mode": "write",
"observed_stand": {
"api": [
{
"container": "f11273ba48cf",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-4",
"pool_max": 10
},
{
"container": "c04d8925c4b8",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-6",
"pool_max": 10
},
{
"container": "2f0d94f0536e",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-3",
"pool_max": 10
},
{
"container": "3a5792cd5ea2",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-5",
"pool_max": 10
}
],
"haproxy": [
{
"container": "ec593c7cf5e2",
"cpus": 0.25,
"image_id": "sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122",
"memory_bytes": 134217728,
"name": "mtusi-lab3-haproxy-1"
}
],
"postgres": [
{
"container": "5269a2ff16d5",
"cpus": 3.0,
"image_id": "sha256:5660c2cbfea50c7a9127d17dc4e48543eedd3d7a41a595a2dfa572471e37e64c",
"memory_bytes": 536870912,
"name": "mtusi-lab3-postgres-1"
}
],
"redis": [
{
"container": "cca316e66b57",
"cpus": 0.25,
"image_id": "sha256:02419de7eddf55aa5bcf49efb74e88fa8d931b4d77c07eff8a6b2144472b6952",
"memory_bytes": 134217728,
"name": "mtusi-lab3-redis-1"
}
]
},
"phases": {},
"profile": "spread",
"quiesce": {
"started_at": "2026-10-16T12:30:13Z",
"stopped": [
"lampa",
"caddy",
"redis",
"sql-lab-db-1",
"redis-lab-redis-1"
]
},
"replicas": {
"2f0d94f0536e": {
"container": "2f0d94f0536e",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-16T12:38:39.42683346Z"
},
"3a5792cd5ea2": {
"container": "3a5792cd5ea2",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-16T12:38:39.556615337Z"
},
"c04d8925c4b8": {
"container": "c04d8925c4b8",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-16T12:38:39.310049685Z"
},
"f11273ba48cf": {
"container": "f11273ba48cf",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-16T12:38:39.179034243Z"
}
},
"sample_count": 1565,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3",
"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-16T12:39:19Z",
"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"
}
}
@@ -1,48 +0,0 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 1150,
"exit_code": 0,
"http_req_duration_p95": 271.82,
"http_reqs": 52881,
"iterations": 52851,
"kind": "steady",
"label": "growth#pool-20-900",
"mode": "write",
"profile": "spread",
"seed_messages_per_chat": 0,
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-bce7a15e75c7 Creating ",
" Container mtusi-lab3-loadgen-run-bce7a15e75c7 Created ",
"time=\"2026-10-16T12:43:25Z\" level=warning msg=\"Insufficient VUs, reached 200 active VUs and cannot initialize more\" executor=constant-arrival-rate scenario=steady"
],
"steps": [
{
"achieved_rps": 880.85,
"avg": 77.09,
"duration_s": 60,
"failed": 0,
"max": 947.92,
"p50": 11.14,
"p95": 271.81,
"p99": 372.92,
"rate": 900,
"requests": 52851,
"status": {
"client_4xx": 0,
"ok": 52851,
"other": 0,
"server_5xx": 0
},
"vus_active": 200
}
],
"vus_configured": {
"max": 200,
"preAllocated": 60
},
"vus_max": 200
}
@@ -1,177 +0,0 @@
{
"commit": "6cced49486011d9a8fe15628944e331edb700bcd",
"dataset": {
"chat_members": 5697,
"chats": 1931,
"idempotency_keys": 3127409,
"messages": 3127409,
"users": 341
},
"finished_at": "2026-10-16T12:44:10Z",
"generator": {
"cpus": "1.5",
"max_vus": "200",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
9.05,
10.89,
9.58
],
"mem_available_mib": 6572,
"mem_total_mib": 15771,
"quiesced": true
},
"cpus": 8
},
"kind": "steady",
"label": "growth#pool-20-900",
"mode": "write",
"observed_stand": {
"api": [
{
"container": "f651a21f7401",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-5",
"pool_max": 20
},
{
"container": "de94f12154f1",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-4",
"pool_max": 20
},
{
"container": "43f462e66e7c",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-3",
"pool_max": 20
},
{
"container": "43d3938a2362",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-6",
"pool_max": 20
}
],
"haproxy": [
{
"container": "ec593c7cf5e2",
"cpus": 0.25,
"image_id": "sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122",
"memory_bytes": 134217728,
"name": "mtusi-lab3-haproxy-1"
}
],
"postgres": [
{
"container": "7f02978f8ed1",
"cpus": 1.5,
"image_id": "sha256:5660c2cbfea50c7a9127d17dc4e48543eedd3d7a41a595a2dfa572471e37e64c",
"memory_bytes": 536870912,
"name": "mtusi-lab3-postgres-1"
}
],
"redis": [
{
"container": "cca316e66b57",
"cpus": 0.25,
"image_id": "sha256:02419de7eddf55aa5bcf49efb74e88fa8d931b4d77c07eff8a6b2144472b6952",
"memory_bytes": 134217728,
"name": "mtusi-lab3-redis-1"
}
]
},
"phases": {},
"profile": "spread",
"quiesce": {
"started_at": "2026-10-16T12:30:13Z",
"stopped": [
"lampa",
"caddy",
"redis",
"sql-lab-db-1",
"redis-lab-redis-1"
]
},
"replicas": {
"43d3938a2362": {
"container": "43d3938a2362",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-16T12:42:28.445358641Z"
},
"43f462e66e7c": {
"container": "43f462e66e7c",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-16T12:42:28.159483468Z"
},
"de94f12154f1": {
"container": "de94f12154f1",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-16T12:42:27.903400572Z"
},
"f651a21f7401": {
"container": "f651a21f7401",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-16T12:42:27.619831463Z"
}
},
"sample_count": 1552,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3",
"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-16T12:43:07Z",
"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"
}
}
@@ -1,47 +0,0 @@
{
"base_url": "http://haproxy:8080",
"checks": {
"fails": 0,
"passes": 0
},
"dropped_iterations": 203,
"exit_code": 0,
"http_req_duration_p95": 56.19,
"http_reqs": 53828,
"iterations": 53798,
"kind": "steady",
"label": "growth#pool-5-900",
"mode": "write",
"profile": "spread",
"seed_messages_per_chat": 0,
"stderr_tail": [
"Container mtusi-lab3-loadgen-run-51fbb7bbdd96 Creating ",
" Container mtusi-lab3-loadgen-run-51fbb7bbdd96 Created"
],
"steps": [
{
"achieved_rps": 896.63,
"avg": 13.18,
"duration_s": 60,
"failed": 0,
"max": 295.43,
"p50": 4.33,
"p95": 56.14,
"p99": 170.79,
"rate": 900,
"requests": 53798,
"status": {
"client_4xx": 0,
"ok": 53798,
"other": 0,
"server_5xx": 0
},
"vus_active": 168
}
],
"vus_configured": {
"max": 200,
"preAllocated": 60
},
"vus_max": 169
}
@@ -1,177 +0,0 @@
{
"commit": "6cced49486011d9a8fe15628944e331edb700bcd",
"dataset": {
"chat_members": 5553,
"chats": 1883,
"idempotency_keys": 3049486,
"messages": 3049486,
"users": 335
},
"finished_at": "2026-10-16T12:42:19Z",
"generator": {
"cpus": "1.5",
"max_vus": "200",
"memory": "1024m",
"pre_vus": "60"
},
"host": {
"background": {
"load_average": [
11.2,
12.15,
9.78
],
"mem_available_mib": 6436,
"mem_total_mib": 15771,
"quiesced": true
},
"cpus": 8
},
"kind": "steady",
"label": "growth#pool-5-900",
"mode": "write",
"observed_stand": {
"api": [
{
"container": "a45dab185109",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-3",
"pool_max": 5
},
{
"container": "25e3c2a588ae",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-6",
"pool_max": 5
},
{
"container": "e1f2193d60be",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-4",
"pool_max": 5
},
{
"container": "ff0ebd6f5ca9",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_bytes": 402653184,
"name": "mtusi-lab3-api-5",
"pool_max": 5
}
],
"haproxy": [
{
"container": "ec593c7cf5e2",
"cpus": 0.25,
"image_id": "sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122",
"memory_bytes": 134217728,
"name": "mtusi-lab3-haproxy-1"
}
],
"postgres": [
{
"container": "7f02978f8ed1",
"cpus": 1.5,
"image_id": "sha256:5660c2cbfea50c7a9127d17dc4e48543eedd3d7a41a595a2dfa572471e37e64c",
"memory_bytes": 536870912,
"name": "mtusi-lab3-postgres-1"
}
],
"redis": [
{
"container": "cca316e66b57",
"cpus": 0.25,
"image_id": "sha256:02419de7eddf55aa5bcf49efb74e88fa8d931b4d77c07eff8a6b2144472b6952",
"memory_bytes": 134217728,
"name": "mtusi-lab3-redis-1"
}
]
},
"phases": {},
"profile": "spread",
"quiesce": {
"started_at": "2026-10-16T12:30:13Z",
"stopped": [
"lampa",
"caddy",
"redis",
"sql-lab-db-1",
"redis-lab-redis-1"
]
},
"replicas": {
"25e3c2a588ae": {
"container": "25e3c2a588ae",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-6",
"started_at": "2026-10-16T12:40:36.914696604Z"
},
"a45dab185109": {
"container": "a45dab185109",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-3",
"started_at": "2026-10-16T12:40:36.778369649Z"
},
"e1f2193d60be": {
"container": "e1f2193d60be",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-4",
"started_at": "2026-10-16T12:40:37.0370632Z"
},
"ff0ebd6f5ca9": {
"container": "ff0ebd6f5ca9",
"cpus": 0.75,
"image_id": "sha256:67a35fda7a0e9d590be17530c20a027c18ab2629de237b45efb413bb53774f12",
"memory_mb": 384,
"name": "mtusi-lab3-api-5",
"started_at": "2026-10-16T12:40:37.161652017Z"
}
},
"sample_count": 1553,
"sampler_errors": [],
"stand": {
"API_CPUS_PER_REPLICA": "0.75",
"API_IMAGE": "mtusi-messenger:lab3",
"API_MEMORY_PER_REPLICA": "384m",
"API_REPLICAS": "4",
"API_TOTAL_CPUS": "3.0",
"API_TOTAL_MEMORY_MB": "1536",
"BUILD_ID": "base",
"DATABASE_POOL_MAX": "5",
"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-16T12:41: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"
}
}
+10 -5
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 890.33,
"attempted_rps": 890.33,
"avg": 15.73,
"duration_s": 15,
"failed": 0,
@@ -36,10 +36,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 890.33,
"vus_active": 0
},
{
"achieved_rps": 1105.93,
"attempted_rps": 1105.93,
"avg": 193.89,
"duration_s": 15,
"failed": 0,
@@ -55,10 +56,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 1105.93,
"vus_active": 0
},
{
"achieved_rps": 1036.27,
"attempted_rps": 1036.27,
"avg": 676.54,
"duration_s": 15,
"failed": 0,
@@ -74,10 +76,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 1036.27,
"vus_active": 0
},
{
"achieved_rps": 1004.13,
"attempted_rps": 1004.13,
"avg": 816.47,
"duration_s": 15,
"failed": 0,
@@ -93,10 +96,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 1004.13,
"vus_active": 0
},
{
"achieved_rps": 990.87,
"attempted_rps": 990.87,
"avg": 824.78,
"duration_s": 15,
"failed": 0,
@@ -112,6 +116,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 990.87,
"vus_active": 0
}
],
+10 -5
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 886.6,
"attempted_rps": 886.6,
"avg": 30.59,
"duration_s": 15,
"failed": 0,
@@ -36,10 +36,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 886.6,
"vus_active": 0
},
{
"achieved_rps": 1054.8,
"attempted_rps": 1054.8,
"avg": 475.54,
"duration_s": 15,
"failed": 0,
@@ -55,10 +56,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 1054.8,
"vus_active": 0
},
{
"achieved_rps": 903.4,
"attempted_rps": 903.4,
"avg": 877.93,
"duration_s": 15,
"failed": 0,
@@ -74,10 +76,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 903.4,
"vus_active": 0
},
{
"achieved_rps": 929.27,
"attempted_rps": 929.27,
"avg": 861.89,
"duration_s": 15,
"failed": 0,
@@ -93,10 +96,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 929.27,
"vus_active": 0
},
{
"achieved_rps": 965.2,
"attempted_rps": 965.2,
"avg": 910.61,
"duration_s": 15,
"failed": 0,
@@ -112,6 +116,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 965.2,
"vus_active": 0
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 5.73,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 19.63,
"rate": 100,
"requests": 1501,
"successful_rps": 100.07,
"vus_active": 2
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 3.81,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 7.68,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 3
},
{
"achieved_rps": 300,
"attempted_rps": 300.0,
"avg": 5.27,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 22.24,
"rate": 300,
"requests": 4500,
"successful_rps": 300.0,
"vus_active": 3
},
{
"achieved_rps": 400.07,
"attempted_rps": 400.07,
"avg": 5.55,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 16.77,
"rate": 400,
"requests": 6001,
"successful_rps": 400.07,
"vus_active": 6
},
{
"achieved_rps": 550.07,
"attempted_rps": 550.07,
"avg": 6.04,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 63.57,
"rate": 550,
"requests": 8251,
"successful_rps": 550.07,
"vus_active": 5
},
{
"achieved_rps": 700.07,
"attempted_rps": 700.07,
"avg": 6.78,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 57.57,
"rate": 700,
"requests": 10501,
"successful_rps": 700.07,
"vus_active": 33
},
{
"achieved_rps": 754.4,
"attempted_rps": 754.4,
"avg": 221.38,
"duration_s": 15,
"failed": 0,
@@ -108,10 +114,11 @@
"p99": 584.98,
"rate": 900,
"requests": 11316,
"successful_rps": 754.4,
"vus_active": 129
},
{
"achieved_rps": 761.07,
"attempted_rps": 761.07,
"avg": 251.55,
"duration_s": 15,
"failed": 0,
@@ -121,6 +128,7 @@
"p99": 424.35,
"rate": 1100,
"requests": 11416,
"successful_rps": 761.07,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 6.2,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 19.21,
"rate": 100,
"requests": 1501,
"successful_rps": 100.07,
"vus_active": 2
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 3.8,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 5.72,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 3
},
{
"achieved_rps": 300.07,
"attempted_rps": 300.07,
"avg": 4.27,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 9.57,
"rate": 300,
"requests": 4501,
"successful_rps": 300.07,
"vus_active": 3
},
{
"achieved_rps": 400.07,
"attempted_rps": 400.07,
"avg": 5.67,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 17.33,
"rate": 400,
"requests": 6001,
"successful_rps": 400.07,
"vus_active": 5
},
{
"achieved_rps": 550.07,
"attempted_rps": 550.07,
"avg": 4.94,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 17.15,
"rate": 550,
"requests": 8251,
"successful_rps": 550.07,
"vus_active": 6
},
{
"achieved_rps": 700.07,
"attempted_rps": 700.07,
"avg": 9.05,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 61.29,
"rate": 700,
"requests": 10501,
"successful_rps": 700.07,
"vus_active": 5
},
{
"achieved_rps": 807,
"attempted_rps": 807.0,
"avg": 193.64,
"duration_s": 15,
"failed": 0,
@@ -108,10 +114,11 @@
"p99": 417.64,
"rate": 900,
"requests": 12105,
"successful_rps": 807.0,
"vus_active": 114
},
{
"achieved_rps": 680.2,
"attempted_rps": 680.2,
"avg": 278.96,
"duration_s": 15,
"failed": 0,
@@ -121,6 +128,7 @@
"p99": 684.08,
"rate": 1100,
"requests": 10203,
"successful_rps": 680.2,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 100,
"attempted_rps": 100.0,
"avg": 5.11,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 9.31,
"rate": 100,
"requests": 1500,
"successful_rps": 100.0,
"vus_active": 1
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 5.35,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 11.42,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 5
},
{
"achieved_rps": 300.2,
"attempted_rps": 300.2,
"avg": 6.05,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 17.34,
"rate": 300,
"requests": 4503,
"successful_rps": 300.2,
"vus_active": 6
},
{
"achieved_rps": 400.07,
"attempted_rps": 400.07,
"avg": 5.08,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 11.77,
"rate": 400,
"requests": 6001,
"successful_rps": 400.07,
"vus_active": 6
},
{
"achieved_rps": 550,
"attempted_rps": 550.0,
"avg": 5.96,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 55.36,
"rate": 550,
"requests": 8250,
"successful_rps": 550.0,
"vus_active": 4
},
{
"achieved_rps": 699.53,
"attempted_rps": 699.53,
"avg": 8.42,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 70.27,
"rate": 700,
"requests": 10493,
"successful_rps": 699.53,
"vus_active": 12
},
{
"achieved_rps": 650.2,
"attempted_rps": 650.2,
"avg": 274.61,
"duration_s": 15,
"failed": 0,
@@ -108,10 +114,11 @@
"p99": 517.25,
"rate": 900,
"requests": 9753,
"successful_rps": 650.2,
"vus_active": 134
},
{
"achieved_rps": 532.2,
"attempted_rps": 532.2,
"avg": 364.6,
"duration_s": 15,
"failed": 0,
@@ -121,6 +128,7 @@
"p99": 775.78,
"rate": 1100,
"requests": 7983,
"successful_rps": 532.2,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 5.43,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 10.62,
"rate": 100,
"requests": 1501,
"successful_rps": 100.07,
"vus_active": 2
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 4.54,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 9.27,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 4
},
{
"achieved_rps": 300,
"attempted_rps": 300.0,
"avg": 5.44,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 14.52,
"rate": 300,
"requests": 4500,
"successful_rps": 300.0,
"vus_active": 1
},
{
"achieved_rps": 400.07,
"attempted_rps": 400.07,
"avg": 5.12,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 11.92,
"rate": 400,
"requests": 6001,
"successful_rps": 400.07,
"vus_active": 4
},
{
"achieved_rps": 550.07,
"attempted_rps": 550.07,
"avg": 5.5,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 36.34,
"rate": 550,
"requests": 8251,
"successful_rps": 550.07,
"vus_active": 6
},
{
"achieved_rps": 690.2,
"attempted_rps": 690.2,
"avg": 53.56,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 211.84,
"rate": 700,
"requests": 10353,
"successful_rps": 690.2,
"vus_active": 70
},
{
"achieved_rps": 538,
"attempted_rps": 538.0,
"avg": 352.39,
"duration_s": 15,
"failed": 0,
@@ -108,10 +114,11 @@
"p99": 1086.81,
"rate": 900,
"requests": 8070,
"successful_rps": 538.0,
"vus_active": 132
},
{
"achieved_rps": 578.13,
"attempted_rps": 578.13,
"avg": 335.13,
"duration_s": 15,
"failed": 0,
@@ -121,6 +128,7 @@
"p99": 734.16,
"rate": 1100,
"requests": 8672,
"successful_rps": 578.13,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 5.14,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 9.58,
"rate": 100,
"requests": 1501,
"successful_rps": 100.07,
"vus_active": 2
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 4.23,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 9.12,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 5
},
{
"achieved_rps": 300,
"attempted_rps": 300.0,
"avg": 6.82,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 50.46,
"rate": 300,
"requests": 4500,
"successful_rps": 300.0,
"vus_active": 2
},
{
"achieved_rps": 400.07,
"attempted_rps": 400.07,
"avg": 5.09,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 12.44,
"rate": 400,
"requests": 6001,
"successful_rps": 400.07,
"vus_active": 4
},
{
"achieved_rps": 549.87,
"attempted_rps": 549.87,
"avg": 8.8,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 96.85,
"rate": 550,
"requests": 8248,
"successful_rps": 549.87,
"vus_active": 4
},
{
"achieved_rps": 692.4,
"attempted_rps": 692.4,
"avg": 43.09,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 178.67,
"rate": 700,
"requests": 10386,
"successful_rps": 692.4,
"vus_active": 61
},
{
"achieved_rps": 614.13,
"attempted_rps": 614.13,
"avg": 300.09,
"duration_s": 15,
"failed": 0,
@@ -108,10 +114,11 @@
"p99": 608.9,
"rate": 900,
"requests": 9212,
"successful_rps": 614.13,
"vus_active": 136
},
{
"achieved_rps": 590.2,
"attempted_rps": 590.2,
"avg": 322.81,
"duration_s": 15,
"failed": 0,
@@ -121,6 +128,7 @@
"p99": 677.61,
"rate": 1100,
"requests": 8853,
"successful_rps": 590.2,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 5.47,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 10.19,
"rate": 100,
"requests": 1501,
"successful_rps": 100.07,
"vus_active": 3
},
{
"achieved_rps": 200,
"attempted_rps": 200.0,
"avg": 6.02,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 25.94,
"rate": 200,
"requests": 3000,
"successful_rps": 200.0,
"vus_active": 2
},
{
"achieved_rps": 300.07,
"attempted_rps": 300.07,
"avg": 6.42,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 35.05,
"rate": 300,
"requests": 4501,
"successful_rps": 300.07,
"vus_active": 4
},
{
"achieved_rps": 398.6,
"attempted_rps": 398.6,
"avg": 9.96,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 168.94,
"rate": 400,
"requests": 5979,
"successful_rps": 398.6,
"vus_active": 3
},
{
"achieved_rps": 541,
"attempted_rps": 541.0,
"avg": 34.57,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 308.26,
"rate": 550,
"requests": 8115,
"successful_rps": 541.0,
"vus_active": 5
},
{
"achieved_rps": 695.6,
"attempted_rps": 695.6,
"avg": 34.32,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 176.47,
"rate": 700,
"requests": 10434,
"successful_rps": 695.6,
"vus_active": 89
},
{
"achieved_rps": 636.67,
"attempted_rps": 636.67,
"avg": 296.4,
"duration_s": 15,
"failed": 0,
@@ -108,10 +114,11 @@
"p99": 1283.66,
"rate": 900,
"requests": 9550,
"successful_rps": 636.67,
"vus_active": 189
},
{
"achieved_rps": 609.6,
"attempted_rps": 609.6,
"avg": 307.84,
"duration_s": 15,
"failed": 0,
@@ -121,6 +128,7 @@
"p99": 1297.31,
"rate": 1100,
"requests": 9144,
"successful_rps": 609.6,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 100,
"attempted_rps": 100.0,
"avg": 5.33,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 14.35,
"rate": 100,
"requests": 1500,
"successful_rps": 100.0,
"vus_active": 1
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 6.85,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 52.5,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 4
},
{
"achieved_rps": 300.07,
"attempted_rps": 300.07,
"avg": 7.26,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 47.08,
"rate": 300,
"requests": 4501,
"successful_rps": 300.07,
"vus_active": 3
},
{
"achieved_rps": 400,
"attempted_rps": 400.0,
"avg": 6.39,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 50.94,
"rate": 400,
"requests": 6000,
"successful_rps": 400.0,
"vus_active": 4
},
{
"achieved_rps": 550.07,
"attempted_rps": 550.07,
"avg": 7.33,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 62.4,
"rate": 550,
"requests": 8251,
"successful_rps": 550.07,
"vus_active": 6
},
{
"achieved_rps": 653.33,
"attempted_rps": 653.33,
"avg": 125.9,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 699.08,
"rate": 700,
"requests": 9800,
"successful_rps": 653.33,
"vus_active": 159
},
{
"achieved_rps": 586.93,
"attempted_rps": 586.93,
"avg": 326.51,
"duration_s": 15,
"failed": 0,
@@ -108,10 +114,11 @@
"p99": 1034.47,
"rate": 900,
"requests": 8804,
"successful_rps": 586.93,
"vus_active": 179
},
{
"achieved_rps": 566.73,
"attempted_rps": 566.73,
"avg": 342.13,
"duration_s": 15,
"failed": 0,
@@ -121,6 +128,7 @@
"p99": 1174.5,
"rate": 1100,
"requests": 8501,
"successful_rps": 566.73,
"vus_active": 1
}
],
+8 -4
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 399.87,
"attempted_rps": 399.87,
"avg": 13.23,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 189.84,
"rate": 400,
"requests": 5998,
"successful_rps": 399.87,
"vus_active": 4
},
{
"achieved_rps": 495.33,
"attempted_rps": 495.33,
"avg": 77.49,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 405.9,
"rate": 500,
"requests": 7430,
"successful_rps": 495.33,
"vus_active": 51
},
{
"achieved_rps": 559.27,
"attempted_rps": 559.27,
"avg": 495.27,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 1489.61,
"rate": 600,
"requests": 8389,
"successful_rps": 559.27,
"vus_active": 452
},
{
"achieved_rps": 529.2,
"attempted_rps": 529.2,
"avg": 2034.05,
"duration_s": 15,
"failed": 0,
@@ -69,6 +72,7 @@
"p99": 3596.6,
"rate": 800,
"requests": 7938,
"successful_rps": 529.2,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 50.07,
"attempted_rps": 50.07,
"avg": 7.88,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 20.83,
"rate": 50,
"requests": 751,
"successful_rps": 50.07,
"vus_active": 2
},
{
"achieved_rps": 100.07,
"attempted_rps": 100.07,
"avg": 7.28,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 36.14,
"rate": 100,
"requests": 1501,
"successful_rps": 100.07,
"vus_active": 3
},
{
"achieved_rps": 150,
"attempted_rps": 150.0,
"avg": 5.78,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 19.17,
"rate": 150,
"requests": 2250,
"successful_rps": 150.0,
"vus_active": 1
},
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 5.58,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 20.66,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 3
},
{
"achieved_rps": 188.73,
"attempted_rps": 188.73,
"avg": 630.68,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 2587.42,
"rate": 250,
"requests": 2831,
"successful_rps": 188.73,
"vus_active": 200
},
{
"achieved_rps": 104,
"attempted_rps": 104.0,
"avg": 2012.53,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 3947.02,
"rate": 300,
"requests": 1560,
"successful_rps": 104.0,
"vus_active": 201
},
{
"achieved_rps": 79.47,
"attempted_rps": 79.47,
"avg": 2658.32,
"duration_s": 15,
"failed": 0,
@@ -108,10 +114,11 @@
"p99": 5020.98,
"rate": 350,
"requests": 1192,
"successful_rps": 79.47,
"vus_active": 201
},
{
"achieved_rps": 102,
"attempted_rps": 102.0,
"avg": 1979.19,
"duration_s": 15,
"failed": 0,
@@ -121,6 +128,7 @@
"p99": 4885.3,
"rate": 400,
"requests": 1530,
"successful_rps": 102.0,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 3.99,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 26.55,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 2
},
{
"achieved_rps": 400.07,
"attempted_rps": 400.07,
"avg": 4.25,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 38.25,
"rate": 400,
"requests": 6001,
"successful_rps": 400.07,
"vus_active": 5
},
{
"achieved_rps": 700.07,
"attempted_rps": 700.07,
"avg": 5.69,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 61.51,
"rate": 700,
"requests": 10501,
"successful_rps": 700.07,
"vus_active": 10
},
{
"achieved_rps": 991,
"attempted_rps": 991.0,
"avg": 13.38,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 153.26,
"rate": 1000,
"requests": 14865,
"successful_rps": 991.0,
"vus_active": 6
},
{
"achieved_rps": 1358.4,
"attempted_rps": 1358.4,
"avg": 99.98,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 423.61,
"rate": 1500,
"requests": 20376,
"successful_rps": 1358.4,
"vus_active": 90
},
{
"achieved_rps": 1275.47,
"attempted_rps": 1275.47,
"avg": 146.62,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 533.66,
"rate": 2000,
"requests": 19132,
"successful_rps": 1275.47,
"vus_active": 142
},
{
"achieved_rps": 1271.53,
"attempted_rps": 1271.53,
"avg": 142.72,
"duration_s": 15,
"failed": 0,
@@ -108,10 +114,11 @@
"p99": 435.91,
"rate": 2500,
"requests": 19073,
"successful_rps": 1271.53,
"vus_active": 200
},
{
"achieved_rps": 1301.27,
"attempted_rps": 1301.27,
"avg": 145.5,
"duration_s": 15,
"failed": 0,
@@ -121,6 +128,7 @@
"p99": 492.98,
"rate": 3000,
"requests": 19519,
"successful_rps": 1301.27,
"vus_active": 1
}
],
+16 -8
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 200.07,
"attempted_rps": 200.07,
"avg": 3.04,
"duration_s": 15,
"failed": 0,
@@ -30,10 +30,11 @@
"p99": 10.1,
"rate": 200,
"requests": 3001,
"successful_rps": 200.07,
"vus_active": 3
},
{
"achieved_rps": 400.07,
"attempted_rps": 400.07,
"avg": 4.09,
"duration_s": 15,
"failed": 0,
@@ -43,10 +44,11 @@
"p99": 43.83,
"rate": 400,
"requests": 6001,
"successful_rps": 400.07,
"vus_active": 7
},
{
"achieved_rps": 700.07,
"attempted_rps": 700.07,
"avg": 4.39,
"duration_s": 15,
"failed": 0,
@@ -56,10 +58,11 @@
"p99": 53.61,
"rate": 700,
"requests": 10501,
"successful_rps": 700.07,
"vus_active": 5
},
{
"achieved_rps": 999.67,
"attempted_rps": 999.67,
"avg": 5.03,
"duration_s": 15,
"failed": 0,
@@ -69,10 +72,11 @@
"p99": 55.7,
"rate": 1000,
"requests": 14995,
"successful_rps": 999.67,
"vus_active": 9
},
{
"achieved_rps": 1419.2,
"attempted_rps": 1419.2,
"avg": 79.64,
"duration_s": 15,
"failed": 0,
@@ -82,10 +86,11 @@
"p99": 327.12,
"rate": 1500,
"requests": 21288,
"successful_rps": 1419.2,
"vus_active": 90
},
{
"achieved_rps": 1274.2,
"attempted_rps": 1274.2,
"avg": 145.65,
"duration_s": 15,
"failed": 0,
@@ -95,10 +100,11 @@
"p99": 509.19,
"rate": 2000,
"requests": 19113,
"successful_rps": 1274.2,
"vus_active": 123
},
{
"achieved_rps": 1331.13,
"attempted_rps": 1331.13,
"avg": 130.46,
"duration_s": 15,
"failed": 0,
@@ -108,10 +114,11 @@
"p99": 457.25,
"rate": 2500,
"requests": 19967,
"successful_rps": 1331.13,
"vus_active": 35
},
{
"achieved_rps": 1267.67,
"attempted_rps": 1267.67,
"avg": 132.9,
"duration_s": 15,
"failed": 0,
@@ -121,6 +128,7 @@
"p99": 479.53,
"rate": 3000,
"requests": 19015,
"successful_rps": 1267.67,
"vus_active": 1
}
],
+2 -1
View File
@@ -14,7 +14,7 @@
"profile": "spread",
"steps": [
{
"achieved_rps": 200.01,
"attempted_rps": 200.01,
"avg": 4.05,
"duration_s": 180,
"failed": 0,
@@ -30,6 +30,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 200.01,
"vus_active": 0
}
],
+6 -3
View File
@@ -21,7 +21,7 @@
],
"steps": [
{
"achieved_rps": 700.07,
"attempted_rps": 700.07,
"avg": 4.41,
"duration_s": 15,
"failed": 0,
@@ -37,10 +37,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 700.07,
"vus_active": 41
},
{
"achieved_rps": 892.33,
"attempted_rps": 892.33,
"avg": 8.83,
"duration_s": 15,
"failed": 0,
@@ -56,10 +57,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 892.33,
"vus_active": 140
},
{
"achieved_rps": 946.13,
"attempted_rps": 946.13,
"avg": 163.55,
"duration_s": 15,
"failed": 0,
@@ -75,6 +77,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 946.13,
"vus_active": 200
}
],
+6 -3
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 700.07,
"attempted_rps": 700.07,
"avg": 3.95,
"duration_s": 15,
"failed": 0,
@@ -36,10 +36,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 700.07,
"vus_active": 55
},
{
"achieved_rps": 893.13,
"attempted_rps": 893.13,
"avg": 7.23,
"duration_s": 15,
"failed": 0,
@@ -55,10 +56,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 893.13,
"vus_active": 126
},
{
"achieved_rps": 1034.4,
"attempted_rps": 1034.4,
"avg": 181.58,
"duration_s": 15,
"failed": 0,
@@ -74,6 +76,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 1034.4,
"vus_active": 500
}
],
+6 -3
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 698.67,
"attempted_rps": 698.67,
"avg": 4.55,
"duration_s": 15,
"failed": 0,
@@ -36,10 +36,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 698.67,
"vus_active": 77
},
{
"achieved_rps": 895.13,
"attempted_rps": 895.13,
"avg": 8.24,
"duration_s": 15,
"failed": 0,
@@ -55,10 +56,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 895.13,
"vus_active": 106
},
{
"achieved_rps": 1009.87,
"attempted_rps": 1009.87,
"avg": 329.77,
"duration_s": 15,
"failed": 0,
@@ -74,6 +76,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 1009.87,
"vus_active": 633
}
],
+6 -3
View File
@@ -21,7 +21,7 @@
],
"steps": [
{
"achieved_rps": 697.07,
"attempted_rps": 697.07,
"avg": 9.8,
"duration_s": 15,
"failed": 0,
@@ -37,10 +37,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 697.07,
"vus_active": 85
},
{
"achieved_rps": 890.53,
"attempted_rps": 890.53,
"avg": 19.01,
"duration_s": 15,
"failed": 0,
@@ -56,10 +57,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 890.53,
"vus_active": 149
},
{
"achieved_rps": 927.2,
"attempted_rps": 927.2,
"avg": 173.45,
"duration_s": 15,
"failed": 0,
@@ -75,6 +77,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 927.2,
"vus_active": 200
}
],
+6 -3
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 700.07,
"attempted_rps": 700.07,
"avg": 7.15,
"duration_s": 15,
"failed": 0,
@@ -36,10 +36,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 700.07,
"vus_active": 55
},
{
"achieved_rps": 897.07,
"attempted_rps": 897.07,
"avg": 13.97,
"duration_s": 15,
"failed": 0,
@@ -55,10 +56,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 897.07,
"vus_active": 71
},
{
"achieved_rps": 971.67,
"attempted_rps": 971.67,
"avg": 535.8,
"duration_s": 15,
"failed": 0,
@@ -74,6 +76,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 971.67,
"vus_active": 933
}
],
+6 -3
View File
@@ -21,7 +21,7 @@
],
"steps": [
{
"achieved_rps": 700.07,
"attempted_rps": 700.07,
"avg": 7.44,
"duration_s": 15,
"failed": 0,
@@ -37,10 +37,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 700.07,
"vus_active": 52
},
{
"achieved_rps": 893.2,
"attempted_rps": 893.2,
"avg": 47.69,
"duration_s": 15,
"failed": 0,
@@ -56,10 +57,11 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 893.2,
"vus_active": 118
},
{
"achieved_rps": 953.07,
"attempted_rps": 953.07,
"avg": 533.72,
"duration_s": 15,
"failed": 0,
@@ -75,6 +77,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 953.07,
"vus_active": 900
}
],
+2 -1
View File
@@ -21,7 +21,7 @@
],
"steps": [
{
"achieved_rps": 1035.37,
"attempted_rps": 1035.37,
"avg": 815.95,
"duration_s": 60,
"failed": 0,
@@ -37,6 +37,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 1035.37,
"vus_active": 900
}
],
+2 -1
View File
@@ -21,7 +21,7 @@
],
"steps": [
{
"achieved_rps": 943.02,
"attempted_rps": 943.02,
"avg": 918.72,
"duration_s": 60,
"failed": 0,
@@ -37,6 +37,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 943.02,
"vus_active": 900
}
],
+2 -1
View File
@@ -21,7 +21,7 @@
],
"steps": [
{
"achieved_rps": 891.38,
"attempted_rps": 891.38,
"avg": 974.13,
"duration_s": 60,
"failed": 0,
@@ -37,6 +37,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 891.38,
"vus_active": 900
}
],
+2 -1
View File
@@ -21,7 +21,7 @@
],
"steps": [
{
"achieved_rps": 922.25,
"attempted_rps": 922.25,
"avg": 939.66,
"duration_s": 60,
"failed": 0,
@@ -37,6 +37,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 922.25,
"vus_active": 900
}
],
+2 -1
View File
@@ -20,7 +20,7 @@
],
"steps": [
{
"achieved_rps": 1480.45,
"attempted_rps": 1480.45,
"avg": 83,
"duration_s": 60,
"failed": 0,
@@ -36,6 +36,7 @@
"other": 0,
"server_5xx": 0
},
"successful_rps": 1480.45,
"vus_active": 516
}
],

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