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

1tsstatewait_event_typewait_eventbackendsmax_connections
21793217294idleClientClientRead4200
31793217295idleClientClientRead10200
41793217295idle in transaction1200
51793217296idleClientClientRead10200
61793217296idle in transactionClientClientRead1200
71793217298active1200
81793217298idleClientClientRead13200
91793217299idleClientClientRead14200
101793217300idleClientClientRead13200
111793217300idle in transactionClientClientRead1200
121793217301idleClientClientRead13200
131793217301idle in transaction1200
141793217302idleClientClientRead14200
151793217303idleClientClientRead14200
161793217304idleClientClientRead14200
171793217305idleClientClientRead13200
181793217305idle in transactionClientClientRead1200
191793217306active1200
201793217306idleClientClientRead13200
211793217308idleClientClientRead14200
221793217309idleClientClientRead14200
231793217310activeClientClientRead1200
241793217310idleClientClientRead13200
251793217311idle1200
261793217311idleClientClientRead13200
271793217312active1200
281793217312idleClientClientRead13200
291793217313idleClientClientRead14200
301793217314idleClientClientRead14200
311793217315idleClientClientRead14200
321793217317idleClientClientRead14200
331793217318idleClientClientRead14200
341793217319activeIOWalSync1200
351793217319idleClientClientRead12200
361793217319idle in transactionClientClientRead1200
371793217320activeIOWalSync1200
381793217320idleClientClientRead13200
391793217321idleClientClientRead14200
401793217322activeIOWalSync1200
411793217322idleClientClientRead13200
421793217323active1200
431793217323idleClientClientRead13200
441793217324idleClientClientRead14200
451793217326idleClientClientRead14200
461793217327idleClientClientRead14200
471793217328idleClientClientRead14200
481793217329idleClientClientRead14200
491793217330idleClientClientRead14200
501793217331idleClientClientRead14200
511793217332activeIOWalSync1200
521793217332idleClientClientRead13200
531793217333activeClientClientRead1200
541793217333activeIOWalSync1200
551793217333idleClientClientRead12200
561793217335idleClientClientRead14200