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

1tsstatewait_event_typewait_eventbackendsmax_connections
21793215129idleClientClientRead3200
31793215130idleClientClientRead17200
41793215132idleClientClientRead17200
51793215133idleClientClientRead15200
61793215133idle in transactionClientClientRead1200
71793215133idle in transactionIOWalSync1200
81793215134idleClientClientRead17200
91793215135active1200
101793215135idleClientClientRead16200
111793215136idleClientClientRead20200
121793215137activeIOWalSync1200
131793215137idleClientClientRead31200
141793215138idle1200
151793215138idleClientClientRead31200
161793215140idleClientClientRead32200
171793215141activeClientClientRead1200
181793215141idleClientClientRead31200
191793215142activeIOWalSync1200
201793215142idleClientClientRead30200
211793215142idle in transaction1200
221793215143activeIOWalSync1200
231793215143idleClientClientRead31200
241793215144idleClientClientRead32200
251793215145idleClientClientRead32200
261793215147idleClientClientRead32200
271793215148idle1200
281793215148idleClientClientRead31200
291793215149activeIOWalSync1200
301793215149idleClientClientRead31200
311793215150idleClientClientRead32200
321793215151idleClientClientRead32200
331793215152idleClientClientRead32200
341793215154idleClientClientRead32200
351793215155idleClientClientRead32200
361793215156idleClientClientRead32200
371793215157idleClientClientRead32200
381793215158idleClientClientRead31200
391793215158idle in transactionClientClientRead1200
401793215159idleClientClientRead31200
411793215159idle in transactionIOWalWrite1200
421793215161idleClientClientRead32200
431793215162idleClientClientRead31200
441793215162idle in transactionClientClientRead1200
451793215163idleClientClientRead32200
461793215164idleClientClientRead32200
471793215165idleClientClientRead32200
481793215166idleClientClientRead31200
491793215166idle in transactionClientClientRead1200
501793215167idleClientClientRead31200
511793215167idle in transaction1200
521793215168idleClientClientRead32200
531793215170idleClientClientRead32200
541793215171idleClientClientRead32200
551793215172idleClientClientRead32200
561793215173idleClientClientRead32200