- 11 Dec 2024
- 1 Minute to read
- Print
- DarkLight
Caching Systems
- Updated on 11 Dec 2024
- 1 Minute to read
- Print
- DarkLight
Below are diagrams of caching systems within Decisions.
Current Version Diagram
As of v8.3, and going into the current version of v9, caching is handled by a Redis server. Local cache is still available, but it is not the default location. Redis only holds object ids so all servers in a cluster can know when something has been changed. Flow data is not cached in Redis.
Prior Versions
v7 and Below (Multi-server)
The Decisions application server has a local cache that is different than the database. Using the various cache Steps affect this cache. However if there are multiple servers in a cluster, each of those servers has its own cache. Each server keeps separate versions of objects in cache local to them. Those servers send events to each other to clear and refresh those objects from cache.
v8 and Below (Single Server)
The Decisions application server has a local cache that is different than the database. Using the various cache Steps affect this cache.