Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

Haproxy loadbalancing udp server

Writer Olivia Zamora

Does haproxy supports udp loadbalancing?

We're just using a simple python script on backend server which will be listening on specific port for the udp packects.

3 Answers

HAProxy is for TCP/HTTP and UNIX sockets as well: "…

This is alternative to the TCP listening port. Haproxy will then receive UNIX connections on the socket

…" but apparently it has no support of UDP except for logging purposes.

Nginx is an option you can consider though.

1

Unfortunately Haproxy doesn't support udp load balancing. See this question for more details: udp traffic with Iperf for haproxy

Haproxy 2.3 allows proxying of syslog UDP. Thus one could bind an UDP socket only to proxy syslog.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.