feat: support multiplexed session for blind write with single use transaction by pratickchokhani · Pull Request #3229 · googleapis/java-spanner (original) (raw)

With multiplexed sessions, the client optimizes and runs multiple applicable requests concurrently on a single session. A single multiplexed session is sufficient to handle all concurrent writeAtLeastOnce requests.

Normal read/write transactions always use regular sessions.

The use of multiplexed sessions can be enabled through the environment variable GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS.