Java心跳机制 [英] Heartbeat Mechanism in Java

查看:459
本文介绍了Java心跳机制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您是否知道是否有设计良好的(基于状态机的)心跳机制用Java作为开源项目编写? 实际上,基于状态对我来说不是强制性的.我只是假设这种设计涵盖了各种故障转移案例.

Do you know if there is well designed (state machine based) heartbeat mechanism written in Java as opensource project? Actually state-based is not mandatory for me. I just assume that this kind of design covers various failover case.

在Google搜索后,我发现了Java DMK.您的回答对我有帮助,避免测试所有此类项目以找到更好的项目.

After google searching I have found Java DMK. Your responses will be helpful for me to avoid testing all such projects to find the better one.

推荐答案

我可以将您指向 JGroups 项目.它具有分散的系统,该系统具有开箱即用的群集状态和心跳功能.

I could point you to JGroups project. It has decentralized system that has cluster state and heardbeat functionality out of the box.

还有一个著名的 ZooKeeper 项目,它也满足您的一些需求.

Also there are famous ZooKeeper project, that also has some of your needs.

希望有帮助.

这篇关于Java心跳机制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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