diff options
Diffstat (limited to 'kamon-core/src/main/resources/application.conf')
-rw-r--r-- | kamon-core/src/main/resources/application.conf | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/kamon-core/src/main/resources/application.conf b/kamon-core/src/main/resources/application.conf new file mode 100644 index 00000000..370acae9 --- /dev/null +++ b/kamon-core/src/main/resources/application.conf @@ -0,0 +1,47 @@ +akka { + actor { + default-dispatcher { + fork-join-executor { + # Min number of threads to cap factor-based parallelism number to + parallelism-min = 2 + + # 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 = 3.0 + + # Max number of threads to cap factor-based parallelism number to + parallelism-max = 8 + } + + throughput = 100 + } + } +} + +# Dispatcher is the name of the event-based dispatcher +#type = Dispatcher + +# What kind of ExecutionService to use +#executor = "kamon.executor.InstrumentedExecutorServiceConfigurator" + +# 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 + + + + + + + |