Running Business Processes and Composite Applications 10.4 | Running Business Processes and Composite Applications | webMethods Integration Server Administrator’s Guide | Caching Service Results | What Is Caching?
 
What Is Caching?
Caching is an optimization feature that can improve the performance of services.
You indicate the services for which you want to use caching from Software AG Designer. When you enable caching for a service, Integration Server saves the entire contents of the pipeline after invoking the service in a local or distributed cache for the period of time that you specify. The pipeline includes the output fields explicitly defined in the cached service, as well as any output fields produced by earlier services in the flow. When Integration Server receives subsequent requests for a service with the same set of input values, Integration Server returns the cached result to the client instead of invoking the service again.
Caching can significantly improve response time of services. For example, services that retrieve information from busy data sources such as high-traffic commercial web servers could benefit from caching. Integration Server can cache the results for all types of services: flows, Java services, and C/C++ services.
The goal for caching is to strike the right balance between data concurrency and memory usage. To gauge the effectiveness of your cache, you can monitor its performance by viewing service statistics from the Integration Server Administrator and adjust your caching values accordingly.
You set the controls for caching a service from Designer. For instructions, see webMethods Service Development Help.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release