IBM 6.1.X Com.ibm.wps.ac.AccessControlUserContextCache, Com.ibm.wps.ac.ProtectedResourceCache

Page 69

com.ibm.wps.ac.AccessControlUserContextCache

Default size: 8000, default lifetime: 1200, usage pattern: regular.

This cache contains the access control user context objects, a local cache for permissions assigned to a specific user. If possible all requests against access control are answered using this information so that access control methods can return very quickly. This cache scales with the number of active users. For fast portal operation, you should make sure that the entries for all actively working users fit into the cache, especially if a user has access to many portal resources. Entries are invalidated from the cache upon any portal administrative action. Creating a cache entry typically is rather cheap because most information is in-memory, but can take a while if the required information cannot be found in other caches. An entry in the cache can be become very large, depending on the number of resources the user can access.

com.ibm.wps.ac.ProtectedResourceCache

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

This cache contains the resources protected by portal access control. The size of this cache scales with the number of protected resources accessed by the active users in the system. Entries are read from the cache during every permission call or entitlements call against access control. Entries are invalidated from this cache during resource deletion, resource relocation, modification of the resource state (private/shared), modification of the resource owner, externalization, internalization, and role block change. Creating a cache entry requires a single-row lookup in the portal database. An entry in the cache is relatively small.

com.ibm.wps.ac.OwnedResourcesCache

Default size: 5000, default lifetime: 10043, usage pattern: invalidation checking.

This cache maps resource owners (user groups or individual users) to the resources they own. This cache scales with the number of active users/groups multiplied with the different ResourceTypes they access. There is one entry in the cache per principal per resource type per WebSphere Portal domain. Data is read from this cache during many portal access control requests, if the corresponding entitlements are not already cached in an entitlements cache. Entries are invalidated from this cache during resource deletion, modification of the resource owner, externalization, and logout of the user. Creating a cache entry means executing a multi-row query against the portal database. An entry in the cache is relatively small.

com.ibm.wps.ac.RolesCache

Default size: 10000, default lifetime: 3630, usage pattern: invalidation checking.

This cache contains the role instances. The size of this cache scales with the number of active users/groups multiplied by the different ResourceTypes they access. There is one entry per role instance per principal per resource type per WebSphere Portal domain. Data is read from the cache during many portal access control requests, if the

6 4

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 69
Contents IBM WebSphere Portal software family Your world. Your way IBM WebSphere PortalContents Web Server Tuning Portlet Caching General Information Figures About this Document Performance Tuning Overview Environment Considerations Base Portal Tuning How to get to Admin Console Application Server TuningLinux Solaris Windows Parameter2003 Initial 1792 2048POWER5 Parameter Value Additional Information New Area Size Xmn320m Xmn256m Xmn768m Xmn1024mTimeout Session MinutesWeb Container Thread pool Size Propagation Name ValueContext Pool Setting Default Value How to SetDefault Value Definition Used WebSphere Portal ServicesG I S T R Y S E R V I C E Cache Name Default Value Value UsedDatabase Database name Datasource name Database Tuning2 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 Parameter Value AIXTHREADSCOPE=SExecute Db2 update db config for idsldap using dbheap Directory Server TuningLinux Windows Additional Information Web Server TuningMinSpareThreads 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 Maxthreadtasks Required FixesNavigator Service Properties WEB 2.0 Theme TuningParameter Setting Used JVM Initial and Maximum Heap SizeCaching Proxy Tuning Parameter Setting Used Additional InformationInternet Explorer Support of Vary Header # set cache-control public for various static content # uncommented these to enable statics to be cachedExpiresActive On Portlet CachingMany Pages Tuning DB2 Database TuningRelease DB Parameter Cache Manager Service WEB Content Management Tuning Cache Name WebSphere Portal Service PropertiesWCM Object Cache JCR Text Search WCM Configuration ServiceDB2 Tuning Authoring Environment DB2 BP4 Cache Manager Service Properties Composite Applications TuningComposite 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 Value true Cluster TuningHow-To Set ThreadLimit ServerLimit Parameter Setting Additional Details Session Persistence To Database TuningVertical Cluster Tuning IBM Tivoli Directory Server Tuning Improving Portal Startup Performance Other Performance Tuning OptionsManaging 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 General Information Websphere Portal CachesBS 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 Pattern invalidation checking Cache Usage PatternsCache Instances Com.ibm.wps.ac.PermissionCollectionCache Portal Access Control Cache HierarchyCom.ibm.wps.ac.ProtectedResourceCache Com.ibm.wps.ac.AccessControlUserContextCacheCom.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.ContainedRolesCache Com.ibm.wps.ac.ApplicationRolesForPrincipalCacheCom.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.DynamicNodeCache Com.ibm.wps.datastore.pageinstance.DerivationCacheCom.ibm.wps.model.factory.SimpleCacheKey Com.ibm.wps.model.content.impl.ResourceCacheCom.ibm.wps.model.factory.ContentModelCache.live Com.ibm.wsp.mode.content.impl.TopologyCacheCom.ibm.wps.model.factory.URLMappingCache.live Com.ibm.wps.model.factory.ContentModelCache.isolatedCom.ibm.wps.model.factory.URLMappingCache.isolated Com.ibm.wps.model.content.impl.DynamicLoadCacheCom.ibm.wps.model.factory.MultiModelCache.live Com.ibm.wps.model.factory.MultiModelCache.isolatedCom.ibm.wps.model.impl.RuntimeClientMap.userAgent2client Com.ibm.wps.services.vpmapping.VirtualPortalIDToRealmCacheWps.mappingurl.ContextsCache Wps.mappingurl.LookupCacheCom.ibm.wps.services.vpmapping.VirtualPortalIDToURLCache Com.ibm.wps.services.vpmapping.URLToVirtualPortalIDCacheWsrp.cache.portletdescription Wsrp.cache.portlet.instance Wsrp.cache.servicedescriptionWsrp.cache.producer.user Wsrp.cache.portlet.windowWsrp.producer.portletpool.ccps Wsrp.producer.portletpool.popsProcessintegration.PendingTasksCache Wp.te.transformationAssociationCacheCom.ibm.wps.policy.services.UserPolicyNodeCacheManager Com.ibm.wps.policy.services.PolicyCacheManagerCom.lotus.cs.services.directory.wmm.WMMDirectoryService Com.lotus.cs.services.UserEnvironmentCom.lotus.cs.services.domino.DominoService Wp.xml.configitems Com.ibm.wps.pe.portletentityPortletMenuCache Com.ibm.workplace.searchmenu.helper.SearchMenuCacheHelper RegistryServiceExample 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 Services/cache/iwk/strategy WCM Item caching WEB Content Management CachesServices/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/nav Navigator Services/cache/iwk/menu MenuServices/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 Lee Backstrom, Document Coordinator Mark Alkins, ManagerBS P HE R E P O R T AL V 6 T U N I N G G U I D E