Skip to content

Results

PostgreSQL with node-postgres and HikariCP

The measured numbers of this page are a study of postgres 17.11, pg 8.23.1, pg-pool 3.14.0, Node 24.21.0, HikariCP 7.1.0, pgjdbc 42.7.13 and kernel 6.17.0. The data comes from data file pg-2026-10-19.json of 2026-10-19, on postgres 17.11, pg 8.23.1, pg-pool 3.14.0, Node 24.21.0, HikariCP 7.1.0, pgjdbc 42.7.13 and kernel 6.17.0. The oldest data of this page is 35 days old at this build, on 2026-11-23. The age limit of this data is 30 days, from 2026-12-07. The engine has a pinned version, but the driver, the prober and the bands are code of this repository.

Catalogs
T01 · T03 · T10
Date
2026-10-19
Kernel
Linux 6.17 · HZ 1000
Cells
75
Runs
825 runs
75 hold

These are the results of the PostgreSQL cells, from 2026-10-19. The server is PostgreSQL 17.11. Two clients use it, each as one pool at its defaults:

  • node-postgres: pg 8.23.1 with pg-pool 3.14.0 on Node 24.21.0, as one pg.Pool.
  • HikariCP 7.1.0 over pgjdbc 42.7.13, on Temurin 21.0.12.1.

T01 is the direct pair. In T03, a router in the form of a cloud preset is between the client and the server. Some T03 cells have Supavisor after the router. In T10, a pooler is between the client and the server:

  • PgBouncer 1.26.1 in transaction pooling.
  • Pgpool-II 4.7.3 in streaming replication mode, with one server.
  • Supavisor 2.9.13 in transaction mode, with one tenant.

The machine documents give each band: node-postgres, hikaricp-pgjdbc and postgres-session, and the documents of the poolers. These are pgbouncer-client, pgbouncer-server, pgpool-session, supavisor-client and supavisor-server. The algebra composes each pool over Linux TCP.

CI started the cells at main in the run 39182922975, in 20 shards on the hosted runners of GitHub. The kernel is Linux 6.17, with HZ 1000. Each cell has 11 runs in 2 fresh environments, with one warm-up run in each environment. A fin stops the server, thus each of its runs has its own environment. Some T10 cells change the state of the pooler, and each of their runs has its own environment too.

