Skip to content
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

perf: use multiplexed sessions for read-only operations #2043

Merged
merged 4 commits into from
Jul 5, 2024

Conversation

olavloite
Copy link
Collaborator

Enable multiplexed sessions for all read-only operations. Multiplexed sessions can handle any number of concurrent read-only operations, which means that PGAdapter does not need to reserve a session exclusively for a single read-only operation. This increases the maximum possible concurrency without the need to increase the number of sessions in the pool.

olavloite added 4 commits July 4, 2024 17:56
Enable multiplexed sessions for all read-only operations. Multiplexed
sessions can handle any number of concurrent read-only operations,
which means that PGAdapter does not need to reserve a session
exclusively for a single read-only operation. This increases the
maximum possible concurrency without the need to increase the
number of sessions in the pool.
@olavloite olavloite merged commit 40a2177 into postgresql-dialect Jul 5, 2024
43 checks passed
@olavloite olavloite deleted the enable-multiplexed-sessions branch July 5, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant