PUB/SUB+PUSH/PULL Messaging Broker - How to improve latency and performance?

末鹿安然 提交于 2019-12-08 12:25:31

问题


I have implemented this ZMQ Client-Server architecture with the order to one message from Sender client, this message arrives at other clients Receiver 1, Receiver 2 and Receiver 3.

This means that the all receivers can see the same data from Sender

In this architecture, I have python clients and c++ clients. The server is coded with Python using pyzmq binding.

The question is: Why on my python clients the message appears faster than on my c++ clients?

Is this related to the fact that the server was coded in Python?

What kind of non-functional considerations should I have, so as to improve the performance of the messaging system?

Is possible think in one thread by each message routed to the receiver?

I would meet your considerations about it

来源:https://stackoverflow.com/questions/49439387/pub-subpush-pull-messaging-broker-how-to-improve-latency-and-performance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!