java - 关于一个发布订阅模式下的问题
PHP中文网
PHP中文网 2017-04-18 10:37:47
0
1
456
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
洪涛

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!