官术网_书友最值得收藏!

Fallbacks

Think about how, even if our microservices are failing, we can still respond to whoever uses them. For example, if we design a microservice that retrieves the offers from a customer but encounters a problem acceding to the data layer, maybe it could return a default set of offers that allows the application to at least have some meaningful information. In the same way, if we consume an external service, we may have a fallback mechanism if that service is not available.

Fallbacks are a common pattern to prevent a problem within your architecture affecting other parts of the system. If we have a good fallback, our application could work until that problem is fixed.
主站蜘蛛池模板: 沙湾县| 浦东新区| 四子王旗| 华池县| 交口县| 望都县| 桑日县| 南召县| 垦利县| 呼伦贝尔市| 涿州市| 桐梓县| 连州市| 武陟县| 泽库县| 新蔡县| 曲沃县| 新龙县| 集贤县| 荣成市| 区。| 浦江县| 余庆县| 加查县| 车险| 铜鼓县| 钟山县| 郎溪县| 昭通市| 台中县| 稷山县| 盐山县| 元朗区| 塔城市| 武邑县| 若羌县| 宁城县| 文水县| 柞水县| 阜新| 天峻县|