Data caching overview
WebSphere® eXtreme Scale provides IBM® App Connect Enterprise with data caching capability.
Introduction
A global cache is a repository for data that you want to reuse. For example, you can use a global cache in IBM MQ message flows to store correlation information for use beyond a specific message flow node, instance of a message flow, or integration server. The cache facilitates the sharing of data within an integration server and between integration servers, and eliminates the need for an alternative solution, such as a database. You can use one message flow node to store data in the global cache, then a second node (in the same message flow or a separate flow), can retrieve that data from the global cache.
You can use a message flow node to interact with the global cache. Interactions with the cache happen outside the message flow transaction, and are committed immediately. If an exception is thrown downstream of the node that interacts with the cache, the cache interactions are not rolled back.
Scenarios and tutorials
- Global cache scenario: Storing state for integrations
- Global cache scenario: Caching static data
- Tutorial: Using a Mapping node to graphically access a Lookup table that is stored in the Global Cache; see the Tutorials Gallery in the IBM App Connect Enterprise Toolkit.
Embedded global cache or external WebSphere eXtreme Scale grid
You can use the global cache that is supplied with IBM App Connect Enterprise, and you can configure IBM App Connect Enterprise to connect to an external WebSphere eXtreme Scale grid. You can work with multiple remote grids, and the embedded grid, at the same time. For more information, see Differences between the embedded global cache and an external WebSphere eXtreme Scale grid.
Interaction with the global cache or external grid
You can interact with the global cache or external grid by using a Mapping node or a JavaCompute node. The node can put data into a map, retrieve data, and create a map if one does not exist. For more information, see Accessing the global cache by using a Mapping node or Accessing the global cache by using a JavaCompute node.
Monitoring and administration of the global cache or external grid
- The activity log
- Resource statistics
For more information, see Monitoring the global cache.