Haproxy loadbalancing udp server
Asked Answered
B

3

9

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.

Breathtaking answered 16/7, 2015 at 10:12 Comment(0)
S
6

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.

Separative answered 18/8, 2016 at 10:46 Comment(1)
Nginx is an option if you already have Nginx. If you need to install something that does only UDP load-balancing, I'd suggest something like "pen" which is less convoluted, and it does not come with a lot of features that you might not need.Miamiami
H
4

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

Hordein answered 15/9, 2015 at 21:48 Comment(0)
W
1

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

Whiffler answered 22/3, 2021 at 12:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.