Alachisoft NCache 4.1 - Online Documentation

Enabling Write-through Cache Provider

 
NOTE: This feature is not available in NCache Express and Professional edition.
 
Configuring Write-Through Provider:
 
To enable Write-through caching, you need to implement IWriteThruProvider and specify them in the cache properties. NCache Manager provides an interface for specifying them in the cache properties. For enabling write-through caching, follow these steps:
 
  1. From the start programs, launch NCache Manager.
  2. Open the project containing cache or cluster for which you want to configure the write-through caching.
  3. From the explorer, select the cache or cluster. In the right pane, cluster/cache view will be opened.
  4. From the view, select the Backing Source tab.
  5. You can provide some additional parameters (like datasource file name) if required from the same screen.
  6. For enabling Write-through caching, check the Enable Write-Through on this cache check box.
  7. Click Add button and browse the Assembly that contains the class implementing IWriteThruProvider and then select class name from the list.
  8. The Assembly implementing IWriteThruProvider must contain the reference of Alachisoft.NCache.Runtime.dll.
  9. Deploy appropriate assemblies to the cache servers using Deploy Provider button from same tab view.
  10. For enabling Write-Behind caching, check the checkbox under Write-Behind column.
 
Deployment:
 
For deployment details, kindly visit Deploying Read-Thru/Write-Thru provider page.
 
 
 
See Also
 
Copyright © 2005-2012 Alachisoft. All rights reserved.