高可用性 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. 高可用