Show Table of Contents
15.7. JGroups
15.7.1. 关于 JGroups
JGroups 是一个消息工具包,它允许开发人员创建可以运行在可能有问题的系统里的可靠的消息应用程序。JGroups 可以用来创建群集,其中节点可以发送消息到彼此。
JGroups 子系统为群集里服务器如何与彼此通讯提供了所有的通讯机制。EAP 预配置了两个 JGroups 栈。
- udp - 群集里的节点使用 UDP(User Datagram Protocol)多点传送来进行彼此通讯。UDP 通常比 TCP 快但不如它可靠。
- tcp - 群集里的节点使用 TCP(Transmission Control Protocol)来进行彼此通讯。 TCP 比 UDP 慢但递送数据到目的地更为可靠。
您可以使用预配置的栈,或者您可以定义自己的栈来满足系统的需要。

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.