Each of the 75 cells holds against the prediction of the algebra. The cells have 825 counted runs, and no run is void.

  • The idle timer of the pool closes an idle client at 10 s. With no fault, the pool closes it 10.004 s after its last segment. Behind a black hole, the close comes at 10.004 s too.
    • Behind a black hole, the pool emits remove only when the socket closes, and the FIN of the pool gets no answer. Thus the kernel stamps the close: the change from ESTABLISHED to FIN_WAIT1.
  • No timer of pg ends a query at the defaults. A server that holds each reply 5 s (pg_sleep) gives the reply at 5.006 s, and no failure comes. A frozen server has no detector in 60 s.
  • The timers of the pool place the borders of O13 and O15.
    • query_timeout ends a query in a black hole at 9.503 s and 10.502 s, on each side of the slowest poll of 10 s.
    • connectionTimeoutMillis ends the first connect at 29.007 s and 31.008 s, on each side of the startup budget of 30 s. The kernel gives up on the SYNs only at 131 s.
  • The statement timer of the server places the border of O07. The server has a statement_timeout of 10 s, and the query sleeps 20 s.
    • With a query_timeout of 10.5 s, the server ends the query first, with ERROR 57014 at 10.003 s.
    • With a query_timeout of 9.5 s, pg gives up at 9.503 s, and the server goes on with the statement.
  • A router that forgets in silence leaves a backend for a client that is gone (O03). The router forgets an idle flow at 12 s.
    • Inside, the pool closes its client at 10 s, and its FIN reaches the server at 10.003 s.
    • Outside, with an idle timer of 14 s, the router forgets the flow first and drops the FIN of the pool. The socket of the server stays established for the 30 s of the window.
  • A band of a fault before the first connect counts from that connect. The pool arms its connect timer at the first query, 3.7 ms after the first line of the client. The client writes a connecting line at its first query, and the band counts from it.
  • A reset or a FIN comes at once. A reset of a query in flight gives ECONNRESET in 0.8 ms, and a reset of the SYN refuses the first connect in 3.6 ms. The FIN of a stopped server ends an idle client in 18 µs.
  • HikariCP reads no idle socket, and its keepalive finds a black hole. The keepalive checks an idle connection with the empty query, each 96 to 120 s. Behind a black hole, the read timeout of the check closes the socket 5.003 s after that query (validationTimeout 5 s).
    • The keepalive tasks of the pool share one thread. Behind the black hole, each check waits for the checks before it, and each one takes 5 s. Thus at the defaults, the latest start of a check is 165 s after the connection, and not 120 s.
  • No timer of pgjdbc ends a query at the defaults. A server that holds the query 5 s gives the reply at 5.005 s. A freeze and an idle pool have no detector in 60 s.
  • The read timeout of pgjdbc places the borders of O13 and O07.
    • Behind a black hole, a socketTimeout of 9 s closes the socket at 9.010 s, and one of 11 s at 11.011 s. The two are on each side of the slowest poll of 10 s.
    • Against a statement_timeout of 10 s, a socketTimeout of 11 s lets the server end the query with ERROR 57014 at 10.004 s. A socketTimeout of 9 s closes the socket first, at 9.010 s.
    • The JDK waits for a read in poll(), and Linux ends that wait up to 0.1 % of its time late. The document of pgjdbc has that slack.
  • The start of the pool tries once. After a failure, the pool sleeps 1 s, and then the start fails with PoolInitializationException.
    • A reset of the first connect fails the start at 1.008 s.
    • Behind a black hole, a connectTimeout of 28 s fails the start at 29.035 s, and one of 30 s at 31.021 s. The two are on each side of the startup budget of 30 s (O15).
  • The keepalive places the border of O03. The router forgets an idle flow at 60 s. HikariCP turns a keepalive below 30 s off, thus the cells divide each timer by 4.
    • Inside, a keepaliveTime of 55 s refreshes the flow, and nothing occurs in 150 s.
    • Outside, a keepaliveTime of 80 s comes after the router forgot the flow. The router drops the empty query of the check, and its read timeout closes the socket 5.005 s later.
  • A reset or a FIN comes at once. A reset of a query in flight gives ECONNRESET in 0.3 ms. The FIN of a stopped server ends an idle connection in 14 µs.
  • The first uses of the JVM are slow. The client starts the code of a connect, of a pool and of SecureRandom before its first line. Before that, the first connect of a cell was 22 ms late.
  • A fault at the router toward the client is the same fault for the socket of the client. A black hole of an idle connection, an unreachable host, a FIN and a stall each hold the band of their T01 cell.
  • An MTU black hole at the router takes each long segment of a reply of 2 MB. Nothing ends the read in 60 s.
  • The keepalive of HikariCP keeps an idle flow through a NAT. Through the Azure NAT form (240 s) and the AWS NAT form (350 s), nothing occurs in 300 s and in 400 s.
  • A fault at the router in front of Supavisor has the band of the same fault at the router alone. A black hole of an idle connection gives the read timeout of the check at 5.004 s, and an unreachable host gives EHOSTUNREACH at 3.120 s.
  • Behind a simplex drop to the client, Supavisor gets the empty query of the check, but its answer does not come back. The read timeout of the check closes the socket 5.004 s after that query, as behind a black hole.
  • After a stall, the first segment back can be the reply of Supavisor. It comes one step of Supavisor later than through the router alone. The median is 1.668 s, and the band ends at 1.71 s, not at 1.698 s.
  • Supavisor closes a client whose write waits 30 s. ranch gives each client socket of Supavisor a send timeout of 30 s that closes it. Behind an MTU black hole, the FIN of that close waits behind the long segments, thus the client gets nothing in 60 s.
  • The keepalive and the heartbeat of Supavisor keep an idle flow. Through the Azure NAT form and the AWS NAT form, nothing occurs in 300 s and in 400 s.
  • PgBouncer does not answer a query by itself. Behind a black hole of the server, the keepalive of HikariCP sends its empty query to PgBouncer, and no reply comes. The read timeout of the check closes the socket at 5.004 s, as on the direct pair.
  • PgBouncer adds no timer to a query at the defaults. The server holds the query 5 s, and the reply comes at 5.004 s. At the defaults, the earliest timer of PgBouncer is query_wait_timeout, 120 s.
  • A reload keeps each query. SIGHUP reads the configuration again, and a database with the same connection keeps its servers. The signal comes while the server holds the query 5 s, and the reply comes at 5.006 s.
  • During PAUSE, a query waits in the queue. PAUSE on the console gives no server to a new query. The janitor still runs query_wait_timeout, and it ends the query of node-postgres with FATAL 08P01 at 120.051 s.
  • HikariCP of the earlier epoch has no keepalive. With a keepaliveTime of 0, nothing finds the black hole in 60 s.
  • The timers of PgBouncer and of the clients place six borders.
    • query_timeout against a hold of 5 s. At 6 s, the reply comes first, at 5.005 s. At 4 s, PgBouncer ends the query with FATAL 08P01 and closes the client at 4.071 s.
    • client_idle_timeout of 12 s against the idle timer of node-postgres (O01). At an idle timer of 10 s, the pool closes its client first, at 10.003 s. At 14 s, PgBouncer closes the client first, at 12.295 s.
    • server_connect_timeout against the give-up of the SYNs, with the client started into a black hole of the server. At 128 s, the connect timer of PgBouncer closes its socket in SYN_SENT at 128.001 s. At 140 s, the kernel of PgBouncer gives up first, with ETIMEDOUT at 133.204 s.
    • The read timeout of pgjdbc against the give-up of the kernel of PgBouncer, with tcp_retries2 = 4 at PgBouncer. A socketTimeout of 5 s comes first, and PgBouncer closes its server socket at 5.004 s. At 15 s, the kernel of PgBouncer gives up first, 13.008 s after its first retransmission.
    • The read timeout of pgjdbc against a hold of the server. Against a socketTimeout of 10 s, a hold of 9 s gives the reply at 9.010 s. A hold of 11 s lets the read timeout close the socket at 10.008 s.
    • O07 through PgBouncer. With a socketTimeout of 11 s, the server ends the query with ERROR 57014 at 10.005 s. With 9 s, the read timeout closes the socket at 9.010 s.
  • The connect timer of PgBouncer can fire early. libevent counts a timeout from its cached time of the pass, not from the clock. In an earlier run the timer closed the socket 1 ms before 128 s, thus its band has an early slack of 10 ms.
  • The give-up of the SYNs is late on the timer wheel. Each wait of the SYN is a timer of the wheel, which rounds it up. At HZ 1000 the give-up can be up to 6.08 s late, thus its band is 131 s to 137.08 s.
  • The FIN of the server ends the session of Pgpool-II. Pgpool-II then closes the idle client of node-postgres, which gets an end of file 0.7 ms after the FIN.
  • A reload keeps the session. The parent of Pgpool-II sends SIGHUP to each child, and a child in a session reads the configuration again in the loop of its query. The reply of a query of 5 s comes at 5.008 s.
  • Pgpool-II waits on a frozen server with no bound. Nothing ends the query of HikariCP in 60 s.
  • The keepalive of HikariCP sends its empty query through Pgpool-II. Behind a black hole of the server, its read timeout closes the socket at 5.004 s.
    • That cell keeps one connection (minimumIdle 1), and each run has its own environment. A failed connect of Pgpool-II gives a failover. With its only server detached, Pgpool-II then refuses each client.
  • O07 through Pgpool-II. With a socketTimeout of 11 s, the server ends the query with ERROR 57014 at 10.006 s. With 9 s, the read timeout closes the socket at 9.008 s.
  • Between two transactions, a client of Supavisor holds no server connection. Behind a black hole of the server, the idle client of node-postgres gets nothing. The pool closes it at its idle timer, at 10.003 s, and Supavisor closes it at its Terminate.
  • No timer of Supavisor bounds a query. Behind a frozen server, and behind a black hole with a query in flight, nothing ends the query in 60 s. When the server holds the query 5 s, the reply comes at 5.007 s.
  • client_idle_timeout ends no session in Supavisor 2.9.13. Its timer fires an event that no clause of the client handler takes.

A border has two cells of one client: a setting inside the border, and a setting outside it. Each chart shows the two cells on one axis of time. The dashed line is the border, and the mark above each track is the setting of its cell. The bar is the band of the prediction, and each dot is a counted run. Thus the chart shows on which side of the border each setting is, and what ended each run.

The charts show the borders of the direct pair. The borders through a pooler are in the tables of T10.

O07 · node-postgres · query_timeout against statement_timeout at 10 s

Inside, at 10.5 s, it ended at 10.0027 s. Outside, at 9.5 s, it ended at 9.5027 s.

O03 · node-postgres · idleTimeoutMillis against silent-drop router at 12 s

