haproxy streaming - no dependency on proxy -


i have been testing haproxy cookie based load balancing our streaming servers, lets example haproxy falls on (i know unlikely) streamer gets disconnected, there way of passing on connection without relying on haproxy, laving streamer connected destination , cutting ties haproxy.

that not possible design.

haproxy proxy (as name suggests). such, each communication, have 2 independent tcp-connections, 1 between client , haproxy , between haproxy , backend server.

if haproxy fails or need failover, standing connections have re-created. can't pass on existing connections server since there lot of state attached each connection can't transferred.

if want remove loadbalancer equation after initial connection initialization, should @ layer-3 loadbalancing solutions lvs on linux direct routing. note these solutions less flexible haproxy. there no such thing free lunch after :)


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -