{{Quickfixn}} general question about data flow handling
Walter Robert Ditzler
ditwal001 at gmail.com
Tue Nov 12 12:01:37 PST 2013
Grant,
very good news :) - i will try that out tomorrow and make a own build, will
let you know,
Thanks a lot,
Walter.
From: quickfixn-bounces at lists.quickfixn.com
[mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Grant Birchmeier
Sent: Dienstag, 12. November 2013 20:46
To: Mailing list for QuickFIX/n
Subject: Re: {{Quickfixn}} general question about data flow handling
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
<mailto: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>
[mailto: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>
[mailto: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 <mailto:Quickfixn at lists.quickfixn.com>
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com <mailto:Quickfixn at lists.quickfixn.com>
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com <mailto: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/2b50a3e0/attachment-0002.htm>
More information about the Quickfixn
mailing list