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

1tsstatewait_event_typewait_eventbackendsmax_connections
21793223311idleClientClientRead8200
31793223313idleClientClientRead7200
41793223313idle in transaction1200
51793223314idleClientClientRead7200
61793223314idle in transaction1200
71793223315idleClientClientRead8200
81793223316idleClientClientRead7200
91793223317activeIOWalSync1200
101793223317idleClientClientRead6200
111793223318idleClientClientRead7200
121793223319idleClientClientRead7200
131793223321idleClientClientRead8200
141793223322active1200
151793223322idleClientClientRead7200
161793223323idleClientClientRead8200
171793223324idleClientClientRead7200
181793223324idle in transactionClientClientRead1200
191793223325idleClientClientRead8200
201793223326active1200
211793223326idleClientClientRead7200
221793223327idleClientClientRead8200
231793223328activeIOWalSync1200
241793223328idleClientClientRead7200
251793223330idleClientClientRead8200
261793223331idleClientClientRead8200
271793223332idleClientClientRead8200
281793223333idleClientClientRead8200
291793223334idleClientClientRead7200
301793223334idle in transactionClientClientRead1200
311793223335idleClientClientRead7200
321793223335idle in transactionClientClientRead1200
331793223336idleClientClientRead8200
341793223337idleClientClientRead8200
351793223339activeIOWalSync1200
361793223339activeLWLockWALWrite1200
371793223339idleClientClientRead6200
381793223340idleClientClientRead8200
391793223341idleClientClientRead7200
401793223341idle in transactionClientClientRead1200
411793223342activeIOWalSync1200
421793223342idleClientClientRead7200
431793223343idleClientClientRead8200
441793223344active1200
451793223344idleClientClientRead7200
461793223345idleClientClientRead8200
471793223346idleClientClientRead8200
481793223348activeIOWalSync1200
491793223348idleClientClientRead7200
501793223349idleClientClientRead8200
511793223350idle1200
521793223350idleClientClientRead7200
531793223351idleClientClientRead8200
541793223352idleClientClientRead8200