pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feedFrom: davecramer (@davecramer) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: [pgjdbc/pgjdbc] PR #4070: feat: add pipelineMode connection property for protocol-level pipelining
Date: Thu, 14 May 2026 14:28:12 +0000
Message-ID: <[email protected]> (raw)
Implement synchronous pipelining (Option C) that sends multiple extended protocol queries before reading responses, reducing round-trip latency for batch operations.
Changes:
- Add PIPELINE_MODE connection property (default false)
- Add isPipelineModeEnabled() to QueryExecutor interface
- Raise flushIfDeadlockRisk() threshold from 64KB to 8MB when pipeline mode is enabled, allowing more queries to be buffered before forcing an intermediate Sync+read cycle
- Add functional and performance tests
This approach avoids the socket-sharing race conditions of the previous reader thread design by keeping all I/O on the main thread.
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: github://pgjdbc/pgjdbc
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] PR #4070: feat: add pipelineMode connection property for protocol-level pipelining
In-Reply-To: <<[email protected]>>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox