policy-cache-size
This stanza entry specifies the maximum size of the in-memory policy cache.
policy-cache-size = sizeMaximum size of the in-memory policy cache. This size is configurable. The cache consists of policy and the relationships between policy and resources. The knowledge that a resource has no directly associated policy is also cached.
Specify the maximum cache size relative to the number of policy objects defined, the number of resources protected, and the available memory.
As a starting point, use the following algorithm:
3 * (number of policy objects + number of protected resources)This value controls how much information is cached. A larger cache potentially improves the application performance, but uses additional memory as well.
Options
- size
- Size is specified as the number of entries.
Usage
Optional
Default value
32768
Example
policy-cache-size = 32768Parent topic: [aznapi-configuration] stanza