<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Thanks!<br><br><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On 15 Jan 2021, at 17:25, Grant Birchmeier <gbirchmeier@connamara.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default"><div class="gmail_default"><font color="#000000">In a decade of supporting QF, I've never heard of a problem quite like this.  It sounds like you are attempting to treat the symptom, and not the cause.</font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000">Is it possible that your app is just subscribing to too much at once?  How can you be receiving such a massive blast of info at a constantly high rate that your worker thread can't keep up?  That sounds like an insane amount of data (or a really underpowered machine).</font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000">It's hard to give helpful suggestions without knowing more about your counterparty's API, but I wonder if there's an opportunity to split your app into multiple programs, each subscribing to a subset of the data.</font></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 15, 2021 at 10:12 AM Lanfranco Morini <<a href="mailto:Lanfranco.Morini@cegeka.it">Lanfranco.Morini@cegeka.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="IT" style="overflow-wrap: break-word;">
<div class="gmail-m_648399083494068900WordSection1">
<p class="MsoNormal"><span>Hi Artur,<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<ol style="margin-top:0cm" start="1" type="a">
<li class="gmail-m_648399083494068900MsoListParagraph">
<span lang="EN-US">there is a way to disconnect the client with an error? (queue too high)<u></u><u></u></span></li><ol style="margin-top:0cm" start="1" type="a">
<li class="gmail-m_648399083494068900MsoListParagraph">
<span lang="EN-US">You can send a LOGOUT message (35=5 writing in tag 58 the logout motication (e.g. queue too high) and the close the physical connection without waiting for a response<u></u><u></u></span></li></ol>
</ol>
<p class="MsoNormal"><span lang="EN-US">(b) there are any other methods of handling that case?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">                b.     if you mean “that case” = “logout with a specific motivation”, I’m going to say no… but you can choose and share an alternative “custom” method with your counterparty…<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">Hope this can helps<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Best<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Lanfranco<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"></span><u></u><u></u></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Quickfixn <<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>>
<b>On Behalf Of </b>Artur Pietrzyk<br>
<b>Sent:</b> venerdì 15 gennaio 2021 13:45<br>
<b>To:</b> <a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a><br>
<b>Subject:</b> {{Quickfixn}} How you guys handle the case when the initiator is not able to keep up with the load<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If someone will share, I would like to know what is the best case to handle a slow initiator that is not able to keep up with the load.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">We are currently pushing those messages for a session queue, but eventually want to disconnect the client if the queue is too high, this is where we experience issue as it looks like the QuickFix does not have that option to disconnect
 the client, let me know if I'm wrong.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Another option looks like dropping the message for sending and storing for resend request, however, it still will require disconnecting the client at some point when the storage size for the session will be too high.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Basically:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> (a) there is a way to disconnect the client with an error? (queue too high)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> (b) there are any other methods of handling that case?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I look forward to hearing from the group.<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div style="margin-bottom:7.5pt">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:Helvetica,sans-serif;color:rgb(33,33,33)">Artur Pietrzyk<br>
</span></b><span style="font-size:7.5pt;font-family:Helvetica,sans-serif;color:rgb(33,33,33)">CEO and Founder<br>
</span><span style="font-size:7.5pt;font-family:Helvetica,sans-serif"><a href="http://www.coinapi.io" target="_blank">www.coinapi.io</a><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><div><image002.gif></div><u></u><u></u></p>
</div>
</div>

_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">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/listinfo.cgi/quickfixn-quickfixn.com</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div><font size="2"><span style="background-color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">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:rgb(255,204,51)"><span style="background-color:rgb(255,204,102)"><span style="background-color:rgb(255,204,153)"><span style="background-color:rgb(255,255,255)"><span style="background-color:rgb(255,204,0)">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>

<br>
<span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;white-space:pre-wrap;background-color:white"><font size="2">This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC.</font></span><span>_______________________________________________</span><br><span>Quickfixn mailing list</span><br><span>Quickfixn@lists.quickfixn.com</span><br><span>http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</span><br></div></blockquote></body></html>