-
Notifications
You must be signed in to change notification settings - Fork 19
/
aerospike.template.conf
76 lines (60 loc) · 1.59 KB
/
aerospike.template.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
# Aerospike database configuration file.
# This stanza must come first.
service {
user jovyan
pidfile /var/run/aerospike/asd.pid
# service-threads ${SERVICE_THREADS} # cpu x 5 in 4.7
# transaction-queues ${TRANSACTION_QUEUES} # obsolete in 4.7
# transaction-threads-per-queue ${TRANSACTION_THREADS_PER_QUEUE} # obsolete in 4.7
proto-fd-max 15000
}
logging {
# Log file must be an absolute path.
file ${LOGFILE} {
context any info
}
# Send log messages to stdout
console {
context any info
}
}
network {
service {
address ${SERVICE_ADDRESS}
port ${SERVICE_PORT}
# Uncomment the following to set the `access-address` parameter to the
# IP address of the Docker host. This will the allow the server to correctly
# publish the address which applications and other nodes in the cluster to
# use when addressing this node.
# access-address <IPADDR>
}
heartbeat {
address ${HB_ADDRESS}
# mesh is used for environments that do not support multicast
mode mesh
port ${HB_PORT}
# use asinfo -v 'tip:host=<ADDR>;port=3002' to inform cluster of
# other mesh nodes
interval 150
timeout 10
}
fabric {
address ${FABRIC_ADDRESS}
port ${FABRIC_PORT}
}
info {
address ${INFO_ADDRESS}
port ${INFO_PORT}
}
}
namespace ${NAMESPACE} {
replication-factor ${REPL_FACTOR}
# memory-size ${MEM_GB}G
default-ttl ${DEFAULT_TTL} # 5 days, use 0 to never expire/evict.
nsup-period ${NSUP_PERIOD}
storage-engine memory {
file /opt/aerospike/data/${NAMESPACE}.dat
filesize ${STORAGE_GB}G
# data-in-memory true # Store data in memory in addition to file.
}
}