Inside, at 10 s, it ended at 10.0034 s. Outside, at 14 s, nothing ended it in the window of 30 s.

O13 · node-postgres · query_timeout against poll at 10 s

Inside, at 9.5 s, it ended at 9.5025 s. Outside, at 10.5 s, it ended at 10.502 s.

O15 · node-postgres · connectionTimeoutMillis against startup budget at 30 s

Inside, at 29 s, it ended at 29.0067 s. Outside, at 31 s, it ended at 31.0083 s.

O03 · HikariCP · keepaliveTime against silent-drop router at 60 s

Inside, at 55 s, nothing ended it in the window of 2 min 30 s. Outside, at 80 s, it ended 5.005 s after the empty query of the check.

O13 · HikariCP · socketTimeout against poll at 10 s

Inside, at 9 s, it ended at 9.0098 s. Outside, at 11 s, it ended at 11.0107 s.

O07 · HikariCP · socketTimeout against statement_timeout at 10 s

Inside, at 11 s, it ended at 10.0036 s. Outside, at 9 s, it ended at 9.0098 s.

O15 · HikariCP · connectTimeout against budget at 30 s

Inside, at 28 s, it ended at 29.035 s. Outside, at 30 s, it ended at 31.0208 s.

The plan of R3 has more cells over these systems. The catalogs give a reason for each cell that waits:

  • Six T01 cells of each client wait. For each client, two need a fault that the harness cannot make: a restart at the same address, and a fault timed to a reply.
  • A block of the event loop of Node and a pause of the JVM wait for a document. No document gives how late the timers are after one.
  • Write-write-read does not occur, because pg and pgjdbc each set TCP_NODELAY.
  • Two borders of node-postgres need a client that the application holds. Two borders of HikariCP need a virtual IP that kube-vip moves.
  • Through Supavisor, T10.defaults.3 and T03.defaults.61 wait. After the FIN of the server, the end of an idle client of HikariCP depends on a race in the shutdown of the server.
  • Most other T10 cells need several clients or a fault timed to a reply. One needs two nodes of Supavisor. Another needs PAUSE through Pgpool-II, which has no such command.

The client and the server are in their own network namespaces, with a pair of veth devices between them.

rst at connect: the server refuses before the client startsT01.defaults.9
holds
Prediction
0 s to 22 ms
Median
3.6 ms
Runs
11 counted · 2 warm-ups
0 ms5 ms10 ms15 ms20 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reset of the SYN refuses the first connect with ECONNREFUSED. The band is 0 s to 22 ms after the start of the first connect.

11 of the 11 counted runs are in the band of −1 ms to 23 ms. The median is 3.6 ms, and its interval is 3.36 ms to 4.2 ms.

blackhole, idle: the pool ends its idle client before any detectorT01.defaults.122
holds
Prediction
10 s to 10.01 s
Median
10.0036 s
Runs
11 counted · 2 warm-ups
10 s10.005 s10.01 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the pool closes its idle client at its idle timer, and the kernel stamps its FIN. The band is 10 s to 10.01 s after the last segment on the socket.

11 of the 11 counted runs are in the band of 9.999 s to 10.011 s. The median is 10.004 s, and its interval is 10.003 s to 10.005 s.

rst, a query in flightT01.defaults.123
holds
Prediction
0 s to 2 ms
Median
812 µs
Runs
11 counted · 2 warm-ups
0 ms0.5 ms1 ms1.5 ms2 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reset answers the query with ECONNRESET. The band is 0 s to 2 ms after the send of the query.

11 of the 11 counted runs are in the band of −1 ms to 3 ms. The median is 812 µs, and its interval is 631 µs to 1.38 ms.

fin, idleT01.defaults.124
holds
Prediction
0 s to 12 ms
Median
18 µs
Runs
11 counted
0 ms5 ms10 ms

  • Prediction
  • Counted run
  • Median

The algebra predicts that the FIN of the stopped server ends the idle client with an end of file. The band is 0 s to 12 ms after the close of the socket of the server.

11 of the 11 counted runs are in the band of −1 ms to 13 ms. The median is 18 µs, and its interval is 16 µs to 22 µs.

unreachable-host, a query in flight, tcp_retries2 = 3T01.defaults.125
holds
Prediction
3 s to 3.329 s
Median
3.12 s
Runs
11 counted · 2 warm-ups
3 s3.1 s3.2 s3.3 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the retransmissions of the kernel give up with EHOSTUNREACH. The band is 3 s to 3.329 s after the first retransmission of the RTO timer.

11 of the 11 counted runs are in the band of 2.999 s to 3.33 s. The median is 3.12 s, and its interval is 3.12 s to 3.12 s.

freeze-process, a query in flightT01.defaults.126
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed query or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

a 1 s stall, a query in flightT01.defaults.127
holds
Prediction
1.604 s to 1.697 s
Median
1.646 s
Runs
11 counted · 2 warm-ups
1600 ms1620 ms1640 ms1660 ms1680 ms1700 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back at the third firing of the RTO timer. The band is 1.604 s to 1.697 s after the send of the query.

11 of the 11 counted runs are in the band of 1.603 s to 1.698 s. The median is 1.646 s, and its interval is 1.637 s to 1.665 s.

event:idle, no fault: the pool ends its idle client at its idle timerT01.defaults.128
holds
Prediction
10 s to 10.01 s
Median
10.0038 s
Runs
11 counted · 2 warm-ups
10 s10.005 s10.01 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the pool closes its idle client at its idle timer, and the kernel stamps its FIN. The band is 10 s to 10.01 s after the last segment on the socket.

11 of the 11 counted runs are in the band of 9.999 s to 10.011 s. The median is 10.004 s, and its interval is 10.003 s to 10.004 s.

app-stall: the server holds each reply 5 s, and nothing ends the queryT01.defaults.130
holds
Prediction
5 s to 5.022 s
Median
5.0064 s
Runs
11 counted · 2 warm-ups
5 s5.005 s5.01 s5.015 s5.02 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that no timer ends the query, and that the reply comes back after the hold of the server. The band of the reply is 5 s to 5.022 s after the send of the query. The prediction has no failed query or socket error after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.023 s. The median is 5.006 s, and its interval is 5.006 s to 5.007 s.

app-stall in flight, query_timeout 10.5 s: inside O07 against a statement_timeout of 10 sT01.border-off.171
holds
Prediction
10 s to 10.032 s
Median
10.0027 s
Runs
11 counted · 2 warm-ups
10 s10.01 s10.02 s10.03 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the statement timer of the server ends the query with 57014. The band is 10 s to 10.032 s after the send of the query.

