hi, moe

I think what you mention is like "ip_hash" in NGINX or some other.

ConsistentHashLB is hashed by parameters because a same logic will just act the 
same under the same parameters (which we call it reenterability). Adding other 
parameters will break it.

While DUBBO provides the ability extending load balancers which makes it 
possible to implement kinds of balancers like ip_hash, app_version_hash or 
others.

best regards,

Jason

> On Feb 22, 2019, at 11:00, 徐靖峰 <kirito....@foxmail.com> wrote:
> 
> Hi all
> 
> I don’t think that ConsistentHashLoadBalancer should only load balance by the 
> method param, maybe more configuration can provide to the user to achieve 
> more type of dynamic hash parameters, such as hash by the requestIp, more 
> request param.
> 
> 

Reply via email to