发布于 2014-10-10 02:58:33 | 315 次阅读 | 评论: 0 | 来源: 网友投递
HAProxy WEB负载均衡解决方案
HAProxy提供高可用性、负载均衡以及基于TCP和HTTP应用的代 理,支持虚拟主机,它是免费、快速并且可靠的一种解决方案。
Haproxy 1.5.5补丁版发布。 2014-10-09 上一个版本是2014-09-03的1.5.4.修正了将近20个Bug。
此版本没有什么重大的改进,主要是解决了一些配置解析器的问题 (eg: stop trying to propagate process binding to dynamic backends, stop sending warnings for stats attached to multi-process frontends if it relies on single-process bind lines);修复了导致 HTTP 模式(close/keep-alive) 在后台被忽略的问题;修复了 TCP 检测相关的问题(不正确检测连接失败,没有 tcp-check 规则);更好的支持 systemd-wrapper 的 supervisord。本次版本可以很平滑的升级 :-)
完全改进:
2014/10/08 : 1.5.5 - DOC: Address issue where documentation is excluded due to a gitignore rule. - MEDIUM: Improve signal handling in systemd wrapper. - BUG/MINOR: config: don't propagate process binding for dynamic use_backend - MINOR: Also accept SIGHUP/SIGTERM in systemd-wrapper - DOC: clearly state that the "show sess" output format is not fixed - MINOR: stats: fix minor typo fix in stats_dump_errors_to_buffer() - DOC: indicate in the doc that track-sc* can wait if data are missing - MEDIUM: http: enable header manipulation for 101 responses - BUG/MEDIUM: config: propagate frontend to backend process binding again. - MEDIUM: config: properly propagate process binding between proxies - MEDIUM: config: make the frontends automatically bind to the listeners' processes - MEDIUM: config: compute the exact bind-process before listener's maxaccept - MEDIUM: config: only warn if stats are attached to multi-process bind directives - MEDIUM: config: report it when tcp-request rules are misplaced - MINOR: config: detect the case where a tcp-request content rule has no inspect-delay - MEDIUM: systemd-wrapper: support multiple executable versions and names - BUG/MEDIUM: remove debugging code from systemd-wrapper - BUG/MEDIUM: http: adjust close mode when switching to backend - BUG/MINOR: config: don't propagate process binding on fatal errors. - BUG/MEDIUM: check: rule-less tcp-check must detect connect failures - BUG/MINOR: tcp-check: report the correct failed step in the status - DOC: indicate that weight zero is reported as DRAIN
HAProxy提供高可用性、负载均衡以及基于TCP和HTTP应用的代理,支持虚拟主机, 它是免费、快速并且可靠的一种解决方案。HAProxy特别适用于那些负载特大的web站点, 这些站点通常又需要会话保持或七层处理。HAProxy运行在当前的硬件上,完全可以支持数以万计的并发连接。并且它的运行模式使得它可以很简单安全的整 合进您当前的架构中, 同时可以保护你的web服务器不被暴露到网络上。
下图是HAProxy的架构: