Show Table of Contents
19.5.1. 关于
19.5. Web、HTTP 连接器和 HTTP 群集
19.5.1. 关于 mod_cluster HTTP 连接器
mod_cluster 是在 JBoss Web 容器里启用负载平衡的模块。它被称为 connector。使用哪个连接器取决于您用于 JBoss EAP 6 的 Web 容器。要了解其他连接器的详情,请参考下面的内容:
mod_cluster 连接器有几个优势。
- mod_cluster Management Protocol (MCMP) 是应用服务器节点和 Apache Web 服务器(因此被称为“the web server”)之间的一个额外连接,应用服务器节点使用它通过自定义的 HTTP 方法集来传输服务器端的负载平衡因子及生命周期事件到 Web 服务器。
- Web 服务器的动态配置允许 JBoss EAP 6 可在运行时进行修改而无需额外的配置。
- JBoss EAP 6 执行负载平衡器因子的计算而不是依赖于 Web 服务器。这使得负载平衡度量比其他连接器更为准确。
- mod_cluster 提供了应用程序生命周期的细颗粒度控制。每个服务器将任何 Web 应用程序上下文生命周期事件转发给 Web 服务器,通知它启动停止对给定上下文的路由请求。这避免了最终用户看到由于不可用资源引起的 HTTP 错误。
- 您可以使用 AJP、HTTP 或 HTTPS 传输协议。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.