Results 1 to 5 of 5
  1. #1

    Multiple Subscription

    Hi,
    i want to update different place in a web page with one item.
    which one is recommended ?
    1. subscribe multiple time for single item.
    2. subscribe once and handle the rest in JavaScript.


    if i subscribe one item with multiple subscription ,does browser receive update multiple time?

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    539
    Hi Milad,

    Yes, I confirm that if you subscribe an item with multiple subscription your client will receive the updates multiple times.
    So, unless you want updates with different frequencies or to have the opportunity to unsubscribe at different times, it is better to have a single subscription.

    Please also note that you can add as a subscription listener two or more grids (StaticGrid or DynaGrid).
    In this way, a single update event received by the JavaScript library will be displayed in two different points automatically.

    Regards,
    Giuseppe

  3. #3
    thanks for your answer.
    Quote Originally Posted by giuseppe.corti View Post

    Yes, I confirm that if you subscribe an item with multiple subscription your client will receive the updates multiple times.

    do you mean "the server sends updates multiple times"?

  4. #4
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    539
    Hi Milad,

    Yes exactly, the data will be sent on the wire multiple times. Hence with a network bandwidth waste.

  5. #5
    Quote Originally Posted by giuseppe.corti View Post
    Hi Milad,

    Yes exactly, the data will be sent on the wire multiple times. Hence with a network bandwidth waste.
    Thanks a lot

 

 

Similar Threads

  1. Push and Subscription Buffering
    By Cerogil in forum Adapter APIs
    Replies: 7
    Last Post: October 29th, 2010, 09:58 AM
  2. Subscription Problem, I think
    By jcroston in forum Client APIs
    Replies: 4
    Last Post: October 7th, 2008, 04:06 PM
  3. recommened usage - multiple item subscription
    By tstojano in forum Client APIs
    Replies: 1
    Last Post: August 13th, 2008, 04:12 PM
  4. subscription came to late
    By michaelvb in forum Adapter APIs
    Replies: 1
    Last Post: May 29th, 2008, 10:07 AM
  5. Replies: 6
    Last Post: May 30th, 2007, 11:47 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 01:43 AM.