Usage scenarios

  • Decoupling: Data interaction between systems through the messaging system without dependence on each other
  • Redundancy: Some message systems have message persistence capability to avoid the risk of message loss before processing
  • Extension: Message system is a unified data interface, each system can be independently extended
  • Peak processing capacity: the message system can withstand the peak traffic, and the business system can obtain and process the corresponding amount of requests from the message system according to the processing capacity
  • Recoverability: The failure of some components in the system does not affect the entire system, and it can still retrieve and process data from the messaging system after recovery
  • Asynchronous communication: In scenarios where a request does not need to be processed immediately, the request can be placed in the messaging system and processed when appropriate