Comparison Items | Tencent Cloud CMQ | Open-Source Messaging Middleware |
High performance | High performance and reliability can be guaranteed at the same time, and the QPS of a single CMQ instance reaches 5,000. | High performance and reliability cannot be guaranteed at the same time. |
High scalability | The number of queues and queue storage capacity are highly scalable. The underlying system can be automatically scaled based on the business volume, which is imperceptible to upper-layer businesses. Hundreds of millions of messages can be received, sent, pushed, and retained efficiently with an unlimited capacity. The message service is provided in multiple regions: Beijing, Shanghai, and Guangzhou. | The numbers of queues and retained messages are limited. Each IDC needs to have devices purchased and deployed, which is complicated. |
High reliability | Backed by Tencent's proprietary Cloud Reliable Message Queue (CRMQ) distributed framework, CMQ has been widely used in Tencent businesses such as QQ and WeChat red packet systems and lottery. CMQ ensures that data is replicated to different physical servers in three copies before a successful write of each message is returned to the user, and the backend data replication mechanism guarantees that data can be quickly migrated when any physical server fails, so that the three copies of user data are always available with a reliability of 99.999999%. The improved Raft consistency algorithm is integrated to delivery a strong data consistency. The business availability is guaranteed at 99.95%. | Data is stored in single servers or a simple master/slave architecture, where data cannot be rewound once lost due to single points of failure. The open-source replica algorithm will cause rebalancing of global data when a server is added to or removed from the cluster, drastically bringing down the availability. If Kafka flushes and replicates data asynchronously, strong data consistency cannot be ensured. |
Business security | Multi-dimensional security protection and anti-DDoS services are provided. Each message service has an independent namespace to strictly isolate data of different customers. HTTPS access is supported. Cross-region secure message service is supported. | The security protection features are limited. To avoid public network threats, cross-region and cross-IDC services over the public network usually cannot be provided. |
Was this page helpful?