2012-01-31 15:00:46 +01:00
|
|
|
######################################
|
|
|
|
|
# Akka Cluster Reference Config File #
|
|
|
|
|
######################################
|
|
|
|
|
|
2012-02-21 14:39:08 -06:00
|
|
|
# This is the reference config file that contains all the default settings.
|
2012-01-31 15:00:46 +01:00
|
|
|
# Make your edits/overrides in your application.conf.
|
|
|
|
|
|
|
|
|
|
akka {
|
|
|
|
|
|
|
|
|
|
cluster {
|
2012-02-08 14:14:01 +01:00
|
|
|
# node to join - the full URI defined by a string on the form of "akka://system@hostname:port"
|
|
|
|
|
# leave as empty string if the node should be a singleton cluster
|
|
|
|
|
node-to-join = ""
|
2012-02-07 16:53:49 +01:00
|
|
|
|
2012-03-09 12:56:56 +01:00
|
|
|
# should the 'leader' in the cluster be allowed to automatically mark unreachable nodes as DOWN?
|
|
|
|
|
auto-down = on
|
|
|
|
|
|
2012-02-20 15:26:12 +01:00
|
|
|
# the number of gossip daemon actors
|
|
|
|
|
nr-of-gossip-daemons = 4
|
2012-03-15 23:00:20 +01:00
|
|
|
|
|
|
|
|
# the number of deputy nodes (the nodes responsible for breaking network partitions)
|
2011-01-01 01:50:33 +01:00
|
|
|
nr-of-deputy-nodes = 3
|
2012-02-20 15:26:12 +01:00
|
|
|
|
2012-03-15 23:00:20 +01:00
|
|
|
# how long should the node wait before starting the periodic tasks maintenance tasks?
|
|
|
|
|
periodic-tasks-initial-delay = 1s
|
|
|
|
|
|
|
|
|
|
# how often should the node send out gossip information?
|
2012-06-04 23:21:28 +02:00
|
|
|
gossip-interval = 1s
|
2012-03-15 23:00:20 +01:00
|
|
|
|
|
|
|
|
# how often should the leader perform maintenance tasks?
|
2012-06-04 23:21:28 +02:00
|
|
|
leader-actions-interval = 1s
|
2012-03-15 23:00:20 +01:00
|
|
|
|
|
|
|
|
# how often should the node move nodes, marked as unreachable by the failure detector, out of the membership ring?
|
2012-06-04 23:21:28 +02:00
|
|
|
unreachable-nodes-reaper-interval = 1s
|
2012-01-31 15:00:46 +01:00
|
|
|
|
|
|
|
|
# accrual failure detection config
|
|
|
|
|
failure-detector {
|
|
|
|
|
|
|
|
|
|
# defines the failure detector threshold
|
|
|
|
|
# A low threshold is prone to generate many wrong suspicions but ensures
|
|
|
|
|
# a quick detection in the event of a real crash. Conversely, a high
|
|
|
|
|
# threshold generates fewer mistakes but needs more time to detect
|
|
|
|
|
# actual crashes
|
|
|
|
|
threshold = 8
|
|
|
|
|
|
|
|
|
|
max-sample-size = 1000
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|