eclipse-vertx / vert.x

Vert.x is a tool-kit for building reactive applications on the JVM
http://vertx.io
Other
14.32k stars 2.08k forks source link

High Availability mode #1875

Open maxplanck76er opened 7 years ago

maxplanck76er commented 7 years ago

Hello,

The documentation sais that : "When vert.x runs with HA enabled, if a vert.x instance where a verticle runs fails or dies, the verticle is redeployed automatically on another vert.x instance of the cluster"

So, if I have really understood what it means, if any of my vert.x instance dies, another one in the cluster will redeploy the failed instance verticle as a child verticle. But if the second instance dies itself, the two verticles are then unavailable.

Is there any way to allow instances to die while keeping the application running "forever" ? Something to allow self-healing of the instances ?

Thx in advance for your help.

InfoSec812 commented 7 years ago

AFAIK, there is nothing built in to Vert.x to achieve this, but you could deploy on OSGi or some other container engine which can provide this sort of service.

Deven

On Tue, Mar 14, 2017 at 9:35 AM, fwo notifications@github.com wrote:

Hello,

The documentation sais that : "When vert.x runs with HA enabled, if a vert.x instance where a verticle runs fails or dies, the verticle is redeployed automatically on another vert.x instance of the cluster"

So, if I have really understood what it means, if any of my vert.x instance dies, another one in the cluster will redeploy the failed instance verticle as a child verticle. But if the second instance dies itself, the two verticles are then unavailable.

Is there any way to allow instances to die while keeping the application running "forever" ? Something to allow self-healing of the instances ?

Thx in advance for your help.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eclipse/vert.x/issues/1875, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGFa8u3ken49DGIyL1gKOfQ52OuIwLnks5rlpelgaJpZM4MclI8 .

maxplanck76er commented 7 years ago

Thank you Deven,

Self healing is one of the most important features of reactive applications. I think it shouldn't be very difficult to add to the current HA implementation, I'm currently trying to add it to the vert.x toolbox.