Results 1 to 5 of 5

Hybrid View

  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Hi Sinead

    Lightstreamer can perform a frequency filter on the updates for each item, but it does not perform any "summing" on field values; it just performs merging of changed and unchanged fields. You can take advantage of Lightstreamer frequency filter in your scenario only if you can feed it with cumulative metric values (to be computed by summing the metrics in the Data Adapter) and subtract the old cumulated values from the new ones on the client side.

    If you find this unacceptable, you need to specialize your items.
    In fact, as an architectural constraint, the Data Adapter has no knowledge of the details of the client requests, but it only knows the "items", which can be requested by multiple clients with different options.
    You can define an item for "Propertya, Metric1 at a frequency of 1 second", one for "Propertya, Metric2 at a frequency of 5 seconds" and so on, choosing suitable names for them. Your Data Adapter should be able to recognize the different items, with their own characteristics, based on their names only, and feed them accordingly.
    However, this means that the Data Adapter should provide to Lightstreamer Server two distinct flows of events for the two items. It can perform only one database polling cycle in order to provide both flows, but this mechanism has to be entirely implemented in the Data Adapter code.

    Dario

  2. #2
    Member
    Join Date
    Jan 2007
    Location
    Dublin
    Posts
    5
    Thanks for your help Dario. Sinead.

 

 

Similar Threads

  1. Database Feed
    By mode_vigilante in forum Adapter SDKs
    Replies: 16
    Last Post: January 27th, 2012, 03:58 PM
  2. How And Where To Specify Database As Data Feed?
    By devidasan in forum Adapter SDKs
    Replies: 1
    Last Post: March 17th, 2009, 11:00 AM
  3. Replies: 3
    Last Post: May 14th, 2008, 10:01 AM
  4. the many concurrent connection to database.
    By hungn in forum Adapter SDKs
    Replies: 2
    Last Post: August 23rd, 2007, 09:21 AM
  5. Adapter Database Pulling
    By Excalibur in forum Adapter SDKs
    Replies: 4
    Last Post: October 3rd, 2006, 09:38 AM

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 08:33 PM.