Fault Tolerance and Recovery
MTConnect® does not provide a guaranteed delivery mechanism. The protocol places the responsibility for recovery on the application.
//we could elaborate on this more
The application failure scenario is easy to manage if the application persists the next sequence number after it processes each response. The MTConnect® protocol provides a simple recovery strategy that only involves reissuing the previous request with the recovered next sequence number.
There is the risk of missing some Events, Samples, and Condition if the time between requests exceeds the capacity of the Agent’s buffer. In this case, there is no record of the missing information and it is lost. If the application automatically restarts after failure, the intervening data can be quickly recovered.