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.
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.
We have essentially two different 'types' of data feeds; for one, we can detect that we are not receiving data, and upon resumption, how much data is buffered.
However, the other type is more problematic: it is largely a 'copy from here to here' system that doesn't report how much data is waiting to be sent... so my challenge will be to find out how to detect the break and resumption in the other system.
Again, just stating what my challenge is.
Many of these sites have low band width and video would overwhelm the system.
Last Visit: 31-Dec-99 19:00 Last Update: 17-Jan-18 6:08