Request Inquiry
Request Inquiry logs all the client requests containing the unsafe commands on the server side on the receiving node. This is used to ensure fault tolerant and reliable communication between the client and the cluster. In case of connection breakup, a client can inquire the cluster for the status of an unsafe command in a request that apparently might have failed.
If Request Inquiry is disabled and an unsafe command fails, an exception is thrown asking to enable the feature if any future unsafe commands are to be made reliable. By default, the Request Inquiry is disabled.
<add key="NCacheServer.EnableRequestInquiry" value="False"/>
The cleanup interval is in seconds for the logged requests if Request Inquiry is enabled. The requests acknowledged by the client are cleared after this interval.
<add key="NCacheServer.RequestInquiryCleanInterval" value="15"/>
Cluster Request Enquiry
If a request, sent to another node of the cluster, is taking a long time then we can send an enquiry request to that node asking about the status of the request. The status can be
- request not received by that node
- request received but not yet processed
- request received and a response sent (response is not received by this node)
According to the request status, the following actions can be taken
- wait more
- resend the request
- return
If this flag is false, the request status is not enquired and, thus, will wait for the response for cluster timeout (60 seconds by default).
<add key="NCacheServer.AllowClusterRequestEnquiry" value="false"/>
Total request timeout (60 seconds by default) is divided into chunks of ClusterRequestEnquiryInterval
. After every enquiry interval, the request status is asked and action is taken accordingly. If responses are received earlier, then no more intervals are valid.
<add key="NCacheServer.ClusterRequestEnquiryInterval" value="10"/>
ClusterRequestEnquiryRetries
is the total number of Request Enquiry retries. After completing retries, the request waits for the remaining request timeout if the response is still not received.
<add key="NCacheServer.ClusterRequestEnquiryRetries" value="1"/>
See Also
Configure Caches
Cache Settings
Server Connectivity
Memory
Windows Events