grpcbox icon indicating copy to clipboard operation
grpcbox copied to clipboard

Add hash and direct pick strategies

Open sevenhe1205 opened this issue 1 year ago • 1 comments

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 avatar May 05 '23 02:05 sevenhe1205

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...

tsloughter avatar Nov 10 '23 21:11 tsloughter