开发者

open source gossip-based membership protocol?

开发者 https://www.devze.com 2022-12-08 08:13 出处:网络
I am looking for a library which I can plug into a distributed application which implements any gossip-based membership protocol.

I am looking for a library which I can plug into a distributed application which implements any gossip-based membership protocol.

Such a library would allow me to send/receive membership lists, merge received membership lists, etc... Even better would be if the library implemented a protocol with performance O(l开发者_如何学Pythonogn) performance guarantees.

Does anyone know of any open source library like this? It doesn't need to meet all of the aforementioned requirements; even something partially implemented would be helpful.


Take a look at this on google code:

http://code.google.com/p/gossip-protocol-java/

I happen to stumble upon it yesterday whilst looking for java based gossip implementation. It's more a reference implementation for someone to build upon, but it gives the general idea, and after reading through the code you'll definitely be able to build your own or branch what's there to add any features you need.

HTH


Have you looked at Apache Zookeeper? I'm not sure if it's what you're looking for.

ZooKeeper is a high-performance coordination service for distributed applications. It exposes common services - such as naming, configuration management, synchronization, and group services - in a simple interface so you don't have to write them from scratch. You can use it off-the-shelf to implement consensus, group management, leader election, and presence protocols.

C# bindings are also available.

0

精彩评论

暂无评论...
验证码 换一张
取 消