Java多播通訊框架 JGroups 3.0.11/3.1.0 發布

jopen 12年前發布 | 8K 次閱讀 JGroups

JGroups是一個可靠的群組通訊Java工具包。它基于IP組播(IP multicast),但在可靠性,組成員管理上對它作了擴展。

JGroups的可靠性體現在:

1,對所有接收者的消息的無丟失傳輸(通過丟失消息的重發)
2,大消息的分割傳輸和重組
3,消息的順序發送和接收
4,原子性:消息要么被所有接收者接收,要么全不

JavaGroups的成員關系管理體現在:

1,可以知道組內有哪些成員
2,成員的加入,離開,掉線等的通知

JavaGroups的主要功能特征:

- 組的創建與刪除。組成員能在LAN或WAN環境內互相發送消息
- 組的成員加入或離開
- 組成員的檢測和通知:加入,離開,掉線
- 檢測與移除已掉線的成員
- 消息的組播 (member-to-group或point-to-multipoint)
- 消息的點對點發送 (member-to-member或point-to-point)
- 支持UDP (IP Multicast), TCP, JMS等傳輸協議
- 免費開放源代碼(LGPL)

Java多播通訊框架 JGroups 3.0.11/3.1.0 發布

</div>

JGroups 剛發布了兩個新版本,分別是 3.0.113.1.0 !

JGroups 3.0.11 用于 EAP 6 / JBoss 7.x 應用服務器的版本,主要是 bug 修復,包含兩個性能方面的改進。

而 3.1.0 解決了超過 90 個問題,主要有:

  • NAKACK, UNICAST and NAKACK2 now use a new internal data structure for message delivery and retransmission, which reduces the memory needed by JGroups
  • MERGE3: a new merge protocol for large clusters
  • RSVP: blocks the sender until a given message has been received by all members of the target set
  • A new Total Order Anycast (TOA) protocol needed by the next version of Infinispan to deliver messages to a cluster subset in total order
  • New discovery protocols for mod-cluster (not yet completely done), Rackspace and OpenStack
  • MPerf / UPerf: dynamic multicast and unicast performance tests
  • Concurrent joins to a non-existing cluster are faster, and there's less chances of a merge happening (optimization)
  •  TCP: socket creation doesn't block sending of regular messages (optimization)

相關鏈接:
[1] https://sourceforge.net/projects/javagroups/files/JGroups/
[2] https://github.com/belaban/JGroups/blob/master/doc/ReleaseNotes-3.1.0.txt
[3] http://www.jgroups.org/manual-3.x/html/index.html

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!