<div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000">You're not spending too much time in a callback are you? If you're spending too much time in callbacks, I think this could delay the heartbeat handling. Not 100% sure, though.<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 6, 2013 at 7:35 AM, Øyvind Sævareid Ellefsen <span dir="ltr"><<a href="mailto:oyvind@ssc.no" target="_blank">oyvind@ssc.no</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="NO-BOK" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Ladies, gents;<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">I have seen some issues in my heartbeat lately, I can see that 2-3 times during the day, I am sending a heartbeat with 35-36 seconds instead of the configured 30 seconds.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">My question is; may that be caused by “too much” work for the application? Honestly, I do not believe such, the application consumes only 2-3% cpu, but still there a lot of operations going on for each receive of MarketData.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Is the heartbeats handled by it’s own thread, or is it running through same thread as the IApplication?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">What happens next, is that my broker sends me a TestReqId, and since I have already sent an heartbeat (delayed) it does not accept my answer on the testreqID (Incorrect TestReq). I am then logged out, but will be logged
in again automatically. I have tried to put a startmarketdatarequest on logon, but it looks like I initiate this request to fast. Is there any best practices for how to handle such disconnects, and automatically start the marketdatarequest again?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Brgds<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Oeyvind Ellefsen<u></u><u></u></span></p>
</div>
</div>
<br>_______________________________________________<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" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font><font color="#3333ff"><br>
</font></font></div><div><font><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><b>Made-To-Measure Trading Solutions.</b></font></div><div><font>Exactly what you need. No more. No less.</font><font><b><font color="#3333ff"><br></font></b></font></div><div><font><a href="http://connamara.com" target="_blank">http://connamara.com</a><br>
</font></div>
</div>