librelist archives

« back to archive

Instability when using sync tasks

Instability when using sync tasks

From:
Loic d'Anterroches
Date:
2012-02-15 @ 08:02
Hello,

just to let you know that over the long run, the use of sync tasks is
not a good idea. If for reason x, y or z, the REQ/REP is not fully
completed, the ZMQ socket is locked. So, I am going to rewrite the task
system to use a PUSH work SUB to results approach with a unique id for
each work payload. This will make the system way more robust and allow
time out etc.

loïc

Re: [photon.users] Instability when using sync tasks

From:
William Martin
Date:
2012-02-15 @ 08:05
Thanks loic !

On Wed, Feb 15, 2012 at 9:02 AM, Loic d'Anterroches <loic@ceondo.com> wrote:
> Hello,
>
> just to let you know that over the long run, the use of sync tasks is
> not a good idea. If for reason x, y or z, the REQ/REP is not fully
> completed, the ZMQ socket is locked. So, I am going to rewrite the task
> system to use a PUSH work SUB to results approach with a unique id for
> each work payload. This will make the system way more robust and allow
> time out etc.
>
> loïc



-- 
---------------------------------------------------------
William MARTIN
wysman @NoSpAm@ gmail @DoT@ com