Skip to content

Commit c8aec31

Browse files
author
dmitrivasilyev
committed
add small bench
1 parent 207487b commit c8aec31

File tree

4 files changed

+68
-54
lines changed

4 files changed

+68
-54
lines changed

src/client/entrypoint.rs

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use bytes::{BufMut, BytesMut};
21
use log::{error, info};
32
use std::sync::atomic::Ordering;
43
use tokio::io::split;
@@ -9,7 +8,7 @@ use tokio::sync::mpsc::Sender;
98
use crate::config::get_config;
109
use crate::errors::Error;
1110
use crate::messages::config_socket::configure_tcp_socket_for_cancel;
12-
use crate::messages::{error_response_terminal, write_all};
11+
use crate::messages::{error_response_terminal, write_all_flush};
1312
use crate::pool::ClientServerMap;
1413
use crate::stats::{CANCEL_CONNECTION_COUNTER, PLAIN_CONNECTION_COUNTER, TLS_CONNECTION_COUNTER};
1514
use crate::utils::rate_limit::RateLimiter;
@@ -34,9 +33,7 @@ pub async fn client_entrypoint_too_many_clients_already(
3433

3534
match get_startup::<TcpStream>(&mut stream).await {
3635
Ok((ClientConnectionType::Tls, _)) => {
37-
let mut no = BytesMut::new();
38-
no.put_u8(b'N');
39-
write_all(&mut stream, no).await?;
36+
write_all_flush(&mut stream, &[b'N']).await?;
4037
// здесь может быть ошибка SSL is not enabled on the server,
4138
// вместо too many client, но это сделано намерянно, потому что мы
4239
// не сможем обработать столько клиентов еще и через SSL.
@@ -109,9 +106,7 @@ pub async fn client_entrypoint(
109106
// TLS settings are configured, will setup TLS now.
110107
if let Some(tls_acceptor) = tls_acceptor {
111108
TLS_CONNECTION_COUNTER.fetch_add(1, Ordering::Relaxed);
112-
let mut yes = BytesMut::new();
113-
yes.put_u8(b'S');
114-
write_all(&mut stream, yes).await?;
109+
write_all_flush(&mut stream, &[b'S']).await?;
115110

116111
if let Some(tls_rate_limiter) = tls_rate_limiter {
117112
tls_rate_limiter.wait().await;
@@ -155,9 +150,7 @@ pub async fn client_entrypoint(
155150
else {
156151
// Rejecting client request for TLS.
157152
PLAIN_CONNECTION_COUNTER.fetch_add(1, Ordering::Relaxed);
158-
let mut no = BytesMut::new();
159-
no.put_u8(b'N');
160-
write_all(&mut stream, no).await?;
153+
write_all_flush(&mut stream, &[b'N']).await?;
161154

162155
// Attempting regular startup. Client can disconnect now
163156
// if they choose.

src/client/startup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ where
170170
admin_only: bool,
171171
use_tls: bool,
172172
) -> Result<Client<S, T>, Error> {
173-
let parameters = parse_startup(bytes.clone())?;
173+
let parameters = parse_startup(bytes)?;
174174

175175
// This parameter is mandatory by the protocol.
176176
let username_from_parameters = match parameters.get("user") {

tests/bdd/features/bench.feature

Lines changed: 43 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ Feature: Benchmarking environment setup with SSL
6262
client_tls_key_file = ${DOORMAN_SSL_KEY}
6363
client_tls_cert_file = ${DOORMAN_SSL_CERT}
6464
client_tls_ca_file = ${DOORMAN_SSL_CERT}
65+
log_pooler_errors = 0
66+
verbose = 0
6567
"""
6668
And odyssey started with config:
6769
"""
@@ -86,6 +88,7 @@ Feature: Benchmarking environment setup with SSL
8688
storage "postgres_server"
8789
pool "transaction"
8890
pool_size 40
91+
pool_reserve_prepared_statement yes
8992
}
9093
}
9194
@@ -101,70 +104,70 @@ Feature: Benchmarking environment setup with SSL
101104
# ==================== SIMPLE PROTOCOL ====================
102105

103106
# --- 10 clients, simple protocol ---
104-
When I run pgbench for "postgresql_simple_c10" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}"
105-
When I run pgbench for "pg_doorman_simple_c10" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}"
106-
When I run pgbench for "odyssey_simple_c10" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}"
107-
When I run pgbench for "pgbouncer_simple_c10" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}"
107+
When I run pgbench for "postgresql_simple_c10" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
108+
When I run pgbench for "pg_doorman_simple_c10" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
109+
When I run pgbench for "odyssey_simple_c10" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
110+
When I run pgbench for "pgbouncer_simple_c10" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
108111

109112
# --- 100 clients, simple protocol ---
110-
When I run pgbench for "postgresql_simple_c100" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}"
111-
When I run pgbench for "pg_doorman_simple_c100" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}"
112-
When I run pgbench for "odyssey_simple_c100" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}"
113-
When I run pgbench for "pgbouncer_simple_c100" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}"
113+
When I run pgbench for "postgresql_simple_c100" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
114+
When I run pgbench for "pg_doorman_simple_c100" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
115+
When I run pgbench for "odyssey_simple_c100" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
116+
When I run pgbench for "pgbouncer_simple_c100" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
114117

115118
# ==================== EXTENDED PROTOCOL ====================
116119