11 of the 11 counted runs are in the band of 9.999 s to 10.033 s. The median is 10.003 s, and its interval is 10.003 s to 10.003 s.

app-stall in flight, query_timeout 9.5 s: outside O07 against a statement_timeout of 10 sT01.border-off.172
holds
Prediction
9.5 s to 9.51 s
Median
9.5027 s
Runs
11 counted · 2 warm-ups
9.5 s9.505 s9.51 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the query timer of the pool fails the query with 'Query read timeout'. The band is 9.5 s to 9.51 s after the send of the query.

11 of the 11 counted runs are in the band of 9.499 s to 9.511 s. The median is 9.503 s, and its interval is 9.502 s to 9.503 s.

middlebox-forget, idle, idleTimeoutMillis 10 s, the socket of the server: inside O03 against a silent-drop router at 12 sT01.border-off.157
holds
Prediction
9.959 s to 10.012 s
Median
10.0034 s
Runs
11 counted · 2 warm-ups
9.96 s9.98 s10 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the pool closes its idle client at its idle timer with an end of file. The band is 9.959 s to 10.012 s after the last segment on the socket.

11 of the 11 counted runs are in the band of 9.958 s to 10.013 s. The median is 10.003 s, and its interval is 10.002 s to 10.004 s.

middlebox-forget, idle, idleTimeoutMillis 14 s, the socket of the server: outside O03 against a silent-drop router at 12 sT01.border-off.158
holds
Prediction
silent for 30 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 30 s.

Nothing detected the fault in the 11 counted runs, each of 30 s.

blackhole, a query in flight, query_timeout 9.5 s: inside O13 against a poll of 10 sT01.border-off.179
holds
Prediction
9.5 s to 9.51 s
Median
9.5025 s
Runs
11 counted · 2 warm-ups
9.5 s9.505 s9.51 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the query timer of the pool fails the query with 'Query read timeout'. The band is 9.5 s to 9.51 s after the send of the query.

11 of the 11 counted runs are in the band of 9.499 s to 9.511 s. The median is 9.502 s, and its interval is 9.502 s to 9.503 s.

blackhole, a query in flight, query_timeout 10.5 s: outside O13 against a poll of 10 sT01.border-off.180
holds
Prediction
10.5 s to 10.51 s
Median
10.502 s
Runs
11 counted · 2 warm-ups
10.5 s10.505 s10.51 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the query timer of the pool fails the query with 'Query read timeout'. The band is 10.5 s to 10.51 s after the send of the query.

11 of the 11 counted runs are in the band of 10.499 s to 10.511 s. The median is 10.502 s, and its interval is 10.502 s to 10.503 s.

blackhole before the connect, connectionTimeoutMillis 29 s: inside O15 against a startup budget of 30 sT01.border-off.191
holds
Prediction
29 s to 29.01 s
Median
29.0067 s
Runs
11 counted · 2 warm-ups
29 s29.005 s29.01 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the connect timer of the pool fails the first connect with 'Connection terminated due to connection timeout'. The band is 29 s to 29.01 s after the start of the first connect.

11 of the 11 counted runs are in the band of 28.999 s to 29.011 s. The median is 29.007 s, and its interval is 29.006 s to 29.008 s.

blackhole before the connect, connectionTimeoutMillis 31 s: outside O15 against a startup budget of 30 sT01.border-off.192
holds
Prediction
31 s to 31.01 s
Median
31.0083 s
Runs
11 counted · 2 warm-ups
31 s31.005 s31.01 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the connect timer of the pool fails the first connect with 'Connection terminated due to connection timeout'. The band is 31 s to 31.01 s after the start of the first connect.

11 of the 11 counted runs are in the band of 30.999 s to 31.011 s. The median is 31.008 s, and its interval is 31.007 s to 31.008 s.

rst, a query in flightT01.defaults.2
holds
Prediction
0 s to 2 ms
Median
324 µs
Runs
11 counted · 2 warm-ups
0 ms0.5 ms1 ms1.5 ms2 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reset answers the query with ECONNRESET. The band is 0 s to 2 ms after the send of the query.

11 of the 11 counted runs are in the band of −1 ms to 3 ms. The median is 324 µs, and its interval is 301 µs to 540 µs.

blackhole, idle: the keepalive of the pool checks the connection, and the read timeout closes itT01.defaults.52
holds
Prediction
5 s to 5.015 s
Median
5.0034 s
Runs
11 counted · 2 warm-ups
5 s5.005 s5.01 s5.015 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the check of the pool gets no reply, and its read timeout closes the socket, and the kernel stamps its FIN. The band is 5 s to 5.015 s after the empty query of the check, the first segment after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.016 s. The median is 5.003 s, and its interval is 5.001 s to 5.005 s.

fin, idleT01.defaults.53
holds
Prediction
0 s to 2 ms
Median
14 µs
Runs
11 counted
0 ms0.5 ms1 ms1.5 ms2 ms

  • Prediction
  • Counted run
  • Median

The algebra predicts that the FIN of the stopped server ends the idle client with an end of file. The band is 0 s to 2 ms after the close of the socket of the server.

11 of the 11 counted runs are in the band of −1 ms to 3 ms. The median is 14 µs, and its interval is 13 µs to 22 µs.

unreachable-host, a query in flight, tcp_retries2 = 3T01.defaults.54
holds
Prediction
3 s to 3.329 s
Median
3.12 s
Runs
11 counted · 2 warm-ups
3 s3.1 s3.2 s3.3 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the retransmissions of the kernel give up with EHOSTUNREACH. The band is 3 s to 3.329 s after the first retransmission of the RTO timer.

11 of the 11 counted runs are in the band of 2.999 s to 3.33 s. The median is 3.12 s, and its interval is 3.12 s to 3.12 s.

freeze-process, a query in flightT01.defaults.55
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed query after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

a 1 s stall, a query in flightT01.defaults.56
holds
Prediction
1.604 s to 1.697 s
Median
1.6651 s
Runs
11 counted · 2 warm-ups
1600 ms1620 ms1640 ms1660 ms1680 ms1700 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back at the third firing of the RTO timer. The band is 1.604 s to 1.697 s after the send of the query.

11 of the 11 counted runs are in the band of 1.603 s to 1.698 s. The median is 1.665 s, and its interval is 1.631 s to 1.678 s.

event:idle, no fault: the pool keeps its idle connectionT01.defaults.57
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed query after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

