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

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.

主站蜘蛛池模板: 鄯善县| 红原县| 云林县| 尚义县| 夏津县| 桃源县| 塘沽区| 嘉定区| 万宁市| 象州县| 乐安县| 桐柏县| 舞阳县| 上饶市| 那曲县| 巴南区| 锡林浩特市| 阿勒泰市| 安庆市| 盐池县| 阿克苏市| 井冈山市| 邵东县| 灵川县| 彩票| 黄骅市| 永福县| 商水县| 交城县| 清徐县| 金平| 东乌珠穆沁旗| 六盘水市| 石嘴山市| 宁波市| 顺昌县| 青铜峡市| 武鸣县| 浮梁县| 社会| 城步|