The PingDirectory Server provides an entry cache implementation, which allows for fine-grained control over the kinds of entries that may be held in the cache. You can define filters to specify the entries included in or excluded from the cache, and you can restrict the cache so that it holds only entries with at least a specified number of values for a given set of attributes.
Under most circumstances, we recommend that the Directory Server be used without an entry cache. The Directory Server is designed to efficiently retrieve and decode entries from the database in most cases. The database cache is much more space-efficient than the entry cache, and heavy churn in the entry cache can adversely impact garbage collection behavior.
However, if the Directory Server contains very large static groups, such as those containing thousands or millions of members, and clients need to frequently retrieve or otherwise interact with these groups, then you may want to enable an entry cache that holds only large static groups.
In servers containing large static groups, you can define an entry cache to hold only those
large static groups. This entry cache should have an include filter that matches only group
entries (for example,
The filter contains a minimum value count so that only groups with a large number of members
(such as those with at least 100
values) will be included. The Directory Server provides an entry cache
implementation with these settings although it is disabled by default.