Skip to content

autosharding: Implement gRFC A119 auto-sharding lb policy - #12989

Draft
shivaspeaks wants to merge 1 commit into
grpc:masterfrom
shivaspeaks:slicer-lb
Draft

autosharding: Implement gRFC A119 auto-sharding lb policy#12989
shivaspeaks wants to merge 1 commit into
grpc:masterfrom
shivaspeaks:slicer-lb

Conversation

@shivaspeaks

Copy link
Copy Markdown
Member

Implements Auto-Sharding LB Policy following gRFC A119: https://github.com/easwars/proposal/blob/slicer/A119-autosharding-lb-policy.md

Note: this PR does not include xDS integration of autosharding lb.

@shivaspeaks

Copy link
Copy Markdown
Member Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new gRPC Autosharding Load Balancing plugin (:grpc-autosharding), including protobuf definitions for the DynamicShardingService and the implementation of the AutoShardingLoadBalancer, AutoShardingLoadBalancerProvider, and AutoShardingPicker to dynamically route requests based on key-range assignments. A critical compilation issue was identified in AutoShardingLoadBalancer.java where PickResult.withNoResult() is incorrectly called with arguments.

@shivaspeaks

Copy link
Copy Markdown
Member Author

Note: The unit tests are WIP.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant