Distributed Message Service

Distributed Message Service (DMS) is a reliable, scalable, fully managed message queuing service that provides concurrent access at scale using the distributed, highly available cluster technology. DMS decouples components of a cloud application, delivering substantial cost benefits.

Pay only for what you use. CNY 0.06 per queue per hour, with the first 1 million API calls/month free of charge. Learn more

Product Advantages

Solution

Key Challenges

Easy

Solution: You can get started with DMS by using only three APIs. All you need to do is to buy the DMS service, create a queue, and send or receive messages via the web console.

Key Challenges: It is costly to develop a message queuing service. APIs are too complex to use, especially for those who do not have much background in this field.

Proven in the field

Solution: DMS is widely used in Huawei products and carrier-class cloud systems worldwide. Statistics from current 24/7 usage are proof of DMS performance.

Key Challenges: Home-grown message queuing services are largely based on open source software and are not proven technologies.

Reliable and stable

Solution: DMS guarantees message delivery, thanks to features such as data redundancy, data persistence, fault tolerance, high availability, and automatic fault discovery and migration. A dead-letter queue is in place to ensure that all messages are correctly consumed.

Key Challenges: Mission-critical services demand that the message service should have robust defenses against message loss and service discontinuity.

Secure

Solution: Mature IAM service is in place to provide identity authentication. All messages stored in queues are secured against unauthorized access.

Key Challenges: Unauthorized access to messages compromises data security and privacy.

Flexible

Solution: One-to-one, one-to-many, and many-to-many are just some of the various communication modes supported.

Key Challenges: We are trying to find a message service, one that can address various communication needs, ranging from one-to-one communication to inter-system broadcasting.

Product Architecture

DMS

You have the choice to access a message service cluster using either method:

  • Using the DMS console
  • Having your business system make API calls to the message service cluster

Application Scenarios

Service Decoupling

In an e-commerce system, DMS can be used to provide message notifications for supplementary services that are dependent on other systems. This allows key services to proceed without waiting for other systems, decoupling them from supplementary services. For example, the order processing (OP) system puts order information in DMS message queues, then the inventory and delivery management systems read from the queues.

Inter-System Consistency

DMS keeps system status (success or failure) consistent across systems. A typical use case would be to transfer transaction data reliably across systems, saving you the administrative cost of managing data consistency.

Off-Peak Traffic Control

If there is a capability gap between upstream and downstream systems, you can use DMS to dump data between systems until downstream systems are ready to process data. This helps avoid system overload and crashes. In this way, you can increase system availability without increasing system complexity.

Log Synchronization

Applications can transmit log messages reliably and asynchronously to DMS. Other components can then read log messages from DMS for further analysis, either in real time or offline. DMS can also be used to collect key log information required for monitoring.

Function Description

Strong Set of RESTful APIs

DMS provides mainstream RESTful APIs for message access. You can easily call the APIs both outside and inside the cloud to address different needs. In the near future, multi-language SDKs will be supported and incorporated into the Huawei capability exposure system.

Scalable Queues

The built-in distributed cluster and multi-cluster support enable an unlimited number of messaging service instances to read and write an unlimited number of messages at any time.

Personalized Customization

DMS allows you to increase the concurrency of access to your message queues if the default access performance does not meet your requirements.

Easy O&M

O&M operations, such as monitoring the number of queues, sent messages, received messages, and dead-letter messages, occur in the background. You only need to see if your message queue lives up to performance.

Developer Resources

API

You can send HTTP/HTTPS requests for calling HUAWEI CLOUD APIs to manage your ECSs. In this way, you can flexibly, accurately, and promptly perform operations on your applications, resources, and data.

Regions and Endpoints

Introduce regions and endpoints provided by HUAWEI CLOUD for services.

Registration