[zeromq-dev] Hints about async pattern

Marco Trapanese marcotrapanese at gmail.com
Mon Apr 9 19:15:20 CEST 2012

Il 09/04/2012 18:42, Chuck Remes ha scritto:

> Setting an identity has *no* impact on being able to send data asynchronously. The two issues (identity and asynchronous send/recv) are not related.

What I'm trying to say is the identity allows me to send data even if I 
didn't receive a request. If I understand the doc correctly, the router 
cannot send a message to a dealer otherwise.

> I recommend following this approach:
> http://unprotocols.org/blog:15
> By using a credit-based flow control mechanism you wouldn't need to worry about pings and pongs to limit the queue size. You could limit by message count or by byte count depending on how you implemented the flow control.

Thanks, I will try this way.

More information about the zeromq-dev mailing list