From 99c4aedeed492afb2431d57421af7dce36200c06 Mon Sep 17 00:00:00 2001 From: Ivan Topolnjak Date: Thu, 29 Jan 2015 03:14:36 +0100 Subject: ! core,akka: use our own dispatcher instead of Akka's default dispatcher. --- kamon-core/src/main/resources/reference.conf | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'kamon-core/src') diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index 2bc217b0..dabeda69 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -86,16 +86,14 @@ kamon { dispatchers { # Dispatcher for the actor that will collect all recorded metrics on every tick and dispatch them to all subscribers. - metric-collection = akka.actor.default-dispatcher + metric-collection = kamon.default-dispatcher # Dispatcher for the Kamon refresh scheduler, used by all MinMaxCounters and Gaugues to update their values. - refresh-scheduler = akka.actor.default-dispatcher + refresh-scheduler = kamon.default-dispatcher } } - - trace { # Level of detail used when recording trace information. The posible values are: @@ -144,14 +142,16 @@ kamon { } # Default dispatcher for all trace module operations - dispatcher = "akka.actor.default-dispatcher" + dispatcher = kamon.default-dispatcher } - kamon-dispatcher { + 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 @@ -165,10 +165,5 @@ kamon { # 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 = 3 } } \ No newline at end of file -- cgit v1.2.3