Catalogue / cloudflare-2020-maglev-load-balancer

Cloudflare replaces stateful L4 TCP proxies with stateless Linux IPVS Maglev and Foo-Over-UDP load balancers

Cloudflare, 2020. Backend data-center L4 load balancer.

Organisation
Cloudflare
Evidence
Reported from production
Source
High Availability Load Balancers with Maglev

The Cloudflare Blog, published 2020-06-10

Records

Decision#d1

Replace stateful L4 proxies with stateless Linux IPVS Maglev load balancers behind 5-tuple BGP ECMP

Decision#d2

Encapsulate IPVS direct-forwarded packets with Foo-Over-UDP over virtual interfaces and raise internal MTUs

Decision#d3

Program IPVS via Go netlink and reconcile iptables rules using comment-embedded rule hashes

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free.