Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2009
    Location
    Noida
    Posts
    26

    Raw mode subscription, missing snapshot

    Hello,

    We are facing an issue in RAW mode subscription, below is the description of scenario:-

    Client1 and Client2 subscribing same item in different mode RAW and MERZE (snapshot flag as true) respectively. Our DataAdapter return true for the function call isSnapshotAvailable() to lightstreamer for this item.

    Since RAW mode does not support snapshot, LS never push snapshot update to Client1 while Client2 receive snapshot update. Please correct me if I am wrong.

    In this case Client1 is missing first update (snapshot).

    For us update with snapshot flag true is as important as update with snapshot flag is false. We want to make sure that Client1 also get snapshot update.


    DataAdapter get informed about an item subscription only not about subscription mode and even if we get the information of subscription mode then we have to restrict all the clients to subscribe in same mode, as LS ask isSnapshotAvilable() for first client only, so that we can decide should we return true or false for isSnapshotAvilable() call.

    We want that client subscribing in RAW mode also get snapshot update.

    Would you like to suggest a way so that client subscribing in RAW mode don’t miss snapshot update?
    Pradeep Kr Chahal
    Software Designer
    Expertise in implementing Market Interface, Push technology, Publish-Subscribe Architecture
    pkumar.chahal@gmail.com
    http://www.pradeepchahal.com

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    972
    You may never need to subscribe to your item in RAW mode.
    In fact, if some clients need that no updates are filtered, they could subscribe to the item in MERGE mode with the "unfiltered" flag set,
    that is, by issuing table.setRequestedMaxFrequency("unfiltered") on your table.
    This differs from RAW mode in two ways:
    • The snapshot is included in the update flow; this holds regardless that the subscription is the first one (and the snapshot comes from the Data Adapter) or it is not the first one (and the snapshot is generated by Lightstreamer).
    • If any field is missing in an update coming from the Data Adapter, it is considered as an unchanged field (whereas in RAW mode it is forwarded as a null). This is the same behavior as MERGE mode.

 

 

Similar Threads

  1. Possible missing EOS command?
    By yoadsn in forum General
    Replies: 3
    Last Post: December 22nd, 2011, 12:14 PM
  2. Bad request: LS_Session parameter missing
    By lstest in forum Adapter APIs
    Replies: 5
    Last Post: February 26th, 2010, 02:47 PM
  3. Missing Dictionary Items
    By adam.connelly in forum Adapter APIs
    Replies: 2
    Last Post: August 27th, 2008, 08:59 AM
  4. Pre-Processor Snapshot vs DataAdapter Snapshot
    By sukhdev in forum Adapter APIs
    Replies: 3
    Last Post: August 1st, 2007, 08:44 AM
  5. StocklistConnectionListener missing
    By sukhdev in forum Client APIs
    Replies: 2
    Last Post: July 20th, 2007, 05:44 PM

Bookmarks

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 09:35 PM.