117120
# --- 10 clients, extended protocol ---
118-
When I run pgbench for "postgresql_extended_c10" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}"
119-
When I run pgbench for "pg_doorman_extended_c10" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}"
120-
When I run pgbench for "odyssey_extended_c10" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}"
121-
When I run pgbench for "pgbouncer_extended_c10" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}"
121+
When I run pgbench for "postgresql_extended_c10" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
122+
When I run pgbench for "pg_doorman_extended_c10" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
123+
When I run pgbench for "odyssey_extended_c10" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
124+
When I run pgbench for "pgbouncer_extended_c10" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
122125

123126
# --- 100 clients, extended protocol ---
124-
When I run pgbench for "postgresql_extended_c100" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}"
125-
When I run pgbench for "pg_doorman_extended_c100" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}"
126-
When I run pgbench for "odyssey_extended_c100" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}"
127-
When I run pgbench for "pgbouncer_extended_c100" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}"
127+
When I run pgbench for "postgresql_extended_c100" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
128+
When I run pgbench for "pg_doorman_extended_c100" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
129+
When I run pgbench for "odyssey_extended_c100" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
130+
When I run pgbench for "pgbouncer_extended_c100" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
128131

129132
# ==================== PREPARED PROTOCOL ====================
130133

131134
# --- 10 clients, prepared protocol ---
132-
When I run pgbench for "postgresql_prepared_c10" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}"
133-
When I run pgbench for "pg_doorman_prepared_c10" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}"
134-
When I run pgbench for "odyssey_prepared_c10" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}"
135-
When I run pgbench for "pgbouncer_prepared_c10" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}"
135+
When I run pgbench for "postgresql_prepared_c10" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
136+
When I run pgbench for "pg_doorman_prepared_c10" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
137+
When I run pgbench for "odyssey_prepared_c10" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
138+
When I run pgbench for "pgbouncer_prepared_c10" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
136139

137140
# --- 100 clients, prepared protocol ---
138-
When I run pgbench for "postgresql_prepared_c100" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}"
139-
When I run pgbench for "pg_doorman_prepared_c100" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}"
140-
When I run pgbench for "odyssey_prepared_c100" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}"
141-
When I run pgbench for "pgbouncer_prepared_c100" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}"
141+
When I run pgbench for "postgresql_prepared_c100" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
142+
When I run pgbench for "pg_doorman_prepared_c100" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
143+
When I run pgbench for "odyssey_prepared_c100" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
144+
When I run pgbench for "pgbouncer_prepared_c100" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=prepared postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
142145

143146
# ==================== WITH --connect (reconnect each transaction) ====================
144147

145148
# --- 10 clients, simple protocol, with connect ---
146-
When I run pgbench for "postgresql_simple_connect_c10" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}"
147-
When I run pgbench for "pg_doorman_simple_connect_c10" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}"
148-
When I run pgbench for "odyssey_simple_connect_c10" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}"
149-
When I run pgbench for "pgbouncer_simple_connect_c10" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}"
149+
When I run pgbench for "postgresql_simple_connect_c10" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
150+
When I run pgbench for "pg_doorman_simple_connect_c10" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
151+
When I run pgbench for "odyssey_simple_connect_c10" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
152+
When I run pgbench for "pgbouncer_simple_connect_c10" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
150153

151154
# --- 100 clients, simple protocol, with connect ---
152-
When I run pgbench for "postgresql_simple_connect_c100" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}"
153-
When I run pgbench for "pg_doorman_simple_connect_c100" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}"
154-
When I run pgbench for "odyssey_simple_connect_c100" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}"
155-
When I run pgbench for "pgbouncer_simple_connect_c100" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}"
155+
When I run pgbench for "postgresql_simple_connect_c100" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
156+
When I run pgbench for "pg_doorman_simple_connect_c100" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
157+
When I run pgbench for "odyssey_simple_connect_c100" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
158+
When I run pgbench for "pgbouncer_simple_connect_c100" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=simple --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
156159

157160
# --- 10 clients, extended protocol, with connect ---
158-
When I run pgbench for "postgresql_extended_connect_c10" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}"
159-
When I run pgbench for "pg_doorman_extended_connect_c10" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}"
160-
When I run pgbench for "odyssey_extended_connect_c10" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}"
161-
When I run pgbench for "pgbouncer_extended_connect_c10" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}"
161+
When I run pgbench for "postgresql_extended_connect_c10" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
162+
When I run pgbench for "pg_doorman_extended_connect_c10" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
163+
When I run pgbench for "odyssey_extended_connect_c10" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
164+
When I run pgbench for "pgbouncer_extended_connect_c10" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 10 -j 2 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
162165

163166
# --- 100 clients, extended protocol, with connect ---
164-
When I run pgbench for "postgresql_extended_connect_c100" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}"
165-
When I run pgbench for "pg_doorman_extended_connect_c100" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}"
166-
When I run pgbench for "odyssey_extended_connect_c100" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}"
167-
When I run pgbench for "pgbouncer_extended_connect_c100" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}"
167+
When I run pgbench for "postgresql_extended_connect_c100" with "-n -h 127.0.0.1 -p ${PG_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
168+
When I run pgbench for "pg_doorman_extended_connect_c100" with "-n -h 127.0.0.1 -p ${DOORMAN_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
169+
When I run pgbench for "odyssey_extended_connect_c100" with "-n -h 127.0.0.1 -p ${ODYSSEY_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
170+
When I run pgbench for "pgbouncer_extended_connect_c100" with "-n -h 127.0.0.1 -p ${PGBOUNCER_PORT} -U postgres -c 100 -j 4 -T 30 -P 1 --protocol=extended --connect postgres -f ${PGBENCH_FILE}" and env "PGSSLMODE=disable"
168171

169172
# ==================== SSL + EXTENDED PROTOCOL ====================
170173

0 commit comments

Comments
 (0)