[Building Sakai] Cache settings documentation

Aaron Zeckoski azeckoski at unicon.net
Wed Sep 11 06:04:08 PDT 2013


Paul,
The most up to date stuff is generally here:
https://source.sakaiproject.org/svn/config/branches/sakai-2.9.x/configuration/bundles/src/bundle/org/sakaiproject/config/bundle/default.sakai.properties

Or here (though a tiny bit of the stuff in this one will not align with 2.9.x):
https://source.sakaiproject.org/svn/config/trunk/configuration/bundles/src/bundle/org/sakaiproject/config/bundle/default.sakai.properties

One key thing is that these 2 settings don't work anymore and haven't
for awhile (since maybe 2.5):
cacheMinutes at org.sakaiproject.authz.api.SecurityService=3
cacheMinutes at org.sakaiproject.site.api.SiteService=3


-AZ

On Mon, Sep 9, 2013 at 2:11 PM, Paul Dagnall <pdagnall1 at udayton.edu> wrote:
> Is there documentation about the caching settings in Sakai 2.9? I found some
> Jiras that mention the settings but no full explanations. If not, perhaps
> this thread can be the start.
>
> Would anyone care to share some guidelines for these settings from
> sakai.properties?
>
> # ########################################################################
> # CACHE
> # ########################################################################
>
> # AUTHZ cache - Minutes to cache each security question in the
> SecurityService; set to 0 to disable caching.
> cacheMinutes at org.sakaiproject.authz.api.SecurityService=3
>
> # SITE cache - Minutes to cache each site (site, page, tool) access in the
> SiteService; set to 0 to disable caching.
> cacheMinutes at org.sakaiproject.site.api.SiteService=3
>
> # User cache - ehcache default overrides (params = timeToLiveSeconds,
> timeToIdleSeconds, maxElementsInMemory)
> memory.org.sakaiproject.user.api.UserDirectoryService.callCache=timeToLiveSeconds=3600,timeToIdleSeconds=900,maxElementsInMemory=20000
>
> # JLDAP cache - ehcache default overrides (only meaningful if using the
> JLDAP provider)
> #edu.amc.sakai.user.JLDAPDirectoryProvider.userCache=timeToLiveSeconds=14400,timeToIdleSeconds=3600,maxElementsInMemory=20000
>
> # Cache authentication to improve DAV performance for provided users.
> # A maximumSize of 0 disables the cache. The cache is disabled by default.
> #
> maxElementsInMemory at memory.org.sakaiproject.user.impl.AuthenticationCache=500
>
> # Cache timeout for successful login-password combos.
> # Cache timeout for failed login-password combos. (same timeout for success)
> # timeToLive at memory.org.sakaiproject.user.impl.AuthenticationCache=120000
>
> Thanks!
>
> Paul
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"



-- 
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile


More information about the sakai-dev mailing list