rst at the start: the server refuses the check of the poolT01.defaults.59
holds
Prediction
1 s to 1.012 s
Median
1.0083 s
Runs
11 counted · 2 warm-ups
1000 ms1005 ms1010 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the start of the pool fails after the sleep of its check with 08001. The band is 1 s to 1.012 s after the start of the first connect.

11 of the 11 counted runs are in the band of 999 ms to 1.013 s. The median is 1.008 s, and its interval is 1.008 s to 1.01 s.

app-stall: the server holds the query in flight 5 s, and nothing ends itT01.defaults.60
holds
Prediction
5 s to 5.012 s
Median
5.0051 s
Runs
11 counted · 2 warm-ups
5 s5.005 s5.01 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that no timer ends the query, and that the reply comes back after the hold of the server. The band of the reply is 5 s to 5.012 s after the send of the query. The prediction has no failed query after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.013 s. The median is 5.005 s, and its interval is 5.002 s to 5.006 s.

middlebox-forget, idle, keepaliveTime 55 s: inside O03 against a silent-drop router at 60 sT01.border-off.151
holds
Prediction
silent for 2 min 30 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 150 s. The prediction has no failed query after the fault.

Nothing detected the fault in the 11 counted runs, each of 150 s.

middlebox-forget, idle, keepaliveTime 80 s: outside O03 against a silent-drop router at 60 sT01.border-off.152
holds
Prediction
5 s to 5.015 s
Median
5.005 s
Runs
11 counted · 2 warm-ups
5 s5.005 s5.01 s5.015 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the check of the pool gets no reply, and its read timeout closes the socket, and the kernel stamps its FIN. The band is 5 s to 5.015 s after the empty query of the check, the first segment after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.016 s. The median is 5.005 s, and its interval is 5.002 s to 5.005 s.

blackhole, a query in flight, socketTimeout 9 s: inside O13 against a poll of 10 sT01.border-off.187
holds
Prediction
9 s to 9.019 s
Median
9.0098 s
Runs
11 counted · 2 warm-ups
9 s9.005 s9.01 s9.015 s9.02 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the read timeout of pgjdbc closes the socket, and the kernel stamps its FIN. The band is 9 s to 9.019 s after the send of the query.

11 of the 11 counted runs are in the band of 8.999 s to 9.02 s. The median is 9.01 s, and its interval is 9.002 s to 9.01 s.

blackhole, a query in flight, socketTimeout 11 s: outside O13 against a poll of 10 sT01.border-off.188
holds
Prediction
11 s to 11.021 s
Median
11.0107 s
Runs
11 counted · 2 warm-ups
11 s11.005 s11.01 s11.015 s11.02 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the read timeout of pgjdbc closes the socket, and the kernel stamps its FIN. The band is 11 s to 11.021 s after the send of the query.

11 of the 11 counted runs are in the band of 10.999 s to 11.022 s. The median is 11.011 s, and its interval is 11.004 s to 11.012 s.

app-stall in flight, socketTimeout 11 s: inside O07 against a statement_timeout of 10 sT01.border-off.173
holds
Prediction
10 s to 10.022 s
Median
10.0036 s
Runs
11 counted · 2 warm-ups
10 s10.005 s10.01 s10.015 s10.02 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the statement timer of the server ends the query with 57014. The band is 10 s to 10.022 s after the send of the query.

11 of the 11 counted runs are in the band of 9.999 s to 10.023 s. The median is 10.004 s, and its interval is 10.003 s to 10.005 s.

app-stall in flight, socketTimeout 9 s: outside O07 against a statement_timeout of 10 sT01.border-off.174
holds
Prediction
9 s to 9.019 s
Median
9.0098 s
Runs
11 counted · 2 warm-ups
9 s9.005 s9.01 s9.015 s9.02 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the read timeout of pgjdbc closes the socket, and the kernel stamps its FIN. The band is 9 s to 9.019 s after the send of the query.

11 of the 11 counted runs are in the band of 8.999 s to 9.02 s. The median is 9.01 s, and its interval is 9.004 s to 9.01 s.

blackhole before the start, connectTimeout 28 s: the start of the pool fails inside O15 against a budget of 30 sT01.border-off.197
holds
Prediction
29.001 s to 29.059 s
Median
29.035 s
Runs
11 counted · 2 warm-ups
29 s29.02 s29.04 s29.06 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the connect timer of the pool fails the first connect with 08001. The band is 29.001 s to 29.059 s after the start of the first connect.

11 of the 11 counted runs are in the band of 29 s to 29.06 s. The median is 29.035 s, and its interval is 29.013 s to 29.038 s.

blackhole before the start, connectTimeout 30 s: the start of the pool fails outside O15 against a budget of 30 sT01.border-off.198
holds
Prediction
31.001 s to 31.061 s
Median
31.0208 s
Runs
11 counted · 2 warm-ups
31 s31.02 s31.04 s31.06 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the connect timer of the pool fails the first connect with 08001. The band is 31.001 s to 31.061 s after the start of the first connect.

11 of the 11 counted runs are in the band of 31 s to 31.062 s. The median is 31.021 s, and its interval is 31.01 s to 31.034 s.

The router is the router image of the harness: a NAT with conntrack, in the form of a cloud preset. Each cell names its preset. The client of each T03 cell is HikariCP.

blackhole at the router, idle: the keepalive checks the connection, AWS NAT formT03.defaults.6
holds
Prediction
5 s to 5.015 s
Median
5.005 s
Runs
11 counted · 2 warm-ups
5 s5.005 s5.01 s5.015 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the check of the pool gets no reply, and its read timeout closes the socket, and the kernel stamps its FIN. The band is 5 s to 5.015 s after the empty query of the check, the first segment after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.016 s. The median is 5.005 s, and its interval is 5.002 s to 5.005 s.

mtu-blackhole at the router, a long reply in flight, Azure LB with TCP resetT03.defaults.8
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed query after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

unreachable-host at the router, a query in flight, tcp_retries2 = 3, GCP firewall formT03.defaults.9
holds
Prediction
3 s to 3.329 s
Median
3.12 s
Runs
11 counted · 2 warm-ups
3 s3.1 s3.2 s3.3 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the retransmissions of the kernel give up with EHOSTUNREACH. The band is 3 s to 3.329 s after the first retransmission of the RTO timer.

11 of the 11 counted runs are in the band of 2.999 s to 3.33 s. The median is 3.12 s, and its interval is 3.12 s to 3.12 s.

event:idle, no fault, idle for 300 s: the keepalive keeps the flow, Azure NAT formT03.defaults.42
holds
Prediction
silent for 5 min
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 300 s. The prediction has no failed query after the fault.

Nothing detected the fault in the 11 counted runs, each of 300 s.

