[redis] update redis-tls

This commit is contained in:
kjg 2023-10-02 15:27:31 +00:00
commit 2e1fbc0365
10 changed files with 300 additions and 0 deletions

View file

@ -0,0 +1,8 @@
Authority {
Auth {
Mode write
}
Auth "#bccomplexpassword#" {
Mode admin
}
}

View file

@ -0,0 +1,20 @@
## redis cluster server pool define
ClusterServerPool {
MasterReadPriority 60
StaticSlaveReadPriority 50
DynamicSlaveReadPriority 50
RefreshInterval 1
ServerTimeout 1
ServerFailureLimit 10
ServerRetryTimeout 1
KeepAlive 120
Servers {
+ redis-node1.ungleich.cloud:7001
+ redis-node2.ungleich.cloud:7001
+ redis-node3.ungleich.cloud:7001
+ redis-node1.ungleich.cloud:7101
+ redis-node2.ungleich.cloud:7101
+ redis-node3.ungleich.cloud:7101
}
}

View file

@ -0,0 +1,104 @@
LatencyMonitor all {
Commands {
+ all
- blpop
- brpop
- brpoplpush
}
TimeSpan {
+ 100
+ 200
+ 300
+ 400
+ 500
+ 600
+ 700
+ 800
+ 900
+ 1000
+ 1200
+ 1400
+ 1600
+ 1700
+ 1800
+ 2000
+ 2500
+ 3000
+ 3500
+ 4000
+ 4500
+ 5000
+ 6000
+ 7000
+ 8000
+ 9000
+ 10000
}
}
LatencyMonitor get {
Commands {
+ get
}
TimeSpan {
+ 100
+ 200
+ 300
+ 400
+ 500
+ 600
+ 700
+ 800
+ 900
+ 1000
}
}
LatencyMonitor set {
Commands {
+ set
+ setnx
+ setex
}
TimeSpan {
+ 100
+ 200
+ 300
+ 400
+ 500
+ 600
+ 700
+ 800
+ 900
+ 1000
}
}
LatencyMonitor blist {
Commands {
+ blpop
+ brpop
+ brpoplpush
}
TimeSpan {
+ 1000
+ 2000
+ 3000
+ 4000
+ 5000
+ 6000
+ 7000
+ 8000
+ 9000
+ 10000
+ 20000
+ 30000
+ 40000
+ 50000
+ 60000
+ 70000
+ 80000
+ 90000
+ 100000
}
}

View file

@ -0,0 +1,38 @@
################################### GENERAL ####################################
## Predixy configuration file example
## Specify a name for this predixy service
## redis command INFO can get this
Name PredixyExample
## Default is 0.0.0.0:7617
Bind 0.0.0.0:7300
## Worker threads
WorkerThreads 4
MaxMemory 0
ClientTimeout 300
Log /etc/predixy/conf/predixy.log
LogVerbSample 0
LogDebugSample 0
LogInfoSample 10000
LogNoticeSample 1
LogWarnSample 1
LogErrorSample 1
################################### AUTHORITY ##################################
Include auth.conf
################################### SERVERS ####################################
Include cluster.conf
# Include sentinel.conf
# Include try.conf
################################### LATENCY ####################################
## Latency monitor define, see latency.conf
Include latency.conf