Files
mtusi2026lab3/evidence/track1/series-b/base-1x1_rate680_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

2.3 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793223265idleClientClientRead8200
31793223266idleClientClientRead8200
41793223267idleClientClientRead8200
51793223268idleClientClientRead8200
61793223269idleClientClientRead8200
71793223270active1200
81793223270idleClientClientRead7200
91793223272idleClientClientRead8200
101793223273idle1200
111793223273idleClientClientRead7200
121793223274idleClientClientRead7200
131793223275idleClientClientRead8200
141793223276active1200
151793223276idleClientClientRead7200
161793223277idleClientClientRead7200
171793223277idle in transactionClientClientRead1200
181793223278activeIOWalSync1200
191793223278idleClientClientRead6200
201793223278idle in transactionClientClientRead1200
211793223279idle1200
221793223279idleClientClientRead7200
231793223281idleClientClientRead8200
241793223282idleClientClientRead8200
251793223283idleClientClientRead8200
261793223284idleClientClientRead8200
271793223285idleClientClientRead7200
281793223286active1200
291793223286idleClientClientRead7200
301793223287idleClientClientRead8200
311793223289idleClientClientRead7200
321793223289idle in transaction1200
331793223290idleClientClientRead8200
341793223291activeClientClientRead1200
351793223291idleClientClientRead7200
361793223292idleClientClientRead8200
371793223293idle1200
381793223293idleClientClientRead7200
391793223294idleClientClientRead8200
401793223295activeIOWalSync1200
411793223295activeLWLockWALWrite1200
421793223295idleClientClientRead6200
431793223297idleClientClientRead8200
441793223298idleClientClientRead7200
451793223298idle in transactionClientClientRead1200
461793223299idleClientClientRead8200
471793223300active1200
481793223300idleClientClientRead6200
491793223300idle in transactionClientClientRead1200
501793223301activeClientClientRead1200
511793223301idleClientClientRead7200
521793223302idleClientClientRead6200
531793223302idle in transaction1200
541793223302idle in transactionClientClientRead1200
551793223303idleClientClientRead8200
561793223304idleClientClientRead7200
571793223304idle in transactionClientClientRead1200
581793223306idleClientClientRead8200