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 (True/False)
alias Define a unique name to identify the service
type Sets the Type of State (DB
dbtype Define Database Service (Redis)
connection Sets the access connection configuration
retry Sets the number of retries
durationofbreak Sets the duration of the Circuit-Break
Last modified August 20, 2024 (2f9802da)