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

1tsstatewait_event_typewait_eventbackendsmax_connections
21793216369idleClientClientRead30200
31793216371idleClientClientRead30200
41793216372activeClientClientRead1200
51793216372idleClientClientRead29200
61793216373idleClientClientRead30200
71793216374idleClientClientRead30200
81793216375active1200
91793216375idleClientClientRead29200
101793216376idleClientClientRead30200
111793216377idleClientClientRead29200
121793216377idle in transactionClientClientRead1200
131793216378active1200
141793216378idleClientClientRead29200
151793216380idleClientClientRead30200
161793216381activeClientClientRead1200
171793216381idleClientClientRead29200
181793216382idleClientClientRead30200
191793216383idleClientClientRead29200
201793216383idle in transaction1200
211793216384activeIOWalSync1200
221793216384idleClientClientRead29200
231793216385idleClientClientRead30200
241793216386activeClientClientRead1200
251793216386idleClientClientRead29200
261793216387idle2200
271793216387idleClientClientRead28200
281793216389activeIOWalSync1200
291793216389activeLWLockWALWrite1200
301793216389idleClientClientRead28200
311793216390activeClientClientRead1200
321793216390idleClientClientRead29200
331793216391idleClientClientRead29200
341793216392idleClientClientRead29200
351793216393idleClientClientRead29200
361793216394idleClientClientRead29200
371793216395idleClientClientRead28200
381793216395idle in transaction1200
391793216396idleClientClientRead29200
401793216398idleClientClientRead20200
411793216398idle in transactionClientClientRead1200
421793216399idleClientClientRead21200
431793216400idleClientClientRead21200
441793216401activeClientClientRead1200
451793216401idleClientClientRead20200
461793216402idleClientClientRead20200
471793216402idle in transactionIOWalSync1200
481793216403idleClientClientRead21200
491793216404activeClientClientRead1200
501793216404idleClientClientRead19200
511793216404idle in transaction1200
521793216405idleClientClientRead21200
531793216407active1200
541793216407idleClientClientRead20200
551793216408idleClientClientRead20200
561793216409active1200
571793216409idleClientClientRead18200
581793216409idle in transactionClientClientRead1200
591793216410idleClientClientRead20200