Create a gist now

Instantly share code, notes, and snippets.

############################ SNAPSHOTTING ############################
dir /local/disk/
rdbcompression yes
dbfilename dump.rdb
########################## APPEND ONLY MODE ###########################
appendonly yes
appendfilename /my/ebs/appendonly.aof
appendfsync everysec
############################ VIRTUAL MEMORY ###########################
vm-enabled yes
vm-swap-file /local/disk/redis/swap.file
vm-max-memory 0
vm-page-size 32
vm-pages 134217728
vm-max-threads 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment