-
September 24th, 2015, 09:27 PM
#1
Maintaining snapshot in LS server with no clients subscribed
Hi,
We're working with LS using ARI protocol to feed data to it, implementing our own data provider of course.
Great functionality is available in LS after first client subscribes to an item - LS keeps the snapshot of the item in memory, so when next client subscribes, LS simply feeds him the same snapshot without need to ask for it from DataAdapter (and of course in MERGE / COMMAND mode it nicely maintains the snapshot with updates received between the 2 subscriptions). However, this all disappears after all the clients unsubscribe. The next subscription after that will require the snapshot to be retrieved from DataAdapter again.
We'd like to avoid recreating this snapshot maintenance mechanism on our side (since it already exists in LS), but just simply send the updates to LS from DataAdapter even if there are no clients subscribed. Is it possible to do it by implementing ARI data / metadata adapter subscription or session management methods in a different way?
One ugly workaround (that we'd like to avoid) is simply keeping one useless client subscribed to the item all the time (originating from our server). Hope that we don't have to do that.
Tnx,
Dejan
Similar Threads
-
By lizamare in forum Adapter SDKs
Replies: 1
Last Post: April 17th, 2015, 09:59 AM
-
By atejero in forum Adapter SDKs
Replies: 3
Last Post: October 3rd, 2013, 03:08 PM
-
By itcecsa in forum General
Replies: 3
Last Post: May 3rd, 2013, 09:26 AM
-
By genkijo in forum Client SDKs
Replies: 1
Last Post: August 10th, 2010, 10:33 AM
-
By sukhdev in forum Adapter SDKs
Replies: 3
Last Post: August 1st, 2007, 08:44 AM
Tags for this Thread
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 04:28 AM.
Bookmarks