Show TOC

Procedure documentationManaging Cache Configuration for Wikis Locate this document in the navigation structure

 

To maximize performance, the system caches frequently used discussion data in the memory. The basic rules for caching are as follows:

  • Application performance improves as more data is cached.

  • Less caching is better for systems that host multiple applications or have less available RAM.

The wiki application uses the AS Java cache management infrastructure. For more information about the AS Java cache management infrastructure, see Cache Management System.

Cache Effectiveness

The effectiveness of a cache - the ratio of cache hits to cache misses - is an indicator of how well the cache is working. When a cache is full, the system must swap data out of that cache segment. If that data is later requested, it must reload the data from the database, decreasing overall performance. High effectiveness means data is being read from the cache more often than from the database. Carefully tune cache settings over time, and monitor their effectiveness to achieve maximum performance. While a low effectiveness rating may indicate that a cache segment is too small, an oversized cache does not always increase performance.

Procedure

  1. From the wiki administration console, choose   System   Settings  .

  2. In the navigation pane, choose Caches.

    The following parameters are available for the cache configuration in the wiki application:

    Parameter

    Description

    Start Eviction Policy

    The parameter defines when the eviction policy starts. The eviction of the objects in the cache starts when the specified number in this parameter is reached. The default value of this parameter is 750 objects in the cache region.

    Upper Limit

    The parameter defines when the eviction policy starts evicting an object on each put. The default value of this parameter is 950 objects in the cache region.

    Critical Limit

    The parameter defines when the critical size of the cache is reached and the benefit of the cache is not clear. The default value of this parameter is 1000 objects in the cache region.

  3. Save your settings.

    Note Note

    The new cache settings require a restart of the wiki application from SAP NetWeaver Administrator to become active.

    End of the note.