blob: 370acae97cd250f9d7370bdb03ab4af68729fe8e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
|