Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hash and direct pick strategies #100

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sevenhe1205
Copy link

Add hash and direct pick strategies

The grpcbox_client get_channel function adds support for hash and direct strategies
gproc_pool:pick_worker uses the hash/direct policy. Options do not contain the Key parameter. gproc_pool:pick_worker uses the round_robin/random strategy

@sevenhe1205 sevenhe1205 changed the title The grpcbox_client get_channel function adds support for hash and dir… Add hash and direct pick strategies May 5, 2023
@tsloughter
Copy link
Owner

The reason I didn't have these is they aren't in the grpc LB spec https://github.com/grpc/grpc/blob/master/doc/load-balancing.md#load-balancing-policies

But maybe that shouldn't stop us...

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.

None yet

3 participants