Configuring Client Cache Settings
This section explains how to configure some basic settings of the client cache.
Configuring Synchronization Mode
There are two synchronization modes for a client cache.
In optimistic mode, application fetches data from client cache despite the fact that data is updated or not. It assumes that data is newer in client cache. In optimistic synchronization, updates are propagated to the client cache using event notifications.
Pessimistic mode is used when applications are handling sensitive data. On data fetch request, if data is found in client cache, its version is matched with item on remote cache. If both versions are same, then item is returned otherwise updated item is fetched from remote cache and is updated back to client cache.
These modes can be configured as follows:
Click on a client node IP under Client Nodes in Cache Explorer. Client specific settings in tabbed view shown in right pane.
Go to Settings tab and select any one option Optimistic or Pessimistic from Sync Mode Drop Down list.
Right click on cache name in Cache Explorer and select Apply Configuration option.
Configuring Client Cache Size
Client cache size is configurable. Click on the client cache and go to the Main tab in the right pane. Under this tab, Cache Max. Size can be changed.
Right click on client cache and select Apply Configuration option.
Configuring Isolation Level (InProc/OutProc)
Client cache can be InProc or OutProc. These levels can be configured as follows:
Client cache must be disabled to change isolation level.
Click on client cache under Client Cache tree view in Cache Explorer and go to the Main tab in the right pane.
In Main tab, a drop down list labeled as Isolation Level is available. The levels can be changed to either High(OutProc) or Low(InProc).
Right click on client cache name in Cache Explorer and select Apply Configuration option.