Redis Tuning
Last updated
from https://redis.io/docs/management/admin/ and others
vm.overcommit_memory = 1
vm.swappiness = 1
net.core.somaxconn = 65365
from https://redis.io/docs/management/admin/
echo never > /sys/kernel/mm/transparent_hugepage/enabled
More: https://www.mongodb.com/docs/manual/tutorial/transparent-huge-pages/
from https://redis.io/docs/management/admin/
maxmemory 3gb
from
timeout 300
tcp-keepalive 0
tcp-backlog 65536
from https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-22-04
Last updated
rename-command FLUSHDB ""
rename-command FLUSHALL ""
rename-command DEBUG ""