|
|
|
@ -92,7 +92,7 @@ core-dispatcher { |
|
|
|
throughput = 5 |
|
|
|
} |
|
|
|
|
|
|
|
# This dispatcher is used for system rule actors |
|
|
|
# This dispatcher is used for system rule chains and rule node actors |
|
|
|
system-rule-dispatcher { |
|
|
|
type = Dispatcher |
|
|
|
executor = "fork-join-executor" |
|
|
|
@ -115,30 +115,7 @@ system-rule-dispatcher { |
|
|
|
throughput = 5 |
|
|
|
} |
|
|
|
|
|
|
|
# This dispatcher is used for system plugin actors |
|
|
|
system-plugin-dispatcher { |
|
|
|
type = Dispatcher |
|
|
|
executor = "fork-join-executor" |
|
|
|
fork-join-executor { |
|
|
|
# Min number of threads to cap factor-based parallelism number to |
|
|
|
parallelism-min = 2 |
|
|
|
# Max number of threads to cap factor-based parallelism number to |
|
|
|
parallelism-max = 12 |
|
|
|
|
|
|
|
# The parallelism factor is used to determine thread pool size using the |
|
|
|
# following formula: ceil(available processors * factor). Resulting size |
|
|
|
# is then bounded by the parallelism-min and parallelism-max values. |
|
|
|
parallelism-factor = 0.25 |
|
|
|
} |
|
|
|
# How long time the dispatcher will wait for new actors until it shuts down |
|
|
|
shutdown-timeout = 1s |
|
|
|
|
|
|
|
# Throughput defines the number of messages that are processed in a batch |
|
|
|
# before the thread is returned to the pool. Set to 1 for as fair as possible. |
|
|
|
throughput = 5 |
|
|
|
} |
|
|
|
|
|
|
|
# This dispatcher is used for tenant rule actors |
|
|
|
# This dispatcher is used for tenant rule chains and rule node actors |
|
|
|
rule-dispatcher { |
|
|
|
type = Dispatcher |
|
|
|
executor = "fork-join-executor" |
|
|
|
@ -160,50 +137,3 @@ rule-dispatcher { |
|
|
|
# before the thread is returned to the pool. Set to 1 for as fair as possible. |
|
|
|
throughput = 5 |
|
|
|
} |
|
|
|
|
|
|
|
# This dispatcher is used for tenant plugin actors |
|
|
|
plugin-dispatcher { |
|
|
|
type = Dispatcher |
|
|
|
executor = "fork-join-executor" |
|
|
|
fork-join-executor { |
|
|
|
# Min number of threads to cap factor-based parallelism number to |
|
|
|
parallelism-min = 2 |
|
|
|
# Max number of threads to cap factor-based parallelism number to |
|
|
|
parallelism-max = 12 |
|
|
|
|
|
|
|
# The parallelism factor is used to determine thread pool size using the |
|
|
|
# following formula: ceil(available processors * factor). Resulting size |
|
|
|
# is then bounded by the parallelism-min and parallelism-max values. |
|
|
|
parallelism-factor = 0.25 |
|
|
|
} |
|
|
|
# How long time the dispatcher will wait for new actors until it shuts down |
|
|
|
shutdown-timeout = 1s |
|
|
|
|
|
|
|
# Throughput defines the number of messages that are processed in a batch |
|
|
|
# before the thread is returned to the pool. Set to 1 for as fair as possible. |
|
|
|
throughput = 5 |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# This dispatcher is used for rule actors |
|
|
|
session-dispatcher { |
|
|
|
type = Dispatcher |
|
|
|
executor = "fork-join-executor" |
|
|
|
fork-join-executor { |
|
|
|
# Min number of threads to cap factor-based parallelism number to |
|
|
|
parallelism-min = 2 |
|
|
|
# Max number of threads to cap factor-based parallelism number to |
|
|
|
parallelism-max = 12 |
|
|
|
|
|
|
|
# The parallelism factor is used to determine thread pool size using the |
|
|
|
# following formula: ceil(available processors * factor). Resulting size |
|
|
|
# is then bounded by the parallelism-min and parallelism-max values. |
|
|
|
parallelism-factor = 0.25 |
|
|
|
} |
|
|
|
# How long time the dispatcher will wait for new actors until it shuts down |
|
|
|
shutdown-timeout = 1s |
|
|
|
|
|
|
|
# Throughput defines the number of messages that are processed in a batch |
|
|
|
# before the thread is returned to the pool. Set to 1 for as fair as possible. |
|
|
|
throughput = 5 |
|
|
|
} |