-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathredvector.conf
More file actions
67 lines (53 loc) · 1.12 KB
/
redvector.conf
File metadata and controls
67 lines (53 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# redvector.conf - Redis-compatible configuration file
# Port to listen on
port 6379
# Bind address (empty means listen on all interfaces)
# bind 127.0.0.1
# Number of databases
databases 16
# Persistence
save 900 1
save 300 10
save 60 10000
dbfilename dump.rdb
dir /data
# AOF persistence
appendonly yes
appendfilename appendonly.aof
appendfsync everysec
# Memory management
maxmemory 1gb
maxmemory-policy noeviction
maxmemory-samples 5
# Logging
loglevel notice
# logfile /var/log/redvector.log
# Performance
hz 10
tcp-backlog 511
timeout 0
tcp-keepalive 300
# Advanced
stop-writes-on-bgsave-error yes
rdbcompression yes
rdbchecksum yes
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
# Slow log
slowlog-log-slower-than 10000
slowlog-max-len 128
# Latency monitoring
latency-monitor-threshold 0
# Client limits
maxclients 10000
# Replication (basic)
# slaveof <masterip> <masterport>
# masterauth <master-password>
# Security
# requirepass yourpassword
# rename-command FLUSHDB ""
# rename-command FLUSHALL ""
# Unix socket (optional)
# unixsocket /tmp/redvector.sock
# unixsocketperm 700