Results 1 to 2 of 2
  1. #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.

  2. #2
    Join Date
    Feb 2012
    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).




Similar Threads

  1. How to close Session in LS?
    By spganesh in forum Client SDKs
    Replies: 1
    Last Post: February 10th, 2010, 11:23 AM
  2. How to Close Connections Properly
    By lizsedley in forum Adapter SDKs
    Replies: 1
    Last Post: September 21st, 2009, 02:32 PM
  3. Suspend when close IE
    By skidrow406 in forum Client SDKs
    Replies: 4
    Last Post: March 11th, 2008, 06: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
All times are GMT +1. The time now is 10:05 PM.