search

Home  >  Q&A  >  body text

java - 关于一个发布订阅模式下的问题

PHP中文网PHP中文网2820 days ago502

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 10:39:47

    I think this is doable. Suppose you have 10,000 message publishers and publish a message every 12 seconds, then there are almost 10,000 messages per second, which is completely affordable for message middleware such as RabbitMQ,Kafka.

    Even if there are more and more messages in the future, the message middleware is distributed and easy to expand. As for the problem of message loss, MQ provides some mechanisms to try to ensure that messages are not lost. Generally, messages will not be lost, but it is not completely guaranteed not to be lost.

    reply
    0
  • Cancelreply