loxilb-io / loxilb

eBPF based cloud-native load-balancer for Kubernetes|Edge|Telco|IoT|XaaS.
https://www.loxilb.io
Apache License 2.0
1.37k stars 113 forks source link

Need to make sure if hashing used by loxilb is consisent #222

Closed UltraInstinct14 closed 1 year ago

UltraInstinct14 commented 1 year ago
    Could you please describe hash mode in details. What algorithms is used to get hash? For example 2 loxilb without HA sync (just anycast vip announce) getting the same hash for same 5-tuple and balance to the same endpoints?

Originally posted by @Slepwin in https://github.com/loxilb-io/loxilb/discussions/221

PacketCrunch commented 1 year ago

Consistent hashing has been confirmed after few code fixes. Will be part of v0.8.3