ofBiz cache.properties production parameters

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ofBiz cache.properties production parameters

devalpatel
Hi All,

I have just configured ofBiz for production Usage.  I did the cache.properties setup as per the ofBiz wiki article. However, I still want to verify the correct setup for production usage :

###############################################################################

####
# OFBiz UtilCache properties File
####

# Default Settings
#cache.file.store=runtime/data/utilcache
#default.maxSize=0
#default.expireTime=0
#default.useSoftReference=false

# No maxSize for properties.UtilPropertiesResourceCache
properties.UtilPropertiesResourceCache.maxSize=0
properties.UtilPropertiesResourceCache.expireTime=0

# No maxSize for properties.UtilPropertiesUrlCache
properties.UtilPropertiesUrlCache.maxSize=0
properties.UtilPropertiesUrlCache.expireTime=0

# This should be increased if more users will be simultaneously on the system.
security.UserLoginSecurityGroupByUserLoginId.maxSize=1000
# 30 min
security.UserLoginSecurityGroupByUserLoginId.expireTime=1800000

security.SecurityGroupPermissionCache.maxSize=0
# 30 min
security.SecurityGroupPermissionCache.expireTime=1800000

# Examples for per-delegator Entity Engine cache settings
#entitycache.entity.default.ServerHitType.expireTime=0
#entitycache.entity.default.ServerHitType.useSoftReference=true
#entitycache.entity-list.default.ProductPriceRule.expireTime=0
#entitycache.entity-list.default.ProductPriceRule.useSoftReference=true

# Workflow related cache
workflow.processmgr.useSoftReference=true
workflow.client.useSoftReference=true

# product.content.rendered cache settings, set to expire in 1 minutes by default to avoid too much administrative confusion, can comment this out or increase for better performance
product.content.rendered.expireTime=60000
product.content.rendered.useSoftReference=true

# product.config cache settings, used by product (pc like) configurations, set to expire in 1 minutes by default to avoid too much administrative confusion, can comment this out or increase for better performance
product.config.expireTime=60000
product.config.useSoftReference=true

# Development Mode - comment these out to better cache groovy scripts, etc
#These are all cleared by default every 10000 milliseconds, or ten seconds
#minilang.SimpleMethodsDirect.expireTime=10000
#minilang.SimpleMethodsResource.expireTime=10000
#minilang.SimpleMethodsURL.expireTime=10000

#script.BshLocationParsedCache.expireTime=10000
#script.BshBsfParsedCache.expireTime=10000

#script.GroovyLocationParsedCache.expireTime=10000

# Uncomment this for more flexibility with service changes.
# Clearing this cache will reload service defs, for all service and so it takes time and results in lots of log messages, so it is commented by default.
#service.ModelServiceMapByDispatcher.expireTime=10000

#webapp.BsfEvents.expireTime=10000
#webapp.JasperReportsCompiled.expireTime=10000
#webapp.ControllerConfig.expireTime=10000

#widget.form.locationResource.expireTime=10000
#widget.form.webappResource.expireTime=10000
#widget.menu.classResource.expireTime=10000
#widget.menu.locationResource.expireTime=10000
#widget.menu.webappResource.expireTime=10000
#widget.screen.locationResource.expireTime=10000
#widget.screen.webappResource.expireTime=10000
#widget.tree.locationResource.expireTime=10000
#widget.tree.webappResource.expireTime=10000

#template.ftl.location.expireTime=10000
#template.ftl.general.expireTime=10000
#widget.screen.template.ftl.general.expireTime=10000

ModelDataFile.expireTime=10000

===============================================================================

I would appreciate the verification for the production ofBiz setup of above production ofBiz cache.properties parameters.

 PLZ NOTE that main usage in production ofBiz is webtools/ catalog manager application  as I am using ofBiz categories/products, facility/inventory services to add the products in another application.

Regards,

Deval