Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在设置一个一致性缓存集群,在配置集群时我遇到了 config<unicast-listener>和<multicast-listener>. 我使用具有 2 个节点的复制缓存。这两种配置有什么不同,以及选择一种配置需要考虑什么标准。
<unicast-listener>
<multicast-listener>
它配置集群节点如何发现和相互通信。unicast-listener 使用普通的点对点通信,而 multicast-listener 使用 IP 协议的组播特性在节点之间进行通信。多播侦听器自动发现其他节点,而单播侦听器使用众所周知的地址(配置设置)来描述组成集群的节点。