Enabling caching

The cache is a smaller, faster memory which stores copies of data from the most frequently used main memory locations and helps to reduce the average time to access memory.

JDO caching provides the following advantages:

  • Improves the performance of the application by serving user with cached output.
  • Decreases server round trips for fetching data from database by persisting data in the memory.
  • Reduces overhead from server resources.

By default, JDO caching is enabled. However, if JDO caching is disabled then follow the below steps to enable it.

Enabling JDO caching and set cache parameters 

  1. Click Accounts > Settings.
  2. Expand the Server Node Settings in the left panel.
  3. Select the server node.
  4. Click Edit

  5. Expand Performance Optimization > Caching > JDO.

  6. Set the value in the below properties: 

    Property name

    Description

    Default value

    abpm.jdo.cache.enableTo enable JDO cache.yes
    abpm.jdo.cache.maxElementsinMemoryMaximum number of elements to be held in memory. (0 = no limit)0
    abpm.jdo.cache.idleTimeTime in seconds before an object in the cache expires if it is not accessed.86400
    abpm.jdo.cache.timetoLiveTime in seconds from the point of creation in the cache till it expires (regardless of how frequently it is accessed in that time). (0 = live forever or infinite)0
  7. Click Save.
  8. To reload the configuration, click Reload Configuration link.
    A confirmation message is displayed that the configuration has been reloaded.
  9. Restart the Connect Server.