The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
Some people have surnames as first names and I've seen first names as surnames as well. Go figure.
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
I have Alexa and a friend I talk to over Skype has Hey Google.
We try to provoke arguments between them.
But it is educational...just this morning I asked Alexa for the winning
6/49 Lottery numbers and she cited a quote from the Bible,
At work, we have time series data collected from multiple remote sites.
On occasion, a communication break with the remote site occurs and collected data is buffered; when the communication break is resolved the buffered data is passed to the receiving system. All of the data is time stamped from when it originated, not from when it is received at corporate.
There are two types of calculations:
event based - execute the calculation when an input event is received and time stamp the resultant value with the originating event time stamp
periodic - execute the calculation on a timed basis and use whatever values are available; the resultant value is time stamped with the execution time
So.. now the issue.. if the data is buffered, the periodic calculations are useless, but, periodic calculations are a business requirement.
I need to devise a system to:
detect a communication break
detect when the communication break is resolved and the buffered data has been received
delete the periodic values for the affected site for the affected time frame
re-execute the periodic calculations for the affected site for the affected time frame keeping in mind calculation dependencies; an output from periodic calculation 'A' may be used in periodic calculation 'B'
make the system that gathers the periodic data aware of the recalculated data so they can reload it
I have a conceptual plan written... starting to work on the pieces.