Programming for network latency using the circuit breaker pattern

Network latency is a critical aspect of the IIoT application that needs to be handled to provide consistent SLAs by the cloud tier. A typical cloud service utilizes microservices design and hence, interacts with many different dependent services. A developer should use various strategies to isolate the microservice from any of the failures and latency arising due to transient faults, such as slow timeouts, network connections, or the resources being overexercised or the temporary unavailability of the dependent services. Developers should make sure to handle network faults and take appropriate corrective action to handle failures elegantly, so that the applications can carry ...

Get Industrial Internet Application Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.