-
Notifications
You must be signed in to change notification settings - Fork 61
/
application.conf
100 lines (91 loc) · 1.73 KB
/
application.conf
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
akka {
event-handlers = ["akka.contrib.jul.JavaLoggingEventHandler"]
loglevel = DEBUG
stdout-loglevel = WARNING
log-config-on-start = off
actor {
debug {
# receive = on
# autoreceive = on
# lifecycle = on
# fsm = on
# event-stream = on
unhandled = on
}
deployment {
"/application/*" {
router = "round-robin"
# nr-of-instances = 20
resizer {
lower-bound = 1
upper-bound = 40
}
}
}
default-dispatcher {
type = "Dispatcher"
executor = "fork-join-executor"
fork-join-executor {
parallelism-min = 4
parallelism-factor = 10
parallelism-max = 64
}
throughput = 10
}
}
}
low-priority-dispatcher {
type = "Dispatcher"
executor = "fork-join-executor"
fork-join-executor {
parallelism-min = 2
parallelism-factor = 2
parallelism-max = 8
}
throughput = 1
}
test {
db {
mongo {
name: "patterns-test"
connections: 10
concern: ACKNOWLEDGED
hosts {
"localhost": 27017
}
}
cassandra {
cluster: "patterns-test"
connections: 10
hosts {
"localhost": 9160
}
}
}
}
main {
db {
mongo {
name: "patterns"
connections: 50
concern: ACKNOWLEDGED
hosts {
"mongodb.host.1": 27017
"mongodb.host.2": 27017
"mongodb.host.3": 27017
}
}
cassandra {
cluster: "patterns"
connections: 50
hosts {
"cassandra.host.1": 9160
"cassandra.host.2": 9160
"cassandra.host.3": 9160
}
}
}
}
server {
web-server: "http://localhost:3000"
}