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

Provision more channels with fewer sessions in each when using gRPC-GCP channel pool #1566

Description

@skuruppu

#1227 introduced an option to use the gRPC-GCP channel pool. When using this pool, to make sure there are sufficient channels available to move the sessions to a different channel if a network connection in a particular channel fails, it's recommended that each channel try to only support ~50 concurrent requests.

Currently, we have 4 channels by default, with max sessions = 400 so that each channel likely has at most 100 sessions.

So this request is to double the number of channels initialized (to 8) if the gRPC-GCP channel pool is being used.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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