On Fri, Jun 8, 2012 at 12:10 AM, kaka chen <[email protected]> wrote:
> Sorry, got it, I found it should share one context in all client threads, > then will be fast again. I think the problem is the context is very heavy, > cost many resources, am I right? No, the problem is that REQ-REP is fully synchronous so you are doing a round-trip for each message. Please read the Guide and follow the examples for doing asynchronous request-reply using ROUTER/DEALER sockets. -Pieter _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
