Results 1 to 6 of 6

Hybrid View

  1. #1
    Member
    Join Date
    Nov 2010
    Location
    Beijing
    Posts
    5
    Hi Mone,

    The lightstreamer filter was done in the front end, not back end, right?

    So if there are a lot of data in the front end, will there be a performance issue?

    I have another question about the mechanism adapter-to-front end, as I know the adapter class is a singleton class, so when multiple users connects to the same page, and we need to display different data to different user, how can we do that?

    And when one user left that page, the adapter will execute the unsubscribe method, so why other users still can work normally?

    Thanks & Regards
    Gary

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    The lightstreamer filter was done in the front end, not back end, right?
    The isSelected method is part of the MetadataProvider that runs in process with the Lightstreamer server. The client receives only the filtered data

    So if there are a lot of data in the front end, will there be a performance issue?
    As said the filtering is done in the server, btw as stated in the previously linked javadocs the isSelected method should execute fast.

    I have another question about the mechanism adapter-to-front end, as I know the adapter class is a singleton class, so when multiple users connects to the same page, and we need to display different data to different user, how can we do that?
    there are some threads in the forum about this topic; see in example this one: http://goo.gl/t0gfm

    And when one user left that page, the adapter will execute the unsubscribe method, so why other users still can work normally?
    the subscribe method is called when a client subscribes to an item and no other clients are subscribed to that item.
    the unsubscribe method is called when the last client unsubscribes from the item.
    This flow is illustrated in the LS_HOME/DOCS-SDKs/Genral Concepts.pdf file

 

 

Similar Threads

  1. Replies: 5
    Last Post: September 8th, 2009, 03:07 PM
  2. filter/query
    By jamesclinton in forum Client SDKs
    Replies: 2
    Last Post: April 16th, 2007, 12:54 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 05:11 PM.