37 lines
561 B
Plaintext
37 lines
561 B
Plaintext
# Redis Configuration for Real-time Data Ingestion
|
|
|
|
# Network
|
|
bind 0.0.0.0
|
|
protected-mode no
|
|
port 6379
|
|
|
|
# Persistence
|
|
save 900 1
|
|
save 300 10
|
|
save 60 10000
|
|
stop-writes-on-bgsave-error yes
|
|
rdbcompression yes
|
|
rdbchecksum yes
|
|
dbfilename dump.rdb
|
|
dir /data
|
|
|
|
# Memory Management
|
|
maxmemory 512mb
|
|
maxmemory-policy allkeys-lru
|
|
|
|
# Append Only File (AOF) - Disabled for performance
|
|
appendonly no
|
|
|
|
# Logging
|
|
loglevel notice
|
|
logfile ""
|
|
|
|
# Stream Configuration
|
|
stream-node-max-bytes 4096
|
|
stream-node-max-entries 100
|
|
|
|
# Performance
|
|
tcp-backlog 511
|
|
timeout 0
|
|
tcp-keepalive 300
|