tencent cloud

Feedback

Architecture

Last updated: 2023-04-14 16:50:11
    This document describes the deployment architecture of TDMQ for RocketMQ to help you better understand its architectural principles.
    

    Deployment Architecture

    The system deployment architecture of TDMQ for RocketMQ is shown in the following diagram:
    
    
    
    The core concepts are as follows:
    Producer cluster: Client-side application, which is responsible for producing and sending messages.
    Consumer cluster: Client-side application, which is responsible for subscribing to and consuming messages.
    Nameserver cluster: server-side application, which is responsible for address routing and broker heartbeat registration.
    Heartbeat registration: Nameserver acts as the registration center. Machines in each role must regularly report their status to Nameserver. If a machine fails to report beyond the timeout period, Nameserver will consider it faulty and unavailable and remove it from the available list.
    Address routing: Each Nameserver stores the entire routing information of the Broker cluster and the queue information used for client queries. Producers and consumers obtain the routing information of the entire Broker cluster through Nameserver to deliver and consume messages.
    Broker cluster: Server application, which is responsible for receiving, storing, and delivering messages. It supports primary-secondary multi-copy mode where the deployment of secondary nodes is optional. The actual high reliability of data in the production environment on the public cloud directly depends on the three copies of the cloud disk.
    Management cluster: Server application that is a visual management and control console. It is responsible for operating the entire cluster, such as source data sending/receiving and management.
    
    For the advantages of TDMQ for RocketMQ over self-built open-source Apache RocketMQ, see Comparison with Apache RocketMQ.
    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