Choosing the right type of cache
You can choose between local cache, embedded global cache, external Redis global cache, embedded WebSphere® eXtreme Scale (WXS) grid, external WebSphere eXtreme Scale grid, or other caching types such as environment tree and long-lived variables based on your requirement.
About this task
The following table provides an overview of different cache types, including where to access variables, their maximum lifetime, scope, administration, and any limitations.
Cache type | Access variables through | Maximum variable lifetime | Variable scope | Administration | Limitations |
---|---|---|---|---|---|
Environment tree | ESQL/Mapping/Java | Flow run | Flow | Not applicable | |
Long-lived variables | ESQL | Until the flow is restarted (has its configuration changed). | Flow (or specific node within a flow) | Not applicable | |
Local cache | Java | Integration server | Integration server | Not applicable | Available in App Connect Enterprise version 12.0.4.0 or higher. |
Embedded global cache | Java/Mapping | Until all participating integration servers are down simultaneously. | Participating integration servers |
|
Available in App Connect Enterprise version 13.0.3.0 or higher. |
External Redis global cache | Java/Mapping | Depends on the external Redis configuration. | Beyond App Connect Enterprise |
|
Available in App Connect Enterprise version 13.0.3.0 or higher. |
Embedded WebSphere eXtreme Scale grid (deprecated) | Java/Mapping | Until all participating integration servers are down simultaneously. | Participating integration servers |
|
|
External WebSphere eXtreme Scale grid (deprecated) | Java/Mapping | Depends on the external WXS configuration. | Beyond App Connect Enterprise |
|
|