Dear users,
I have to implement a system where a given number of event might occur in a certain lifetime and I want to process in batch. Namely each event should trigger the recomputation of the same object, let's say for example the value of the dow Jones index.
At each time I need to compute it I should read from my data layer all the value of the shares composing the index and apply a formula, which takes a given time to be executed.
In case a stock price changes during the computation, this recomputation event must be queued and processed later. In case many of them changes, this will have to trigger a single recomputation since at the moment I will recompute I will have to read all the stock prices, including the unchanged ones , thus I will get the picture of the last available quotes for all stocks.
How could I implement this use case?
Thank you
Edmondo
Inviata dal mio Windows Phone