{{Quickfixn}} general question about data flow handling

Grant Birchmeier gbirchmeier at connamara.com
Tue Nov 12 11:45:37 PST 2013


If you build from master then the socket should release properly.

This fix will be in the next release.


On Thu, Oct 31, 2013 at 8:18 AM, Walter Robert Ditzler
<ditwal001 at gmail.com>wrote:

> Hi Phillip,
>
> I know what open source means and i am also willing to invest time - thats
> why i asked the list for a "brief" answer. But I already spent hugh time to
> find out how and where the socket communication is done in QuickFix/n but
> still I haven't found it, since the socket doesn't properly shut down and I
> always got hanging process, which I have to kill in task manager by
> my-self.
>
> So that's why I asked the maintainer directly, where to start - at this
> point - many thanks for the terrific explanation - which helps a lot.
>
> Take care,
>
> Walter.
>
>
>
>
> -----Original Message-----
> From: quickfixn-bounces at lists.quickfixn.com
> [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Phillip Wei
> Sent: Donnerstag, 31. Oktober 2013 13:14
> To: Mailing list for QuickFIX/n
> Subject: Re: {{Quickfixn}} general question about data flow handling
>
> Hi Walter,
>
> You should look into the source code.  If you understand the concepts you
> are asking about, it's not that hard to if you take some time to look
> through it.  Since this is an open source project; you have access to as
> much code as any of us do.
>
> Acceptors and Initiators all take IMessageStoreFactory, ILogFactory,
> IMessageFactory - you can write your own in memory versions, or there are
> some versions you can use in the core library that may serve your needs.
>
> The default loggers (for both logging and message store) use a StreamWriter
> so they do not any asyncronous writing.  If you look at their public
> interfaces of ILog, you will see there are four exposed methods (Clear,
> OnIncoming, OnOutgoing, OnEvent).  These are all called in a blocking
> fashion (in both Sesssion.cs and SocketReader.cs), which I think is the
> right architectural choice.  If you want deferred writes, pass in an
> implementation of ILogFactory (or IMessageFactory) that performs
> asynchoronous writing.  If you think this would be valuable to others,
> submit a pull request to have it incorporated into the main source code.
>
> Phil
>
> -----Original Message-----
> From: quickfixn-bounces at lists.quickfixn.com
> [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Walter Robert
> Ditzler
> Sent: Thursday, October 31, 2013 7:05 AM
> To: 'Mailing list for QuickFIX/n'
> Subject: {{Quickfixn}} general question about data flow handling
>
> Hi there,
>
> for my understanding i would like to know, if the QuickFix/n toolset is:
>
> - A total in-memory data flow processing, except the writing of logs, means
> from FIX input until FIX output there is no disk IO fired or needed?
>
> How do you write logs, do you use synchronious methods or async methods
> using pipeline's like .net's FIFO "ConcurrentQueue<T>" to avoid latency
> until files are written?
>
> Many thanks for a brief input,
>
> Walter.
>
>
>
> _______________________________________________
> 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
>
> _______________________________________________
> 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/20131112/2b7fcb6b/attachment-0002.htm>


More information about the Quickfixn mailing list