Haproxy 负载均衡 udp 服务器

标签 haproxy

haproxy 是否支持 udp 负载均衡?

我们只是在后端服务器上使用一个简单的 python 脚本,它将监听 udp 数据包的特定端口。

最佳答案

HAProxy也适用于 TCP/HTTP 和 UNIX 套接字:“...

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



......”但显然它不支持UDP,除了日志目的。

Nginx is an option你可以考虑。

关于Haproxy 负载均衡 udp 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31451336/

相关文章:

mysql - 通过 ActiveRecord 将查询分发到多个数据库

java - 在 Tomcat 的访问日志中记录 HAProxy 特定密码

macos - mac 10.11.5 上的 docker + haproxy 不起作用

node.js - HaProxy + docker运行状况检查会重启死容器

java - 位桶服务器的 Haproxy 配置

HAProxy 有时会选择错误的 acl

rest - 为 REST 资源提供极其激进的 HTTP 缓存的建议

ssl - HAPROXY 不平衡 SSL

failover - HAProxy - 在故障转移后保持 session 粘性

解析 HttpLog 格式的正则表达式模式