1 Tune OS setting 

echo never > /sys/kernel/mm/transparent_hugepage/enabled
echo "vm.overcommit_memory=1" >> /etc/sysctl.conf
echo "vm.swappiness=1" >> /etc/sysctl.conf
echo "net.core.somaxconn=65535" >> /etc/sysctl.conf
echo "net.ipv4.tcp_max_syn_backlog=65535" >> /etc/sysctl.conf
echo "redis soft nofile 288000" >> /etc/security/limits.conf
echo "redis hard nofile 288000" >> /etc/security/limits.conf 
ulimit -Hn -Sn
echo 'echo never > /sys/kernel/mm/transparent_hugepage/defrag' >> /etc/rc.d/rc.local
echo 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' >> /etc/rc.d/rc.local

2 Configure Redis

#configuration file: /etc/redis.conf
#Most of Redis parameters are good enough for start point(cache purpose only)
#we need setup below parameters:
maxclients
maxmemory
requirepass

3 Enable redis startup along with OS

systemctl enable redis
service redis start
05-28 16:06