admin管理员组文章数量:1434363
I have 3 haproxy nodes with the same config
backend nginx_cache
balance uri path-only
hash-type consistent
option httpchk HEAD /ping/alive
default-server check maxconn 32000
fullconn 250000
server test1 192.168.1.2:8080
server test2 192.168.1.3:8080
server test3 192.168.1.4:8080
How can I ensure that each of the HAProxy servers uses the same hashing algorithm and directs traffic to only one server for the same URI path?
I tried passing the path-server mapping to Redis via a Lua script, but I encountered issues with connecting Lua to the Redis cluster.
Any ideas on how to solve this issue?
本文标签: load balancinguri balance in several haproxy serversStack Overflow
版权声明:本文标题:load balancing - uri balance in several haproxy servers - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745635464a2667530.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论