Daniel,
   We do this with our handlers.  Internally mongrel sets up a push/pull 
socket for sending messages to handlers so 0MQ will round robin across 
all of them.  It is important to note that the messages are sent 
immediately to the handlers instead of the handlers requesting a new 
message when they finish with one.  This will result in messages queing 
up in a particular handler if there is one slow message in the group.

I don't think there is any special config you need to do, just starting 
multiple tir handlers should get them all subscribing.  If you have 
issues just post and I'll try to help you out.

-Rob

On 6/17/12 3:25 AM, cd rubin wrote:
>
> Morning all
>
> I have happily succeeded in seeing mongrel2 and tir serve some dynamic 
> content. I now would like to work on some of the performance/process 
> tuning that I have imagined possible. My naive hope is that I can get 
> tir to launch more than one process for a particular handler. With the 
> aim being that more than one long-running request can be handled at a 
> time. Where should I be looking to achieve this? Thanks!
>
>  - Daniel

Reply via email to