All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.akka-db-connpool_2.11.1.0.1.source-code.reference.conf Maven / Gradle / Ivy

guangwenz.akka.db {
  jdbc {
    #
    #className = ""
    #url = ""
    #username = ""
    #password = ""
    #
    partition-count = 3
    min-connections-per-partition = 5
    max-connections-per-partition = 20
  }
}

db-access-dispatcher {
  type = "Dispatcher"
  executor = "default-executor"
  default-executor {
    fallback = "fork-join-executor"
  }
  fork-join-executor {
    # Min number of threads to cap factor-based parallelism number to
    parallelism-min = 8

    # 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 = 64

    # Setting to "FIFO" to use queue like peeking mode which "poll" or "LIFO" to use stack
    # like peeking mode which "pop".
    task-peeking-mode = "FIFO"
  }
  throughput = 1
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy