Results 1 to 7 of 7

Hybrid View

  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Hi Dejan,

    I confirm Lightstreamer is currently based on a "publish-on-demand" paradigm, but we will support "publish-always" too in the future.

    In the meanwhile, if you use the technique suggested by Giuseppe, you can make it extremely efficient by specifying a very very low update frequency for each "fake" subscription. This will make no actual data actually flow on the connection, while still keeping all the items subscribed too. Let us know if you need us to expand on this.

    Thanks,
    Alessandro

  2. #2
    i am using a ANGULAR client and can you help me understand it better on how to make a fake subscription and that with a low frequency updates only for that fake client alone..

    Any updates on Publish-Always paradigm !!!

    Thanks
    Rajesh

  3. #3
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Rajesh,

    Regardless of the client technology used the idea of fake subscriptions consists of a client application that remains active and connected to the Lightstreamer server and subscribes all the Items for which you want a always ready snapshot.
    The client indeed does not need to consume the received updates so you can set a very low fequency for the subscriptions, for example with JavaScript API (setRequestedMaxFrequency):

    subscription.setRequestedMaxFrequency(0.001);

    the fake client will receive an update for Item every 1000 seconds.

    About the Publish-Always paradigm I can confirm that we are not there yet.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Replies: 1
    Last Post: April 17th, 2015, 09:59 AM
  2. Snapshot for subscribed items.
    By atejero in forum Adapter SDKs
    Replies: 3
    Last Post: October 3rd, 2013, 03:08 PM
  3. Replies: 3
    Last Post: May 3rd, 2013, 09:26 AM
  4. Replies: 1
    Last Post: August 10th, 2010, 10:33 AM
  5. Pre-Processor Snapshot vs DataAdapter Snapshot
    By sukhdev in forum Adapter SDKs
    Replies: 3
    Last Post: August 1st, 2007, 08:44 AM

Tags for this Thread

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 11:45 PM.