bench: трек 1 — профили py-spy до/после, серия E (потолок нового пути), графики

Профиль при 240 req/s: доля psycopg 52.7 % -> 19.0 %, активных сэмплов
3889 -> 2026. Серия E: function в 2x1.0 CPU — потолок 552 (530–552)
успешных/с, упор в CPU API; в 3x1.0 / БД 0.5 — ~420–460, упор в БД.
analyze.py: линии без заливки, цвет = конфигурация, пунктир = multi,
подпись — максимум серии. REPORT: раздел трека 1 и ограничения.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alexey Bodanyuk
2026-10-19 17:33:46 +03:00
co-authored by Claude Opus 5.5
parent 479cd78f7f
commit b9f1ad58f9
42 changed files with 5619 additions and 243 deletions
@@ -0,0 +1,58 @@
{
"started": "2026-10-19T14:11:30+00:00",
"measured_commit": "4830be4",
"image": "mtusi-messenger:bench-4830be4",
"bench_tooling_dirty": true,
"host": {
"os": "Windows 10",
"docker": "29.8.0 8 CPU 15686365184 B 6.18.54.1-microsoft-standard-WSL2"
},
"cpusets": "k6 0-1, lb+valkey 2, postgres 3-4, api 5-7 (bench/track1/compose.bench.yaml)",
"workload": "k6 constant-arrival-rate POST message, new Idempotency-Key, 64 chats, warmup 10s + measure 20s per step, fresh stand per config x repeat",
"rates": [
450,
550,
650,
750,
850
],
"repeats": 3,
"configs": [
{
"replicas": 2,
"api_cpus": 1.0,
"api_memory": "384m",
"pg_cpus": 2.0,
"pool": 10,
"env": {
"MESSAGE_WRITE_PATH": "function"
}
},
{
"replicas": 3,
"api_cpus": 1.0,
"api_memory": "384m",
"pg_cpus": 0.5,
"pool": 10,
"env": {
"MESSAGE_WRITE_PATH": "function"
}
}
],
"args": [
"--git-ref",
"4830be4",
"--repeats",
"3",
"--series",
"E-improved-ceiling",
"--label",
"4830be4",
"--rates",
"450,550,650,750,850",
"--config",
"replicas=2,MESSAGE_WRITE_PATH=function",
"--config",
"replicas=3,pg_cpus=0.5,MESSAGE_WRITE_PATH=function"
]
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 450,
"duration_s": 20,
"offered": 9000,
"requests": 8865,
"ok": 8865,
"dropped": 136,
"ok_rps": 443.2,
"error_ratio": 0,
"ok_p50_ms": 34.628739,
"ok_p95_ms": 331.7235877999999,
"ok_p99_ms": 432.58044672000005,
"vus_max": 274,
"cpu": {
"api_total": {
"cpu_median": 169.3,
"cpu_max": 195.8,
"samples": 10
},
"api-1": {
"cpu_median": 84.3,
"cpu_max": 99.1,
"mem_last": "58.23MiB",
"samples": 10
},
"api-2": {
"cpu_median": 85.0,
"cpu_max": 96.7,
"mem_last": "57.84MiB",
"samples": 10
},
"k6": {
"cpu_median": 55.6,
"cpu_max": 66.2,
"mem_last": "108.7MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 21.8,
"cpu_max": 40.3,
"mem_last": "13.89MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 47.6,
"cpu_max": 60.4,
"mem_last": "106.7MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 5.9,
"cpu_max": 6.8,
"mem_last": "4.109MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 8924,
"pool_wait_ms_avg": 42.04,
"pool_waiting_max": 53,
"pool_usage_ms_avg": 13.081,
"api_cpu_s": 26.67,
"intervals": 20
},
"pg": {
"xact_commit": 26518,
"xact_rollback": 0,
"tup_inserted": 26353,
"blks_read": 61,
"blks_hit": 552050,
"wal_records": 186086,
"wal_bytes": 17005327
},
"lb": {
"chkdown_delta": 0,
"qmax": 0,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 13283,
"total_ms": 8211.2,
"mean_ms": 0.6182,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 13283,
"total_ms": 147.2,
"mean_ms": 0.0111,
"query": "SELECT $2 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 85,
"total_ms": 0.6,
"mean_ms": 0.0067,
"query": "SELECT $1"
},
{
"calls": 1,
"total_ms": 0.2,
"mean_ms": 0.212,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0483,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0274,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 2.99,
"statements_per_ok": 3.01,
"repeat": 1,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 550,
"duration_s": 20,
"offered": 11000,
"requests": 10581,
"ok": 10581,
"dropped": 419,
"ok_rps": 529.0,
"error_ratio": 0,
"ok_p50_ms": 289.003206,
"ok_p95_ms": 671.024897,
"ok_p99_ms": 827.5025136000007,
"vus_max": 588,
"cpu": {
"api_total": {
"cpu_median": 195.2,
"cpu_max": 203.3,
"samples": 10
},
"api-1": {
"cpu_median": 97.5,
"cpu_max": 101.8,
"mem_last": "73.97MiB",
"samples": 10
},
"api-2": {
"cpu_median": 97.8,
"cpu_max": 103.0,
"mem_last": "74.21MiB",
"samples": 10
},
"k6": {
"cpu_median": 62.4,
"cpu_max": 79.1,
"mem_last": "199.5MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 24.3,
"cpu_max": 43.4,
"mem_last": "16.61MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 61.0,
"cpu_max": 71.0,
"mem_last": "118MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 6.6,
"cpu_max": 9.5,
"mem_last": "4.469MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 10668,
"pool_wait_ms_avg": 207.205,
"pool_waiting_max": 131,
"pool_usage_ms_avg": 15.642,
"api_cpu_s": 32.12,
"intervals": 20
},
"pg": {
"xact_commit": 31234,
"xact_rollback": 0,
"tup_inserted": 31050,
"blks_read": 0,
"blks_hit": 700365,
"wal_records": 220237,
"wal_bytes": 19466049
},
"lb": {
"chkdown_delta": 0,
"qmax": 0,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 15808,
"total_ms": 9964.4,
"mean_ms": 0.6303,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 15808,
"total_ms": 182.8,
"mean_ms": 0.0116,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 77,
"total_ms": 0.5,
"mean_ms": 0.006,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1064,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0446,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0323,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 2.95,
"statements_per_ok": 3.0,
"repeat": 1,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 650,
"duration_s": 20,
"offered": 13000,
"requests": 8978,
"ok": 8876,
"dropped": 4023,
"ok_rps": 443.8,
"error_ratio": 0.01136,
"ok_p50_ms": 1113.935403,
"ok_p95_ms": 1968.28476,
"ok_p99_ms": 2612.7346202500003,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 195.3,
"cpu_max": 198.6,
"samples": 9
},
"api-1": {
"cpu_median": 96.8,
"cpu_max": 101.2,
"mem_last": "73.64MiB",
"samples": 9
},
"api-2": {
"cpu_median": 98.0,
"cpu_max": 106.7,
"mem_last": "63.61MiB",
"samples": 9
},
"k6": {
"cpu_median": 65.7,
"cpu_max": 124.4,
"mem_last": "433.9MiB",
"samples": 9
},
"lb-1": {
"cpu_median": 25.6,
"cpu_max": 40.7,
"mem_last": "22.32MiB",
"samples": 9
},
"postgres-1": {
"cpu_median": 65.7,
"cpu_max": 77.0,
"mem_last": "127.2MiB",
"samples": 9
},
"valkey-1": {
"cpu_median": 11.6,
"cpu_max": 14.3,
"mem_last": "5.277MiB",
"samples": 9
}
},
"pool": {
"pool_requests": 9026,
"pool_wait_ms_avg": 718.779,
"pool_waiting_max": 181,
"pool_usage_ms_avg": 20.271,
"api_cpu_s": 30.84,
"intervals": 20
},
"pg": {
"xact_commit": 28410,
"xact_rollback": 0,
"tup_inserted": 28250,
"blks_read": 0,
"blks_hit": 996207,
"wal_records": 199475,
"wal_bytes": 17819844
},
"lb": {
"chkdown_delta": 2,
"qmax": 400,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 14021,
"total_ms": 12548.2,
"mean_ms": 0.895,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 14021,
"total_ms": 208.9,
"mean_ms": 0.0149,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 68,
"total_ms": 0.4,
"mean_ms": 0.0055,
"query": "SELECT $1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1348,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0356,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0299,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.2,
"statements_per_ok": 3.17,
"repeat": 1,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 750,
"duration_s": 20,
"offered": 15000,
"requests": 9181,
"ok": 9115,
"dropped": 5820,
"ok_rps": 455.8,
"error_ratio": 0.00719,
"ok_p50_ms": 1080.506298,
"ok_p95_ms": 2825.2585039,
"ok_p99_ms": 2974.216215360001,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 192.0,
"cpu_max": 207.9,
"samples": 10
},
"api-1": {
"cpu_median": 94.6,
"cpu_max": 103.8,
"mem_last": "73.93MiB",
"samples": 10
},
"api-2": {
"cpu_median": 97.1,
"cpu_max": 104.2,
"mem_last": "64.36MiB",
"samples": 10
},
"k6": {
"cpu_median": 61.7,
"cpu_max": 135.5,
"mem_last": "436.2MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 24.1,
"cpu_max": 38.7,
"mem_last": "22.98MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 64.7,
"cpu_max": 76.3,
"mem_last": "136.4MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 6.1,
"cpu_max": 7.5,
"mem_last": "4.738MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 9193,
"pool_wait_ms_avg": 755.964,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 22.988,
"api_cpu_s": 28.59,
"intervals": 20
},
"pg": {
"xact_commit": 29178,
"xact_rollback": 0,
"tup_inserted": 29016,
"blks_read": 0,
"blks_hit": 852091,
"wal_records": 206042,
"wal_bytes": 18051917
},
"lb": {
"chkdown_delta": 1,
"qmax": 400,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 10,
"redispatch_delta": 0
},
"statements": [
{
"calls": 14597,
"total_ms": 12877.3,
"mean_ms": 0.8822,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 14597,
"total_ms": 181.3,
"mean_ms": 0.0124,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 66,
"total_ms": 0.4,
"mean_ms": 0.0056,
"query": "SELECT 1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0568,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.0956,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0274,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.2,
"statements_per_ok": 3.21,
"repeat": 1,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 850,
"duration_s": 20,
"offered": 17000,
"requests": 10592,
"ok": 10592,
"dropped": 6351,
"ok_rps": 529.6,
"error_ratio": 0,
"ok_p50_ms": 982.2567455,
"ok_p95_ms": 1780.5699022499994,
"ok_p99_ms": 2282.76845217,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 198.5,
"cpu_max": 323.4,
"samples": 10
},
"api-1": {
"cpu_median": 99.2,
"cpu_max": 159.9,
"mem_last": "64.48MiB",
"samples": 10
},
"api-2": {
"cpu_median": 98.8,
"cpu_max": 163.6,
"mem_last": "77.02MiB",
"samples": 10
},
"k6": {
"cpu_median": 67.8,
"cpu_max": 120.0,
"mem_last": "416.2MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 25.5,
"cpu_max": 47.2,
"mem_last": "23.08MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 55.2,
"cpu_max": 67.6,
"mem_last": "147MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 5.7,
"cpu_max": 20.1,
"mem_last": "4.383MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 10491,
"pool_wait_ms_avg": 633.563,
"pool_waiting_max": 188,
"pool_usage_ms_avg": 17.422,
"api_cpu_s": 31.07,
"intervals": 19
},
"pg": {
"xact_commit": 32453,
"xact_rollback": 0,
"tup_inserted": 32304,
"blks_read": 0,
"blks_hit": 720692,
"wal_records": 228919,
"wal_bytes": 20268216
},
"lb": {
"chkdown_delta": 0,
"qmax": 400,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 16319,
"total_ms": 11422.1,
"mean_ms": 0.6999,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 16319,
"total_ms": 187.6,
"mean_ms": 0.0115,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 65,
"total_ms": 0.3,
"mean_ms": 0.0049,
"query": "SELECT 1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0637,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1234,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0258,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.06,
"statements_per_ok": 3.09,
"repeat": 1,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 450,
"duration_s": 20,
"offered": 9000,
"requests": 8903,
"ok": 8903,
"dropped": 98,
"ok_rps": 445.1,
"error_ratio": 0,
"ok_p50_ms": 20.939713,
"ok_p95_ms": 287.83532999999983,
"ok_p99_ms": 396.937334,
"vus_max": 254,
"cpu": {
"api_total": {
"cpu_median": 164.3,
"cpu_max": 193.2,
"samples": 9
},
"api-1": {
"cpu_median": 78.8,
"cpu_max": 97.5,
"mem_last": "57.7MiB",
"samples": 9
},
"api-2": {
"cpu_median": 83.9,
"cpu_max": 96.5,
"mem_last": "58.18MiB",
"samples": 9
},
"k6": {
"cpu_median": 53.1,
"cpu_max": 59.6,
"mem_last": "100.3MiB",
"samples": 9
},
"lb-1": {
"cpu_median": 20.5,
"cpu_max": 31.1,
"mem_last": "13.75MiB",
"samples": 9
},
"postgres-1": {
"cpu_median": 40.8,
"cpu_max": 63.8,
"mem_last": "106.7MiB",
"samples": 9
},
"valkey-1": {
"cpu_median": 9.9,
"cpu_max": 12.4,
"mem_last": "4.18MiB",
"samples": 9
}
},
"pool": {
"pool_requests": 8967,
"pool_wait_ms_avg": 32.966,
"pool_waiting_max": 50,
"pool_usage_ms_avg": 12.304,
"api_cpu_s": 25.64,
"intervals": 20
},
"pg": {
"xact_commit": 26503,
"xact_rollback": 0,
"tup_inserted": 26322,
"blks_read": 82,
"blks_hit": 527127,
"wal_records": 186226,
"wal_bytes": 17023704
},
"lb": {
"chkdown_delta": 0,
"qmax": 0,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 13313,
"total_ms": 7550.5,
"mean_ms": 0.5672,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 13313,
"total_ms": 128.4,
"mean_ms": 0.0096,
"query": "SELECT $2 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 86,
"total_ms": 0.7,
"mean_ms": 0.0084,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.3,
"mean_ms": 0.2523,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0685,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0258,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 2.98,
"statements_per_ok": 3.0,
"repeat": 2,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 550,
"duration_s": 20,
"offered": 11000,
"requests": 10503,
"ok": 10503,
"dropped": 497,
"ok_rps": 525.1,
"error_ratio": 0,
"ok_p50_ms": 304.09773,
"ok_p95_ms": 858.1164322999998,
"ok_p99_ms": 1125.44896496,
"vus_max": 644,
"cpu": {
"api_total": {
"cpu_median": 190.3,
"cpu_max": 198.3,
"samples": 10
},
"api-1": {
"cpu_median": 96.8,
"cpu_max": 103.4,
"mem_last": "74.59MiB",
"samples": 10
},
"api-2": {
"cpu_median": 93.9,
"cpu_max": 97.9,
"mem_last": "61.98MiB",
"samples": 10
},
"k6": {
"cpu_median": 61.3,
"cpu_max": 84.0,
"mem_last": "200.4MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 25.0,
"cpu_max": 34.4,
"mem_last": "17.08MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 60.4,
"cpu_max": 87.4,
"mem_last": "123.1MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 6.5,
"cpu_max": 7.1,
"mem_last": "4.582MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 10604,
"pool_wait_ms_avg": 224.508,
"pool_waiting_max": 177,
"pool_usage_ms_avg": 14.575,
"api_cpu_s": 31.04,
"intervals": 20
},
"pg": {
"xact_commit": 30904,
"xact_rollback": 0,
"tup_inserted": 30720,
"blks_read": 0,
"blks_hit": 650742,
"wal_records": 219570,
"wal_bytes": 19523619
},
"lb": {
"chkdown_delta": 0,
"qmax": 2,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 9,
"redispatch_delta": 0
},
"statements": [
{
"calls": 15732,
"total_ms": 11027.1,
"mean_ms": 0.7009,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 15732,
"total_ms": 170.5,
"mean_ms": 0.0108,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 78,
"total_ms": 0.6,
"mean_ms": 0.0083,
"query": "SELECT $1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1191,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0545,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0259,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 2.94,
"statements_per_ok": 3.0,
"repeat": 2,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 650,
"duration_s": 20,
"offered": 13000,
"requests": 11047,
"ok": 11047,
"dropped": 1953,
"ok_rps": 552.4,
"error_ratio": 0,
"ok_p50_ms": 927.915712,
"ok_p95_ms": 1446.5244931,
"ok_p99_ms": 1595.4003346999998,
"vus_max": 1127,
"cpu": {
"api_total": {
"cpu_median": 201.4,
"cpu_max": 209.1,
"samples": 9
},
"api-1": {
"cpu_median": 103.1,
"cpu_max": 106.4,
"mem_last": "76.29MiB",
"samples": 9
},
"api-2": {
"cpu_median": 97.3,
"cpu_max": 107.4,
"mem_last": "62.98MiB",
"samples": 9
},
"k6": {
"cpu_median": 64.9,
"cpu_max": 104.4,
"mem_last": "414.5MiB",
"samples": 9
},
"lb-1": {
"cpu_median": 25.9,
"cpu_max": 41.7,
"mem_last": "20.97MiB",
"samples": 9
},
"postgres-1": {
"cpu_median": 68.1,
"cpu_max": 74.1,
"mem_last": "128.9MiB",
"samples": 9
},
"valkey-1": {
"cpu_median": 10.1,
"cpu_max": 12.5,
"mem_last": "4.559MiB",
"samples": 9
}
},
"pool": {
"pool_requests": 10506,
"pool_wait_ms_avg": 629.199,
"pool_waiting_max": 181,
"pool_usage_ms_avg": 17.31,
"api_cpu_s": 31.18,
"intervals": 19
},
"pg": {
"xact_commit": 34040,
"xact_rollback": 0,
"tup_inserted": 33884,
"blks_read": 0,
"blks_hit": 1124501,
"wal_records": 240058,
"wal_bytes": 21215902
},
"lb": {
"chkdown_delta": 0,
"qmax": 200,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 5,
"redispatch_delta": 0
},
"statements": [
{
"calls": 16841,
"total_ms": 13541.2,
"mean_ms": 0.8041,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 16841,
"total_ms": 210.6,
"mean_ms": 0.0125,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 66,
"total_ms": 0.3,
"mean_ms": 0.0048,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.2,
"mean_ms": 0.1563,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0416,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0261,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.08,
"statements_per_ok": 3.06,
"repeat": 2,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 750,
"duration_s": 20,
"offered": 15000,
"requests": 10605,
"ok": 10605,
"dropped": 4396,
"ok_rps": 530.2,
"error_ratio": 0,
"ok_p50_ms": 1023.668411,
"ok_p95_ms": 1574.2096668000002,
"ok_p99_ms": 1690.3210753999995,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 195.6,
"cpu_max": 205.4,
"samples": 10
},
"api-1": {
"cpu_median": 98.0,
"cpu_max": 105.7,
"mem_last": "76.55MiB",
"samples": 10
},
"api-2": {
"cpu_median": 96.6,
"cpu_max": 99.7,
"mem_last": "63.8MiB",
"samples": 10
},
"k6": {
"cpu_median": 67.1,
"cpu_max": 113.2,
"mem_last": "435.3MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 27.4,
"cpu_max": 36.9,
"mem_last": "21.59MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 67.7,
"cpu_max": 116.4,
"mem_last": "139.4MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 7.2,
"cpu_max": 10.2,
"mem_last": "4.215MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 10708,
"pool_wait_ms_avg": 657.642,
"pool_waiting_max": 191,
"pool_usage_ms_avg": 18.227,
"api_cpu_s": 32.28,
"intervals": 20
},
"pg": {
"xact_commit": 32681,
"xact_rollback": 0,
"tup_inserted": 32522,
"blks_read": 0,
"blks_hit": 934411,
"wal_records": 230681,
"wal_bytes": 20338491
},
"lb": {
"chkdown_delta": 0,
"qmax": 228,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 16355,
"total_ms": 12402.7,
"mean_ms": 0.7583,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 16355,
"total_ms": 205.7,
"mean_ms": 0.0126,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 65,
"total_ms": 0.5,
"mean_ms": 0.0078,
"query": "SELECT 1"
},
{
"calls": 2,
"total_ms": 0.2,
"mean_ms": 0.1031,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.104,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0313,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.08,
"statements_per_ok": 3.09,
"repeat": 2,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 850,
"duration_s": 20,
"offered": 17000,
"requests": 11050,
"ok": 11050,
"dropped": 5950,
"ok_rps": 552.5,
"error_ratio": 0,
"ok_p50_ms": 965.940107,
"ok_p95_ms": 1508.7156095499997,
"ok_p99_ms": 1659.4098543900002,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 200.3,
"cpu_max": 202.8,
"samples": 10
},
"api-1": {
"cpu_median": 99.5,
"cpu_max": 104.4,
"mem_last": "64.02MiB",
"samples": 10
},
"api-2": {
"cpu_median": 98.2,
"cpu_max": 104.2,
"mem_last": "77.07MiB",
"samples": 10
},
"k6": {
"cpu_median": 65.2,
"cpu_max": 102.2,
"mem_last": "435.7MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 27.4,
"cpu_max": 41.5,
"mem_last": "21.71MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 60.7,
"cpu_max": 75.3,
"mem_last": "149.7MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 6.6,
"cpu_max": 10.0,
"mem_last": "4.191MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 11124,
"pool_wait_ms_avg": 636.437,
"pool_waiting_max": 181,
"pool_usage_ms_avg": 17.137,
"api_cpu_s": 32.78,
"intervals": 20
},
"pg": {
"xact_commit": 33907,
"xact_rollback": 0,
"tup_inserted": 33758,
"blks_read": 0,
"blks_hit": 774869,
"wal_records": 238636,
"wal_bytes": 21002396
},
"lb": {
"chkdown_delta": 0,
"qmax": 230,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 16931,
"total_ms": 11350.8,
"mean_ms": 0.6704,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 16931,
"total_ms": 199.1,
"mean_ms": 0.0118,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 66,
"total_ms": 0.5,
"mean_ms": 0.0073,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.0982,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0459,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0255,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.07,
"statements_per_ok": 3.07,
"repeat": 2,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 450,
"duration_s": 20,
"offered": 9000,
"requests": 8850,
"ok": 8850,
"dropped": 151,
"ok_rps": 442.5,
"error_ratio": 0,
"ok_p50_ms": 26.6757725,
"ok_p95_ms": 369.7395602499999,
"ok_p99_ms": 459.48822332000026,
"vus_max": 290,
"cpu": {
"api_total": {
"cpu_median": 173.9,
"cpu_max": 194.2,
"samples": 10
},
"api-1": {
"cpu_median": 86.2,
"cpu_max": 101.4,
"mem_last": "69.53MiB",
"samples": 10
},
"api-2": {
"cpu_median": 83.3,
"cpu_max": 102.1,
"mem_last": "71.57MiB",
"samples": 10
},
"k6": {
"cpu_median": 52.7,
"cpu_max": 62.9,
"mem_last": "109.2MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 21.7,
"cpu_max": 39.7,
"mem_last": "14.34MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 49.8,
"cpu_max": 67.9,
"mem_last": "106.8MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 10.2,
"cpu_max": 13.9,
"mem_last": "4.113MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 8954,
"pool_wait_ms_avg": 41.406,
"pool_waiting_max": 55,
"pool_usage_ms_avg": 12.637,
"api_cpu_s": 26.96,
"intervals": 20
},
"pg": {
"xact_commit": 26388,
"xact_rollback": 0,
"tup_inserted": 26209,
"blks_read": 61,
"blks_hit": 525410,
"wal_records": 185616,
"wal_bytes": 16917023
},
"lb": {
"chkdown_delta": 0,
"qmax": 0,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 13272,
"total_ms": 7869.6,
"mean_ms": 0.5929,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 13272,
"total_ms": 142.7,
"mean_ms": 0.0107,
"query": "SELECT $2 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 83,
"total_ms": 0.5,
"mean_ms": 0.0062,
"query": "SELECT $1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.11,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0497,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.042,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
}
],
"pg_commits_per_ok": 2.98,
"statements_per_ok": 3.01,
"repeat": 3,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 550,
"duration_s": 20,
"offered": 11000,
"requests": 10479,
"ok": 10479,
"dropped": 522,
"ok_rps": 524.0,
"error_ratio": 0,
"ok_p50_ms": 361.785411,
"ok_p95_ms": 811.7921828000001,
"ok_p99_ms": 1160.5554723199998,
"vus_max": 703,
"cpu": {
"api_total": {
"cpu_median": 196.2,
"cpu_max": 207.5,
"samples": 9
},
"api-1": {
"cpu_median": 99.2,
"cpu_max": 105.3,
"mem_last": "62.12MiB",
"samples": 9
},
"api-2": {
"cpu_median": 98.8,
"cpu_max": 105.1,
"mem_last": "62.72MiB",
"samples": 9
},
"k6": {
"cpu_median": 69.8,
"cpu_max": 96.1,
"mem_last": "234.2MiB",
"samples": 9
},
"lb-1": {
"cpu_median": 25.6,
"cpu_max": 42.5,
"mem_last": "17.95MiB",
"samples": 9
},
"postgres-1": {
"cpu_median": 56.7,
"cpu_max": 99.4,
"mem_last": "117.7MiB",
"samples": 9
},
"valkey-1": {
"cpu_median": 11.4,
"cpu_max": 15.6,
"mem_last": "5.371MiB",
"samples": 9
}
},
"pool": {
"pool_requests": 10611,
"pool_wait_ms_avg": 279.254,
"pool_waiting_max": 181,
"pool_usage_ms_avg": 15.651,
"api_cpu_s": 32.8,
"intervals": 20
},
"pg": {
"xact_commit": 31270,
"xact_rollback": 0,
"tup_inserted": 31088,
"blks_read": 0,
"blks_hit": 680951,
"wal_records": 221148,
"wal_bytes": 19623791
},
"lb": {
"chkdown_delta": 0,
"qmax": 41,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 12,
"redispatch_delta": 0
},
"statements": [
{
"calls": 15664,
"total_ms": 10065.0,
"mean_ms": 0.6426,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 15664,
"total_ms": 187.9,
"mean_ms": 0.012,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 75,
"total_ms": 0.4,
"mean_ms": 0.005,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1453,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0448,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.0,
"mean_ms": 0.0221,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 2.98,
"statements_per_ok": 3.0,
"repeat": 3,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 650,
"duration_s": 20,
"offered": 13000,
"requests": 10961,
"ok": 10961,
"dropped": 2040,
"ok_rps": 548.0,
"error_ratio": 0,
"ok_p50_ms": 915.134185,
"ok_p95_ms": 1453.449344,
"ok_p99_ms": 1677.3023003999997,
"vus_max": 1141,
"cpu": {
"api_total": {
"cpu_median": 195.4,
"cpu_max": 202.2,
"samples": 10
},
"api-1": {
"cpu_median": 98.4,
"cpu_max": 104.0,
"mem_last": "63.66MiB",
"samples": 10
},
"api-2": {
"cpu_median": 97.9,
"cpu_max": 103.9,
"mem_last": "63.59MiB",
"samples": 10
},
"k6": {
"cpu_median": 65.4,
"cpu_max": 101.7,
"mem_last": "400.1MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 27.6,
"cpu_max": 40.9,
"mem_last": "20.85MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 60.5,
"cpu_max": 73.6,
"mem_last": "128.9MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 6.7,
"cpu_max": 12.1,
"mem_last": "4.273MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 11089,
"pool_wait_ms_avg": 626.747,
"pool_waiting_max": 185,
"pool_usage_ms_avg": 17.44,
"api_cpu_s": 33.53,
"intervals": 20
},
"pg": {
"xact_commit": 33271,
"xact_rollback": 0,
"tup_inserted": 33114,
"blks_read": 0,
"blks_hit": 1174821,
"wal_records": 234606,
"wal_bytes": 20919900
},
"lb": {
"chkdown_delta": 0,
"qmax": 200,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 16701,
"total_ms": 13644.9,
"mean_ms": 0.817,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 16701,
"total_ms": 222.4,
"mean_ms": 0.0133,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 64,
"total_ms": 0.3,
"mean_ms": 0.0047,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.141,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0395,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.0,
"mean_ms": 0.0197,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.04,
"statements_per_ok": 3.05,
"repeat": 3,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 750,
"duration_s": 20,
"offered": 15000,
"requests": 11039,
"ok": 11039,
"dropped": 3961,
"ok_rps": 552.0,
"error_ratio": 0,
"ok_p50_ms": 960.874148,
"ok_p95_ms": 1520.5090723000003,
"ok_p99_ms": 1640.0442179200002,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 200.5,
"cpu_max": 202.0,
"samples": 10
},
"api-1": {
"cpu_median": 99.6,
"cpu_max": 103.2,
"mem_last": "64.29MiB",
"samples": 10
},
"api-2": {
"cpu_median": 100.1,
"cpu_max": 103.6,
"mem_last": "76.29MiB",
"samples": 10
},
"k6": {
"cpu_median": 68.6,
"cpu_max": 111.6,
"mem_last": "430.4MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 28.1,
"cpu_max": 36.0,
"mem_last": "21.41MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 61.3,
"cpu_max": 73.9,
"mem_last": "139.5MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 7.2,
"cpu_max": 13.0,
"mem_last": "4.449MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 10607,
"pool_wait_ms_avg": 634.395,
"pool_waiting_max": 181,
"pool_usage_ms_avg": 16.752,
"api_cpu_s": 31.75,
"intervals": 19
},
"pg": {
"xact_commit": 33307,
"xact_rollback": 0,
"tup_inserted": 33146,
"blks_read": 0,
"blks_hit": 962429,
"wal_records": 234863,
"wal_bytes": 20585228
},
"lb": {
"chkdown_delta": 0,
"qmax": 220,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 46,
"redispatch_delta": 0
},
"statements": [
{
"calls": 16675,
"total_ms": 12385.9,
"mean_ms": 0.7428,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 16675,
"total_ms": 209.4,
"mean_ms": 0.0126,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 68,
"total_ms": 0.4,
"mean_ms": 0.0053,
"query": "SELECT 1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0535,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1017,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.0,
"mean_ms": 0.02,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.02,
"statements_per_ok": 3.03,
"repeat": 3,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,156 @@
{
"config": "n2-api1-pg2-pool10-message_write_path_function",
"rate": 850,
"duration_s": 20,
"offered": 17000,
"requests": 10406,
"ok": 10296,
"dropped": 6595,
"ok_rps": 514.8,
"error_ratio": 0.01057,
"ok_p50_ms": 1037.4526045,
"ok_p95_ms": 1654.535533,
"ok_p99_ms": 1831.6677941999992,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 198.0,
"cpu_max": 204.0,
"samples": 10
},
"api-1": {
"cpu_median": 98.3,
"cpu_max": 103.4,
"mem_last": "77.14MiB",
"samples": 10
},
"api-2": {
"cpu_median": 99.9,
"cpu_max": 103.6,
"mem_last": "64.56MiB",
"samples": 10
},
"k6": {
"cpu_median": 59.4,
"cpu_max": 109.8,
"mem_last": "431MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 25.3,
"cpu_max": 33.9,
"mem_last": "22.58MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 62.6,
"cpu_max": 69.4,
"mem_last": "149.1MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 8.3,
"cpu_max": 12.9,
"mem_last": "5.145MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 10429,
"pool_wait_ms_avg": 651.491,
"pool_waiting_max": 181,
"pool_usage_ms_avg": 18.496,
"api_cpu_s": 31.8,
"intervals": 20
},
"pg": {
"xact_commit": 31944,
"xact_rollback": 0,
"tup_inserted": 31792,
"blks_read": 0,
"blks_hit": 731181,
"wal_records": 225617,
"wal_bytes": 19958695
},
"lb": {
"chkdown_delta": 1,
"qmax": 400,
"up_after": 2,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 15981,
"total_ms": 11794.2,
"mean_ms": 0.738,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 15981,
"total_ms": 180.0,
"mean_ms": 0.0113,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 66,
"total_ms": 0.4,
"mean_ms": 0.0061,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.133,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0436,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.0,
"mean_ms": 0.0242,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.1,
"statements_per_ok": 3.11,
"repeat": 3,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 2.0,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 450,
"duration_s": 20,
"offered": 9000,
"requests": 8790,
"ok": 8790,
"dropped": 210,
"ok_rps": 439.5,
"error_ratio": 0,
"ok_p50_ms": 173.556058,
"ok_p95_ms": 637.521366,
"ok_p99_ms": 798.116165,
"vus_max": 530,
"cpu": {
"api_total": {
"cpu_median": 204.2,
"cpu_max": 283.7,
"samples": 10
},
"api-1": {
"cpu_median": 59.0,
"cpu_max": 91.9,
"mem_last": "72.1MiB",
"samples": 10
},
"api-2": {
"cpu_median": 62.5,
"cpu_max": 92.5,
"mem_last": "71.03MiB",
"samples": 10
},
"api-3": {
"cpu_median": 62.5,
"cpu_max": 101.1,
"mem_last": "71.23MiB",
"samples": 10
},
"k6": {
"cpu_median": 48.4,
"cpu_max": 61.6,
"mem_last": "180.6MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 21.9,
"cpu_max": 34.2,
"mem_last": "15.61MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 49.8,
"cpu_max": 51.6,
"mem_last": "133.9MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 10.2,
"cpu_max": 10.8,
"mem_last": "4.062MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 8874,
"pool_wait_ms_avg": 165.01,
"pool_waiting_max": 96,
"pool_usage_ms_avg": 32.283,
"api_cpu_s": 28.12,
"intervals": 30
},
"pg": {
"xact_commit": 25877,
"xact_rollback": 0,
"tup_inserted": 25628,
"blks_read": 82,
"blks_hit": 547442,
"wal_records": 186677,
"wal_bytes": 16834963
},
"lb": {
"chkdown_delta": 0,
"qmax": 0,
"up_after": 3,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 12922,
"total_ms": 39562.5,
"mean_ms": 3.0616,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 12922,
"total_ms": 322.8,
"mean_ms": 0.025,
"query": "SELECT $2 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 116,
"total_ms": 0.9,
"mean_ms": 0.0081,
"query": "SELECT $1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1426,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0457,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.0,
"mean_ms": 0.0242,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 2.94,
"statements_per_ok": 2.95,
"repeat": 1,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 550,
"duration_s": 20,
"offered": 11000,
"requests": 9300,
"ok": 8240,
"dropped": 1700,
"ok_rps": 412.0,
"error_ratio": 0.11398,
"ok_p50_ms": 1170.215864,
"ok_p95_ms": 1974.8666587499997,
"ok_p99_ms": 2277.9815827899997,
"vus_max": 1159,
"cpu": {
"api_total": {
"cpu_median": 169.1,
"cpu_max": 278.4,
"samples": 10
},
"api-1": {
"cpu_median": 56.1,
"cpu_max": 84.2,
"mem_last": "75.85MiB",
"samples": 10
},
"api-2": {
"cpu_median": 54.3,
"cpu_max": 99.8,
"mem_last": "76.64MiB",
"samples": 10
},
"api-3": {
"cpu_median": 54.8,
"cpu_max": 94.4,
"mem_last": "76.37MiB",
"samples": 10
},
"k6": {
"cpu_median": 59.4,
"cpu_max": 91.3,
"mem_last": "388.4MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 23.8,
"cpu_max": 31.5,
"mem_last": "23.1MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 48.9,
"cpu_max": 52.4,
"mem_last": "144.2MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 7.5,
"cpu_max": 16.7,
"mem_last": "6.258MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 8386,
"pool_wait_ms_avg": 840.394,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 38.145,
"api_cpu_s": 27.92,
"intervals": 30
},
"pg": {
"xact_commit": 26059,
"xact_rollback": 0,
"tup_inserted": 25816,
"blks_read": 0,
"blks_hit": 552611,
"wal_records": 187947,
"wal_bytes": 16599520
},
"lb": {
"chkdown_delta": 11,
"qmax": 391,
"up_after": 3,
"econ_delta": 837,
"eresp_delta": 7,
"redispatch_delta": 0
},
"statements": [
{
"calls": 12980,
"total_ms": 37429.9,
"mean_ms": 2.8837,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 12980,
"total_ms": 475.0,
"mean_ms": 0.0366,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 110,
"total_ms": 0.7,
"mean_ms": 0.0063,
"query": "SELECT $1"
},
{
"calls": 1,
"total_ms": 0.2,
"mean_ms": 0.1566,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0411,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.0,
"mean_ms": 0.021,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.16,
"statements_per_ok": 3.16,
"repeat": 1,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 650,
"duration_s": 20,
"offered": 13000,
"requests": 9915,
"ok": 8419,
"dropped": 3086,
"ok_rps": 420.9,
"error_ratio": 0.15088,
"ok_p50_ms": 1266.367974,
"ok_p95_ms": 1660.6635666999998,
"ok_p99_ms": 1897.1363954399997,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 166.4,
"cpu_max": 234.2,
"samples": 10
},
"api-1": {
"cpu_median": 57.2,
"cpu_max": 79.7,
"mem_last": "64.21MiB",
"samples": 10
},
"api-2": {
"cpu_median": 65.9,
"cpu_max": 82.7,
"mem_last": "76.71MiB",
"samples": 10
},
"api-3": {
"cpu_median": 51.7,
"cpu_max": 100.7,
"mem_last": "64.67MiB",
"samples": 10
},
"k6": {
"cpu_median": 55.8,
"cpu_max": 102.0,
"mem_last": "413.7MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 23.6,
"cpu_max": 33.0,
"mem_last": "23.47MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 49.8,
"cpu_max": 53.3,
"mem_last": "154.7MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 9.4,
"cpu_max": 13.5,
"mem_last": "5.484MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 8184,
"pool_wait_ms_avg": 935.549,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 39.783,
"api_cpu_s": 26.79,
"intervals": 30
},
"pg": {
"xact_commit": 25825,
"xact_rollback": 0,
"tup_inserted": 25576,
"blks_read": 0,
"blks_hit": 546309,
"wal_records": 185660,
"wal_bytes": 16062613
},
"lb": {
"chkdown_delta": 11,
"qmax": 400,
"up_after": 3,
"econ_delta": 2191,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 12828,
"total_ms": 35465.6,
"mean_ms": 2.7647,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 12828,
"total_ms": 571.2,
"mean_ms": 0.0445,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 112,
"total_ms": 0.7,
"mean_ms": 0.0063,
"query": "SELECT 1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.059,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1064,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.0,
"mean_ms": 0.0208,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.07,
"statements_per_ok": 3.06,
"repeat": 1,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 750,
"duration_s": 20,
"offered": 15000,
"requests": 10515,
"ok": 7666,
"dropped": 4485,
"ok_rps": 383.3,
"error_ratio": 0.27095,
"ok_p50_ms": 1269.548656,
"ok_p95_ms": 1908.19258625,
"ok_p99_ms": 2006.8167474,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 161.3,
"cpu_max": 230.2,
"samples": 10
},
"api-1": {
"cpu_median": 51.9,
"cpu_max": 87.0,
"mem_last": "64.13MiB",
"samples": 10
},
"api-2": {
"cpu_median": 54.2,
"cpu_max": 81.4,
"mem_last": "76.61MiB",
"samples": 10
},
"api-3": {
"cpu_median": 54.4,
"cpu_max": 73.6,
"mem_last": "75.17MiB",
"samples": 10
},
"k6": {
"cpu_median": 66.6,
"cpu_max": 107.2,
"mem_last": "429.6MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 25.4,
"cpu_max": 27.4,
"mem_last": "24.21MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 49.0,
"cpu_max": 52.8,
"mem_last": "161.1MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 8.3,
"cpu_max": 13.7,
"mem_last": "5.465MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 7537,
"pool_wait_ms_avg": 1021.726,
"pool_waiting_max": 193,
"pool_usage_ms_avg": 43.516,
"api_cpu_s": 24.99,
"intervals": 30
},
"pg": {
"xact_commit": 24513,
"xact_rollback": 0,
"tup_inserted": 24268,
"blks_read": 0,
"blks_hit": 529368,
"wal_records": 176786,
"wal_bytes": 15768170
},
"lb": {
"chkdown_delta": 14,
"qmax": 400,
"up_after": 3,
"econ_delta": 2849,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 12378,
"total_ms": 33430.3,
"mean_ms": 2.7008,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 12378,
"total_ms": 485.7,
"mean_ms": 0.0392,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 115,
"total_ms": 3.3,
"mean_ms": 0.0289,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1198,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0576,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.025,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.2,
"statements_per_ok": 3.24,
"repeat": 1,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 850,
"duration_s": 20,
"offered": 17000,
"requests": 13175,
"ok": 7407,
"dropped": 3826,
"ok_rps": 370.4,
"error_ratio": 0.4378,
"ok_p50_ms": 1190.408763,
"ok_p95_ms": 1595.8426676,
"ok_p99_ms": 1680.2735505999997,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 150.2,
"cpu_max": 250.8,
"samples": 10
},
"api-1": {
"cpu_median": 51.9,
"cpu_max": 100.0,
"mem_last": "63.82MiB",
"samples": 10
},
"api-2": {
"cpu_median": 49.3,
"cpu_max": 93.9,
"mem_last": "64.5MiB",
"samples": 10
},
"api-3": {
"cpu_median": 51.1,
"cpu_max": 64.2,
"mem_last": "64.22MiB",
"samples": 10
},
"k6": {
"cpu_median": 63.0,
"cpu_max": 113.4,
"mem_last": "451MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 28.2,
"cpu_max": 39.0,
"mem_last": "24.21MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 49.3,
"cpu_max": 52.5,
"mem_last": "168MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 8.5,
"cpu_max": 13.3,
"mem_last": "5.52MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 7408,
"pool_wait_ms_avg": 975.697,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 43.788,
"api_cpu_s": 24.76,
"intervals": 30
},
"pg": {
"xact_commit": 24456,
"xact_rollback": 0,
"tup_inserted": 24210,
"blks_read": 0,
"blks_hit": 515809,
"wal_records": 174476,
"wal_bytes": 15010035
},
"lb": {
"chkdown_delta": 15,
"qmax": 400,
"up_after": 3,
"econ_delta": 6954,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 12042,
"total_ms": 36552.6,
"mean_ms": 3.0354,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 12042,
"total_ms": 570.5,
"mean_ms": 0.0474,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 113,
"total_ms": 0.6,
"mean_ms": 0.0051,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.2,
"mean_ms": 0.2254,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0484,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.0,
"mean_ms": 0.0218,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.3,
"statements_per_ok": 3.27,
"repeat": 1,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 450,
"duration_s": 20,
"offered": 9000,
"requests": 8028,
"ok": 7468,
"dropped": 973,
"ok_rps": 373.4,
"error_ratio": 0.06976,
"ok_p50_ms": 1020.4746635,
"ok_p95_ms": 1811.1272992499996,
"ok_p99_ms": 2186.1001616699996,
"vus_max": 981,
"cpu": {
"api_total": {
"cpu_median": 210.8,
"cpu_max": 249.9,
"samples": 10
},
"api-1": {
"cpu_median": 58.7,
"cpu_max": 105.9,
"mem_last": "63.25MiB",
"samples": 10
},
"api-2": {
"cpu_median": 60.1,
"cpu_max": 101.1,
"mem_last": "63.34MiB",
"samples": 10
},
"api-3": {
"cpu_median": 69.6,
"cpu_max": 95.9,
"mem_last": "62.95MiB",
"samples": 10
},
"k6": {
"cpu_median": 56.0,
"cpu_max": 88.2,
"mem_last": "358.6MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 22.9,
"cpu_max": 44.9,
"mem_last": "21.85MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 51.3,
"cpu_max": 53.7,
"mem_last": "133.5MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 6.0,
"cpu_max": 9.3,
"mem_last": "6.43MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 7424,
"pool_wait_ms_avg": 825.496,
"pool_waiting_max": 191,
"pool_usage_ms_avg": 44.144,
"api_cpu_s": 30.9,
"intervals": 30
},
"pg": {
"xact_commit": 22916,
"xact_rollback": 0,
"tup_inserted": 22700,
"blks_read": 61,
"blks_hit": 484180,
"wal_records": 164774,
"wal_bytes": 14971261
},
"lb": {
"chkdown_delta": 7,
"qmax": 337,
"up_after": 3,
"econ_delta": 0,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 11468,
"total_ms": 38582.8,
"mean_ms": 3.3644,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 11468,
"total_ms": 423.2,
"mean_ms": 0.0369,
"query": "SELECT $2 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 110,
"total_ms": 0.8,
"mean_ms": 0.007,
"query": "SELECT 1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0731,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1276,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0258,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.07,
"statements_per_ok": 3.09,
"repeat": 2,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 550,
"duration_s": 20,
"offered": 11000,
"requests": 9432,
"ok": 8453,
"dropped": 1568,
"ok_rps": 422.6,
"error_ratio": 0.1038,
"ok_p50_ms": 852.198264,
"ok_p95_ms": 2004.4173515999996,
"ok_p99_ms": 2230.0016709199995,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 176.6,
"cpu_max": 258.6,
"samples": 10
},
"api-1": {
"cpu_median": 63.1,
"cpu_max": 89.4,
"mem_last": "63.48MiB",
"samples": 10
},
"api-2": {
"cpu_median": 56.1,
"cpu_max": 98.9,
"mem_last": "63.62MiB",
"samples": 10
},
"api-3": {
"cpu_median": 54.3,
"cpu_max": 95.1,
"mem_last": "63.48MiB",
"samples": 10
},
"k6": {
"cpu_median": 58.5,
"cpu_max": 102.5,
"mem_last": "385.8MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 25.1,
"cpu_max": 39.4,
"mem_last": "22.57MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 49.5,
"cpu_max": 51.6,
"mem_last": "142.6MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 6.1,
"cpu_max": 7.6,
"mem_last": "5.918MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 8458,
"pool_wait_ms_avg": 761.019,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 38.972,
"api_cpu_s": 27.94,
"intervals": 30
},
"pg": {
"xact_commit": 25038,
"xact_rollback": 0,
"tup_inserted": 24768,
"blks_read": 0,
"blks_hit": 529835,
"wal_records": 179780,
"wal_bytes": 15725337
},
"lb": {
"chkdown_delta": 9,
"qmax": 337,
"up_after": 3,
"econ_delta": 1367,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 12447,
"total_ms": 35866.8,
"mean_ms": 2.8816,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 12447,
"total_ms": 831.3,
"mean_ms": 0.0668,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 120,
"total_ms": 1.0,
"mean_ms": 0.0081,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.2,
"mean_ms": 0.1704,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.2,
"mean_ms": 0.0758,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0598,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
}
],
"pg_commits_per_ok": 2.96,
"statements_per_ok": 2.96,
"repeat": 2,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 650,
"duration_s": 20,
"offered": 13000,
"requests": 9789,
"ok": 7531,
"dropped": 3212,
"ok_rps": 376.6,
"error_ratio": 0.23067,
"ok_p50_ms": 1295.306206,
"ok_p95_ms": 1781.5179195,
"ok_p99_ms": 2203.2786076999996,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 171.9,
"cpu_max": 249.1,
"samples": 9
},
"api-1": {
"cpu_median": 61.9,
"cpu_max": 101.0,
"mem_last": "77.34MiB",
"samples": 9
},
"api-2": {
"cpu_median": 63.1,
"cpu_max": 76.4,
"mem_last": "71.54MiB",
"samples": 9
},
"api-3": {
"cpu_median": 61.2,
"cpu_max": 84.0,
"mem_last": "77.16MiB",
"samples": 9
},
"k6": {
"cpu_median": 61.3,
"cpu_max": 78.2,
"mem_last": "433.5MiB",
"samples": 9
},
"lb-1": {
"cpu_median": 27.2,
"cpu_max": 38.6,
"mem_last": "23.69MiB",
"samples": 9
},
"postgres-1": {
"cpu_median": 49.3,
"cpu_max": 53.5,
"mem_last": "153MiB",
"samples": 9
},
"valkey-1": {
"cpu_median": 6.8,
"cpu_max": 12.8,
"mem_last": "5.434MiB",
"samples": 9
}
},
"pool": {
"pool_requests": 7680,
"pool_wait_ms_avg": 1093.399,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 44.78,
"api_cpu_s": 27.26,
"intervals": 30
},
"pg": {
"xact_commit": 24077,
"xact_rollback": 0,
"tup_inserted": 23828,
"blks_read": 0,
"blks_hit": 509291,
"wal_records": 173929,
"wal_bytes": 15183835
},
"lb": {
"chkdown_delta": 10,
"qmax": 400,
"up_after": 3,
"econ_delta": 2234,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 12165,
"total_ms": 38577.6,
"mean_ms": 3.1712,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 12165,
"total_ms": 332.7,
"mean_ms": 0.0274,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 107,
"total_ms": 0.6,
"mean_ms": 0.0055,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1184,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0495,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.0,
"mean_ms": 0.0223,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.2,
"statements_per_ok": 3.25,
"repeat": 2,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 750,
"duration_s": 20,
"offered": 15000,
"requests": 10860,
"ok": 6713,
"dropped": 4141,
"ok_rps": 335.6,
"error_ratio": 0.38186,
"ok_p50_ms": 1359.678525,
"ok_p95_ms": 2192.974475,
"ok_p99_ms": 2381.86987288,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 173.2,
"cpu_max": 240.8,
"samples": 9
},
"api-1": {
"cpu_median": 57.4,
"cpu_max": 76.2,
"mem_last": "77.2MiB",
"samples": 9
},
"api-2": {
"cpu_median": 54.6,
"cpu_max": 114.6,
"mem_last": "64.77MiB",
"samples": 9
},
"api-3": {
"cpu_median": 51.7,
"cpu_max": 81.5,
"mem_last": "77.24MiB",
"samples": 9
},
"k6": {
"cpu_median": 66.0,
"cpu_max": 161.1,
"mem_last": "430.9MiB",
"samples": 9
},
"lb-1": {
"cpu_median": 25.1,
"cpu_max": 49.9,
"mem_last": "23.97MiB",
"samples": 9
},
"postgres-1": {
"cpu_median": 51.5,
"cpu_max": 53.2,
"mem_last": "158.5MiB",
"samples": 9
},
"valkey-1": {
"cpu_median": 4.9,
"cpu_max": 8.6,
"mem_last": "5.352MiB",
"samples": 9
}
},
"pool": {
"pool_requests": 7131,
"pool_wait_ms_avg": 1096.644,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 46.346,
"api_cpu_s": 24.95,
"intervals": 30
},
"pg": {
"xact_commit": 22658,
"xact_rollback": 0,
"tup_inserted": 22418,
"blks_read": 0,
"blks_hit": 489031,
"wal_records": 163243,
"wal_bytes": 14501866
},
"lb": {
"chkdown_delta": 15,
"qmax": 400,
"up_after": 3,
"econ_delta": 4713,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 11181,
"total_ms": 34563.6,
"mean_ms": 3.0913,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 11181,
"total_ms": 431.1,
"mean_ms": 0.0386,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 112,
"total_ms": 0.7,
"mean_ms": 0.0063,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.2,
"mean_ms": 0.1731,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0515,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.0,
"mean_ms": 0.0225,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.38,
"statements_per_ok": 3.35,
"repeat": 2,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 850,
"duration_s": 20,
"offered": 17000,
"requests": 12292,
"ok": 6906,
"dropped": 4700,
"ok_rps": 345.3,
"error_ratio": 0.43817,
"ok_p50_ms": 1319.3059505,
"ok_p95_ms": 1791.506597,
"ok_p99_ms": 1941.6247549999998,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 191.7,
"cpu_max": 279.4,
"samples": 10
},
"api-1": {
"cpu_median": 62.1,
"cpu_max": 99.2,
"mem_last": "77.48MiB",
"samples": 10
},
"api-2": {
"cpu_median": 70.8,
"cpu_max": 92.0,
"mem_last": "77.47MiB",
"samples": 10
},
"api-3": {
"cpu_median": 68.6,
"cpu_max": 99.7,
"mem_last": "77.23MiB",
"samples": 10
},
"k6": {
"cpu_median": 69.1,
"cpu_max": 105.0,
"mem_last": "413.6MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 27.0,
"cpu_max": 41.9,
"mem_last": "23.96MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 49.5,
"cpu_max": 52.4,
"mem_last": "166MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 6.0,
"cpu_max": 11.2,
"mem_last": "5.273MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 6833,
"pool_wait_ms_avg": 1033.892,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 46.519,
"api_cpu_s": 24.88,
"intervals": 29
},
"pg": {
"xact_commit": 22884,
"xact_rollback": 0,
"tup_inserted": 22640,
"blks_read": 0,
"blks_hit": 484598,
"wal_records": 165392,
"wal_bytes": 14365650
},
"lb": {
"chkdown_delta": 14,
"qmax": 400,
"up_after": 3,
"econ_delta": 5383,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 11344,
"total_ms": 40476.5,
"mean_ms": 3.5681,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 11344,
"total_ms": 447.7,
"mean_ms": 0.0395,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 113,
"total_ms": 1.0,
"mean_ms": 0.0084,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.2,
"mean_ms": 0.1788,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0479,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.0,
"mean_ms": 0.0209,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.31,
"statements_per_ok": 3.3,
"repeat": 2,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 450,
"duration_s": 20,
"offered": 9000,
"requests": 8090,
"ok": 7379,
"dropped": 910,
"ok_rps": 368.9,
"error_ratio": 0.08789,
"ok_p50_ms": 451.310097,
"ok_p95_ms": 1840.6765702999996,
"ok_p99_ms": 2124.4643808800006,
"vus_max": 874,
"cpu": {
"api_total": {
"cpu_median": 235.5,
"cpu_max": 287.1,
"samples": 9
},
"api-1": {
"cpu_median": 69.3,
"cpu_max": 100.6,
"mem_last": "60.35MiB",
"samples": 9
},
"api-2": {
"cpu_median": 73.2,
"cpu_max": 101.1,
"mem_last": "59.4MiB",
"samples": 9
},
"api-3": {
"cpu_median": 63.0,
"cpu_max": 95.2,
"mem_last": "62.05MiB",
"samples": 9
},
"k6": {
"cpu_median": 64.1,
"cpu_max": 83.4,
"mem_last": "238.8MiB",
"samples": 9
},
"lb-1": {
"cpu_median": 22.7,
"cpu_max": 35.0,
"mem_last": "21.14MiB",
"samples": 9
},
"postgres-1": {
"cpu_median": 51.3,
"cpu_max": 53.1,
"mem_last": "132MiB",
"samples": 9
},
"valkey-1": {
"cpu_median": 10.7,
"cpu_max": 16.5,
"mem_last": "4.449MiB",
"samples": 9
}
},
"pool": {
"pool_requests": 7919,
"pool_wait_ms_avg": 458.068,
"pool_waiting_max": 163,
"pool_usage_ms_avg": 42.854,
"api_cpu_s": 29.35,
"intervals": 30
},
"pg": {
"xact_commit": 22888,
"xact_rollback": 0,
"tup_inserted": 22646,
"blks_read": 62,
"blks_hit": 475016,
"wal_records": 165053,
"wal_bytes": 14926787
},
"lb": {
"chkdown_delta": 3,
"qmax": 183,
"up_after": 3,
"econ_delta": 711,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 11466,
"total_ms": 36677.3,
"mean_ms": 3.1988,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 11466,
"total_ms": 406.0,
"mean_ms": 0.0354,
"query": "SELECT $2 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 105,
"total_ms": 0.6,
"mean_ms": 0.006,
"query": "SELECT $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0713,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1163,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0318,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.1,
"statements_per_ok": 3.12,
"repeat": 3,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 550,
"duration_s": 20,
"offered": 11000,
"requests": 7806,
"ok": 6992,
"dropped": 3195,
"ok_rps": 349.6,
"error_ratio": 0.10428,
"ok_p50_ms": 1329.049919,
"ok_p95_ms": 2624.47547915,
"ok_p99_ms": 3877.989075410001,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 200.8,
"cpu_max": 259.7,
"samples": 10
},
"api-1": {
"cpu_median": 69.0,
"cpu_max": 86.6,
"mem_last": "76.41MiB",
"samples": 10
},
"api-2": {
"cpu_median": 60.7,
"cpu_max": 93.4,
"mem_last": "63.8MiB",
"samples": 10
},
"api-3": {
"cpu_median": 69.0,
"cpu_max": 93.8,
"mem_last": "76.05MiB",
"samples": 10
},
"k6": {
"cpu_median": 57.9,
"cpu_max": 90.1,
"mem_last": "435.4MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 23.9,
"cpu_max": 43.8,
"mem_last": "23.68MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 50.5,
"cpu_max": 52.6,
"mem_last": "141.2MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 10.4,
"cpu_max": 16.2,
"mem_last": "6.531MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 6785,
"pool_wait_ms_avg": 911.706,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 45.834,
"api_cpu_s": 27.71,
"intervals": 29
},
"pg": {
"xact_commit": 20854,
"xact_rollback": 0,
"tup_inserted": 20602,
"blks_read": 0,
"blks_hit": 440293,
"wal_records": 149822,
"wal_bytes": 13205400
},
"lb": {
"chkdown_delta": 13,
"qmax": 400,
"up_after": 3,
"econ_delta": 598,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 10368,
"total_ms": 38690.9,
"mean_ms": 3.7318,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 10368,
"total_ms": 347.1,
"mean_ms": 0.0335,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 114,
"total_ms": 0.7,
"mean_ms": 0.0059,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1431,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.05,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0259,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 2.98,
"statements_per_ok": 2.98,
"repeat": 3,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 650,
"duration_s": 20,
"offered": 13000,
"requests": 9019,
"ok": 7899,
"dropped": 3981,
"ok_rps": 394.9,
"error_ratio": 0.12418,
"ok_p50_ms": 1350.057973,
"ok_p95_ms": 1867.7866874,
"ok_p99_ms": 2249.028925279999,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 171.5,
"cpu_max": 281.7,
"samples": 10
},
"api-1": {
"cpu_median": 66.6,
"cpu_max": 85.3,
"mem_last": "64.37MiB",
"samples": 10
},
"api-2": {
"cpu_median": 60.2,
"cpu_max": 100.4,
"mem_last": "65.82MiB",
"samples": 10
},
"api-3": {
"cpu_median": 51.3,
"cpu_max": 96.9,
"mem_last": "63.94MiB",
"samples": 10
},
"k6": {
"cpu_median": 57.7,
"cpu_max": 99.7,
"mem_last": "442.8MiB",
"samples": 10
},
"lb-1": {
"cpu_median": 24.6,
"cpu_max": 29.8,
"mem_last": "24.17MiB",
"samples": 10
},
"postgres-1": {
"cpu_median": 50.0,
"cpu_max": 53.6,
"mem_last": "148.5MiB",
"samples": 10
},
"valkey-1": {
"cpu_median": 7.0,
"cpu_max": 14.5,
"mem_last": "5.562MiB",
"samples": 10
}
},
"pool": {
"pool_requests": 7870,
"pool_wait_ms_avg": 1010.098,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 41.34,
"api_cpu_s": 26.64,
"intervals": 30
},
"pg": {
"xact_commit": 24388,
"xact_rollback": 0,
"tup_inserted": 24142,
"blks_read": 0,
"blks_hit": 514707,
"wal_records": 174564,
"wal_bytes": 15133331
},
"lb": {
"chkdown_delta": 14,
"qmax": 400,
"up_after": 3,
"econ_delta": 1025,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 12030,
"total_ms": 39377.5,
"mean_ms": 3.2733,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 12030,
"total_ms": 469.4,
"mean_ms": 0.039,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 116,
"total_ms": 0.7,
"mean_ms": 0.006,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1272,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0476,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0311,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.09,
"statements_per_ok": 3.06,
"repeat": 3,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 750,
"duration_s": 20,
"offered": 15000,
"requests": 11455,
"ok": 6345,
"dropped": 3546,
"ok_rps": 317.2,
"error_ratio": 0.44609,
"ok_p50_ms": 1387.149728,
"ok_p95_ms": 2148.657413,
"ok_p99_ms": 2289.0639938399995,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 178.2,
"cpu_max": 243.0,
"samples": 9
},
"api-1": {
"cpu_median": 54.5,
"cpu_max": 88.9,
"mem_last": "64.24MiB",
"samples": 9
},
"api-2": {
"cpu_median": 53.9,
"cpu_max": 85.3,
"mem_last": "78.57MiB",
"samples": 9
},
"api-3": {
"cpu_median": 55.1,
"cpu_max": 98.3,
"mem_last": "64.06MiB",
"samples": 9
},
"k6": {
"cpu_median": 62.8,
"cpu_max": 113.3,
"mem_last": "426.4MiB",
"samples": 9
},
"lb-1": {
"cpu_median": 27.3,
"cpu_max": 33.1,
"mem_last": "24.36MiB",
"samples": 9
},
"postgres-1": {
"cpu_median": 50.0,
"cpu_max": 54.0,
"mem_last": "155.8MiB",
"samples": 9
},
"valkey-1": {
"cpu_median": 5.4,
"cpu_max": 10.0,
"mem_last": "5.148MiB",
"samples": 9
}
},
"pool": {
"pool_requests": 6697,
"pool_wait_ms_avg": 1165.938,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 49.092,
"api_cpu_s": 23.5,
"intervals": 30
},
"pg": {
"xact_commit": 21016,
"xact_rollback": 0,
"tup_inserted": 20770,
"blks_read": 0,
"blks_hit": 455078,
"wal_records": 151969,
"wal_bytes": 13418130
},
"lb": {
"chkdown_delta": 14,
"qmax": 400,
"up_after": 3,
"econ_delta": 4981,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 10624,
"total_ms": 36982.9,
"mean_ms": 3.4811,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 10624,
"total_ms": 701.4,
"mean_ms": 0.066,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 108,
"total_ms": 0.6,
"mean_ms": 0.0059,
"query": "SELECT 1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0499,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.0954,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0419,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
}
],
"pg_commits_per_ok": 3.31,
"statements_per_ok": 3.37,
"repeat": 3,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,168 @@
{
"config": "n3-api1-pg0.5-pool10-message_write_path_function",
"rate": 850,
"duration_s": 20,
"offered": 17000,
"requests": 12025,
"ok": 6897,
"dropped": 4975,
"ok_rps": 344.9,
"error_ratio": 0.42644,
"ok_p50_ms": 1361.580403,
"ok_p95_ms": 1670.7012224,
"ok_p99_ms": 1839.83932316,
"vus_max": 1200,
"cpu": {
"api_total": {
"cpu_median": 151.6,
"cpu_max": 246.3,
"samples": 9
},
"api-1": {
"cpu_median": 64.6,
"cpu_max": 88.1,
"mem_last": "78.3MiB",
"samples": 9
},
"api-2": {
"cpu_median": 60.1,
"cpu_max": 83.0,
"mem_last": "66.11MiB",
"samples": 9
},
"api-3": {
"cpu_median": 49.6,
"cpu_max": 80.0,
"mem_last": "64.1MiB",
"samples": 9
},
"k6": {
"cpu_median": 76.5,
"cpu_max": 110.1,
"mem_last": "436.7MiB",
"samples": 9
},
"lb-1": {
"cpu_median": 27.1,
"cpu_max": 41.3,
"mem_last": "24.64MiB",
"samples": 9
},
"postgres-1": {
"cpu_median": 49.9,
"cpu_max": 55.0,
"mem_last": "163.4MiB",
"samples": 9
},
"valkey-1": {
"cpu_median": 10.2,
"cpu_max": 15.1,
"mem_last": "5.234MiB",
"samples": 9
}
},
"pool": {
"pool_requests": 6991,
"pool_wait_ms_avg": 1098.253,
"pool_waiting_max": 192,
"pool_usage_ms_avg": 46.956,
"api_cpu_s": 25.03,
"intervals": 30
},
"pg": {
"xact_commit": 22496,
"xact_rollback": 0,
"tup_inserted": 22254,
"blks_read": 0,
"blks_hit": 475366,
"wal_records": 162447,
"wal_bytes": 14519850
},
"lb": {
"chkdown_delta": 15,
"qmax": 400,
"up_after": 3,
"econ_delta": 6077,
"eresp_delta": 0,
"redispatch_delta": 0
},
"statements": [
{
"calls": 11292,
"total_ms": 35178.3,
"mean_ms": 3.1153,
"query": "SELECT o_status, o_id, o_text, o_created_at FROM post_message($1, $2, $3, $4, $5, $6, $7)"
},
{
"calls": 11292,
"total_ms": 498.3,
"mean_ms": 0.0441,
"query": "SELECT 1 FROM ONLY \"public\".\"messages\" x WHERE \"id\" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
},
{
"calls": 110,
"total_ms": 0.8,
"mean_ms": 0.0077,
"query": "SELECT 1"
},
{
"calls": 1,
"total_ms": 0.1,
"mean_ms": 0.1114,
"query": "SELECT pg_stat_statements_reset()"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.0448,
"query": "SELECT xact_commit, xact_rollback, tup_inserted, blks_read, blks_hit FROM pg_stat_database WHERE datname = $1"
},
{
"calls": 2,
"total_ms": 0.1,
"mean_ms": 0.031,
"query": "SELECT wal_records, wal_bytes FROM pg_stat_wal"
}
],
"pg_commits_per_ok": 3.26,
"statements_per_ok": 3.29,
"repeat": 3,
"limits": {
"api-1": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-2": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"api-3": {
"cpus": 1.0,
"memory_mib": 384,
"cpuset": "5-7",
"image": "mtusi-messenger:bench-4830be4"
},
"lb-1": {
"cpus": 1.0,
"memory_mib": 128,
"cpuset": "2",
"image": "haproxy:3.2.26-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122"
},
"postgres-1": {
"cpus": 0.5,
"memory_mib": 1024,
"cpuset": "3-4",
"image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c"
},
"valkey-1": {
"cpus": 0.5,
"memory_mib": 256,
"cpuset": "2",
"image": "valkey/valkey:8.1.3-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571"
}
}
}
@@ -0,0 +1,31 @@
config,repeat,rate,ok_rps,replicas_running,api_cpus_limit_total,api_mem_mib_each,pg_cpus_limit,requests,ok,dropped,error_ratio,p50_ms,p95_ms,p99_ms,api_cpu_pct_total,pg_cpu_pct,lb_cpu_pct,valkey_cpu_pct,k6_cpu_pct,pool_wait_ms_avg,pool_waiting_max,pg_commits_per_ok,statements_per_ok,lb_chkdown,lb_qmax,wal_bytes
n2-api1-pg2-pool10-message_write_path_function,1,450,443.2,2,2.0,384,2.0,8865,8865,136,0,34.628739,331.7235877999999,432.58044672000005,169.3,47.6,21.8,5.9,55.6,42.04,53,2.99,3.01,0,0,17005327
n2-api1-pg2-pool10-message_write_path_function,1,550,529.0,2,2.0,384,2.0,10581,10581,419,0,289.003206,671.024897,827.5025136000007,195.2,61.0,24.3,6.6,62.4,207.205,131,2.95,3.0,0,0,19466049
n2-api1-pg2-pool10-message_write_path_function,1,650,443.8,2,2.0,384,2.0,8978,8876,4023,0.01136,1113.935403,1968.28476,2612.7346202500003,195.3,65.7,25.6,11.6,65.7,718.779,181,3.2,3.17,2,400,17819844
n2-api1-pg2-pool10-message_write_path_function,1,750,455.8,2,2.0,384,2.0,9181,9115,5820,0.00719,1080.506298,2825.2585039,2974.216215360001,192.0,64.7,24.1,6.1,61.7,755.964,192,3.2,3.21,1,400,18051917
n2-api1-pg2-pool10-message_write_path_function,1,850,529.6,2,2.0,384,2.0,10592,10592,6351,0,982.2567455,1780.5699022499994,2282.76845217,198.5,55.2,25.5,5.7,67.8,633.563,188,3.06,3.09,0,400,20268216
n3-api1-pg0.5-pool10-message_write_path_function,1,450,439.5,3,3.0,384,0.5,8790,8790,210,0,173.556058,637.521366,798.116165,204.2,49.8,21.9,10.2,48.4,165.01,96,2.94,2.95,0,0,16834963
n3-api1-pg0.5-pool10-message_write_path_function,1,550,412.0,3,3.0,384,0.5,9300,8240,1700,0.11398,1170.215864,1974.8666587499997,2277.9815827899997,169.1,48.9,23.8,7.5,59.4,840.394,192,3.16,3.16,11,391,16599520
n3-api1-pg0.5-pool10-message_write_path_function,1,650,420.9,3,3.0,384,0.5,9915,8419,3086,0.15088,1266.367974,1660.6635666999998,1897.1363954399997,166.4,49.8,23.6,9.4,55.8,935.549,192,3.07,3.06,11,400,16062613
n3-api1-pg0.5-pool10-message_write_path_function,1,750,383.3,3,3.0,384,0.5,10515,7666,4485,0.27095,1269.548656,1908.19258625,2006.8167474,161.3,49.0,25.4,8.3,66.6,1021.726,193,3.2,3.24,14,400,15768170
n3-api1-pg0.5-pool10-message_write_path_function,1,850,370.4,3,3.0,384,0.5,13175,7407,3826,0.4378,1190.408763,1595.8426676,1680.2735505999997,150.2,49.3,28.2,8.5,63.0,975.697,192,3.3,3.27,15,400,15010035
n2-api1-pg2-pool10-message_write_path_function,2,450,445.1,2,2.0,384,2.0,8903,8903,98,0,20.939713,287.83532999999983,396.937334,164.3,40.8,20.5,9.9,53.1,32.966,50,2.98,3.0,0,0,17023704
n2-api1-pg2-pool10-message_write_path_function,2,550,525.1,2,2.0,384,2.0,10503,10503,497,0,304.09773,858.1164322999998,1125.44896496,190.3,60.4,25.0,6.5,61.3,224.508,177,2.94,3.0,0,2,19523619
n2-api1-pg2-pool10-message_write_path_function,2,650,552.4,2,2.0,384,2.0,11047,11047,1953,0,927.915712,1446.5244931,1595.4003346999998,201.4,68.1,25.9,10.1,64.9,629.199,181,3.08,3.06,0,200,21215902
n2-api1-pg2-pool10-message_write_path_function,2,750,530.2,2,2.0,384,2.0,10605,10605,4396,0,1023.668411,1574.2096668000002,1690.3210753999995,195.6,67.7,27.4,7.2,67.1,657.642,191,3.08,3.09,0,228,20338491
n2-api1-pg2-pool10-message_write_path_function,2,850,552.5,2,2.0,384,2.0,11050,11050,5950,0,965.940107,1508.7156095499997,1659.4098543900002,200.3,60.7,27.4,6.6,65.2,636.437,181,3.07,3.07,0,230,21002396
n3-api1-pg0.5-pool10-message_write_path_function,2,450,373.4,3,3.0,384,0.5,8028,7468,973,0.06976,1020.4746635,1811.1272992499996,2186.1001616699996,210.8,51.3,22.9,6.0,56.0,825.496,191,3.07,3.09,7,337,14971261
n3-api1-pg0.5-pool10-message_write_path_function,2,550,422.6,3,3.0,384,0.5,9432,8453,1568,0.1038,852.198264,2004.4173515999996,2230.0016709199995,176.6,49.5,25.1,6.1,58.5,761.019,192,2.96,2.96,9,337,15725337
n3-api1-pg0.5-pool10-message_write_path_function,2,650,376.6,3,3.0,384,0.5,9789,7531,3212,0.23067,1295.306206,1781.5179195,2203.2786076999996,171.9,49.3,27.2,6.8,61.3,1093.399,192,3.2,3.25,10,400,15183835
n3-api1-pg0.5-pool10-message_write_path_function,2,750,335.6,3,3.0,384,0.5,10860,6713,4141,0.38186,1359.678525,2192.974475,2381.86987288,173.2,51.5,25.1,4.9,66.0,1096.644,192,3.38,3.35,15,400,14501866
n3-api1-pg0.5-pool10-message_write_path_function,2,850,345.3,3,3.0,384,0.5,12292,6906,4700,0.43817,1319.3059505,1791.506597,1941.6247549999998,191.7,49.5,27.0,6.0,69.1,1033.892,192,3.31,3.3,14,400,14365650
n2-api1-pg2-pool10-message_write_path_function,3,450,442.5,2,2.0,384,2.0,8850,8850,151,0,26.6757725,369.7395602499999,459.48822332000026,173.9,49.8,21.7,10.2,52.7,41.406,55,2.98,3.01,0,0,16917023
n2-api1-pg2-pool10-message_write_path_function,3,550,524.0,2,2.0,384,2.0,10479,10479,522,0,361.785411,811.7921828000001,1160.5554723199998,196.2,56.7,25.6,11.4,69.8,279.254,181,2.98,3.0,0,41,19623791
n2-api1-pg2-pool10-message_write_path_function,3,650,548.0,2,2.0,384,2.0,10961,10961,2040,0,915.134185,1453.449344,1677.3023003999997,195.4,60.5,27.6,6.7,65.4,626.747,185,3.04,3.05,0,200,20919900
n2-api1-pg2-pool10-message_write_path_function,3,750,552.0,2,2.0,384,2.0,11039,11039,3961,0,960.874148,1520.5090723000003,1640.0442179200002,200.5,61.3,28.1,7.2,68.6,634.395,181,3.02,3.03,0,220,20585228
n2-api1-pg2-pool10-message_write_path_function,3,850,514.8,2,2.0,384,2.0,10406,10296,6595,0.01057,1037.4526045,1654.535533,1831.6677941999992,198.0,62.6,25.3,8.3,59.4,651.491,181,3.1,3.11,1,400,19958695
n3-api1-pg0.5-pool10-message_write_path_function,3,450,368.9,3,3.0,384,0.5,8090,7379,910,0.08789,451.310097,1840.6765702999996,2124.4643808800006,235.5,51.3,22.7,10.7,64.1,458.068,163,3.1,3.12,3,183,14926787
n3-api1-pg0.5-pool10-message_write_path_function,3,550,349.6,3,3.0,384,0.5,7806,6992,3195,0.10428,1329.049919,2624.47547915,3877.989075410001,200.8,50.5,23.9,10.4,57.9,911.706,192,2.98,2.98,13,400,13205400
n3-api1-pg0.5-pool10-message_write_path_function,3,650,394.9,3,3.0,384,0.5,9019,7899,3981,0.12418,1350.057973,1867.7866874,2249.028925279999,171.5,50.0,24.6,7.0,57.7,1010.098,192,3.09,3.06,14,400,15133331
n3-api1-pg0.5-pool10-message_write_path_function,3,750,317.2,3,3.0,384,0.5,11455,6345,3546,0.44609,1387.149728,2148.657413,2289.0639938399995,178.2,50.0,27.3,5.4,62.8,1165.938,192,3.31,3.37,14,400,13418130
n3-api1-pg0.5-pool10-message_write_path_function,3,850,344.9,3,3.0,384,0.5,12025,6897,4975,0.42644,1361.580403,1670.7012224,1839.83932316,151.6,49.9,27.1,10.2,76.5,1098.253,192,3.26,3.29,15,400,14519850
1 config repeat rate ok_rps replicas_running api_cpus_limit_total api_mem_mib_each pg_cpus_limit requests ok dropped error_ratio p50_ms p95_ms p99_ms api_cpu_pct_total pg_cpu_pct lb_cpu_pct valkey_cpu_pct k6_cpu_pct pool_wait_ms_avg pool_waiting_max pg_commits_per_ok statements_per_ok lb_chkdown lb_qmax wal_bytes
2 n2-api1-pg2-pool10-message_write_path_function 1 450 443.2 2 2.0 384 2.0 8865 8865 136 0 34.628739 331.7235877999999 432.58044672000005 169.3 47.6 21.8 5.9 55.6 42.04 53 2.99 3.01 0 0 17005327
3 n2-api1-pg2-pool10-message_write_path_function 1 550 529.0 2 2.0 384 2.0 10581 10581 419 0 289.003206 671.024897 827.5025136000007 195.2 61.0 24.3 6.6 62.4 207.205 131 2.95 3.0 0 0 19466049
4 n2-api1-pg2-pool10-message_write_path_function 1 650 443.8 2 2.0 384 2.0 8978 8876 4023 0.01136 1113.935403 1968.28476 2612.7346202500003 195.3 65.7 25.6 11.6 65.7 718.779 181 3.2 3.17 2 400 17819844
5 n2-api1-pg2-pool10-message_write_path_function 1 750 455.8 2 2.0 384 2.0 9181 9115 5820 0.00719 1080.506298 2825.2585039 2974.216215360001 192.0 64.7 24.1 6.1 61.7 755.964 192 3.2 3.21 1 400 18051917
6 n2-api1-pg2-pool10-message_write_path_function 1 850 529.6 2 2.0 384 2.0 10592 10592 6351 0 982.2567455 1780.5699022499994 2282.76845217 198.5 55.2 25.5 5.7 67.8 633.563 188 3.06 3.09 0 400 20268216
7 n3-api1-pg0.5-pool10-message_write_path_function 1 450 439.5 3 3.0 384 0.5 8790 8790 210 0 173.556058 637.521366 798.116165 204.2 49.8 21.9 10.2 48.4 165.01 96 2.94 2.95 0 0 16834963
8 n3-api1-pg0.5-pool10-message_write_path_function 1 550 412.0 3 3.0 384 0.5 9300 8240 1700 0.11398 1170.215864 1974.8666587499997 2277.9815827899997 169.1 48.9 23.8 7.5 59.4 840.394 192 3.16 3.16 11 391 16599520
9 n3-api1-pg0.5-pool10-message_write_path_function 1 650 420.9 3 3.0 384 0.5 9915 8419 3086 0.15088 1266.367974 1660.6635666999998 1897.1363954399997 166.4 49.8 23.6 9.4 55.8 935.549 192 3.07 3.06 11 400 16062613
10 n3-api1-pg0.5-pool10-message_write_path_function 1 750 383.3 3 3.0 384 0.5 10515 7666 4485 0.27095 1269.548656 1908.19258625 2006.8167474 161.3 49.0 25.4 8.3 66.6 1021.726 193 3.2 3.24 14 400 15768170
11 n3-api1-pg0.5-pool10-message_write_path_function 1 850 370.4 3 3.0 384 0.5 13175 7407 3826 0.4378 1190.408763 1595.8426676 1680.2735505999997 150.2 49.3 28.2 8.5 63.0 975.697 192 3.3 3.27 15 400 15010035
12 n2-api1-pg2-pool10-message_write_path_function 2 450 445.1 2 2.0 384 2.0 8903 8903 98 0 20.939713 287.83532999999983 396.937334 164.3 40.8 20.5 9.9 53.1 32.966 50 2.98 3.0 0 0 17023704
13 n2-api1-pg2-pool10-message_write_path_function 2 550 525.1 2 2.0 384 2.0 10503 10503 497 0 304.09773 858.1164322999998 1125.44896496 190.3 60.4 25.0 6.5 61.3 224.508 177 2.94 3.0 0 2 19523619
14 n2-api1-pg2-pool10-message_write_path_function 2 650 552.4 2 2.0 384 2.0 11047 11047 1953 0 927.915712 1446.5244931 1595.4003346999998 201.4 68.1 25.9 10.1 64.9 629.199 181 3.08 3.06 0 200 21215902
15 n2-api1-pg2-pool10-message_write_path_function 2 750 530.2 2 2.0 384 2.0 10605 10605 4396 0 1023.668411 1574.2096668000002 1690.3210753999995 195.6 67.7 27.4 7.2 67.1 657.642 191 3.08 3.09 0 228 20338491
16 n2-api1-pg2-pool10-message_write_path_function 2 850 552.5 2 2.0 384 2.0 11050 11050 5950 0 965.940107 1508.7156095499997 1659.4098543900002 200.3 60.7 27.4 6.6 65.2 636.437 181 3.07 3.07 0 230 21002396
17 n3-api1-pg0.5-pool10-message_write_path_function 2 450 373.4 3 3.0 384 0.5 8028 7468 973 0.06976 1020.4746635 1811.1272992499996 2186.1001616699996 210.8 51.3 22.9 6.0 56.0 825.496 191 3.07 3.09 7 337 14971261
18 n3-api1-pg0.5-pool10-message_write_path_function 2 550 422.6 3 3.0 384 0.5 9432 8453 1568 0.1038 852.198264 2004.4173515999996 2230.0016709199995 176.6 49.5 25.1 6.1 58.5 761.019 192 2.96 2.96 9 337 15725337
19 n3-api1-pg0.5-pool10-message_write_path_function 2 650 376.6 3 3.0 384 0.5 9789 7531 3212 0.23067 1295.306206 1781.5179195 2203.2786076999996 171.9 49.3 27.2 6.8 61.3 1093.399 192 3.2 3.25 10 400 15183835
20 n3-api1-pg0.5-pool10-message_write_path_function 2 750 335.6 3 3.0 384 0.5 10860 6713 4141 0.38186 1359.678525 2192.974475 2381.86987288 173.2 51.5 25.1 4.9 66.0 1096.644 192 3.38 3.35 15 400 14501866
21 n3-api1-pg0.5-pool10-message_write_path_function 2 850 345.3 3 3.0 384 0.5 12292 6906 4700 0.43817 1319.3059505 1791.506597 1941.6247549999998 191.7 49.5 27.0 6.0 69.1 1033.892 192 3.31 3.3 14 400 14365650
22 n2-api1-pg2-pool10-message_write_path_function 3 450 442.5 2 2.0 384 2.0 8850 8850 151 0 26.6757725 369.7395602499999 459.48822332000026 173.9 49.8 21.7 10.2 52.7 41.406 55 2.98 3.01 0 0 16917023
23 n2-api1-pg2-pool10-message_write_path_function 3 550 524.0 2 2.0 384 2.0 10479 10479 522 0 361.785411 811.7921828000001 1160.5554723199998 196.2 56.7 25.6 11.4 69.8 279.254 181 2.98 3.0 0 41 19623791
24 n2-api1-pg2-pool10-message_write_path_function 3 650 548.0 2 2.0 384 2.0 10961 10961 2040 0 915.134185 1453.449344 1677.3023003999997 195.4 60.5 27.6 6.7 65.4 626.747 185 3.04 3.05 0 200 20919900
25 n2-api1-pg2-pool10-message_write_path_function 3 750 552.0 2 2.0 384 2.0 11039 11039 3961 0 960.874148 1520.5090723000003 1640.0442179200002 200.5 61.3 28.1 7.2 68.6 634.395 181 3.02 3.03 0 220 20585228
26 n2-api1-pg2-pool10-message_write_path_function 3 850 514.8 2 2.0 384 2.0 10406 10296 6595 0.01057 1037.4526045 1654.535533 1831.6677941999992 198.0 62.6 25.3 8.3 59.4 651.491 181 3.1 3.11 1 400 19958695
27 n3-api1-pg0.5-pool10-message_write_path_function 3 450 368.9 3 3.0 384 0.5 8090 7379 910 0.08789 451.310097 1840.6765702999996 2124.4643808800006 235.5 51.3 22.7 10.7 64.1 458.068 163 3.1 3.12 3 183 14926787
28 n3-api1-pg0.5-pool10-message_write_path_function 3 550 349.6 3 3.0 384 0.5 7806 6992 3195 0.10428 1329.049919 2624.47547915 3877.989075410001 200.8 50.5 23.9 10.4 57.9 911.706 192 2.98 2.98 13 400 13205400
29 n3-api1-pg0.5-pool10-message_write_path_function 3 650 394.9 3 3.0 384 0.5 9019 7899 3981 0.12418 1350.057973 1867.7866874 2249.028925279999 171.5 50.0 24.6 7.0 57.7 1010.098 192 3.09 3.06 14 400 15133331
30 n3-api1-pg0.5-pool10-message_write_path_function 3 750 317.2 3 3.0 384 0.5 11455 6345 3546 0.44609 1387.149728 2148.657413 2289.0639938399995 178.2 50.0 27.3 5.4 62.8 1165.938 192 3.31 3.37 14 400 13418130
31 n3-api1-pg0.5-pool10-message_write_path_function 3 850 344.9 3 3.0 384 0.5 12025 6897 4975 0.42644 1361.580403 1670.7012224 1839.83932316 151.6 49.9 27.1 10.2 76.5 1098.253 192 3.26 3.29 15 400 14519850
@@ -0,0 +1,54 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 420" font-family="system-ui, sans-serif" font-size="12">
<style>.bg{fill:#fcfcfb}.ink{fill:#0b0b0b}.ink2{fill:#52514e}.grid{stroke:#e4e3df}.ref{stroke:#b5b3ac}.l0{stroke:#2a78d6;fill:none}.d0{fill:#2a78d6;stroke:#fcfcfb}.l1{stroke:#eb6834;fill:none}.d1{fill:#eb6834;stroke:#fcfcfb}.l2{stroke:#1baf7a;fill:none}.d2{fill:#1baf7a;stroke:#fcfcfb}.l3{stroke:#eda100;fill:none}.d3{fill:#eda100;stroke:#fcfcfb}@media (prefers-color-scheme: dark){.bg{fill:#1a1a19}.ink{fill:#fff}.ink2{fill:#c3c2b7}.grid{stroke:#34332f}.ref{stroke:#6b6a64}.l0{stroke:#3987e5}.d0{fill:#3987e5;stroke:#1a1a19}.l1{stroke:#d95926}.d1{fill:#d95926;stroke:#1a1a19}.l2{stroke:#199e70}.d2{fill:#199e70;stroke:#1a1a19}.l3{stroke:#c98500}.d3{fill:#c98500;stroke:#1a1a19}}</style>
<rect class="bg" width="760" height="420"/>
<text class="ink" x="64" y="22" font-size="14" font-weight="600">E-improved-ceiling/4830be4</text>
<line class="grid" x1="64" x2="550" y1="368.0" y2="368.0" stroke-width="1"/>
<text class="ink2" x="56" y="372.0" text-anchor="end">0</text>
<line class="grid" x1="64" x2="550" y1="297.8" y2="297.8" stroke-width="1"/>
<text class="ink2" x="56" y="301.8" text-anchor="end">200</text>
<line class="grid" x1="64" x2="550" y1="227.7" y2="227.7" stroke-width="1"/>
<text class="ink2" x="56" y="231.7" text-anchor="end">400</text>
<line class="grid" x1="64" x2="550" y1="157.5" y2="157.5" stroke-width="1"/>
<text class="ink2" x="56" y="161.5" text-anchor="end">600</text>
<line class="grid" x1="64" x2="550" y1="87.4" y2="87.4" stroke-width="1"/>
<text class="ink2" x="56" y="91.4" text-anchor="end">800</text>
<text class="ink2" x="309.0" y="386" text-anchor="middle">450</text>
<text class="ink2" x="363.5" y="386" text-anchor="middle">550</text>
<text class="ink2" x="417.9" y="386" text-anchor="middle">650</text>
<text class="ink2" x="472.4" y="386" text-anchor="middle">750</text>
<text class="ink2" x="526.9" y="386" text-anchor="middle">850</text>
<text class="ink2" x="307.0" y="408" text-anchor="middle">предложенная нагрузка, запросов/с (open-loop)</text>
<text class="ink2" transform="translate(16 204.0) rotate(-90)" text-anchor="middle">успешных запросов/с (201)</text>
<line class="ref" x1="64.0" y1="368.0" x2="526.9" y2="69.8" stroke-width="1"/>
<text class="ink2" x="357.5" y="167.1" text-anchor="end">обслужено = предложено</text>
<polyline class="l0" points="309.0,212.5 363.5,183.8 417.9,175.8 472.4,182.0 526.9,182.2" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>
<line class="l0" x1="309.0" x2="309.0" y1="212.8" y2="211.9" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="309.0" cy="212.5" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 450/с, успешно 443.2/с (повторы 442.5–445.1), p95 332 мс</title></circle>
<line class="l0" x1="363.5" x2="363.5" y1="184.2" y2="182.4" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="363.5" cy="183.8" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 550/с, успешно 525.1/с (повторы 524–529), p95 812 мс</title></circle>
<line class="l0" x1="417.9" x2="417.9" y1="212.3" y2="174.2" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="417.9" cy="175.8" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 650/с, успешно 548/с (повторы 443.8–552.4), p95 1453 мс</title></circle>
<line class="l0" x1="472.4" x2="472.4" y1="208.1" y2="174.4" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="472.4" cy="182.0" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 750/с, успешно 530.2/с (повторы 455.8–552), p95 1574 мс</title></circle>
<line class="l0" x1="526.9" x2="526.9" y1="187.4" y2="174.2" stroke-width="2" opacity="0.5"/>
<circle class="d0" cx="526.9" cy="182.2" r="4" stroke-width="2"><title>2 × 1 CPU API, БД 2 CPU, запись function: предложено 850/с, успешно 529.6/с (повторы 514.8–552.5), p95 1655 мс</title></circle>
<text class="ink2" x="417.9" y="165.8" text-anchor="middle">max 548</text>
<line class="l0" x1="584" x2="602" y1="50" y2="50" stroke-width="2"/>
<text class="ink" x="608" y="54">2 × 1 CPU API, БД 2</text>
<text class="ink" x="608" y="68">CPU, запись function</text>
<polyline class="l1" points="309.0,237.0 363.5,223.5 417.9,229.5 472.4,250.3 526.9,246.9" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>
<line class="l1" x1="309.0" x2="309.0" y1="238.6" y2="213.8" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="309.0" cy="237.0" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 450/с, успешно 373.4/с (повторы 368.9–439.5), p95 1811 мс</title></circle>
<line class="l1" x1="363.5" x2="363.5" y1="245.4" y2="219.8" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="363.5" cy="223.5" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 550/с, успешно 412/с (повторы 349.6–422.6), p95 2004 мс</title></circle>
<line class="l1" x1="417.9" x2="417.9" y1="235.9" y2="220.3" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="417.9" cy="229.5" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 650/с, успешно 394.9/с (повторы 376.6–420.9), p95 1782 мс</title></circle>
<line class="l1" x1="472.4" x2="472.4" y1="256.7" y2="233.5" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="472.4" cy="250.3" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 750/с, успешно 335.6/с (повторы 317.2–383.3), p95 2149 мс</title></circle>
<line class="l1" x1="526.9" x2="526.9" y1="247.0" y2="238.1" stroke-width="2" opacity="0.5"/>
<circle class="d1" cx="526.9" cy="246.9" r="4" stroke-width="2"><title>3 × 1 CPU API, БД 0.5 CPU, запись function: предложено 850/с, успешно 345.3/с (повторы 344.9–370.4), p95 1671 мс</title></circle>
<text class="ink2" x="363.5" y="213.5" text-anchor="middle">max 412</text>
<line class="l1" x1="584" x2="602" y1="90" y2="90" stroke-width="2"/>
<text class="ink" x="608" y="94">3 × 1 CPU API, БД 0.5</text>
<text class="ink" x="608" y="108">CPU, запись function</text>
</svg>

After

Width:  |  Height:  |  Size: 6.5 KiB