Hi Saju, > I am not able to replicate this behaviour. If I start the server your > server with a sleep(60) instead of the sleep(1), and then fire multiple > clients against this server, all clients get queued up with a ~60sec > delay between each client. The /*do work*/ payload of your main loop is > sequential. As I understand IO is handled by independent IO threads but > that doesn't automatically "parallelize" your application itself.
If processing one task takes 60 secs, single thread obviously can't do more than 1 message a minute. To create a multithreaded server have a look here: http://www.zeromq.org/blog:multithreaded-server Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