fin, idle, Azure LB with TCP resetT03.defaults.43
holds
Prediction
0 s to 2 ms
Median
34 µs
Runs
11 counted
0 ms0.5 ms1 ms1.5 ms2 ms

  • Prediction
  • Counted run
  • Median

The algebra predicts that the FIN of the stopped server ends the idle client with an end of file. The band is 0 s to 2 ms after the close of the socket of the server.

11 of the 11 counted runs are in the band of −1 ms to 3 ms. The median is 34 µs, and its interval is 31 µs to 42 µs.

middlebox-forget, idle for 400 s: the keepalive keeps the flow, AWS NAT formT03.defaults.51
holds
Prediction
silent for 6 min 40 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 400 s. The prediction has no failed query after the fault.

Nothing detected the fault in the 11 counted runs, each of 400 s.

a 1 s stall at the router, a query in flight, AWS NAT formT03.defaults.52
holds
Prediction
1.604 s to 1.697 s
Median
1.65 s
Runs
11 counted · 2 warm-ups
1600 ms1620 ms1640 ms1660 ms1680 ms1700 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back at the third firing of the RTO timer. The band is 1.604 s to 1.697 s after the send of the query.

11 of the 11 counted runs are in the band of 1.603 s to 1.698 s. The median is 1.65 s, and its interval is 1.631 s to 1.667 s.

The router is in front of Supavisor, and Supavisor is in front of the server. A fault at the router acts between the client and Supavisor, and the client connects as the user of the tenant.

middlebox-forget through Supavisor, idle for 300 s: the keepalive keeps the flow, Azure NAT formT03.defaults.7
holds
Prediction
silent for 5 min
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 300 s. The prediction has no failed query after the fault.

Nothing detected the fault in the 11 counted runs, each of 300 s.

simplex-to-client at the router in front of Supavisor, idle: the keepalive checks the connection, AWS NAT formT03.defaults.29
holds
Prediction
5 s to 5.015 s
Median
5.0045 s
Runs
11 counted · 2 warm-ups
5 s5.005 s5.01 s5.015 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the check of the pool gets no reply, and its read timeout closes the socket, and the kernel stamps its FIN. The band is 5 s to 5.015 s after the empty query of the check, the first segment after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.016 s. The median is 5.004 s, and its interval is 5.001 s to 5.005 s.

a 1 s stall at the router in front of Supavisor, a query in flight, GCP firewall formT03.defaults.35
holds
Prediction
1.604 s to 1.709 s
Median
1.6681 s
Runs
11 counted · 2 warm-ups
1600 ms1650 ms1700 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back at the third firing of the RTO timer. The band is 1.604 s to 1.709 s after the send of the query.

11 of the 11 counted runs are in the band of 1.603 s to 1.71 s. The median is 1.668 s, and its interval is 1.63 s to 1.686 s.

blackhole at a plain router in front of Supavisor, idle: the keepalive checks the connectionT03.defaults.36
holds
Prediction
5 s to 5.015 s
Median
5.0041 s
Runs
11 counted · 2 warm-ups
5 s5.005 s5.01 s5.015 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the check of the pool gets no reply, and its read timeout closes the socket, and the kernel stamps its FIN. The band is 5 s to 5.015 s after the empty query of the check, the first segment after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.016 s. The median is 5.004 s, and its interval is 5.001 s to 5.005 s.

unreachable-host at the router in front of Supavisor, a query in flight, tcp_retries2 = 3, AWS NAT formT03.defaults.58
holds
Prediction
3 s to 3.329 s
Median
3.12 s
Runs
11 counted · 2 warm-ups
3 s3.1 s3.2 s3.3 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the retransmissions of the kernel give up with EHOSTUNREACH. The band is 3 s to 3.329 s after the first retransmission of the RTO timer.

11 of the 11 counted runs are in the band of 2.999 s to 3.33 s. The median is 3.12 s, and its interval is 3.12 s to 3.121 s.

mtu-blackhole at the router in front of Supavisor, a long reply in flight, AWS NAT formT03.defaults.59
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed query after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

event:idle through Supavisor, no fault, idle for 400 s: the keepalive keeps the flow, AWS NAT formT03.defaults.60
holds
Prediction
silent for 6 min 40 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 400 s. The prediction has no failed query after the fault.

Nothing detected the fault in the 11 counted runs, each of 400 s.

A fault at the server is between the pooler and the server. An event at the pooler is a signal to its program, or a query on its console.

PgBouncer 1.26.1 is in transaction pooling, with its defaults for each timer. The harness builds it from its release tarball, by its SHA-256.

event:PAUSE on the console of PgBouncer, then a query: it waits in the queue, and query_wait_timeout ends itT10.defaults.7
holds
Prediction
2 min to 2 min 0.4 s
Median
2 min 0.1 s
Runs
11 counted · 2 warm-ups
120 s120.1 s120.2 s120.3 s120.4 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that query_wait_timeout of PgBouncer ends the query that waits in its queue, and closes the client with 08P01. The band is 120 s to 120.375 s after the send of the query.

11 of the 11 counted runs are in the band of 119.999 s to 120.376 s. The median is 120.051 s, and its interval is 120.042 s to 120.059 s.

blackhole behind PgBouncer, idle: the keepalive checks the connection through the pooler, and its read timeout closes itT10.defaults.1
holds
Prediction
5 s to 5.015 s
Median
5.0045 s
Runs
11 counted · 2 warm-ups
5 s5.005 s5.01 s5.015 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the check of the pool gets no reply, and its read timeout closes the socket, and the kernel stamps its FIN. The band is 5 s to 5.015 s after the empty query of the check, the first segment after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.016 s. The median is 5.004 s, and its interval is 5.002 s to 5.005 s.

app-stall behind PgBouncer: the server holds the query in flight 5 s, and nothing ends itT10.defaults.12
holds
Prediction
5 s to 5.024 s
Median
5.004 s
Runs
11 counted · 2 warm-ups
5 s5.005 s5.01 s5.015 s5.02 s5.025 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that no timer ends the query, and that the reply comes back after the hold of the server. The band of the reply is 5 s to 5.024 s after the send of the query. The prediction has no failed query after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.025 s. The median is 5.004 s, and its interval is 5.003 s to 5.006 s.

event:reload behind PgBouncer: SIGHUP while the server holds the query 5 s, and the reply comesT10.defaults.15
holds
Prediction
5 s to 5.024 s
Median
5.006 s
Runs
11 counted · 2 warm-ups
5 s5.005 s5.01 s5.015 s5.02 s5.025 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that no timer ends the query, and that the reply comes back after the hold of the server. The band of the reply is 5 s to 5.024 s after the send of the query. The prediction has no failed query after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.025 s. The median is 5.006 s, and its interval is 5.004 s to 5.006 s.

