基于微服务架构的服务容错分析与实现  被引量:7

Analysis and Implementation of Service Fault Tolerance Based on Micro-service Architecture

在线阅读下载全文

作  者:王江林 向忠清 WANG Jiang-lin;XIANG Zhong-qing(Wuhan Institute of Posts and Telecommunications,Wuhan 430074 China)

机构地区:[1]武汉邮电科学研究院,湖北武汉430074

出  处:《自动化技术与应用》2020年第3期32-37,共6页Techniques of Automation and Applications

摘  要:微服务架构中各个服务之间互相依赖互相调用,其依赖链通常比较复杂,若某个调用失败的服务未得到隔离或者有效控制,必将影响整个系统的稳定性和健壮性。因此,提高微服务架构的服务容错能力显得至关重要。Hystrix是处理和控制远程系统、服务和第三方库节点的框架,该框架具备了服务降级、服务熔断、线程隔离以及服务监控等强大功能,是提升微服务架构容错保护能力的首选。断路器是Hystirx框架的核心组件,它的决策熔断在服务容错中起到了举足轻重的作用。文章分析Hystirx的熔断原理和工作流程,并采用Turbine来汇集Security服务监控消息,实现了断路器、线程隔离等一系列的服务保护功能。In the micro-service architecture, each service is mutually dependent on each other. The dependency chain is usually more complicated. If a service fails to be isolated or effectively controlled, it will affect the stability and robustness of the entire system. Therefore, improving the service fault tolerance of the microservices architecture is crucial. Hystrix is the framework for processing and controlling remote systems, services, and third-party library nodes. It has powerful features such as service downgrade, service buck, thread isolation, and service monitoring. It is the first choice to improve the fault tolerance of microservices architecture. The circuit breaker is the core component of the Hystirx framework, and its decision-making fuse plays a pivotal role in service fault tolerance. The article analyzes the melting principle and workflow of Hystirx, and uses Turbine to collect security service monitoring messages, and implements a series of service protection functions such as circuit breaker and thread isolation.

关 键 词:微服务 HYSTRIX 断路器 线程隔离 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象