Files
mtusi2026lab2/evidence/track1/series-a/base-2x2_rate600_rep3/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.0 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793216229idleClientClientRead11200
31793216230activeClientClientRead1200
41793216230idleClientClientRead16200
51793216232idleClientClientRead17200
61793216233idleClientClientRead16200
71793216233idle in transaction1200
81793216234idleClientClientRead17200
91793216235active2200
101793216235idleClientClientRead15200
111793216236active1200
121793216236idleClientClientRead16200
131793216237idleClientClientRead17200
141793216238activeIOWalSync1200
151793216238idleClientClientRead16200
161793216239idleClientClientRead16200
171793216241idleClientClientRead16200
181793216242idleClientClientRead16200
191793216243idleClientClientRead16200
201793216244idleClientClientRead15200
211793216244idle in transactionClientClientRead1200
221793216245activeIOWalSync1200
231793216245idleClientClientRead15200
241793216246idleClientClientRead16200
251793216247active1200
261793216247idleClientClientRead15200
271793216248idleClientClientRead16200
281793216249active1200
291793216249idleClientClientRead15200
301793216251idleClientClientRead16200
311793216252idleClientClientRead16200
321793216253idleClientClientRead15200
331793216253idle in transaction1200
341793216254idleClientClientRead16200
351793216255idleClientClientRead16200
361793216256activeClientClientRead1200
371793216256idleClientClientRead15200
381793216257idleClientClientRead16200
391793216258idleClientClientRead16200
401793216260idleClientClientRead16200
411793216261idleClientClientRead16200
421793216262idleClientClientRead16200
431793216263idleClientClientRead15200
441793216263idle in transactionClientClientRead1200
451793216264idleClientClientRead16200
461793216265active1200
471793216265idleClientClientRead15200
481793216266idleClientClientRead16200
491793216267idleClientClientRead16200
501793216268idleClientClientRead16200
511793216270idleClientClientRead16200