Files
mtusi2026lab2/evidence/track1/series-b/base-2x1_rate900_rep1/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.6 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793223938idleClientClientRead2200
31793223939idleClientClientRead16200
41793223940idleClientClientRead16200
51793223942idleClientClientRead16200
61793223943idleClientClientRead16200
71793223944idleClientClientRead16200
81793223945idleClientClientRead16200
91793223946active1200
101793223946idleClientClientRead14200
111793223946idle in transactionClientClientRead1200
121793223947idleClientClientRead16200
131793223948idleClientClientRead15200
141793223948idle in transactionClientClientRead1200
151793223950idleClientClientRead16200
161793223951idleClientClientRead16200
171793223952idleClientClientRead16200
181793223953idleClientClientRead15200
191793223953idle in transactionClientClientRead1200
201793223954activeIOWalSync1200
211793223954idleClientClientRead11200
221793223954idle in transactionClientClientRead4200
231793223955active1200
241793223955idleClientClientRead14200
251793223955idle in transactionClientClientRead1200
261793223956idleClientClientRead16200
271793223958idleClientClientRead16200
281793223959idleClientClientRead16200
291793223960idleClientClientRead16200
301793223961active1200
311793223961idleClientClientRead15200
321793223962idle1200
331793223962idleClientClientRead15200
341793223963idleClientClientRead16200
351793223964active1200
361793223964idleClientClientRead14200
371793223964idle in transactionClientClientRead1200
381793223965active1200
391793223965idleClientClientRead15200
401793223967idleClientClientRead16200
411793223968idleClientClientRead15200
421793223968idle in transactionClientClientRead1200
431793223969idleClientClientRead15200
441793223969idle in transactionClientClientRead1200
451793223970activeIOWalSync1200
461793223970idleClientClientRead15200
471793223971idle1200
481793223971idleClientClientRead15200
491793223972idle1200
501793223972idleClientClientRead15200
511793223973idleClientClientRead16200
521793223974activeIOWalSync1200
531793223974idleClientClientRead15200
541793223976active1200
551793223976idleClientClientRead14200
561793223976idle in transactionClientClientRead1200
571793223977activeIOWalSync1200
581793223977idleClientClientRead14200
591793223977idle in transaction1200
601793223978idleClientClientRead15200
611793223978idle in transactionClientClientRead1200
621793223979idleClientClientRead15200
631793223979idle in transactionClientClientRead1200
641793223980idleClientClientRead16200