Managing Cache Configuration for Wikis
Context
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.