blackhole behind PgBouncer, idle, keepaliveTime 0: HikariCP of the earlier epoch has no keepalive, and nothing reads the idle connectionT10.defaults.45
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed query after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

event:idle behind PgBouncer, no fault, idleTimeoutMillis 10 s against client_idle_timeout 12 s: inside: the pool closes its idle client firstT10.border-off.91
holds
Prediction
10 s to 10.022 s
Median
10.003 s
Runs
11 counted · 2 warm-ups
10 s10.005 s10.01 s10.015 s10.02 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the pool closes its idle client at its idle timer with an end of file. The band is 10 s to 10.022 s after the last segment on the socket.

11 of the 11 counted runs are in the band of 9.999 s to 10.023 s. The median is 10.003 s, and its interval is 10.003 s to 10.004 s.

event:idle behind PgBouncer, no fault, idleTimeoutMillis 14 s against client_idle_timeout 12 s: outside: PgBouncer closes the idle client firstT10.border-off.92
holds
Prediction
11.988 s to 12.3453 s
Median
12.2952 s
Runs
11 counted · 2 warm-ups
12 s12.1 s12.2 s12.3 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that client_idle_timeout of PgBouncer closes the idle client with an end of file. The band is 11.988 s to 12.345 s after the last segment on the socket.

11 of the 11 counted runs are in the band of 11.987 s to 12.346 s. The median is 12.295 s, and its interval is 12.003 s to 12.332 s.

app-stall behind PgBouncer, the server holds the query 5 s, query_timeout 6 s: inside: the reply comes firstT10.border-off.7
holds
Prediction
5 s to 5.024 s
Median
5.0048 s
Runs
11 counted · 2 warm-ups
5 s5.005 s5.01 s5.015 s5.02 s5.025 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that no timer ends the query, and that the reply comes back after the hold of the server. The band of the reply is 5 s to 5.024 s after the send of the query. The prediction has no failed query after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.025 s. The median is 5.005 s, and its interval is 5.003 s to 5.006 s.

app-stall behind PgBouncer, the server holds the query 5 s, query_timeout 4 s: outside: PgBouncer ends the query and closes the clientT10.border-off.8
holds
Prediction
4 s to 4.3553 s
Median
4.0712 s
Runs
11 counted · 2 warm-ups
4 s4.1 s4.2 s4.3 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that query_timeout of PgBouncer ends the query and closes the client with 08P01. The band is 4 s to 4.355 s after the send of the query.

11 of the 11 counted runs are in the band of 3.999 s to 4.356 s. The median is 4.071 s, and its interval is 4.04 s to 4.089 s.

blackhole of the server behind PgBouncer, a query in flight, tcp_retries2 = 4 at PgBouncer, minimumIdle 1, socketTimeout 5 s: inside: the read timeout comes first, and PgBouncer closes its server socketT10.border-off.43
holds
Prediction
5 s to 5.027 s
Median
5.0036 s
Runs
11 counted · 11 warm-ups
5 s5.01 s5.02 s5.03 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the read timeout of pgjdbc closes the socket, and the kernel stamps its FIN. The band is 5 s to 5.027 s after the send of the query.

11 of the 11 counted runs are in the band of 4.999 s to 5.028 s. The median is 5.004 s, and its interval is 5.001 s to 5.006 s.

blackhole of the server behind PgBouncer, a query in flight, tcp_retries2 = 4 at PgBouncer, minimumIdle 1, socketTimeout 15 s: outside: the kernel of PgBouncer gives up on its server socket firstT10.border-off.44
holds
Prediction
6.2 s to 13.344 s
Median
13.008 s
Runs
11 counted · 11 warm-ups
6 s8 s10 s12 s14 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the retransmissions of the kernel give up with ETIMEDOUT. The band is 6.2 s to 13.344 s after the first retransmission of the RTO timer.

11 of the 11 counted runs are in the band of 6.199 s to 13.345 s. The median is 13.008 s, and its interval is 12.872 s to 13.024 s.

blackhole of the server before the client starts, the connect of PgBouncer, server_connect_timeout 128 s: inside: the connect timer of PgBouncer closes its socket in SYN_SENTT10.border-off.83
holds
Prediction
2 min 8 s to 2 min 8 s
Median
2 min 8 s
Runs
11 counted · 2 warm-ups
127.99 s127.995 s128 s128.005 s128.01 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the connect timer of PgBouncer closes its socket to the server in SYN_SENT, with no error and no FIN. The band is 127.99 s to 128.01 s after the SYN of the connect of PgBouncer.

11 of the 11 counted runs are in the band of 127.989 s to 128.011 s. The median is 128.001 s, and its interval is 128 s to 128.001 s.

blackhole of the server before the client starts, the connect of PgBouncer, server_connect_timeout 140 s: outside: the kernel of PgBouncer gives up on the SYNs firstT10.border-off.84
holds
Prediction
2 min 11 s to 2 min 17.1 s
Median
2 min 13.2 s
Runs
11 counted · 2 warm-ups
132 s134 s136 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the kernel of PgBouncer gives up on the SYNs of its connect to the server with ETIMEDOUT. The band is 131 s to 137.08 s after the SYN of the connect of PgBouncer.

11 of the 11 counted runs are in the band of 130.999 s to 137.081 s. The median is 133.204 s, and its interval is 132.87 s to 133.665 s.

app-stall behind PgBouncer, the server holds the query 9 s, socketTimeout 10 s: inside: the reply comes before the read timeoutT10.border-off.45
holds
Prediction
9 s to 9.024 s
Median
9.0103 s
Runs
11 counted · 2 warm-ups
9 s9.005 s9.01 s9.015 s9.02 s9.025 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that no timer ends the query, and that the reply comes back after the hold of the server. The band of the reply is 9 s to 9.024 s after the send of the query. The prediction has no failed query after the fault.

11 of the 11 counted runs are in the band of 8.999 s to 9.025 s. The median is 9.01 s, and its interval is 9.003 s to 9.011 s.

app-stall behind PgBouncer, the server holds the query 11 s, socketTimeout 10 s: outside: the read timeout closes the socket firstT10.border-off.46
holds
Prediction
10 s to 10.02 s
Median
10.0081 s
Runs
11 counted · 2 warm-ups
10 s10.005 s10.01 s10.015 s10.02 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the read timeout of pgjdbc closes the socket, and the kernel stamps its FIN. The band is 10 s to 10.02 s after the send of the query.

