Files
mtusi2026lab2/evidence/track1/series-a/base-1x4_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.4 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793215227idleClientClientRead32200
31793215228idleClientClientRead32200
41793215229active1200
51793215229idleClientClientRead31200
61793215230idleClientClientRead32200
71793215231activeClientClientRead1200
81793215231idleClientClientRead31200
91793215233activeClientClientRead1200
101793215233idleClientClientRead31200
111793215234idleClientClientRead31200
121793215234idle in transaction1200
131793215235idleClientClientRead31200
141793215235idle in transactionClientClientRead1200
151793215236active2200
161793215236activeIOWalSync1200
171793215236activeLWLockWALWrite3200
181793215236activeLocktransactionid11200
191793215236activeLocktuple8200
201793215236idleClientClientRead4200
211793215236idle in transactionClientClientRead3200
221793215239idleClientClientRead32200
231793215240idleClientClientRead31200
241793215240idle in transaction1200
251793215241idleClientClientRead32200
261793215242idleClientClientRead32200
271793215243idleClientClientRead32200
281793215244idleClientClientRead32200
291793215246activeIOWalSync1200
301793215246activeLWLockWALWrite1200
311793215246idleClientClientRead30200
321793215247idleClientClientRead32200
331793215248idleClientClientRead32200
341793215249idleClientClientRead31200
351793215249idle in transactionClientClientRead1200
361793215250activeIOWalSync1200
371793215250idleClientClientRead31200
381793215251idleClientClientRead32200
391793215252activeIOWalSync1200
401793215252idleClientClientRead31200
411793215254idleClientClientRead32200
421793215255idleClientClientRead32200
431793215256idleClientClientRead32200
441793215257activeClientClientRead1200
451793215257idleClientClientRead30200
461793215258idleClientClientRead30200
471793215258idle in transaction1200
481793215259idleClientClientRead31200
491793215260idleClientClientRead30200
501793215260idle in transaction1200
511793215261idleClientClientRead31200
521793215263idleClientClientRead31200
531793215264idleClientClientRead29200
541793215264idle in transactionIOWalSync1200
551793215265idleClientClientRead29200
561793215266idleClientClientRead29200
571793215267idleClientClientRead29200
581793215268idleClientClientRead29200
591793215269idleClientClientRead29200
601793215271idleClientClientRead29200