Files
mtusi2026labs/evidence/track1/series-a/base-4x1_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

2.9 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793222073idleClientClientRead31200
31793222074active1200
41793222074idleClientClientRead30200
51793222075idleClientClientRead31200
61793222076idleClientClientRead31200
71793222077activeIOWalSync1200
81793222077idle1200
91793222077idleClientClientRead30200
101793222078active1200
111793222078idleClientClientRead31200
121793222079idleClientClientRead32200
131793222080activeClientClientRead1200
141793222080idleClientClientRead31200
151793222082activeClientClientRead1200
161793222082idleClientClientRead29200
171793222082idle in transactionClientClientRead1200
181793222083active1200
191793222083idleClientClientRead29200
201793222084idleClientClientRead30200
211793222085idleClientClientRead30200
221793222086active1200
231793222086idle1200
241793222086idleClientClientRead28200
251793222087active1200
261793222087idleClientClientRead27200
271793222087idle in transactionClientClientRead3200
281793222088activeIOWalSync1200
291793222088idleClientClientRead29200
301793222088idle in transaction1200
311793222090idleClientClientRead30200
321793222090idle in transaction1200
331793222091activeClientClientRead1200
341793222091activeIOWalSync1200
351793222091idleClientClientRead29200
361793222092activeIOWalSync1200
371793222092idleClientClientRead28200
381793222092idle in transaction1200
391793222093activeIOWalSync1200
401793222093idleClientClientRead30200
411793222094idleClientClientRead31200
421793222095idleClientClientRead31200
431793222096idleClientClientRead31200
441793222097activeIOWalSync1200
451793222097idleClientClientRead30200
461793222099activeIOWalSync1200
471793222099idleClientClientRead30200
481793222100idleClientClientRead31200
491793222101idleClientClientRead31200
501793222102idleClientClientRead31200
511793222103idleClientClientRead30200
521793222103idle in transactionClientClientRead1200
531793222104idleClientClientRead28200
541793222104idle in transaction1200
551793222104idle in transactionClientClientRead2200
561793222105idleClientClientRead31200
571793222107activeClientClientRead1200
581793222107idle1200
591793222107idleClientClientRead29200
601793222108active1200
611793222108idleClientClientRead26200
621793222108idle in transactionClientClientRead3200
631793222108idle in transactionIOWalSync1200
641793222109idleClientClientRead30200
651793222109idle in transactionClientClientRead1200
661793222110active1200
671793222110idleClientClientRead30200
681793222111activeIOWalSync1200
691793222111idleClientClientRead29200
701793222111idle in transactionClientClientRead1200
711793222112idleClientClientRead29200
721793222112idle in transactionClientClientRead2200
731793222113idleClientClientRead31200