IBM 6.1.X Com.ibm.wps.ac.ApplicationRolesForPrincipalCache, Com.ibm.wps.ac.ContainedRolesCache

Page 72

com.ibm.wps.ac.ApplicationRolesForPrincipalCache

Default size: 5000, default lifetime: 8760, usage pattern: regular.

This cache maps the available application roles to a portal user. It scales with the number of active users in the system. Data is read from the cache frequently when accessing or administering composite applications. In addition this cache is also used as a lookup for application role information even if no application roles are used. Hence you will see frequent read access on this cache under all circumstances. Creating a cache entry is rather expensive. It involves three multi-row queries against three WebSphere Portal domains. A cache entry is medium-sized.

com.ibm.wps.ac.ContainedRolesCache

Default size: 5000, default lifetime: 8650, usage pattern: regular.

This cache contains the mappings between application roles and the ‘regular’ roles defined in them. The cache scales with the number of application roles in the system. There is one entry for every WebSphere Portal domain. Data is read from the cache frequently when accessing or administering composite applications. In all other situations the cache is basically not used at all. Creating a cache entry is rather expensive. It involves two multi-row queries. A cache entry is medium-sized.

com.ibm.wps.ac.ApplicationRoleChildrenCache

Default size: 5000, default lifetime: 8760, usage pattern: regular.

This cache is not used in WebSphere Portal V6.0.

com.ibm.wps.ac.ParentResourceRoleMappingCache and com.ibm.wps.ac.ResourceRoleMappingCache

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

These two caches are used for special access control scenarios and typically are not accessed during portal processing. Settings of these caches should not be modified

P O R T A L U S E R M A N A G E M E N T

The following caches are used by the portal user management component (PUMA). In so far they are closely related to the access control caches and caching within WMM.

com.ibm.wps.puma.DN_OID_Cache / com.ibm.wps.puma.OID_DN_Cache

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

These two caches contain the mapping between the distinguished name of users and groups and their internal ObjectID identifier. The size of these caches scales with the number of active users and groups or users and groups that are used for delegation. Entries are invalidated from this cache during deletion of a user or group. Creating an entry requires one database lookup. An entry into the caches is fairly small.

6 7

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

