# Redis 기본 설정 bind 0.0.0.0 port 6379 timeout 300 tcp-keepalive 60 # 메모리 설정 maxmemory 512mb maxmemory-policy allkeys-lru # 스냅샷 설정 save 900 1 save 300 10 save 60 10000 # 로그 설정 loglevel notice logfile "" # 데이터베이스 설정 databases 16 # AOF 설정 appendonly yes appendfsync everysec no-appendfsync-on-rewrite no auto-aof-rewrite-percentage 100 auto-aof-rewrite-min-size 64mb # 슬로우 로그 slowlog-log-slower-than 10000 slowlog-max-len 128 # 클라이언트 연결 설정 tcp-backlog 511 timeout 0 tcp-keepalive 300 # 보안 설정 (개발환경) # requirepass your-redis-password # 기타 최적화 hash-max-ziplist-entries 512 hash-max-ziplist-value 64 list-max-ziplist-size -2 list-compress-depth 0 set-max-intset-entries 512 zset-max-ziplist-entries 128 zset-max-ziplist-value 64 hll-sparse-max-bytes 3000 stream-node-max-bytes 4096 stream-node-max-entries 100