{{Quickfixn}} CheckLatency

Grant Birchmeier gbirchmeier at connamara.com
Tue Jul 15 11:10:47 PDT 2025


Case a) CheckLatency=Y and MaxLatency=120.

If it takes more than 120 seconds to process a message then session will be
disconnected. So for 10 messages (subject to max 120 seconds for each) I
have 1200 seconds time to process?

No.  For any given message, you have until (that message's SendingTime+120)
to handle it.  It doesn't matter how many messages are in the queue before
it.

Thus, it is important that all user callbacks return quickly.  Operations
that take non-trivial amounts of time should be deferred to worker thread.

Case b) CheckLatency=N, it doesn't matter how long I take to process 1
message and it will never disconnect.

Correct.  But such latency could ause other unexpected side effects,
depending on the system.  But that's the risk you take.

-- 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20250715/83c7cc98/attachment.htm>


More information about the Quickfixn mailing list