Files
mtusi2026labs/evidence/track1/series-b/base-1x1_rate450_rep2/pg_activity.csv
T
ArtyomandClaude Opus 5.5 3bdc8fad23 Record the growth series of track 1
One to eight replicas of 1 CPU, 512 MiB and one worker each, three
repeats per rate; the 4x1 point comes from series A. Peak successful
RPS: 1 720 for one replica, 2 936 for two, 4 724 for four and only
4 260 for eight, lower than four. Up to two replicas the API is the
limit (101 % and 201 % of its CPU). At eight replicas the API uses 473
of its 800 % and the balancer 40 % of a core, while PostgreSQL is at
178 of 200 %, 47.5 of the 64 pool connections wait for a chat row lock
and the balancer queue holds 744 requests. The locking SELECT ... FOR
UPDATE of the chat takes 14.2 ms on average, 97 % of all statement
time of the step, and about 7 connections sit idle in transaction:
the lock holders wait for the application between round trips.

A universal scalability law fit over 1, 2, 4 and 8 CPUs gives
sigma 0.014 and kappa 0.038, a peak near five replicas and a decline
after it. No step of this series was rejected as disturbed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2026-10-29 01:05:39 +03:00

1.7 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793223125idleClientClientRead8200
31793223126idleClientClientRead8200
41793223127idleClientClientRead8200
51793223128idleClientClientRead8200
61793223129idleClientClientRead7200
71793223129idle in transactionClientClientRead1200
81793223130idleClientClientRead8200
91793223131idleClientClientRead8200
101793223133idleClientClientRead8200
111793223134idleClientClientRead8200
121793223135idleClientClientRead8200
131793223136idle1200
141793223136idleClientClientRead7200
151793223137idleClientClientRead8200
161793223138idleClientClientRead8200
171793223139idleClientClientRead7200
181793223139idle in transaction1200
191793223140idleClientClientRead8200
201793223142idleClientClientRead8200
211793223143idleClientClientRead8200
221793223144idleClientClientRead8200
231793223145idleClientClientRead8200
241793223146idleClientClientRead8200
251793223147idleClientClientRead8200
261793223148idleClientClientRead7200
271793223148idle in transactionClientClientRead1200
281793223150idleClientClientRead8200
291793223151activeClientClientRead1200
301793223151idleClientClientRead7200
311793223152idleClientClientRead8200
321793223153idleClientClientRead8200
331793223154idleClientClientRead8200
341793223155idleClientClientRead8200
351793223156idleClientClientRead8200
361793223157idleClientClientRead8200
371793223159idleClientClientRead8200
381793223160active1200
391793223160idleClientClientRead7200
401793223161idleClientClientRead7200
411793223162idleClientClientRead7200
421793223163idleClientClientRead7200
431793223164idleClientClientRead7200
441793223165idleClientClientRead7200