Skip to content

Instantly share code, notes, and snippets.

@jhecking jhecking/aerospike.conf Secret
Last active May 10, 2016

Embed
What would you like to do?
Configuration files used for benchmarking Aerospike Node.js Client version 1.0.57 and 2.0.3
# Aerospike database configuration file.
# This stanza must come first.
service {
user citrusleaf
group citrusleaf
run-as-daemon
paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1.
pidfile /home/citrusleaf/jan/as1/var/run/aerospike.pid
transaction-queues 8
transaction-threads-per-queue 8
proto-fd-max 15000
work-directory /home/citrusleaf/jan/as1/var
}
logging {
# Log file must be an absolute path.
file /home/citrusleaf/jan/as1/var/log/aerospike.log {
context any info
context info warn
context nsup warn
}
}
mod-lua {
system-path /home/citrusleaf/jan/as1/share/udf/lua
user-path /home/citrusleaf/jan/as1/var/udf/lua
}
network {
service {
address 192.168.105.76
port 3000
reuse-address
}
heartbeat {
mode multicast
address 239.1.99.2
port 9919
interval 150
timeout 10
}
fabric {
port 3001
}
info {
port 3003
}
}
namespace test {
replication-factor 1
memory-size 10G
default-ttl 30d # 30 days, use 0 to never expire/evict.
storage-engine memory
}
{
"host" : null,
"port" : null,
"timeout" : 0,
"ttl" : 10000,
"log" : "INFO",
"namespace" : "test",
"set" : "demo",
"user" : null,
"password" : null,
"json" : true,
"silent" : true,
"longevity" : false,
"alert" : "CONSOLE",
"filename" : null,
"operations" : 100,
"iterations" : null,
"processes" : 4,
"time" : "8m",
"reads" : 1,
"writes" : 1,
"keyRange" : {
"min" : 0,
"max" : 100000
},
"binSpec" : [
{
"name" : "bin1",
"type" : "STRING",
"size" : 1024
},
{
"name" : "bin2",
"type" : "BYTES",
"size" : 1024
},
{
"name" : "bin3",
"type" : "INTEGER"
}
],
"summary" : true
}
@jhecking

This comment has been minimized.

Copy link
Owner Author

commented May 10, 2016

aerospike.conf is the server-side configuration file used on the two aerospike cluster nodes. aerospike init was used to create the server configuration; the only change was to increase the memory size for the test namespace to 10 GB. This config was used with Aerospike Server Community Edition v3.8.1.

config.json is the config file used to configure the benchmark suite included with the Aerospike Node.js Client. Only the duration (time) and the output parameters (json, silent) were changed from the default benchmark setup. This config was used with Aerospike Node.js Client v1.0.57 as well as v2.0.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.