about us

TDMQ for CMQ

2025-12-12 17:05

TDMQ for CMQ (TDMQ CMQ Edition) is a distributed, highly available message queue service that provides a reliable, message-based asynchronous communication mechanism. It enables the transmission of information between different distributed applications (or different components of the same application) and stores it in a reliable and effective CMQ queue, preventing message loss. TDMQ CMQ Edition supports concurrent read and write operations by multiple processes without interference, eliminating the need for applications or components to remain constantly active. The product prioritizes Message Security and Reliability as its core assurance, supporting HTTPS + key authentication, Tencent Cloud CAM account permission management, and fine-grained resource access control. Combined with Tencent Cloud's multi-dimensional security protection, it defends against network attacks and comprehensively safeguards business privacy. Additionally, it employs triple-replica storage technology, achieving 99.999999% data reliability and 99.95% business continuity availability. It perfectly supports scenarios involving Massive Message Accumulation, with a single cluster QPS exceeding 100,000, efficiently handling billions of messages for sending, receiving, and pushing. In terms of data storage strategies, CMQ supports both Synchronous Disk Flushing and Asynchronous Disk Flushing modes, allowing users to choose based on business characteristics—synchronous disk flushing ensures strong data consistency, while asynchronous disk flushing balances performance and eventual consistency, flexibly adapting to diverse business needs. Furthermore, the product includes Transaction Message Guarantee capabilities, which have been thoroughly validated in distributed transaction scenarios such as WeChat Red Packet systems, preventing business anomalies caused by message loss. The emphasis on message security and reliability lays a solid foundation for business operations. The flexible choice between synchronous and asynchronous disk flushing adapts to varied scenarios, while deep support for massive message accumulation and transaction message guarantee makes CMQ the preferred message queue service for core business operations in industries such as finance and internet.


 

Frequently Asked Questions

Message Security and Reliability

Q: How does Tencent Cloud CMQ Edition achieve Message Security and Reliability, and what roles do the Synchronous Disk Flushing and Asynchronous Disk Flushing storage strategies play in this?

A: Tencent Cloud CMQ Edition ensures Message Security and Reliability through multiple layers: On one hand, it employs HTTPS + key authentication mechanisms and Tencent Cloud's multi-dimensional security protection to defend against network attacks. On the other hand, it supports CAM account permission management and fine-grained resource access control to meet multi-departmental permission management needs. Simultaneously, triple-replica storage technology ensures data resilience against loss, comprehensively safeguarding message transmission and storage security. As core storage strategies, Synchronous Disk Flushing and Asynchronous Disk Flushing provide critical support for Message Security and Reliability: Synchronous Disk Flushing adopts a strong consistency storage approach, synchronously writing messages to multiple replicas and flushing them to disk upon write, ensuring data integrity even in the event of node failures. This is suitable for scenarios like finance that require extremely high data consistency. Asynchronous Disk Flushing employs an eventual consistency strategy, where messages are first written to memory and asynchronously synchronized to disk, balancing high throughput with data reliability and adapting to business scenarios with higher performance demands. The two storage strategies can be flexibly switched based on business needs, collectively reinforcing the core advantage of CMQ's Message Security and Reliability and ensuring that message processing across different scenarios balances both security and efficiency.

Synchronous Disk Flushing

Q: What is the specific performance of Tencent Cloud CMQ Edition's Massive Message Accumulation capability, how does Transaction Message Guarantee function in distributed scenarios, and how is it related to Message Security and Reliability?

A: Tencent Cloud CMQ Edition's Massive Message Accumulation capability is exceptionally robust, with a single cluster QPS exceeding 100,000, efficiently supporting billions of messages for sending, receiving, and pushing. It can easily handle sudden traffic surges in scenarios such as marketing campaigns and holiday red packet events, preventing business interruptions caused by message congestion. Even during massive message accumulation, it maintains stable processing performance. Transaction Message Guarantee is a core capability of CMQ for distributed scenarios. For example, in the WeChat Red Packet system, through the Transaction Message Guarantee mechanism, if fund account entry fails, the account system can retrieve messages from CMQ again to retry update operations, avoiding system overhead from distributed transactions and ensuring no message loss or business interruption. Transaction Message Guarantee is deeply intertwined with Message Security and Reliability: Message Security and Reliability provides the foundation for the transmission and storage of transaction messages, ensuring that transaction messages are not tampered with or lost during delivery. Transaction Message Guarantee further enhances business-level reliability, ensuring that message processing in distributed scenarios meets security requirements while maintaining the integrity of business logic. Together, they make CMQ a reliable support for distributed business operations.

Asynchronous Disk Flushing

Q: In same-city disaster recovery scenarios, how do Tencent Cloud CMQ Edition's Synchronous Disk Flushing and Asynchronous Disk Flushing strategies adapt to requirements, and what additional safeguards does Message Security and Reliability provide?

A: In same-city disaster recovery scenarios, Tencent Cloud CMQ Edition's Synchronous Disk Flushing and Asynchronous Disk Flushing strategies can be flexibly adapted based on business disaster recovery needs: Synchronous Disk Flushing ensures real-time synchronization of messages between primary and backup nodes through strong consistency storage. If data loss occurs on the primary node, the backup node can quickly switch over and provide complete data, with RPO controlled within 5 minutes, meeting stringent financial-grade disaster recovery requirements. Asynchronous Disk Flushing aims for eventual consistency, ensuring high business throughput while enabling rapid data recovery after disasters through triple-replica storage and background data replication mechanisms. This adapts to scenarios with moderate disaster recovery consistency requirements and higher performance demands. Message Security and Reliability provides dual safeguards in same-city disaster recovery: On one hand, HTTPS authentication and security protection mechanisms ensure that message transmission is not attacked during disaster recovery switching, and fine-grained permission control prevents data leakage. On the other hand, the combination of triple-replica storage and disaster recovery switching mechanisms allows quick business recovery through backup nodes even if primary node data is lost due to force majeure events. Any data discrepancies can be reconciled and supplemented through associated DB verification, ensuring both message security and business continuity. This provides financial-grade disaster recovery support for core businesses such as Webank and Tenpay.


Get the latest price? We'll respond as soon as possible(within 12 hours)
This field is required
This field is required
Required and valid email address
This field is required
This field is required
For a better browsing experience, we recommend that you use Chrome, Firefox, Safari and Edge browsers.