{"id":100,"date":"2024-01-20T17:54:12","date_gmt":"2024-01-20T12:24:12","guid":{"rendered":"https:\/\/successrouter.com\/tech\/?p=100"},"modified":"2024-01-20T18:01:03","modified_gmt":"2024-01-20T12:31:03","slug":"meaning-of-different-parameters-of-redis-cache","status":"publish","type":"post","link":"https:\/\/successrouter.com\/tech\/meaning-of-different-parameters-of-redis-cache\/","title":{"rendered":"Meaning of different parameters of redis cache"},"content":{"rendered":"\n<p>You must have seen below parameters while getting redis related errors. And below details might be useful for you to know which parameter is failing.<\/p>\n\n\n\n<p>inst: 0, qu: 0, qs: 0, aw: False, bw: SpinningDown, rs: ReadAsync, ws: Idle, in: 0, last-in: 0, cur-in: 0, sync-ops: 272585, async-ops: 1, serverEndpoint: xyz.redis.cache.windows.net:6380, conn-sec: 48386,78, mc: 1\/1\/0, mgr: 10 of 10 available, clientName: abc, IOCP: (Busy=a,Free=b,Min=c,Max=d), WORKER: (Busy=p,Free=q,Min=r,Max=s), v: 2.6.90.64945<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ol>\n<li><strong>inst<\/strong>: It represents the index of the server instance where the operation is being performed. This can be useful in a Redis cluster where multiple instances might exist.<\/li>\n\n\n\n<li><strong>qu<\/strong>: The number of commands in the output queue awaiting a response. It indicates the length of the command queue, representing commands that are yet to be processed.<\/li>\n\n\n\n<li><strong>qs<\/strong>: The total number of commands that have been queued since the last time this information was reported. It provides a cumulative count of queued commands.<\/li>\n\n\n\n<li><strong>aw<\/strong>: Awaiting response. It is a boolean value indicating whether the client is waiting for a response from the server.<\/li>\n\n\n\n<li><strong>bw<\/strong>: Backoff state. It indicates the state of backoff mechanism, where the client might pause operations for a brief period if there are issues.<\/li>\n\n\n\n<li><strong>rs<\/strong>: The type of operation causing the timeout. In this case, it&#8217;s &#8220;ReadAsync,&#8221; suggesting that a read operation is involved.<\/li>\n\n\n\n<li><strong>ws<\/strong>: The state of the connection. In this case, it&#8217;s &#8220;Idle,&#8221; meaning that the connection is not actively performing any operation.<\/li>\n\n\n\n<li><strong>in<\/strong>: The total number of operations that have been performed on this connection.<\/li>\n\n\n\n<li><strong>last-in<\/strong>: The timestamp of the last operation performed on this connection.<\/li>\n\n\n\n<li><strong>cur-in<\/strong>: The timestamp of the current operation being performed on this connection.<\/li>\n\n\n\n<li><strong>sync-ops<\/strong>: The count of synchronous operations performed.<\/li>\n\n\n\n<li><strong>async-ops<\/strong>: The count of asynchronous operations performed.<\/li>\n\n\n\n<li><strong>serverEndpoint<\/strong>: It specifies the Redis server&#8217;s endpoint, including the host and port.<\/li>\n\n\n\n<li><strong>conn-sec<\/strong>: The connection establishment time in milliseconds.<\/li>\n\n\n\n<li><strong>mc<\/strong>: The master\/slave count indicating how many Redis instances are acting as masters, how many as slaves, and how many are currently connected.<\/li>\n\n\n\n<li><strong>mgr<\/strong>: The manager information indicating the number of available managers and how many are currently in use.<\/li>\n\n\n\n<li><strong>clientName<\/strong>: The name of the Redis client.<\/li>\n\n\n\n<li><strong>IOCP<\/strong>: Information about the IO Completion Ports, including the number of busy and free ports.<\/li>\n\n\n\n<li><strong>WORKER<\/strong>: Information about worker threads, including the number of busy and free threads.<\/li>\n\n\n\n<li><strong>v<\/strong>: The version of the Redis server.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>You must have seen below parameters while getting redis related errors. And below details might be useful for you to know which parameter is failing. inst: 0, qu: 0, qs: 0, aw: False, bw: SpinningDown, rs: ReadAsync, ws: Idle, in: 0, last-in: 0, cur-in: 0, sync-ops: 272585, async-ops: 1, serverEndpoint: xyz.redis.cache.windows.net:6380, conn-sec: 48386,78, mc: 1\/1\/0,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[29],"_links":{"self":[{"href":"https:\/\/successrouter.com\/tech\/wp-json\/wp\/v2\/posts\/100"}],"collection":[{"href":"https:\/\/successrouter.com\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/successrouter.com\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/successrouter.com\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/successrouter.com\/tech\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":2,"href":"https:\/\/successrouter.com\/tech\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":103,"href":"https:\/\/successrouter.com\/tech\/wp-json\/wp\/v2\/posts\/100\/revisions\/103"}],"wp:attachment":[{"href":"https:\/\/successrouter.com\/tech\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/successrouter.com\/tech\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/successrouter.com\/tech\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}