-
July 4th, 2012, 08:49 AM
#2
Hello.
You have different options:
- first of all, I would suggest to use just one Lightstreamer connection and subscribe multiple items on it. It will greatly reduce the overhead due to connection monitoring and handling;
- second, you can unsubscribe items not currently shown (i.e.: subscribe them on viewWillAppear and unsubscribe them on viewDidDisappear), which will reduce both the data traffic and the CPU usage;
- last but not least, Lightstreamer has plenty of features to fine tune the data throughput, and the two most important are maxBandwidth on LSConnectionConstraints and requestedMaxFrequency on LSTableInfo. If your app is consuming too much CPU time processing updates, you may try to reduce the number of updates with these two parameters.
Hope this helps.
Best regards,
Gianluca
Similar Threads
-
By ernivan in forum Client SDKs
Replies: 1
Last Post: March 11th, 2011, 09:35 AM
-
By churrusco in forum General
Replies: 10
Last Post: May 8th, 2007, 02:04 PM
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 10:02 AM.
Bookmarks