-
November 23rd, 2009, 11:17 AM
#1
visualtable's hottime and old machines
Hi all,
I'm writing an application which also needs to run on old machines (pentium 3 and IE6).
I need something like lightstreamer's hot/cold time switching but it's too heavy on those old machines as I can have up to 50 topics to display at once.
With 80 or more topicsI get the javascript engine stucked or the master push page not being able to perform the first snapshot (it loops from connecting to polling and viceversa).
Is there a lighter way to perform cell blinking?
-
November 24th, 2009, 09:02 AM
#2
hi,
are setHotToColdTime and setColdToHotTime set to 0?
to try to let the page perform better you could avoid the style change during the initial snapshot applying 0 to setHotTime on the first update per each item and/or you could change the background of only part of your fields.
HTH
-
November 24th, 2009, 04:43 PM
#3
Yes, i tryed both removing onUpdateItems/onChangingValue events and setting hottocold and coldtohot time to 0.
Performance increased drammatically but cell blinking on change value is a requirement.
Anyway I'll try to reduce the number of fields which should be blinked and see how it goes.
Thanks
-
November 24th, 2009, 05:12 PM
#4
what about avoid the blinking only on the first update?
if you make use of the initial snapshot you receive a burst of updates when the application starts, but probably, after that burst, less updates reach the client at once.
So if you just avoid the blinking on the first update the application will be able to start without saturating the CPU and afterwards you could re-enable the blinking on your fields without the huge impact on performances.
-
May 7th, 2010, 08:48 AM
#5
Hi Mone, you said:
to try to let the page perform better you could avoid the style change during the initial snapshot applying 0 to setHotTime on the first update per each item
How to do that ?
because the function to detect that it's the first snapshot is done in the onItemUpdate funtion, while setting the hotTime attribute is done in the onChangingValues function ???
-
May 7th, 2010, 09:25 AM
#6
you have to pass the information from one callback to the other.
there is not a fixed way to do that, you can leverage the extra fields (see the addField method) or any other idea you may come up with.
Our StocklistDemo uses the extra field approach (see the use of the doFade flag and the #fade field)
HTH
-
May 8th, 2010, 09:14 PM
#7
Similar Threads
-
By genkijo in forum Client SDKs
Replies: 1
Last Post: July 20th, 2010, 09:20 AM
-
By hofmanna in forum Client SDKs
Replies: 3
Last Post: January 21st, 2010, 12:25 PM
-
By tuongkha in forum Client SDKs
Replies: 9
Last Post: July 9th, 2008, 09:27 AM
-
By tuongkha in forum Client SDKs
Replies: 19
Last Post: July 8th, 2008, 09:16 AM
-
By bayu in forum Client SDKs
Replies: 1
Last Post: December 17th, 2007, 10:14 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 09:33 AM.
Bookmarks