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

1.8 KiB

1tsstatewait_event_typewait_eventbackendsmax_connections
21793223078idleClientClientRead1200
31793223079idle in transactionClientClientRead2200
41793223080idleClientClientRead7200
51793223081idleClientClientRead7200
61793223082idleClientClientRead7200
71793223084idleClientClientRead7200
81793223085idleClientClientRead8200
91793223086idleClientClientRead8200
101793223087idleClientClientRead8200
111793223088idleClientClientRead7200
121793223088idle in transaction1200
131793223089idleClientClientRead8200
141793223090idleClientClientRead8200
151793223091idleClientClientRead8200
161793223093idleClientClientRead6200
171793223093idle in transactionClientClientRead2200
181793223094idleClientClientRead7200
191793223094idle in transactionClientClientRead1200
201793223095idleClientClientRead8200
211793223096idleClientClientRead8200
221793223097active1200
231793223097idleClientClientRead7200
241793223098idleClientClientRead8200
251793223099idleClientClientRead8200
261793223101activeIOWalSync1200
271793223101idleClientClientRead7200
281793223102idleClientClientRead8200
291793223103idleClientClientRead7200
301793223103idle in transactionClientClientRead1200
311793223104idleClientClientRead8200
321793223105idleClientClientRead8200
331793223106idleClientClientRead8200
341793223107idleClientClientRead8200
351793223108idleClientClientRead8200
361793223110idleClientClientRead8200
371793223111idleClientClientRead8200
381793223112idleClientClientRead8200
391793223113idleClientClientRead8200
401793223114idleClientClientRead8200
411793223115idleClientClientRead8200
421793223116activeIOWalSync1200
431793223116idleClientClientRead7200
441793223117idleClientClientRead8200
451793223119idleClientClientRead8200