-
April 13th, 2022, 11:28 PM
#1
Messages close together
If two messages arrive close together and I'm still in the OnUpdate logic from the first message, does the second OnUpdate wait for completion? Or am I losing data and I need to change my code to do less in the OnUpdate?
I working with a .Net client on a Windows desktop.
Thank you for your assistance.
-
April 14th, 2022, 09:04 AM
#2
Hi Chuck,
Yes, OnUpdate events are fired sequentially one after the other; this is why it is generally recommended that the processing associated should be fast and in cases where slow processing is expected, switch to a separate thread.
Prevent the OnUpdate events from accumulating is essential to avoid the client from consuming updates with delays.
Please also note that if these delays were to grow enormously so as to fill up network buffers,
then the server would also notice the situation and would take the necessary mitigating actions based on the type of subscription (with the possibility of also having lost updates).
Regards,
Giuseppe
Similar Threads
-
By spganesh in forum Client SDKs
Replies: 1
Last Post: February 10th, 2010, 10:23 AM
-
By lizsedley in forum Adapter SDKs
Replies: 1
Last Post: September 21st, 2009, 01:32 PM
-
By skidrow406 in forum Client SDKs
Replies: 4
Last Post: March 11th, 2008, 05:32 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:23 AM.
Bookmarks