Pipelining is a technique used by NCache to handle multiple commands on a 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 the NCache Management Center or the config.ncconf file.
Using the NCache Management Center
Launch the NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251on Windows and 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.
To enable pipelining, check the Enable Pipelining 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
Ensure the cache is stopped before making any configuration changes.
- To configure pipelining through the config.ncconf file, set the pipelining enabled tag to 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 the NCache Service.