tencent cloud

Feedback

Slow Consumption Speed

Last updated: 2024-01-09 14:57:56

    Issue Description

    Message consumption is slow.

    Possible Causes

    High server load
    Traffic throttling
    Client load issue
    Consumer’s consumption capability
    Network issue

    Solutions

    High server load
    If you want to check whether it is a server issue, you can view the consumption time in Advanced Monitoring in the console, which indicates the time it takes for the server to process requests. If there is a server load issue, the time values in the statistical periods are relatively high as shown below:
    
    
    
    Traffic throttling
    If you want to check whether it is caused by traffic throttling, you can configure an alarm for excessive bandwidth and then check whether the bandwidth peak of the instance has been reached in Monitoring > Instance; if so, you need to upgrade the bandwidth peak. For more information on how to upgrade the instance configuration, see Upgrading Instance.
    Client load issue
    If the server doesn't have a performance issue, there is a high probability that the consumption capacity of the client is insufficient. First, take a look at the correspondence between partitions and consumers as shown below. If a consumer consumes too many partitions, we recommend you add more consumers, so that one consumer consumes one partition.
    
    
    
    Consumer’s consumption capability
    If the assignment relationship between consumers and partitions is normal, you can add more partitions in the console to increase the concurrency of data consumption as shown below. Adding partitions in the console is instant and lossless, so your business won’t be affected.
    
    
    
    Network issue
    Check the client load metrics, such as the client CPU, memory size, and network interface. If it is a Java process, you should pay attention to GC and heap memory usage.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support