+

Search Tips   |   Advanced Search

Cache replication

With replication, data is generated one time and copied or replicated to other servers in the cluster, saving time and resources. Caching in a cluster has additional concerns. In particular, the same data can be required and generated in multiple places. Also, the permission the resources need to generate the cached data can be restricted, preventing access to the data.

Cache replication deals with these concerns by generating the data one time and copying it to the other servers in the cluster. It also aids in cache consistency. Cache entries that are not needed are removed or replaced.

The data replication configuration can exist as part of the web container dynamic cache configuration accessible through the console, or on a per cache entry basis through the cachespec.xml file. With the cachespec.xml file, we can configure cache replication at the web container level, but disable it for a specific cache entry.

Cache replication can take on three forms:

We can also perform a batch update. Specifically, for PUSH or PUSH/PULL, the dynamic cache broadcasts the update asynchronously, based on a timed interval rather than sending them immediately when they are created. Invalidations are sent immediately. Distribution of invalidations prevents stale data from residing in a cluster.

For more information about configuring cache replication, see...

In PUSH/PULL mode, the cached object is kept locally on the server that creates it; however, other servers also use the cache ID and store it in the DRSPushPullTable table. If a remote server needs the object, it requests the object by cache ID, or name, from the creating server. Each cache instance has one DRSPushPullTable table that is associated with it. The following conditions cause the DRSPushPullTable table to grow too big:

Use the following suggestions to resolve the issue:


Related

Dynamic cache service settings