-
Notifications
You must be signed in to change notification settings - Fork 1
/
swarm.conf
154 lines (148 loc) · 5.14 KB
/
swarm.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!--
HelmaSwarm config file. To set the HelmaSwarm config file for an application, add
the following to your app.properties file:
swarm.conf = /path/to/swarm.conf
Alternatively, you can just copy the file to the application directory.
-->
<helmaswarm>
<!--
JGroups protocol stacks. By default, the UDP stack is used. To
use a different stack, add an entry like this to your app.properties file:
swarm.jgroups.stack = stackname
See http://wiki.jboss.org/wiki/Wiki.jsp?page=JGroups for documentation
on JGroups protocols.
-->
<jgroups-stack name="udp">
<!-- UDP/Multicast based JGroups protocol stack -->
UDP(mcast_addr=224.0.0.132;
mcast_port=22024;
ip_mcast=true;
ip_ttl=32;
bind_port=48848;
port_range=20;
loopback=false;
discard_incompatible_packets=true;
max_bundle_size=64000;
max_bundle_timeout=30;
mcast_send_buf_size=300000;
mcast_recv_buf_size=150000;
ucast_send_buf_size=300000;
ucast_recv_buf_size=150000;
use_packet_handler=false;
enable_bundling=false;
down_thread=false;
up_thread=false):
PING(timeout=2000;
num_initial_members=3;
down_thread=false;
up_thread=false):
MERGE2(min_interval=5000;
max_interval=10000;
down_thread=false;
up_thread=false):
FD_SOCK(down_thread=false;
up_thread=false):
FD(timeout=10000;
max_tries=5;
shun=true;
down_thread=false;
up_thread=false):
VERIFY_SUSPECT(timeout=1500;
down_thread=false;
up_thread=false):
pbcast.NAKACK(gc_lag=50;
retransmit_timeout=300,600,1200,2400,4800;
discard_delivered_msgs=true;
down_thread=false;
up_thread=false):
UNICAST(timeout=5000;
down_thread=false;
up_thread=false):
pbcast.STABLE(desired_avg_gossip=20000;
down_thread=false;
up_thread=false):
VIEW_SYNC(avg_send_interval=60000;
down_thread=false;
up_thread=false):
pbcast.GMS(join_timeout=5000;
join_retry_timeout=2000;
shun=false;
print_local_addr=true;
down_thread=false;
up_thread=false):
FRAG2(frag_size=8192;
down_thread=false;
up_thread=false):
pbcast.STATE_TRANSFER(down_thread=false;
up_thread=false)
</jgroups-stack>
<jgroups-stack name="tcp">
<!-- TCP based JGroups protocol stack -->
TCP(start_port=7800;
bind_addr=127.0.0.1;
discard_incompatible_packets=true;
max_bundle_size=64000;
max_bundle_timeout=30;
recv_buf_size=500000;
send_buf_size=150000;
down_thread=false;
up_thread=false):
TCPPING(initial_hosts=127.0.0.1[7800];
port_range=5;
timeout=3000;
num_initial_members=3;
down_thread=false;
up_thread=false):
MERGE2(min_interval=5000;
max_interval=10000;
down_thread=false;
up_thread=false):
FD_SOCK(down_thread=false;
up_thread=false):
FD(timeout=10000;
max_tries=5;
shun=true;
down_thread=false;
up_thread=false):
VERIFY_SUSPECT(timeout=1500;
down_thread=false;
up_thread=false):
pbcast.NAKACK(gc_lag=50;
retransmit_timeout=300,600,1200,2400,4800;
discard_delivered_msgs=true;
down_thread=false;
up_thread=false):
pbcast.STABLE(desired_avg_gossip=20000;
down_thread=false;
up_thread=false):
VIEW_SYNC(avg_send_interval=60000;
down_thread=false;
up_thread=false):
pbcast.GMS(join_timeout=5000;
join_retry_timeout=2000;
shun=false;
print_local_addr=true;
down_thread=false;
up_thread=false):
FRAG2(frag_size=8192;
down_thread=false;
up_thread=false):
pbcast.STATE_TRANSFER(down_thread=false;
up_thread=false)
</jgroups-stack>
<!--
Object cache segmentation domains. This can be used to partition an
application's HopObjects into various segments and/or exclude some objects
from replication. Each cache-domain element may contain any number of
filter elements. An object is replicated to a cache-domain if it matches
at least one filter.
-->
<!--
<cache-domain name="gobi">
<filter prototype="Root"/>
</cache-domain>
<cache-domain name="hns">
<filter property="creator" value="11"/>
</cache-domain>
-->
</helmaswarm>