Skip to content

feat: a single multiplexed session is used for all operations #2162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 31, 2025

Conversation

olavloite
Copy link
Collaborator

The JDBC driver now uses a single multiplexed session for all operations. This applies to all operations in auto-commit mode, in read-only transactions, and in read/write transactions.

One multiplexed session can execute an unlimited number of operations concurrently.

Configuring minSessions and maxSessions in the connection URL is therefore no longer needed for workloads that execute a large number of concurrent transactions.

The JDBC driver now uses a single multiplexed session for all operations. This applies
to all operations in auto-commit mode, in read-only transactions, and in read/write
transactions.

One multiplexed session can execute an unlimited number of operations concurrently.

Configuring minSessions and maxSessions in the connection URL is therefore no longer
needed for workloads that execute a large number of concurrent transactions.
@olavloite olavloite requested review from a team as code owners July 31, 2025 13:37
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: spanner Issues related to the googleapis/java-spanner-jdbc API. labels Jul 31, 2025
@olavloite olavloite requested a review from sakthivelmanii July 31, 2025 13:37
@olavloite olavloite added the automerge Merge the pull request once unit tests and other checks pass. label Jul 31, 2025
@gcf-merge-on-green gcf-merge-on-green bot merged commit 21438cc into main Jul 31, 2025
26 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jul 31, 2025
@gcf-merge-on-green gcf-merge-on-green bot deleted the multiplexed-sessions branch July 31, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner-jdbc API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants