Files
mtusi2026lab3/evidence/track1/series-a/base-2x2_rate1350_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

3.2 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793216463idleClientClientRead31200
31793216464idleClientClientRead32200
41793216465idleClientClientRead31200
51793216465idle in transaction1200
61793216466activeClientClientRead1200
71793216466idleClientClientRead30200
81793216466idle in transaction1200
91793216467idleClientClientRead32200
101793216469idleClientClientRead31200
111793216469idle in transactionClientClientRead1200
121793216470idleClientClientRead31200
131793216470idle in transactionClientClientRead1200
141793216471active1200
151793216471activeIOWalSync1200
161793216471activeLWLockWALWrite1200
171793216471idleClientClientRead29200
181793216472idleClientClientRead32200
191793216473active1200
201793216473idleClientClientRead30200
211793216473idle in transactionClientClientRead1200
221793216474activeIOWalSync1200
231793216474idleClientClientRead30200
241793216474idle in transactionLWLockWALWrite1200
251793216475activeClientClientRead1200
261793216475idleClientClientRead30200
271793216475idle in transactionClientClientRead1200
281793216476active1200
291793216476activeIOWalSync1200
301793216476idleClientClientRead29200
311793216476idle in transaction1200
321793216478activeClientClientRead1200
331793216478idleClientClientRead31200
341793216479idleClientClientRead32200
351793216480activeIOWalSync1200
361793216480activeLWLockWALWrite1200
371793216480idleClientClientRead28200
381793216481idleClientClientRead29200
391793216481idle in transactionIOWalSync1200
401793216482activeClientClientRead1200
411793216482idleClientClientRead28200
421793216482idle in transactionClientClientRead1200
431793216483idleClientClientRead30200
441793216484idleClientClientRead29200
451793216484idle in transactionClientClientRead1200
461793216485idleClientClientRead28200
471793216485idle in transactionClientClientRead1200
481793216485idle in transactionIOWalSync1200
491793216487activeIOWalSync1200
501793216487idle1200
511793216487idleClientClientRead28200
521793216488idleClientClientRead30200
531793216489idleClientClientRead28200
541793216489idle in transactionClientClientRead2200
551793216490idleClientClientRead29200
561793216490idle in transaction1200
571793216491idle1200
581793216491idleClientClientRead29200
591793216492activeClientClientRead1200
601793216492idleClientClientRead29200
611793216493idleClientClientRead30200
621793216494idleClientClientRead30200
631793216495idle1200
641793216495idleClientClientRead29200
651793216497idleClientClientRead30200
661793216498idleClientClientRead29200
671793216499idle1200
681793216499idleClientClientRead28200
691793216500idleClientClientRead28200
701793216500idle in transactionIOWalWrite1200
711793216501idleClientClientRead27200
721793216501idle in transaction1200
731793216501idle in transactionClientClientRead1200
741793216502idleClientClientRead25200
751793216502idle in transaction1200
761793216502idle in transactionClientClientRead1200
771793216503activeClientClientRead1200
781793216503activeIOWalSync1200
791793216503activeLWLockWALWrite1200
801793216503idleClientClientRead24200