-
August 13th, 2008, 04:12 PM
#1
The question was answered to by direct interaction.
To resume:
If the second approach is feasible (i.e. the list of prices can be determined at page initialization and it is not expected to change during the page life),
then that approach is to be preferred, as it is more efficent.
Just note that you should setup one OverwriteTable (not MetapushTable) for each price, or a single OverwriteTable which subscribes to all prices in a single group.
Otherwise, using a single MetapushTable or DynaMetapushTable and a COMMAND mode price-list item for each client, as in the first approach, may be easier.
The problem is that if a price belongs to multiple price-lists, the Data Adapter must send each update for all the currently subscribed price-list items.
However, as announced in last July 2008 newsletter, the next minor upgrade of Lightstreamer will provide full "two level push" support, through the new MultiMetapushTables. They would still require price-list items in COMMAND mode, but price details would be acquired through separate price related items (as in the second approach). The page would only need to configure a single MultiMetapushTable (as in the first approach).
Similar Threads
-
By hungtt in forum Adapter SDKs
Replies: 2
Last Post: December 24th, 2010, 07:51 AM
-
By stephenlam in forum Client SDKs
Replies: 5
Last Post: April 22nd, 2010, 09:19 AM
-
By jaguarg in forum Client SDKs
Replies: 1
Last Post: November 6th, 2008, 08:44 AM
-
By adam.connelly in forum Adapter SDKs
Replies: 3
Last Post: August 26th, 2008, 09:42 AM
-
By tstojano in forum Adapter SDKs
Replies: 3
Last Post: August 18th, 2008, 12:55 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 06:28 PM.
Bookmarks