Help Center/ Distributed Message Service/ FAQs/ How Is the Performance of Global FIFO Queues?
Updated on 2023-09-04 GMT+08:00

How Is the Performance of Global FIFO Queues?

Compared with partition-level FIFO queues, global FIFO queues have restrictions in application, deteriorating their performance. For example, to ensure that messages are globally retrieved in the order they were sent, you cannot configure multiple partitions to improve concurrent message retrieval.

In global FIFO queue mode, the message retrieval order is ensured by DMS queues, and places requirements on your service.

  • Messages must be created in order and then sent to message queues in synchronous mode, which is less efficient than asynchronous message transmission mode.
  • Messages must be retrieved and acknowledged in order, and messages in a queue cannot be concurrently consumed using multiple clients or threads.

You are advised to use the global FIFO queue mode in scenarios with high requirements for ordered message processing, such as processing transactions or financial transaction messages.