Skip to content

Instantly share code, notes, and snippets.

@yife
Created February 10, 2015 06:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yife/f466e1ec08232823c264 to your computer and use it in GitHub Desktop.
Save yife/f466e1ec08232823c264 to your computer and use it in GitHub Desktop.
テスト用aerospike.conf。メモリ20GB+HDD50GB
namespace usertest {
memory-size 20G # Maximum memory allocation for data and
# primary and secondary indexes.
replication-factor 3 # For multiple nodes, keep 3 copies of the data
high-water-memory-pct 60 # Evict non-zero TTL data if capacity exceeds
stop-writes-pct 90 # Stop writes if capacity exceeds 90% of 4GB
default-ttl 0 # Writes from client that do not provide a TTL
# will default to 0 or never expire
storage-engine device { # Store data in memory and HDD
file /opt/aerospike/data/usertest.dat
filesize 50G
data-in-memory true # Indicates that all data should also be in memory.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment