aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/resources/reference.conf
diff options
context:
space:
mode:
authorDiego <diegolparra@gmail.com>2014-05-07 22:07:02 -0300
committerDiego <diegolparra@gmail.com>2014-05-07 22:07:02 -0300
commitf08cb7395f1b18cd473d876fa862bfdebe61788c (patch)
treeeae8d5808d7b504c9940a07da6399ab85723f0c8 /kamon-core/src/main/resources/reference.conf
parent87b17dedc5f425ab4601e21f4d202b60a412d43c (diff)
downloadKamon-f08cb7395f1b18cd473d876fa862bfdebe61788c.tar.gz
Kamon-f08cb7395f1b18cd473d876fa862bfdebe61788c.tar.bz2
Kamon-f08cb7395f1b18cd473d876fa862bfdebe61788c.zip
+ core: MinMaxCounter for actor mailbox size
Diffstat (limited to 'kamon-core/src/main/resources/reference.conf')
-rw-r--r--kamon-core/src/main/resources/reference.conf27
1 files changed, 27 insertions, 0 deletions
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