NCache 4.6 - Online Documentation

Creating Client Cache

Client Cache is a cache that exists on client node. You can create client cache in either of the two ways described below:
Using NCache Manager
  • Right click on the Client Cache tree node in Cache Explorer for a cache.
  • Click on the Create New Cache option in the right click menu.
  • Enter client cache Name and select respective client cache Sync Mode.
  • Click Next.
  • Select the required Isolation Level, it changes the Data Format accordingly.
  • Select the required cache maximum size for storage of items.
  • In Advanced options dialog, you can configure the following settings:
  • Eviction policy and Eviction percentage: items will be evicted from cache using the selected policy and percentage value, if eviction is enabled.
  • Clean interval value, where the default is 15 seconds.
  • Auto start this cache on service startup: make the cache start automatically after service restart by checking checkbox.
  • This will create client cache on all client nodes and Client cache Creation Status window is displayed showing client cache creation status for each client node.
  • Click Close and the newly created client cache will appear under Client Cache in the Cache Explorer.
Using Command Line Tool
  • Open command prompt.
  • Go to the NCache tools directory: cd %NCHOME%/bin/tools
  • Use createclientcache.exe, provide the required information:
      createclientcache.exe demoClusteredCache /c demoClientCache /s /N /S 1024
  • Press ENTER, it will create a client cache demoClientCache for cache demoClusteredCache on node
See Also