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

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.
主站蜘蛛池模板: 新干县| 微山县| 曲水县| 庄浪县| 滕州市| 社会| 莆田市| 冀州市| 黔西县| 廉江市| 曲沃县| 都兰县| 黄梅县| 毕节市| 马边| 高淳县| 兴宁市| 安平县| 信阳市| 洛扎县| 云林县| 涡阳县| 龙海市| 南投县| 手游| 南昌县| 淮北市| 大竹县| 犍为县| 海阳市| 娄烦县| 类乌齐县| 清水县| 千阳县| 菏泽市| 林甸县| 娱乐| 双柏县| 宜兴市| 贡觉县| 鹤峰县|