-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathhazelcast-ci.xml
108 lines (103 loc) · 4.46 KB
/
hazelcast-ci.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-basic.xsd"
xmlns="http://www.hazelcast.com/schema/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<group>
<name>crawl-ci</name>
<password>crawl-ci</password>
</group>
<network>
<port auto-increment="true">5701</port>
<join>
<multicast enabled="true">
<multicast-group>224.2.2.3</multicast-group>
<multicast-port>54327</multicast-port>
</multicast>
<tcp-ip enabled="false">
<interface>127.0.0.1</interface>
</tcp-ip>
</join>
<interfaces enabled="false">
<interface>10.10.1.*</interface>
</interfaces>
<symmetric-encryption enabled="false">
<!--
encryption algorithm such as
DES/ECB/PKCS5Padding,
PBEWithMD5AndDES,
AES/CBC/PKCS5Padding,
Blowfish,
DESede
-->
<algorithm>PBEWithMD5AndDES</algorithm>
<!-- salt value to use when generating the secret key -->
<salt>thesalt</salt>
<!-- pass phrase to use when generating the secret key -->
<password>thepass</password>
<!-- iteration count to use when generating the secret key -->
<iteration-count>19</iteration-count>
</symmetric-encryption>
<asymmetric-encryption enabled="false">
<!-- encryption algorithm -->
<algorithm>RSA/NONE/PKCS1PADDING</algorithm>
<!-- private key password -->
<keyPassword>thekeypass</keyPassword>
<!-- private key alias -->
<keyAlias>local</keyAlias>
<!-- key store type -->
<storeType>JKS</storeType>
<!-- key store password -->
<storePassword>thestorepass</storePassword>
<!-- path to the key store -->
<storePath>keystore</storePath>
</asymmetric-encryption>
</network>
<executor-service>
<core-pool-size>16</core-pool-size>
<max-pool-size>64</max-pool-size>
<keep-alive-seconds>60</keep-alive-seconds>
</executor-service>
<!--
this is currently on the hazelcast wiki (http://code.google.com/p/hazelcast/wiki/MapEviction), but there is a
note saying this might go away, so for posterity :
cluster_wide_map_size: Cluster-wide total max map size (default policy)
map_size_per_jvm: Max map size per JVM
partitions_wide_map_size: Partitions (default 271) wide max map size
used_heap_size: Max used heap size in MB (mega-bytes) per JVM
used_heap_percentage: Max used heap size percentage per JVM
examples :
<max-size policy="cluster_wide_map_size">50000</max-size>
<max-size policy="map_size_per_jvm">5000</max-size>
<max-size policy="partitions_wide_map_size">27100</max-size>
<max-size policy="used_heap_size">4096</max-size>
<max-size policy="used_heap_percentage">75</max-size>
-->
<map name="regions">
<backup-count>0</backup-count>
<eviction-policy>LFU</eviction-policy>
<max-size policy="map_size_per_jvm">10</max-size>
<eviction-percentage>25</eviction-percentage>
<merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
</map>
<map name="org.genedb.crawl.mappers.RegionsMapper">
<backup-count>0</backup-count>
<eviction-policy>LFU</eviction-policy>
<max-size policy="map_size_per_jvm">500</max-size>
<eviction-percentage>25</eviction-percentage>
<merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
</map>
<map name="org.genedb.crawl.mappers.FeatureCvtermMapper">
<backup-count>0</backup-count>
<eviction-policy>LFU</eviction-policy>
<max-size policy="map_size_per_jvm">100</max-size>
<eviction-percentage>25</eviction-percentage>
<merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
</map>
<map name="org.genedb.crawl.mappers.FeatureMapper">
<backup-count>0</backup-count>
<eviction-policy>LFU</eviction-policy>
<max-size policy="map_size_per_jvm">1000</max-size>
<eviction-percentage>25</eviction-percentage>
<merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
</map>
</hazelcast>