[zeromq-dev] performance & ressource tradeoff for sockets ws threads ?

Laurent Alebarde l.alebarde at free.fr
Thu Feb 13 18:08:34 CET 2014

Hi all,

In a server, I want to assign one socket per client (CURVE). What is the 
best in terms of performance & ressources ? Say I want to deal with 
1,000 simultaneous clients.

 1. one socket per thread with an avarage cpu load <1%, and 1,000 threads ?
 2. 100 sockets per thread with an avarage cpu load near 100%, and 10
    threads ?
 3. anything between ?

Some service delivery latency is acceptable.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140213/06f7cfa3/attachment.htm>

More information about the zeromq-dev mailing list