From cd1a9dd25fb550a515e7a7408b88233773268c38 Mon Sep 17 00:00:00 2001 From: Ivan Topolnak Date: Wed, 7 Aug 2013 19:06:33 -0300 Subject: upgrading to akka 2.2 --- kamon-core/src/main/resources/application.conf | 47 ++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 kamon-core/src/main/resources/application.conf (limited to 'kamon-core/src/main/resources/application.conf') 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 + + + + + + + -- cgit v1.2.3