Files
mtusi2026lab3/evidence/track1/series-a/base-2x2_rate900_rep2/pg_activity.csv
T
ArtyomandClaude Opus 5.5 be19abf364 Record the fixed budget series of track 1
1x4, 2x2 and 4x1 at 4 CPU and 2 GiB of API, workers equal to CPUs,
32 pool connections and 128 balancer slots in every layout, three
repeats from 600 to 6 830 rps. All three keep up with the offered
load up to 4 560 rps; the peaks are 5 375 rps for 1x4 (5 332..5 384),
4 964 for 2x2 (4 894..5 104) and 4 724 for 4x1 (4 686..4 794). At the
peak the API uses 95 % of its four CPUs in every layout, PostgreSQL
82..89 % of its two, the balancer 40 % of one, and about half of the
32 database connections wait for the lock on a chat row.

Smaller replicas cost more: at 3 040 rps the API burns 215 % CPU as
1x4, 243 % as 2x2 and about 280 % as 4x1, and p95 at 4 560 rps grows
from 9 to 69 and 150 ms.

The first attempt was aborted when a neighbour's image build froze the
Docker API; its summary is kept under aborted/. Twelve steps of the
rerun were rejected as disturbed and repeated. A config's SLO capacity
now needs a majority of saturated repeats, since a median is robust to
one disturbed repeat and "any repeat" is not. Series B starts at 450
rps per CPU.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2026-10-29 00:31:43 +03:00

2.1 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793216323idleClientClientRead21200
31793216324idleClientClientRead20200
41793216325idleClientClientRead20200
51793216326idleClientClientRead20200
61793216327active1200
71793216327idleClientClientRead19200
81793216328idle2200
91793216328idleClientClientRead18200
101793216329idleClientClientRead19200
111793216331active1200
121793216331idleClientClientRead17200
131793216331idle in transactionClientClientRead1200
141793216332idleClientClientRead18200
151793216332idle in transactionClientClientRead1200
161793216333idleClientClientRead19200
171793216334idleClientClientRead19200
181793216335idleClientClientRead18200
191793216335idle in transactionClientClientRead1200
201793216336idleClientClientRead19200
211793216337idleClientClientRead28200
221793216337idle in transactionIOWalSync1200
231793216338idle1200
241793216338idleClientClientRead28200
251793216339idleClientClientRead29200
261793216341idleClientClientRead29200
271793216342idleClientClientRead29200
281793216343idleClientClientRead29200
291793216344idleClientClientRead29200
301793216345idleClientClientRead29200
311793216346idleClientClientRead29200
321793216347idleClientClientRead29200
331793216348idle1200
341793216348idleClientClientRead28200
351793216350idleClientClientRead29200
361793216351idleClientClientRead29200
371793216352active1200
381793216352idleClientClientRead28200
391793216353idleClientClientRead29200
401793216354idleClientClientRead27200
411793216354idle in transactionClientClientRead1200
421793216355activeClientClientRead1200
431793216355idleClientClientRead26200
441793216355idle in transactionClientClientRead1200
451793216356idleClientClientRead30200
461793216357idle1200
471793216357idleClientClientRead29200
481793216359idleClientClientRead30200
491793216360idleClientClientRead30200
501793216361idleClientClientRead30200
511793216362idleClientClientRead30200
521793216363activeClientClientRead1200
531793216363idleClientClientRead29200