General Configuration

The following documents the General Settings that can be used in the bondy.conf file.

Coordinated Startup / Shutdown

Key

Acceptable Values

Default

startup.wait_for_store_partitions

Defines whether Bondy will wait for the db partitions to be initialised before continuing with initialisation. This is automatically turned on in case the property startup.wait_for_store_hashtrees is on.

on | off

on

startup.wait_for_store_hashtrees

Defines whether Bondy will wait for the db hashtrees to be built before continuing with initialisation. In order for the hashtrees to be build the property

aae_enabled needs to be on.

This is automatically turned on in case the property startup.wait_for_store_aae_exchange is on.

on | off

on

startup.wait_for_store_aae_exchange

Defines whether Bondy will wait for the first active anti-entropy (AAE) exchange to be finished before continuing with initialisation.

In order for the AAE exchange to be executed

the property aae_enabled needs to be on.

on | off

on

shutdown_grace_period

The period in seconds that Bondy will wait for clients to gracefully terminate their connections when the router is shutting down.

a time duration with units e.g. '10s' for 10 seconds

30s

Erlang VM settings

Key

Acceptable Values

Default

nodename

Name of the Erlang node.

text

bondy@127.0.0.1

distributed_cookie

Cookie for distributed node communication. All nodes in the same cluster should use the same cookie or they will not be able to communicate.

text

bondy

erlang.async_threads

Sets the number of threads in async thread pool. If thread support is available, the default is 64.

More information at: http://erlang.org/doc/man/erl.html

integer between 0 and 1024

64

erlang.max_ports

The number of concurrent ports/sockets.

integer between 1024 and 134217727

65536