Java的分散式聚类库 [英] Decentralized Clustering library for Java

查看:478
本文介绍了Java的分散式聚类库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图开发一个网络安全的分散式复制分布式系统。我正在寻找一个具有以下要求的java库:

I am trying to develop a network safe decentralized replication based distributed system. I am looking for a java library with following requirements:


  1. 库应该能够以分散的方式初始化n个节点没有主机或从机)。它应该能够在启动时从网络故障中恢复。例如:我尝试启动一个具有5个节点的网络,但只有3个节点启动。

  1. Library should be able to initialize the n nodes in a decentralized fashion (no master or slave). It should be able to recover from network failure at start itself. For example: I try to initiate a network with 5 nodes, but only 3 get started.

一旦初始化,就应该能够检测到节点丢失,通知用户,以便用户可以对应用程序采取一些补救措施并从中恢复。我不担心任何新节点或故障节点再次加入集群。但如果它也支持,那是好的。

Once initialized it should be able to detect the node loss, notify the user so user can take some remedial steps on application front and recover from it. I am not concerned about any new node or failed node joining the cluster back again. But if it supports that too, it is good.

它应该允许P2P通信。

It should allow P2P communication. If it can support efficient P2P and multicast both that is very good.

允许在节点之间发送Runnable消息和可序列化对象,就像Aleph中一样。 Alepha是好的,它不支持节点故障/恢复。

Allow sending Runnable message and serializable objects between nodes as in Aleph. Alepha is good one, it does not support the node failure/recovery.

基本上,我将根据活动节点列表创建节点的动态仲裁,并在不同仲裁上复制对象。我的框架工作将允许用户谈论这些仲裁和访问对象。在节点故障的情况下,我需要重新生成仲裁与新的活动节点列表。我想专注于仲裁算法,节省网络能力。请为此目的建议一些合适的图书馆。

Basically I will be creating the dynamic quorums of nodes based on list of active nodes and replicating the objects on different quorums. My frame-work will allow the users to talk these quorums and access the objects. In case of node failure I need to rebuild quorum with new list of active nodes. I want to concentrate on quorum algorithm and save energy on networking capability. Please suggest some suitable library for this purpose. If you know any similar quorum solution too, kindly refer that too.

推荐答案

如果没有人回答,我只是更新解决方案我用:JGroups。非常适合基于群集的多播。

As no one answered, I am just updating the solution I used: JGroups. It is great for cluster based multi casting.

这篇关于Java的分散式聚类库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