|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (4)
View page history... |
| h3. Situation |
| * A network connection is deemed unpredictable. It has fluke (transients) failures occurring all the time. But only when the network will be down more than 20% of the time, that the fault will be send to the event listener. |
h3. |
... |
| h3. Design |
| IEP deals with streams, but allow us to work with relations with this the process. In this case, we want to do the following: # Set a time window that is large enough to avoid boundary conditions, but small enough to make quick decisions # Count the number of events that will allow us to make a decision on the outcome (ON/OFF events) # Make the decision which is the most relevant event. # Each time a decision is made (every 10 seconds), and that a higher than 20% down rate is detected, insert a new event it the outbound stream. |
h3. IEP Constructs Used |
... |
| h3. Decision point, the ON/OFF count comparison |
| \\ !CompareOnOffCounts.PNG|thumbnail!\\ |
| \\ !CompareOnOffCounts.PNG|thumbnail!\\ At the decision point, we are left with the simple need to compare which count we have the most and to forward this event. Only when the OFF rate is greater than a 5th of the ON rate, an event will be forwarded to the outstream. |
| \\ |
... |