<div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000">Is it possible that you are spending too much time processing incoming messages on the QF thread?</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">Anything inside the OnMessage callback is happening on the QF thread.  The engine will not proceed to the next message until OnMessage returns.  If you have too much processing inside of OnMessage, you could see the situation you are describing.</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">One strategy is to have OnMessage do little more than push the message onto a storage queue, where another thread can read it and process it safely.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 27, 2018 at 8:12 AM, Gabe Barwick <span dir="ltr"><<a href="mailto:barwickhome@hotmail.com" target="_blank">barwickhome@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_8399617537416854821divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div class="m_8399617537416854821postcell m_8399617537416854821post-layout--right">
<div class="m_8399617537416854821post-text">
<p>I am receiving data via QuickFix/.net engine.</p>
<p><br>
</p>
<p>I am on a Windows 2008 R2 server, and I see intermittant delayed acking of incoming FIX messages. The delay causes the MarketData provider to hold sending further FIX messages, and hence latency is introduced into the prices.</p>
<p><br>
</p>
<p>Often the delay is around 200ms.</p>
<p><br>
</p>
</div>
</div>
<div>After websearch, I have tried setting TcpAckFrequency to 1 and TCPNoDelay to 1.<br>
<br>
<p>Neither has any affect. Does anyone know how to disable this "feature" on server 2008?</p>
</div>
<br>
<p></p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/<wbr>listinfo.cgi/quickfixn-<wbr>quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br></font></font></div><div><font size="2"><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br></div><div><font size="2"><b>Made-To-Measure Trading Solutions.</b></font></div><div><font size="2">Exactly what you need. No more. No less.</font><font size="2"><b><font color="#3333ff"><br></font></b></font></div><div><font size="2"><a href="http://connamara.com" target="_blank">http://connamara.com</a><br></font></div></div>
</div>