amazon aimなら
sudo yum --enablerepo=epel install redis
2.4.10がインストールされる
# /etc/init.d/redis start
http://redis.io/topics/benchmarks
When the server and client benchmark programs run on the same box, both the TCP/IP loopback and unix domain sockets can be used. It depends on the platform, but unix domain sockets can achieve around 50% more throughput than the TCP/IP loopback (on Linux for instance). The default behavior of redis-benchmark is to use the TCP/IP loopback.
同一boxであればunix socketの方がパフォーマンス良い
save
から始まる行を全てコメントアウトすると自動的なdisk書き込みをやめる
#save 900 1
#save 300 10
#save 60 10000
クラッシュ時に1データでも欠けてはいけない場合を除いて、appendonly no
でよい