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

Components

The strong characteristic of microservices architecture is the large number of components that can fail. Containers, databases, caches, and message brokers serve as examples of failure points.

Imagine the scenario where the application begins to fail, simply because the hard drive of a database is faulty in some physical component. The time of action in applications where there is no monitoring for this type of problem is usually high because normally the application and the development and support teams always start investigating failures on the software side. Only after confirming that the fault is not in the software do teams seek problems in physical components.

There are tools like pens-sentinel to provide more resilience to the pens, but not all the physical components have that kind of support.

A simple solution is to create a health check endpoint within each microservice. This endpoint is not only responsible for validating the microservice instance, whether it is running, but also all the components that the microservice is connected to. Tools like Nagios and Zabbix are also very useful for making aid work to health check endpoints.

主站蜘蛛池模板: 建湖县| 监利县| 五华县| 亚东县| 寿阳县| 会东县| 枝江市| 梅河口市| 南华县| 建水县| 博兴县| 襄城县| 玉门市| 万州区| 辽中县| 晋江市| 张北县| 文水县| 伊通| 柯坪县| 汉中市| 凌源市| 泊头市| 荣成市| 朝阳县| 布拖县| 新泰市| 奉贤区| 苍梧县| 德安县| 和平县| 陵川县| 龙海市| 集贤县| 土默特右旗| 裕民县| 时尚| 哈巴河县| 马公市| 化德县| 桃园县|