librelist archives

« back to archive

Timeout on data reception from a worker into a handler

Timeout on data reception from a worker into a handler

From:
William Martin
Date:
2012-04-30 @ 07:52
Hi,

This is a point that can block your handler.
The last stable version of 0MQ add a timeout optional option on the
recv instruction.
So we can easily add a timeout when we send a message to a synch task.

0MQ version 2.2.0 (Stable), released on 2012/04/04
https://raw.github.com/zeromq/zeromq2-x/master/NEWS

Does someone have test photon and Mongrel2 with this version of 0MQ ?

William

Re: [photon.users] Timeout on data reception from a worker into a handler

From:
Loic d'Anterroches
Date:
2012-05-15 @ 12:26

On 2012-04-30 09:52, William MARTIN wrote:
> Hi,
> 
> This is a point that can block your handler.
> The last stable version of 0MQ add a timeout optional option on the
> recv instruction.
> So we can easily add a timeout when we send a message to a synch task.
> 
> 0MQ version 2.2.0 (Stable), released on 2012/04/04
> https://raw.github.com/zeromq/zeromq2-x/master/NEWS
> 
> Does someone have test photon and Mongrel2 with this version of 0MQ ?

Not me, but I will investigate.

loïc