Image 72
Contents IBM WebSphere Portal IBM WebSphere Portal software family Your world. Your wayContents Web Server Tuning Portlet Caching General Information Figures About this Document Performance Tuning Overview Environment Considerations Base Portal Tuning Application Server Tuning How to get to Admin ConsoleParameter Linux Solaris Windows2003 Initial 1792 2048POWER5 New Area Size Xmn320m Xmn256m Xmn768m Xmn1024m Parameter Value Additional InformationTimeout Session MinutesWeb Container Thread pool Size Name Value PropagationHow to Set Context Pool Setting Default ValueWebSphere Portal Services Default Value Definition UsedG I S T R Y S E R V I C E Default Value Value Used Cache NameDatabase Tuning Database Database name Datasource name2 O N a I X S E T U P Db2 reorgchk update statistics on table all Db2 reorgchk current statistics on table all reorgchk.txt A C L E D a T a B a S E S E R V E R T U N I N G AIXTHREADSCOPE=S Parameter ValueExecute Directory Server Tuning Db2 update db config for idsldap using dbheapWeb Server Tuning Linux Windows Additional InformationMinSpareThreads MaxSpareThreads Operating System Tuning N U T W O R K T U N I N G How-to-Setndd -set /dev/tcpPARAMETER Value L a R I S C O N T a I N E R Required Fixes MaxthreadtasksWEB 2.0 Theme Tuning Navigator Service PropertiesParameter Setting Used JVM Initial and Maximum Heap SizeCaching Proxy Tuning Parameter Setting Used Additional InformationInternet Explorer Support of Vary Header # uncommented these to enable statics to be cached # set cache-control public for various static contentPortlet Caching ExpiresActive OnMany Pages Tuning DB2 Database TuningRelease DB Parameter Cache Manager Service WEB Content Management Tuning WebSphere Portal Service Properties Cache NameWCM Object Cache WCM Configuration Service JCR Text SearchDB2 Tuning Authoring Environment DB2 BP4 Composite Applications Tuning Cache Manager Service PropertiesComposite Applications Best Practices BS P HE R E P O R T AL V 6 T U N I N G G U I D E Cluster Tuning Value trueHow-To Set ThreadLimit ServerLimit Session Persistence To Database Tuning Parameter Setting Additional DetailsVertical Cluster Tuning IBM Tivoli Directory Server Tuning Other Performance Tuning Options Improving Portal Startup PerformanceManaging the Retrieval of User Attributes BS P HE R E P O R T AL V 6 T U N I N G G U I D E Use of Dynamic Content Features Real-World Network Considerations BrowserMatch Mozilla/4 gzip-only-text/html Websphere Portal Caches General InformationBS P HE R E P O R T AL V 6 T U N I N G G U I D E BS P HE R E P O R T AL V 6 T U N I N G G U I D E Cache Usage Patterns Pattern invalidation checkingCache Instances Portal Access Control Cache Hierarchy Com.ibm.wps.ac.PermissionCollectionCacheCom.ibm.wps.ac.AccessControlUserContextCache Com.ibm.wps.ac.ProtectedResourceCacheCom.ibm.wps.ac.OwnedResourcesCache Com.ibm.wps.ac.RolesCacheCom.ibm.wps.ac.ExternalOIDCache Com.ibm.wps.ac.ChildResourcesCache Com.ibm.wps.ac.ApplicationRoleOIDCacheCom.ibm.wps.ac.ApplicationRoleDescriptorCache Com.ibm.wps.ac.ApplicationRolesForPrincipalCache Com.ibm.wps.ac.ContainedRolesCacheCom.ibm.wps.ac.ApplicationRoleChildrenCache Com.ibm.wps.puma.DNOIDCache / com.ibm.wps.puma.OIDDNCacheCom.ibm.wps.datastore.PortalIdCache.vpPerLpid.cache Com.ibm.wps.datastore.PortalIdCache.explicitLpidPerVPCom.ibm.wps.datastore.pageinstance.OIDCache Com.ibm.wps.datastore.pageinstance.DerivationCache Com.ibm.wps.datastore.pageinstance.DynamicNodeCacheCom.ibm.wps.model.content.impl.ResourceCache Com.ibm.wps.model.factory.SimpleCacheKeyCom.ibm.wsp.mode.content.impl.TopologyCache Com.ibm.wps.model.factory.ContentModelCache.liveCom.ibm.wps.model.factory.ContentModelCache.isolated Com.ibm.wps.model.factory.URLMappingCache.liveCom.ibm.wps.model.content.impl.DynamicLoadCache Com.ibm.wps.model.factory.URLMappingCache.isolatedCom.ibm.wps.model.factory.MultiModelCache.live Com.ibm.wps.model.factory.MultiModelCache.isolatedCom.ibm.wps.services.vpmapping.VirtualPortalIDToRealmCache Com.ibm.wps.model.impl.RuntimeClientMap.userAgent2clientWps.mappingurl.ContextsCache Wps.mappingurl.LookupCacheCom.ibm.wps.services.vpmapping.VirtualPortalIDToURLCache Com.ibm.wps.services.vpmapping.URLToVirtualPortalIDCacheWsrp.cache.portletdescription Wsrp.cache.servicedescription Wsrp.cache.portlet.instanceWsrp.cache.producer.user Wsrp.cache.portlet.windowWsrp.producer.portletpool.pops Wsrp.producer.portletpool.ccpsProcessintegration.PendingTasksCache Wp.te.transformationAssociationCacheCom.ibm.wps.policy.services.PolicyCacheManager Com.ibm.wps.policy.services.UserPolicyNodeCacheManagerCom.lotus.cs.services.directory.wmm.WMMDirectoryService Com.lotus.cs.services.UserEnvironmentCom.lotus.cs.services.domino.DominoService Wp.xml.configitems Com.ibm.wps.pe.portletentityPortletMenuCache RegistryService Com.ibm.workplace.searchmenu.helper.SearchMenuCacheHelperExample Scenarios BS P HE R E P O R T AL V 6 T U N I N G G U I D E R T a L S W I T H L O N G S E S S I O N T I M E O U T S BS P HE R E P O R T AL V 6 T U N I N G G U I D E WEB Content Management Caches Services/cache/iwk/strategy WCM Item cachingServices/cache/iwk/objectsummary WCM Summary WCM Cache InstancesServices/cache/iwk/module Services/cache/iwk/processing Advanced and Resour cesServices/cache/iwk/session Session Services/cache/iwk/menu Menu Services/cache/iwk/nav NavigatorServices/cache/iwk/abspath Absolute path Services/cache/iwk/missed Missed ItemsServices/cache/iwk/libparent Library Parent Services/cache/iwk/draftSummary Draft SummaryUser cache Appendix A. References Mark Alkins, Manager Lee Backstrom, Document CoordinatorBS P HE R E P O R T AL V 6 T U N I N G G U I D E