Configure Pipelining
Pipelining is a technique used by NCache to handle multiple commands on TCP connection by gathering them and making a chunk of operations to be sent over the network in a single call. The interval for the operations to be sent over the network is configurable by the user. It can be configured either through NCache Manager or through config.ncconf.
Through NCache Manager
Launch NCache Web Manager by browsing to
http://localhost:8251
(Windows) or<server-ip>:8251
(Windows + Linux).In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache to configure.
Against the cache name, click on View Details.
This opens up the detailed configuration page for the cache. Go to the Advanced Settings tab and click on Cluster Settings in the left bar.
In order to enable pipelining, check the Enable Pieplining checkbox under the TCP Parameters section. Add the time for the batch interval in microseconds(µs).
- Click on Save Changes to apply this configuration to the cache.
Manually Editing NCache Configurations
Important
Make sure the cache is stopped before making any configuration changes.
- In order to configure pipelining through config.ncconf, set the pipelining enabled tag as true and enter the time in microseconds(µs) for the batch interval. The default value is 250 µs and the minimum and maximum values are 50µs and 5000µs respectively.
<cache-settings ...>
...
<pipelining enabled="False" batch-interval="250usec"/>
...
</cluster-settings>
</cache-topology>
</cache-settings>
- Once changes are made, start the cache and restart NCache service.