Meaning of different parameters of redis cache

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, 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

  1. inst: 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.
  2. qu: 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.
  3. qs: 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.
  4. aw: Awaiting response. It is a boolean value indicating whether the client is waiting for a response from the server.
  5. bw: Backoff state. It indicates the state of backoff mechanism, where the client might pause operations for a brief period if there are issues.
  6. rs: The type of operation causing the timeout. In this case, it’s “ReadAsync,” suggesting that a read operation is involved.
  7. ws: The state of the connection. In this case, it’s “Idle,” meaning that the connection is not actively performing any operation.
  8. in: The total number of operations that have been performed on this connection.
  9. last-in: The timestamp of the last operation performed on this connection.
  10. cur-in: The timestamp of the current operation being performed on this connection.
  11. sync-ops: The count of synchronous operations performed.
  12. async-ops: The count of asynchronous operations performed.
  13. serverEndpoint: It specifies the Redis server’s endpoint, including the host and port.
  14. conn-sec: The connection establishment time in milliseconds.
  15. mc: The master/slave count indicating how many Redis instances are acting as masters, how many as slaves, and how many are currently connected.
  16. mgr: The manager information indicating the number of available managers and how many are currently in use.
  17. clientName: The name of the Redis client.
  18. IOCP: Information about the IO Completion Ports, including the number of busy and free ports.
  19. WORKER: Information about worker threads, including the number of busy and free threads.
  20. v: The version of the Redis server.

Leave a Reply

Your email address will not be published. Required fields are marked *