Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java HA framework

I am writing a small proxy application which should be redundant, e.g. primary proxy will be running on one server and the redundant one will run on a separate server. Is there a simple high-availability framework which I can use to implement this redundancy? For example, this HA framework would send pings between instances and raise some sort of exception or notification on the other instance when the first one goes down.

like image 277
Ariod Avatar asked Sep 15 '10 14:09

Ariod


People also ask

What is ha in Java?

A high availability architecture is a strategy to eliminate service interruption and process failures. Every organization is highly dependent on the Internet, because of which machines and servers for companies should remain readily available at all times.


1 Answers

Building such a system has been my routine job in recent years. I have found jgroups a very usable tools to receive and handle such kind of grouping events. This is the case if you want to build your own HA infrastructure. I don't know, but maybe in your case just a simple reverse proxy such as HAProxy can be enough.

like image 107
Amin Abbaspour Avatar answered Oct 04 '22 20:10

Amin Abbaspour