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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.