Akka cluster make node as unreachable problem

Source: Internet
Author: User

If there is no problem confirming the cluster side, you should check the application.conf of Akka.

In Akka cluster, it is mainly through the fault detection mechanism (Failure Detector) to see whether the nodes in the cluster handle the available state. Each node in the cluster is monitored (up to 5) if the remaining nodes in the cluster are in a normal state, when one of the node A detects another node B processing the unreachable (unreachable) state, it notifies the remaining nodes through the gossip protocol. The remaining nodes mark the B node as unreachable. If you configured the Auto-down-after-unreachable,b node in application.conf, it will be set to down or remove. The B node must be restarted before it can rejoin the cluster.

If you confirm that the failed node is normal and the cluster marks it as unreachable, you will need to configure a separate dispacher for the cluster.

false  for the cluster actors as described in cluster Dispatcher.

Specific configuration:

Akka.cluster.use-dispatcher = cluster-Dispatcher cluster-Dispatcher {  = "Dispatcher"   = "Fork-join-executor"  fork-join-Executor {    parallelism-min = 2     Parallelism-max = 4  }}

Akka Document Address: http://doc.akka.io/docs/akka/2.4.1/java/cluster-usage.html

Akka cluster make node as unreachable problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.