gpt4 book ai didi

load-balancing - 使用 HAProxy AND Keepalived 与仅使用 Keepalived 的优势

转载 作者:行者123 更新时间:2023-12-04 06:41:55 24 4
gpt4 key购买 nike

根据(详细)主题,与使用 Keepalived 相比有什么优势吗? & HAProxy作为 HA 网络服务器 loadbalancer vs 一个纯粹的keepalived解决方案?

最佳答案

Keepalived 在第 4 层工作,因此根本没有第 7 层知识。通过将 HAProxy 和 Keepalived 一起使用,您可以获得 HAProxy 在第 7 层中提供的一些选项的好处,例如 Stickiness , Sampling and converting information , ACLs and conditions , Content switching , Stick-tables , Formated strings , HTTP rewriting and redirection , Server protection , etc .

如果您只需要一个负载均衡器而不需要任何操作或任何高层决策(第 7 层),您可以只使用 Keepalived,它会更快,因为它在第 4 层工作。

关于load-balancing - 使用 HAProxy AND Keepalived 与仅使用 Keepalived 的优势,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29292393/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com