Configuring In-Memory Caches
In-memory caching reduces the number of trips the application makes to its database by holding often-requested data in memory. When you configure cache servers, you give each server the list of all cache server machines. For example, you might edit the list of cache server machines when you're adding or removing servers.
For information on adding and removing cache servers, see Managing in-memory cache servers. For information on installing cache servers, see Setting up cache server.
The Caches page in the Admin Console lists the application's caches and provides information on how well they're being used. This information is for use in troubleshooting if you need to call Jive support.
Admin Console: System > Settings > Caches
Registering cache servers
You must register cache servers in the Admin Console of your instance.
You need to register the cache servers in the Cache Servers box of the Caches page in the Admin Console.
- In the Admin Console, go to System > Settings > Caches and specify the cache servers in the Cache Servers box.
If you have more than one cache server, such as with a high-availability configuration, they must all be listed in a comma-separated list of either IP addresses or domain names. You must be consistent with the format (use IP addresses or domain names, but don't combine them) and the order you use. For more information on setting up cache servers for high-availability, see Configuring Cache servers for high-availability.
For more information about adding, removing, and moving cache servers, see Managing in-memory cache servers.
Getting cache performance information
You can get information about caches in the Admin Console.
In the Cache Performance Summary table on the Caches page, you can find a list of the individual kinds of data cached. Many represent content, such as blog posts and documents. Others represent other data that can be performance-expensive to retrieve from the database.
For each cache, you can find the following information:
Column Name | Description |
---|---|
Cache name | You can click the cache name to view advanced statistics about the cache. You might use these statistics when working with the support team to resolve cache-related issues. General information about the advanced statistics is provided below. |
Objects | Each object in the cache represents a different instance of the item. For example, if the Blog cache has 22 objects in it, it means that 22 of the community's blogs are represented there. |
Hits | A cache hit is recorded when a query to the cache for the item actually finds it in the cache; |
Misses | A cache miss is when the item isn't found in the cache and the query must go to the database instead. |
Hit percentage | The effectiveness number — a percentage — is a good single indicator of how well a particular cache is serving your application. When a cache is being cleared often (as might happen if memory constraints are being reached), the ratio of cache hits to misses is lower. |
|Clear cache check box|If you need to clear a cache, select its check box, then click the Clear Selected button at the bottom of the cache list table.|