NonStop SOAP User's Manual

NonStop SOAP Features and Functions
NonStop SOAP User’s Manual520501-012
4-23
Enhanced Caching
The SOAP server closes the current trace log file and attempts to use the
specified file name as the trace file name prefix.
Enhanced Caching
Enhanced caching boosts the performance of cached services. For NonStop SOAP,
enhanced caching and dynamic refresh of SDL contents means that you do not have
to restart the SOAP server after you make changes in the SDL.
The dynamic cache feature depends on the usage of services. The caching
mechanism uses the Least Recently Used (LRU) algorithm, that is, whenever the
cache gets full, the entry, which has not been accessed or used for the longest period
of time is removed from the cache to make room for a new entry.
You can specify the services to be cached by using the Cache attribute of the Service
element in the SDL. You can specify the maximum number of entries to be cached
using the environment variable: SOAP_CACHE_SIZE in the NonStop SOAP
Configuration File on page 4-60. This value determines the maximum number of
services to be cached. The SOAP server also maintains a cache size value of 500
services maximum and uses this value as the upper limit if you specify a value greater
than this. The default value for SOAP_CACHE_SIZE is 5 services. For any invalid
value, the default value is used.
This example shows how caching works: