发件人: Zhili.Song(宋志理)
发送时间: 2019年8月30日 14:35
收件人: [email protected].
主题: zmq_connect api blocks zmq dealer message send/recv function

Hi, I use zmq to make inter-process transport. ZMQ_Dealer socket transport 
command, ZMQ Pub send data/event, ZMQ Sub receive data/event。 Each module has a 
dealer, event sub, data sub, data pub, event pub.

1. I found when event/data sub use ZMQ_Connect API to connect other module’s 
pub, The Dealer send/recv may interrupt 3~4 second. And The dealer use ZMQ_Poll 
to wait message and receive.
2.I use zmq_router as a command broker, a module dealer connect to zmq_router, 
sometimes, It needs 10 seconds until the broker receive the dealer message.

Thank you.
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to