{{Quickfixn}} Socket Deadlock Issue

Grant Birchmeier gbirchmeier at connamara.com
Fri Jun 8 13:31:34 PDT 2012


No, I mean their callbacks block, so you should not do any lengthy
processing in them.  (e.g. the guideline to minimize callback-time is
common to all QFs)

I don't know if the other QFs have the resend/deadlock problem that
Christian has brought up.

-Grant


On Fri, Jun 8, 2012 at 3:13 PM, Matt Wood <mjwood7 at gmail.com> wrote:

> Grant,
>
> Just for clarity, are you saying that the C++/java versions are using
> a separate thread for processing?
>
> On Fri, Jun 8, 2012 at 2:37 PM, Grant Birchmeier
> <gbirchmeier at connamara.com> wrote:
> > By the way, this isn't a new thing.  This same behavior is in the C++ and
> > Java versions too.
> >
> >
> > On Fri, Jun 8, 2012 at 1:33 PM, Manuel Lopez <lopez.post at gmail.com>
> wrote:
> >>
> >> To the extent that this would solve or ameliorate some of the issues, it
> >> would be helpful if some application code along the lines suggested by
> >> Thomas Tomiczek and others could be provided as part of the quickfixn
> >> documentation.  It wouldn't be anyone's real app code, but a bare
> >> bones example of the recommended pattern.  Thanks.  (fwiw I think the
> most
> >> recent versions of c# have simplified the syntax for handling separate
> >> threads.)
> >> --Manuel
> >>
> >>
> >>>
> >>> The way I handle this is:
> >>>
> >>>
> >>> *         Take incoming message
> >>>
> >>> *         Propagate to my own queue, then handle it from there.
> >>>
> >>>
> >>> As a result, I am not even "cracking" messages in the receiving thread,
> >>> but later in the processing handler. This one runs, as I said, in a
> >>>  separate thread with an in memory queue ;)
> >>>
> >>> Yes, it COULD fill up, but that would require a large amount of
> messages
> >>> ;)
> >>>
> >>> Regards
> >>>
> >>> Thomas
> >>>
> >>
> >> _______________________________________________
> >> Quickfixn mailing list
> >> Quickfixn at lists.quickfixn.com
> >> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
> >>
> >
> >
> >
> > --
> > Grant Birchmeier
> > Connamara Systems, LLC
> > Made-To-Measure Trading Solutions.
> > Exactly what you need. No more. No less.
> > http://connamara.com
> >
> >
> > _______________________________________________
> > Quickfixn mailing list
> > Quickfixn at lists.quickfixn.com
> > http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
> >
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>



-- 
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.*
*
http://connamara.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120608/9ddbc563/attachment-0001.htm>


More information about the Quickfixn mailing list