PDA

Click to See Complete Forum and Search --> : Been loosing sleep


Sathyaish
Jul 29th, 2003, 05:08 PM
Was just wondering. I have been working with applications of several kinds till now. I've recently been into an application that pulls data from the server and updates the server of its data. Like a channel, it always gets updated content each time you open the application. However, I've never developed an application that updates each client terminal as soon as the data on the central server is updated.

If I sound like I've slept bad, it is not entirely untrue. I am sitting past midnight and its not uncommon. However, I only want to ask you guys if you can offer me input as to how, say for instance, a stock broker's computer system gets automatically updated the second a scrip's price changes on the bourses. It would be foolhardly to assume the clients had timers which retrieved updates every few milliseconds. We have commonly seen software in the client/server model driven architecture wherein the client sends requests to the server for updates and the updates are exchanged. But this is a case wherein the server probably notifies clients by raising events. How is data exchange handled in this scenario. What could possibly be the underlying technology or set of technologies that make this miracle possible.

Finally, where can I find an overview of Electronic Data Interchange (EDI) for a-holes?

lengwai
Jul 30th, 2003, 01:04 AM
However, I only want to ask you guys if you can offer me input as to how, say for instance, a stock broker's computer system gets automatically updated the second a scrip's price changes on the bourses


This sounds like a server broadcast to me. If you're using TCP as your base protocol, i think this one should not be a problem. I did a little of network programming some time back using Java.

It really depends of how you design your R&R mechanism. Some may launch a thread and keeps listening while some may use a timer to read or Request ONLY Reponse. It depends. So if you're not only using Request ONLY Response, i think this should not be a problem isn't it ?

Otherwise i may not have understood your question correctly.