Shakil Abbas
Shakil Abbas

Reputation: 569

Haproxy loadbalancing udp server

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.

Upvotes: 9

Views: 56688

Answers (3)

Jiri B
Jiri B

Reputation: 390

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

Upvotes: 1

Anand
Anand

Reputation: 10120

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.

Upvotes: 6

rideswitch
rideswitch

Reputation: 1521

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

Upvotes: 4

Related Questions