This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I need to display some realtime data on a web-based application. The data has to be accurate to the tune of 0.25 seconds (ideally). As such, refreshing the page is out of question. What is the best way to do this? The data is read from XML feeds. In the worst case, it is possible to make it a non-web-based application (i.e., stand-alone app). Would this help me in anyway? Thanks Ajay
not sure about the online version, but as for your worst case scenario, it should be doable. Kind of depends on how you are displaying the data and if you can update the data more often than .25 secs. If you can go faster and your displaying the data isn't too intensive, you should have no problems. just pump your read/update thread to run every 150-200 millisecs. That time gap plus your visual update should put you in around 250 ms. You can tweak it to start faster than 150 ms if you find you aren't meeting the 250 ms deadline. Hope you can find a way to do what you want tho. I'm going in that direction soon but all I need is 500ms updates.