What are the default Akka dispatcher configuration values?

By default the dispatcher provided by Akka is one with a fork-join-executor, and the default parallelism values are these:

  • parallelism-min: 8
  • parallelism-factor: 3.0
  • parallelism-max: 64

You can see all of this in the documentation.

There is a section named: Listing of the Reference Configuration

Here is the relevant part of the configuration file (I only removed the comments):

default-dispatcher {
    type = "Dispatcher"
    executor = "fork-join-executor"

    fork-join-executor {
        parallelism-min = 8
        parallelism-factor = 3.0
        parallelism-max = 64
    }

    thread-pool-executor {
        keep-alive-time = 60s
        core-pool-size-min = 8
        core-pool-size-factor = 3.0
        core-pool-size-max = 64
        max-pool-size-min = 8
        max-pool-size-factor  = 3.0
        max-pool-size-max = 64
        task-queue-size = -1
        task-queue-type = "linked"

        allow-core-timeout = on
    }
}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)