Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Prepare sessions for r/w tx can be bottleneck #151

Description

@olavloite

Preparing sessions for read/write transactions can be a bottleneck when a burst of write requests need to be executed. This happens when the executor used to prepare sessions for r/w transactions is overloaded with more requests than it can efficiently handle, and causes a queue to build up.

Instead of only relying on the background executor, the session pool should also allow in-process creation of read/write transactions when the background executor is already full.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/java-spanner API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions