MQ (Message Queue) 消息队列

  Disadvantages of MQ

  • Reduced system availability: System availability is reduced to some extent, why do you say this? Before joining MQ, you don't need to consider the situation of message loss or MQ hang, but after the introduction of MQ, you need to consider it!
  • Increased system complexity: After joining MQ, you need to ensure that messages are not repeatedly consumed, deal with message loss, ensure the order of message delivery, and more!
  • Consistency issues: I mentioned above that message queues can achieve asynchrony, and the asynchrony brought by message queues can indeed improve system response speed. But what if the real consumer of the message is not consuming the message correctly? This will lead to data inconsistencies!
上一篇:Python 3使用xlrd+xlwt读取/写入Excel数据


下一篇:SpringBoot启动报错Consider defining a bean of type ‘com.test.springmvc.dao.xx‘ in your configuration.