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

1tsstatewait_event_typewait_eventbackendsmax_connections
21793223218idleClientClientRead8200
31793223219idleClientClientRead7200
41793223220active1200
51793223220idleClientClientRead5200
61793223220idle in transactionClientClientRead2200
71793223222activeIOWalSync1200
81793223222idleClientClientRead7200
91793223223idleClientClientRead8200
101793223224idleClientClientRead7200
111793223225idleClientClientRead6200
121793223225idle in transactionClientClientRead1200
131793223226idle1200
141793223226idleClientClientRead5200
151793223226idle in transactionClientClientRead1200
161793223227idleClientClientRead7200
171793223228idleClientClientRead7200
181793223229idleClientClientRead8200
191793223231active1200
201793223231idleClientClientRead7200
211793223232idleClientClientRead8200
221793223233idleClientClientRead7200
231793223233idle in transactionClientClientRead1200
241793223234idleClientClientRead7200
251793223235idleClientClientRead8200
261793223236idleClientClientRead6200
271793223236idle in transactionClientClientRead1200
281793223237idleClientClientRead7200
291793223238idle1200
301793223238idleClientClientRead6200
311793223240idleClientClientRead7200
321793223241idleClientClientRead8200
331793223242idleClientClientRead7200
341793223242idle in transactionClientClientRead1200
351793223243idleClientClientRead8200
361793223244idleClientClientRead8200
371793223245idleClientClientRead6200
381793223245idle in transactionClientClientRead2200
391793223246active1200
401793223246idleClientClientRead6200
411793223247idleClientClientRead7200
421793223249activeIOWalSync1200
431793223249idleClientClientRead5200
441793223249idle in transaction1200
451793223250idleClientClientRead8200
461793223251idleClientClientRead8200
471793223252idleClientClientRead8200
481793223253idleClientClientRead8200
491793223254idleClientClientRead6200
501793223254idle in transactionClientClientRead2200
511793223255idleClientClientRead8200
521793223256activeIOWalSync1200
531793223256idleClientClientRead7200
541793223258activeClientClientRead1200
551793223258idleClientClientRead7200
561793223259idleClientClientRead8200