[zeromq-dev] Use of parameters in API for Multithreading

Wong Yam Yip hosin_fly at yahoo.com
Tue Oct 20 11:46:08 CEST 2009


Hi, 

I am building an app with multiple receivers each in their own thread and senders sending to multiple receivers. I see that the API for creating queues and exchanges has parameters for threads but I cant find an example that gives me a gd idea of how to make full use of the parameters to create an optimal app for multiple thread system.

Also, do I have to create multiple io_thread_t and multiple api_thread_t to achieve an optimal multithreaded system? and how does that related to the number of threads I have to create in the dispatcher?

I need to built a high throughput system in a multicore environment. My goal is to make full use of the threading to achieve highest throughput possible.. Detail explanation on the parameters will be much appreciated. Thx

Regards,
Nic Wong



      New Email names for you! 
Get the Email name you've always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/sg/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20091020/5d9dd9b2/attachment.html>


More information about the zeromq-dev mailing list