<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">The defaults latency settings are CheckLatency=Y and MaxLatency=120.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">QF/n handles messages serially-- when messages A, B, and C are received, they go into a queue. The engine calls FromApp/FromAdmin on message A, and does not do anything with B until the FromApp(A)/FromAdmin(A) callback returns.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">FromApp and FromAdmin are user code, i.e. that's your code, not the engine. If those functions are written so that they don't return quickly, then the message queue will start to back up with unhandled messages. If you are receiving messages faster than you consume them, then this latency check will be triggered.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">With the above defaults, if 120 seconds elapse between receiving a message and processing it, the engine will throw an error and disconnect. This can a good thing in a trading situation, because the market can move a lot in 2 minutes; you don't want to be acting on old data.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Turning CheckLatency off disables this check, and is not advised.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">I have actually run into this situation before. I had a client move their app to a slower VM without telling me, and it was not capable of handling the firehose of data we were accustomed to seeing it receive without trouble. Without this latency check, I wouldn't have learned about it until much later.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">-Grant</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div></div><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Jul 14, 2025 at 10:45 PM somnath pal <<a href="mailto:palsomnath@hotmail.com">palsomnath@hotmail.com</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 class="msg-6466334046748064080">
<div dir="ltr">
<div style="margin:0px;font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br></div>
<div style="margin:0px;font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
It is good that you pointed out about CheckLatency. I could not find any information on this. Can you point me to any link or example where I could have details like the effect of CheckLatency=Y vs N.</div>
<div style="margin:0px;font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br></div></div></div></blockquote></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span></span></div></div></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>