NCache 4.4 - Online Documentation

Configuring Compression

 
To minimize data traffic between cluster and client nodes, NCache provides GZip Compression for objects of size greater than the specified threshold value. Objects greater than the specified threshold size will be compressed /decompressed by NCache. Average compression gains are higher for objects of greater size. By default, data compression is off. You can enable/disable data compression by one of following methods.
 
Using NCache Manager
 
  • Click on the cache name in Cache Explorer to open cache settings.
  • Go to the Options tab.
  • Check Enable Compression check box.
 
  • Change the Threshhold Size as per your requirment.
  • Right click the cache in Cache Explorer and select Apply Configuration option.
 
 
 
Through config.ncconf:
 
You can enable/disable data compression option for a cache through config.ncconf as follows.
 
<compression enabled="true" threshold="500kb"/>
 
See Also