Files
mtusi2026lab2/evidence/track1/series-a/base-1x4_rate2020_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

4.2 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793215650idleClientClientRead32200
31793215651activeClientClientRead1200
41793215651idleClientClientRead30200
51793215651idle in transactionClientClientRead1200
61793215653idleClientClientRead31200
71793215653idle in transactionClientClientRead1200
81793215654activeClientClientRead1200
91793215654idle1200
101793215654idleClientClientRead30200
111793215655idle1200
121793215655idleClientClientRead31200
131793215656active1200
141793215656idle1200
151793215656idleClientClientRead29200
161793215656idle in transactionClientClientRead1200
171793215657idleClientClientRead30200
181793215657idle in transaction1200
191793215657idle in transactionClientClientRead1200
201793215658active1200
211793215658idleClientClientRead31200
221793215659active2200
231793215659idleClientClientRead27200
241793215659idle in transactionClientClientRead2200
251793215660active1200
261793215660idleClientClientRead27200
271793215660idle in transactionClientClientRead2200
281793215662active1200
291793215662idleClientClientRead28200
301793215662idle in transactionClientClientRead2200
311793215663activeIOWalSync1200
321793215663activeLWLockWALWrite2200
331793215663idleClientClientRead27200
341793215663idle in transactionClientClientRead1200
351793215664idle1200
361793215664idleClientClientRead29200
371793215664idle in transactionClientClientRead1200
381793215665activeIOWalSync1200
391793215665idle1200
401793215665idleClientClientRead29200
411793215666activeClientClientRead1200
421793215666idle1200
431793215666idleClientClientRead28200
441793215667active1200
451793215667idleClientClientRead26200
461793215667idle in transaction1200
471793215667idle in transactionClientClientRead1200
481793215668active1200
491793215668idleClientClientRead27200
501793215668idle in transactionClientClientRead2200
511793215670activeIOWalSync1200
521793215670activeLWLockWALWrite3200
531793215670idleClientClientRead26200
541793215671activeClientClientRead3200
551793215671idleClientClientRead27200
561793215672activeClientClientRead1200
571793215672idle1200
581793215672idleClientClientRead27200
591793215672idle in transactionClientClientRead1200
601793215673activeIOWalSync1200
611793215673idle1200
621793215673idleClientClientRead26200
631793215673idle in transaction1200
641793215673idle in transactionClientClientRead1200
651793215674activeClientClientRead1200
661793215674idle1200
671793215674idleClientClientRead26200
681793215674idle in transactionClientClientRead1200
691793215675idleClientClientRead28200
701793215675idle in transactionClientClientRead1200
711793215676activeIOWalSync1200
721793215676activeLWLockWALWrite1200
731793215676idleClientClientRead26200
741793215676idle in transaction1200
751793215677activeClientClientRead1200
761793215677idleClientClientRead28200
771793215679activeClientClientRead1200
781793215679activeIOWalSync1200
791793215679idleClientClientRead27200
801793215679idle in transactionLWLockWALWrite1200
811793215680idleClientClientRead28200
821793215680idle in transactionClientClientRead1200
831793215680idle in transactionIOWalSync1200
841793215681active1200
851793215681idleClientClientRead28200
861793215681idle in transactionClientClientRead1200
871793215682idleClientClientRead29200
881793215682idle in transactionClientClientRead1200
891793215682idle in transactionIOWalSync1200
901793215683activeClientClientRead1200
911793215683idleClientClientRead28200
921793215683idle in transactionClientClientRead1200
931793215684activeIOWalSync1200
941793215684idleClientClientRead27200
951793215684idle in transaction1200
961793215684idle in transactionClientClientRead1200
971793215685idleClientClientRead30200
981793215687activeIOWalSync1200
991793215687idleClientClientRead28200
1001793215687idle in transactionClientClientRead1200
1011793215688idleClientClientRead29200
1021793215689idleClientClientRead27200
1031793215689idle in transactionClientClientRead2200
1041793215690idleClientClientRead31200
1051793215691idleClientClientRead31200