Skip to content

Allow configuring max concurrent ALTS handshakes based on an environment variable.#32672

Merged
matthewstevenson88 merged 2 commits intogrpc:masterfrom
matthewstevenson88:alts-max-concurrent-streams
Mar 28, 2023
Merged

Allow configuring max concurrent ALTS handshakes based on an environment variable.#32672
matthewstevenson88 merged 2 commits intogrpc:masterfrom
matthewstevenson88:alts-max-concurrent-streams

Conversation

@matthewstevenson88
Copy link
Contributor

@matthewstevenson88 matthewstevenson88 commented Mar 21, 2023

The logic is straightforward: attempt to read the GRPC_ALTS_MAX_CONCURRENT_HANDSHAKES environment variable and, if it set to an integer, instantiate the handshake queues based on this integer.

Based on go/grpc-alts-concurrent-handshake-cap.

@matthewstevenson88 matthewstevenson88 marked this pull request as ready for review March 22, 2023 00:34
@matthewstevenson88 matthewstevenson88 merged commit ea839de into grpc:master Mar 28, 2023
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Mar 29, 2023
XuanWang-Amos pushed a commit to XuanWang-Amos/grpc that referenced this pull request May 1, 2023
…ent variable. (grpc#32672)

The logic is straightforward: attempt to read the
`GRPC_ALTS_MAX_CONCURRENT_HANDSHAKES` environment variable and, if it
set to an integer, instantiate the handshake queues based on this
integer.

Based on go/grpc-alts-concurrent-handshake-cap.
wanlin31 pushed a commit that referenced this pull request May 18, 2023
…ent variable. (#32672)

The logic is straightforward: attempt to read the
`GRPC_ALTS_MAX_CONCURRENT_HANDSHAKES` environment variable and, if it
set to an integer, instantiate the handshake queues based on this
integer.

Based on go/grpc-alts-concurrent-handshake-cap.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants