组件的高可用性 High Availability

High Availability

高可用性 java

Verticles can be deployed with High Availability (HA) enabled. In that context, when a verticle is app

verticle能够发布为“高可用性”的,这样的话当一个verticle被发布到一个实例上忽然死掉了, spa

 deployed on a vert.x instance that dies abruptly, the verticle is redeployed on another vert.x instance from the cluster. code

这个verticle会被从新发布到集群的另一个vert.x的实例上。 get


To run an verticle with the high availability enabled, just append the -ha switch: it

运行verticle为高可用性,只要追加参数-ha。 io

vertx run my-verticle.js -ha

When enabling high availability, no need to add -cluster.
class

在启用高可用性时,不用追加-cluster参数。 集群


More details about the high availability feature and configuration in the High Availability and Fail-Oversection. 高可用

相关文章
相关标签/搜索