- Microservice Patterns and Best Practices
- Vinicius Feitosa Pacheco
- 185字
- 2021-06-30 19:02:58
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.
- 物聯網(IoT)基礎:網絡技術+協議+用例
- EDA技術與VHDL編程
- Spring Boot 2.0 Projects
- 農產品物聯網研究與應用
- 局域網組建、管理與維護項目教程(Windows Server 2003)
- Windows Server 2003 Active Directory Design and Implementation: Creating, Migrating, and Merging Networks
- Spring Cloud微服務架構進階
- 數字調制解調技術的MATLAB與FPGA實現:Altera/Verilog版(第2版)
- 物聯網長距離無線通信技術應用與開發
- SAE原理與網絡規劃
- 端到端QoS網絡設計
- Hands-On Microservices with Node.js
- 深入理解Nginx:模塊開發與架構解析
- 5G時代的大數據技術架構和關鍵技術詳解
- 智慧城市中的物聯網技術