diff options
author | Diego Parra <dparra@despegar.com> | 2013-05-03 17:06:10 -0300 |
---|---|---|
committer | Diego Parra <dparra@despegar.com> | 2013-05-03 17:06:10 -0300 |
commit | 2caece9ef7574406c548b4a1f333de4c9579b3a2 (patch) | |
tree | 9536c6b95fac7dca34a5c2dae27d931b88694632 /src/main/resources/application.conf | |
parent | fc8a371548d9de3c5e0719dcfcf041ca31bc2227 (diff) | |
download | Kamon-2caece9ef7574406c548b4a1f333de4c9579b3a2.tar.gz Kamon-2caece9ef7574406c548b4a1f333de4c9579b3a2.tar.bz2 Kamon-2caece9ef7574406c548b4a1f333de4c9579b3a2.zip |
Initial Commit Kamon
Diffstat (limited to 'src/main/resources/application.conf')
-rw-r--r-- | src/main/resources/application.conf | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf new file mode 100644 index 00000000..370acae9 --- /dev/null +++ b/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 + + + + + + + |