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

Pavol Malosek malosek at fastmq.com
Tue Oct 20 12:22:29 CEST 2009


Here you should find all the info http://www.zeromq.org/whitepapers:design-v03

Have a look in examples directory, exchange(gtw.cpp) and camera(sender.cpp)

  ----- Original Message ----- 
  From: Wong Yam Yip 
  To: zeromq-dev at lists.zeromq.org 
  Sent: Tuesday, October 20, 2009 11:46 AM
  Subject: [zeromq-dev] Use of parameters in API for Multithreading


  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

  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!


  zeromq-dev mailing list
  zeromq-dev at lists.zeromq.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20091020/f2c20dc6/attachment.htm>

More information about the zeromq-dev mailing list