Redis
The Devprime platform provides several parameters to customize the State Adapter with Redis persistence, which is very useful in application caching scenarios.
1
2
3
4
5
6
7
8
9
10
11
12
|
"Devprime_State": [
{
"enable": "true",
"alias": "State1",
"type": "db",
"dbtype": "redis",
"connection": "127.0.0.0:6379",
"timeout": "5",
"retry": "2",
"durationofbreak": "45"
}
],
|
State |
— |
enable |
Enable the State adapter (True/False) |
alias |
Defines a unique name to identify the service |
type |
Sets the State type (DB |
dbtype |
Defines the database service (Redis) |
connection |
Defines the configuration of the access connection |
retry |
Configure the number of retries |
durationofbreak |
Set the duration of the Circuit-Break |
Last modified November 12, 2023 (8e3b4c7e)