-
May 30th, 2016, 07:24 AM
#1
Multiple Subscription
Hi,
i want to update different place in a web page with one item.
which one is recommended ?
- subscribe multiple time for single item.
- subscribe once and handle the rest in JavaScript.
if i subscribe one item with multiple subscription ,does browser receive update multiple time?
-
May 30th, 2016, 11:07 AM
#2
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
-
May 31st, 2016, 04:51 AM
#3
thanks for your answer.
Originally Posted by
giuseppe.corti
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"?
-
May 31st, 2016, 08:05 AM
#4
Hi Milad,
Yes exactly, the data will be sent on the wire multiple times. Hence with a network bandwidth waste.
-
May 31st, 2016, 08:14 AM
#5
Originally Posted by
giuseppe.corti
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
-
By Cerogil in forum Adapter SDKs
Replies: 7
Last Post: October 29th, 2010, 09:58 AM
-
By jcroston in forum Client SDKs
Replies: 4
Last Post: October 7th, 2008, 04:06 PM
-
By tstojano in forum Client SDKs
Replies: 1
Last Post: August 13th, 2008, 04:12 PM
-
By michaelvb in forum Adapter SDKs
Replies: 1
Last Post: May 29th, 2008, 10:07 AM
-
By rsouissi in forum Adapter SDKs
Replies: 6
Last Post: May 30th, 2007, 11:47 AM
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 05:16 PM.
Bookmarks