[ate]: Enable client-side load balancing and update docs#238
Merged
moidx merged 1 commit intolowRISC:mainfrom Jun 22, 2025
Merged
[ate]: Enable client-side load balancing and update docs#238moidx merged 1 commit intolowRISC:mainfrom
moidx merged 1 commit intolowRISC:mainfrom
Conversation
This change introduces gRPC client-side load balancing to the ATE client library and documents its usage. ATE Client Library: - The client options now accept a `pa_target` in gRPC name-syntax format (e.g., "ipv4:host1:port,host2:port") to enable connecting to multiple server instances. - A `load_balancing_policy` option has been added to allow callers to select policies like "round_robin". - The client creation logic was updated to use `grpc::CreateCustomChannel` to apply the specified load balancing configuration. - Test programs and integration test scripts were updated to use the new `--pa_target` and `--load_balancing_policy` flags. Documentation (`docs/ate.md`): - Added a section on "Client-Side Load Balancing and Failover," explaining how to configure it and what to expect during partial and total server outages. - Added a "Client Lifecycle and Resource Management" section outlining best practices for creating and destroying the client instance. - Added a "Monitoring and Debugging" section that instructs users on how to enable gRPC tracing via environment variables to debug connection health and load balancer behavior. Signed-off-by: Miguel Osorio <miguelosorio@google.com>
f33e959 to
4ebb924
Compare
timothytrippel
approved these changes
Jun 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change introduces gRPC client-side load balancing to the ATE client library and documents its usage.
ATE Client Library:
pa_targetin gRPC name-syntax format (e.g., "ipv4:host1:port,host2:port") to enable connecting to multiple server instances.load_balancing_policyoption has been added to allow callers to select policies like "round_robin".grpc::CreateCustomChannelto apply the specified load balancing configuration.--pa_targetand--load_balancing_policyflags.Documentation (
docs/ate.md):