From f08cb7395f1b18cd473d876fa862bfdebe61788c Mon Sep 17 00:00:00 2001 From: Diego Date: Wed, 7 May 2014 22:07:02 -0300 Subject: + core: MinMaxCounter for actor mailbox size --- kamon-core/src/main/resources/reference.conf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'kamon-core/src/main/resources/reference.conf') diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index f29b9220..e5168929 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -56,6 +56,33 @@ kamon { } } + default-dispatcher { + # Dispatcher is the name of the event-based dispatcher + type = Dispatcher + + # What kind of ExecutionService to use + executor = "fork-join-executor" + + # Configuration for the fork join pool + fork-join-executor { + + # Min number of threads to cap factor-based parallelism number to + parallelism-min = 2 + + # Parallelism (threads) ... ceil(available processors * factor) + parallelism-factor = 2.0 + + # Max number of threads to cap factor-based parallelism number to + parallelism-max = 10 + } + + # Throughput defines the maximum number of messages to be + # processed per actor before the thread jumps to the next actor. + # Set to 1 for as fair as possible. + throughput = 100 + } + + trace { # If ask-pattern-tracing is enabled, a WARN level log message will be generated if a future generated by the `ask` # pattern fails with a `AskTimeoutException` and the log message will contain a stack trace captured at the moment -- cgit v1.2.3