Last active
November 16, 2016 12:30
-
-
Save aclemmensen/dbbf664a7fcb058adf7f304476d81169 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Aerospike database configuration file. | |
# This stanza must come first. | |
service { | |
user root | |
group root | |
paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1. | |
pidfile /var/run/aerospike/asd.pid | |
service-threads 4 | |
transaction-queues 4 | |
transaction-threads-per-queue 4 | |
proto-fd-max 15000 | |
nsup-period 10 | |
} | |
logging { | |
# Log file must be an absolute path. | |
#file /mnt/mesos/sandbox/aerospike.log { | |
# context any info | |
#} | |
# Send log messages to stdout | |
console { | |
context any info | |
} | |
} | |
network { | |
service { | |
address any | |
port 3000 | |
# 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 { | |
# mesh is used for environments that do not support multicast | |
mode multicast | |
multicast-group 239.1.99.2 | |
port 3002 | |
# use asinfo -v 'tip:host=<ADDR>;port=3002' to inform cluster of | |
# other mesh nodes | |
interval 150 | |
timeout 10 | |
} | |
fabric { | |
port 3001 | |
} | |
info { | |
port 3003 | |
} | |
} | |
namespace blobs { | |
replication-factor 2 | |
memory-size 7G | |
default-ttl 1d | |
storage-engine device { | |
file /data/blobs.dat | |
filesize 8G | |
data-in-memory true # Store data in memory in addition to file. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment