Software AG Products 10.7 | Administering Integration Server | Caching Service Results | Using a Public Cache for Service Results Caching
 
Using a Public Cache for Service Results Caching
By default, Integration Server stores cached service results in the local ServiceResults system cache, which is part of the SoftwareAG.IS.Services system cache manager. If you want multiple Integration Server to be able to access cached service results, you can store cached service results in a public cache, including a distributed cache, instead. Only Integration Servers that have the same packages installed on them can share a distributed cache.
Keep the following information in mind when using a public cache for service results caching:
*The cache must be configured so that elements do not expire once they are placed in the cache. To accomplish this, select the Eternal check box for the cache (see Creating a Cache).
*The duration of cached service results depends on the Cache expire property value for the service and the watt.server.cache.flushMins server configuration parameter value.
*By default, when Integration Server returns cached results for a service, it returns the actual value of the cached results. If you want Integration Server to return a reference instead, clear the Copy on Read and Copy on Write check boxes for the cache (see Creating a Cache).
*When a public cache used for service results caching is disabled or a public cache manager that contains the cache used for service results caching is shut down, Integration Server does not cache or retrieve service results. Instead, Integration Server executes the service.
*When a public cache used for service results caching is enabled or the public cache manager that contains the public cache used for service results is started, Integration Server re-initializes the cache.
For detailed information about creating a public cache, public cache manager, and a distributed cache, see Configuring Ehcache on Integration Server .
Note:
In Integration Server Administrator, the Server > Service Usage page displays statistics about service results. For a distributed cache, these statistics are for the current Integration Server instance only. Integration Server Administrator does not provide aggregated statistics for all the Integration Servers using the same distributed cache for service results caching.
To configure Integration Serverto use a public cache for service results caching, you specify the name of the cache and cache manager in the server configuration parameters watt.server.serviceResults.cache and watt.server.serviceResults.cacheManger, respectively.