All Products
Search
Document Center

Lindorm:Slow request detection

Last Updated:Apr 01, 2024

The slow request detection module in the cluster management system allows you to detect and query abnormal requests for an instance and view the details of the requests. You can use this module to locate abnormal requests for your instances and adjust or optimize your business as required to prevent slow requests from degrading the processing capabilities of your business.

Prerequisites

You are logged on to the cluster management system of your Lindorm instance. For more information, see Log on to the cluster management system.

Procedure

  1. In the left-side navigation pane, choose Diagnose Tools > Slow Request Detection.

  2. In the Detection time section, select the time range during which you want to detect slow requests.

  3. Select query conditions, including idc, Group, Server, and type.

    The following table describes the abnormal request types that you can select.

    Abnormal request type

    Description

    responseTooLarge

    Single requests for which more than 10 MB of data is returned.

    slowRequest

    Single requests for which the results require more than 10 seconds to return.

    longTransferRequest

    Single Remote Procedure Call (RPC) requests in which data transmission between the client and server delays.

    Important

    Currently, this function is not available. You can select this type in the cluster management system but no results are returned. To query requests in which data transmission delays, contact the Lindorm technical support (DingTalk ID: s0s3eg3).

    requestTooLarge

    Single requests that include more than 10 MB of data.

  4. Click Query.

    The following table describes the parameters that are included in the query results.

    Parameter

    Description

    Table

    The table for which the abnormal request is generated and the shard in which the table is stored.

    Request detail

    The details of the abnormal request.

    Method

    The method of the request.

    Process time(ms)

    The time consumed to process the abnormal request. Unit: millisecond.

    Queue time(ms)

    The time that the abnormal request waits in the queue on the server. Unit: millisecond.

    Transfer time(ms)

    The transmission delay of the abnormal request from the client to the server. Unit: millisecond.

    Response size(byte)

    The amount of data contained in the response for the abnormal request.

    Client address

    The address of the client that initiates the abnormal request.

    Request start time

    The time when the request was initiated.