Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How can I use this library in java application ? #228

Open
laxmikant99 opened this issue Nov 2, 2020 · 2 comments
Open

[Question] How can I use this library in java application ? #228

laxmikant99 opened this issue Nov 2, 2020 · 2 comments

Comments

@laxmikant99
Copy link

Is there any way I can use memberlist go library in my java distributed application for failure detection ?

@prologic
Copy link

I would port the code to Java or find a similar library written in Java :)

@xescugc
Copy link

xescugc commented Dec 11, 2020

You could have a small service running alongside of each application instance pinging each other (the memberlist svc and your app) so then the memberlist could communicate with the others about the status of your app depending on the Ping.

That would "kind" of work for failure detection, but if you want to have more information then you would need to add layers on top of that svc. For example if you want to add data of the application to the heartbeats memberlist uses to communitate, or have the list of members and so.

It's not impossible though haha.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants