# What does enabling Maglev consistent hashing in Cilium's kube-proxy replacement give you?

Cilium, Hard (Expert), Networking. https://k8wiz.com/uquiz/what-does-enabling-maglev-consistent-hashing-in-ciliums-kube-proxy-replacement-give-you

- A. Session affinity for HTTP clients based on a cookie it sets
- B. Backends chosen by their measured response latency
- C. Encryption of traffic between load balancer and backends
- D. All nodes pick the same backend for a connection, with little churn

**Answer:** All nodes pick the same backend for a connection, with little churn

**Explanation:** By default each node picks backends on its own, so if a connection's packets start arriving at a different node, for example after an upstream ECMP change, they can land on another backend. With Maglev every node computes the same lookup table from the backend list. Any node then maps a connection to the same backend without syncing state, and adding or removing a backend moves few existing connections.
