JGroups 3.2.0.Final 发布了,该版本最重要的特性包括:
- RELAY2
- Used for cross-site replication in Infinispan.
- Compared to RELAY, RELAY2 allows to be connected to more than 1 site. In 3.3, we're planning to add hierarchical routing, ie. to allow for tree-like site composition.
- Multicasting across sites is also supported.
- [http://www.jgroups.org/manual-3.x/html/user-advanced.html#Relay2Advanced ]
- Internationalized logging
- The most important user-facing warnings and error messages (e.g. configuration errors) have been internationalized.
- Error/warning translations are in jg-messages.properties. If someone wants to translate these into a different language, e.g. French, just copy jg-messages.properties into jg-messages_fr.properties and translate the messages. The new file now only needs to be added to the classpath, no changes to JGroups !
- Reduction of error/warn messages
- Sometimes there are a lot of recurring warnings or error messages, e.g. warnings about messages received from different clusters, or warnings about messages from members with different JGroups versions.
- These can now be suppressed for a certain time, e.g. we can configure that there's only *one* warning every 60 seconds about messages from different clusters.
- [https://issues.jboss.org/browse/JGRP-1518 ]
完整的改进记录请看 here .
JGroups是一个可靠的群组通讯Java工具包。它基于IP组播(IP multicast),但在可靠性,组成员管理上对它作了扩展。
JGroups的可靠性体现在:
1,对所有接收者的消息的无丢失传输(通过丢失消息的重发)
2,大消息的分割传输和重组
3,消息的顺序发送和接收
4,原子性:消息要么被所有接收者接收,要么全不
JGroups 的详细介绍:请点这里
JGroups 的下载地址:请点这里
相关阅读:
JGroups入门教程 http://www.linuxidc.com/Linux/2013-10/91114.htm
