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

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.
主站蜘蛛池模板: 广南县| 光山县| 威海市| 蓝山县| 潮安县| 嵊州市| 建昌县| 宣恩县| 安康市| 井陉县| 松江区| 巴南区| 会同县| 阳春市| 邢台市| 临澧县| 宁强县| 孟村| 南丰县| 宁夏| 西华县| 新田县| 富源县| 清水河县| 吕梁市| 禄劝| 克东县| 延庆县| 桃园市| 玛纳斯县| 屏边| 彭山县| 兴国县| 博野县| 广河县| 博白县| 衢州市| 呼伦贝尔市| 平阳县| 讷河市| 犍为县|