11 of the 11 counted runs are in the band of 9.999 s to 10.021 s. The median is 10.008 s, and its interval is 10.003 s to 10.011 s.

app-stall behind PgBouncer, statement_timeout 10 s, socketTimeout 11 s: inside: the server ends the query firstT10.border-off.47
holds
Prediction
10 s to 10.034 s
Median
10.0048 s
Runs
11 counted · 2 warm-ups
10 s10.01 s10.02 s10.03 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the statement timer of the server ends the query with 57014. The band is 10 s to 10.034 s after the send of the query.

11 of the 11 counted runs are in the band of 9.999 s to 10.035 s. The median is 10.005 s, and its interval is 10.004 s to 10.005 s.

app-stall behind PgBouncer, statement_timeout 10 s, socketTimeout 9 s: outside: the read timeout closes the socket first, and the server goes onT10.border-off.48
holds
Prediction
9 s to 9.019 s
Median
9.0097 s
Runs
11 counted · 2 warm-ups
9 s9.005 s9.01 s9.015 s9.02 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the read timeout of pgjdbc closes the socket, and the kernel stamps its FIN. The band is 9 s to 9.019 s after the send of the query.

11 of the 11 counted runs are in the band of 8.999 s to 9.02 s. The median is 9.01 s, and its interval is 9.004 s to 9.01 s.

Pgpool-II 4.7.3 is in streaming replication mode, with one server and its defaults for each timer. The harness builds it from the source tarball of its tag, by its SHA-256.

event:reload behind Pgpool-II: SIGHUP while the server holds the query 5 s, and the reply comesT10.defaults.8
holds
Prediction
5 s to 5.034 s
Median
5.0076 s
Runs
11 counted · 2 warm-ups
5 s5.01 s5.02 s5.03 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that no timer ends the query, and that the reply comes back after the hold of the server. The band of the reply is 5 s to 5.034 s after the send of the query. The prediction has no failed query or socket error after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.035 s. The median is 5.008 s, and its interval is 5.007 s to 5.008 s.

fin behind Pgpool-II, idle: the FIN of the server ends the session of Pgpool-II, which closes the clientT10.defaults.29
holds
Prediction
0 s to 24 ms
Median
684 µs
Runs
11 counted · 9 warm-ups
0 ms5 ms10 ms15 ms20 ms25 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the FIN of the stopped server ends the idle client with an end of file. The band is 0 s to 24 ms after the close of the socket of the server.

11 of the 11 counted runs are in the band of −1 ms to 25 ms. The median is 684 µs, and its interval is 483 µs to 1.24 ms.

freeze-process behind Pgpool-II, a query in flight: Pgpool-II waits on the server with no bound, and nothing ends the queryT10.defaults.2
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed query after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

blackhole behind Pgpool-II, idle, minimumIdle 1: the keepalive checks the connection through the pooler, and its read timeout closes itT10.defaults.11
holds
Prediction
5 s to 5.015 s
Median
5.0039 s
Runs
11 counted
5 s5.005 s5.01 s5.015 s

  • Prediction
  • Counted run
  • Median

The algebra predicts that the check of the pool gets no reply, and its read timeout closes the socket, and the kernel stamps its FIN. The band is 5 s to 5.015 s after the empty query of the check, the first segment after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.016 s. The median is 5.004 s, and its interval is 5.001 s to 5.005 s.

app-stall behind Pgpool-II, statement_timeout 10 s, socketTimeout 11 s: inside: the server ends the query firstT10.border-off.97
holds
Prediction
10 s to 10.034 s
Median
10.0056 s
Runs
11 counted · 2 warm-ups
10 s10.01 s10.02 s10.03 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the statement timer of the server ends the query with 57014. The band is 10 s to 10.034 s after the send of the query.

11 of the 11 counted runs are in the band of 9.999 s to 10.035 s. The median is 10.006 s, and its interval is 10.005 s to 10.006 s.

app-stall behind Pgpool-II, statement_timeout 10 s, socketTimeout 9 s: outside: the read timeout closes the socket first, and the server goes onT10.border-off.98
holds
Prediction
9 s to 9.019 s
Median
9.0084 s
Runs
11 counted · 2 warm-ups
9 s9.005 s9.01 s9.015 s9.02 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the read timeout of pgjdbc closes the socket, and the kernel stamps its FIN. The band is 9 s to 9.019 s after the send of the query.

11 of the 11 counted runs are in the band of 8.999 s to 9.02 s. The median is 9.008 s, and its interval is 9.005 s to 9.01 s.

Supavisor 2.9.13 is the image of Supabase, pinned by its digest. It has one tenant in transaction mode in front of the server, and a client connects as the user of that tenant. The client of each cell is node-postgres.

blackhole behind Supavisor, idle: the client holds no server connection, and the pool ends its idle client at its idle timerT10.defaults.27
holds
Prediction
10 s to 10.022 s
Median
10.0034 s
Runs
11 counted · 2 warm-ups
10 s10.005 s10.01 s10.015 s10.02 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the pool closes its idle client at its idle timer with an end of file. The band is 10 s to 10.022 s after the last segment on the socket.

11 of the 11 counted runs are in the band of 9.999 s to 10.023 s. The median is 10.003 s, and its interval is 10.003 s to 10.004 s.

freeze-process behind Supavisor, a query in flight: Supavisor waits on the server with no bound, and nothing ends the queryT10.defaults.28
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed query or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

blackhole behind Supavisor, a query in flight: Supavisor acknowledges the query and waits with no bound, and nothing ends itT10.defaults.30
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed query or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

app-stall behind Supavisor: the server holds the query 5 s, and nothing ends itT10.defaults.31
holds
Prediction
5 s to 5.034 s
Median
5.0066 s
Runs
11 counted · 2 warm-ups
5 s5.01 s5.02 s5.03 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that no timer ends the query, and that the reply comes back after the hold of the server. The band of the reply is 5 s to 5.034 s after the send of the query. The prediction has no failed query or socket error after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.035 s. The median is 5.007 s, and its interval is 5.003 s to 5.007 s.

Each runner wrote a raw record of each of its cells. A record has the cell and the manifests of its environments. It also has each warm-up run, and each run with its kernel records and the lines of the client.

The script packages/site/scripts/pg.ts reads each record with the code of the harness, and it stops when a verdict disagrees with the summary of the run. It also stops when a prediction disagrees with the catalog at HZ 1000. It writes the copy that this page shows, and that copy names no machine. The cells and their predictions are in the catalogs.