/
reference.conf
50 lines (47 loc) · 1.47 KB
/
reference.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
caracal {
bootThreshold = 3 // nodes
heartbeatInterval = "5s"
maintenancePolicy = "default" // either 'default' or a fully qualified class name that implements se.sics.caracaldb.global.MaintenancePolicy
scatterWidth = 2 // see paper "Copysets: Reducing the Frequency of Data Loss in Cloud Storage" for an explanation
schemaIdAlgo = "MD5" // name of the hash to get schema IDs from schema names (http://docs.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html#MessageDigest)
schemaFiles = [] // add paths to schema files (*.schema.json) if you need extras
stats {
nodeInterval = "10s"
}
fd {
minRto = "1000ms"
livePingInterval = "500ms"
deadPingInterval = "5000ms"
timeoutIncrement = "50ms"
}
network {
// messageBufferSizeMax = "16K"
// messageBufferSize = "2K"
// dataMessageSize = "2K"
keepAlivePeriod = "1000ms"
}
database {
types {
memory = "se.sics.caracaldb.persistence.memory.InMemoryDB"
leveldb = "se.sics.caracaldb.persistence.disk.LevelDBJNI"
master = "se.sics.caracaldb.persistence.memory.MasterDB"
}
pathHead = "./persistence"
}
}
leveldb {
path = ${caracal.database.pathHead}"/leveldb/"
cache = "100M"
}
server {
address {
hostname = "127.0.0.1"
port = 45678
}
}
bootstrap {
address {
hostname = "127.0.0.1"
port = 45678
}
}