IBM 6.1.X manual com.ibm.wps.policy.services.PolicyCacheManager, P O L I C Y

Models: 6.1.X

1 97
Download 97 pages 55.38 Kb
Page 83
Image 83
P O L I C Y

entry to the cache involves one database query. One entry is fairly small. Typically there is no need to modify the settings for this cache.

P O L I C Y

The WebSphere Portal policy manager uses the following caches.

com.ibm.wps.policy.services.PolicyCacheManager

Default size: 1000, default lifetime: 7780, usage pattern: regular.

This cache stores the policies. Out of the box portal comes with twelve theme policies and one mail policy, each of them being one entry into the cache. Hence the maximum number of cache entries depends on your system and the number of custom policies. This cache is accessed fairly often, if you use policies at all. The WebSphere Portal V6.0 default theme uses policies and query this cache during every request, but it is possible to create themes that do not use policies at all. Furthermore when opening mails the cache is accessed. Creating a cache entry involves reading data from a database. An entry into the cache is fairly small.

com.ibm.wps.policy.services.UserPolicyNodeCacheManager

Default size: 2500, default lifetime: 600, usage pattern: regular.

This cache stores connections between a policy and a policy target, for example a user distinguished name. Theme policies do not use targets, hence there is no cache entry based on these policies. The out-of-the-box mail policy uses the user as target. Hence there is at least one entry for every user accessing the CPP mail portlet. The size of a cache entry depends on the size of the target object. For a distinguished name a cache entry is fairly small.

C O L L A B O R A T I O N S E R V I C E S

All of the following caches are used by the DEPP portlets and some services around these portlets. In so far the caches are not used if the DEPP portlets are not utilized in the portal system. These caches store credential information needed for the backend servers, server information for these servers and user information that would otherwise require LDAP lookups.

com.lotus.cs.services.directory.ldap.BasicLDAPDirectoryService.server

Default size: 50, default lifetime: infinite, usage pattern: regular.

This cache stores mail server information. In so far it scales with the number of different mail servers used in the environment. It is accessed whenever a mail server is accessed. Creating a cache entry requires one LDAP search. An entry in the cache is fairly small.

7 8

W E BS P HE R E P O R T AL V 6 . 1 T U N I N G G U I D E

Page 83
Image 83
IBM 6.1.X manual com.ibm.wps.policy.services.PolicyCacheManager, com.ibm.wps.policy.services.UserPolicyNodeCacheManager