Skip to content

Instantly share code, notes, and snippets.

@felipehummel
Created May 10, 2012 19:32
Show Gist options
  • Save felipehummel/2655311 to your computer and use it in GitHub Desktop.
Save felipehummel/2655311 to your computer and use it in GitHub Desktop.
akka config
high-thread-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
parallelism-min = 200
# Parallelism (threads) ... ceil(available processors * factor)
parallelism-factor = 10.0
# Max number of threads to cap factor-based parallelism number to
parallelism-max = 200
}
# 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 = 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment