本文已被:浏览 2373次 下载 2996次
Received:August 29, 2018 Revised:September 27, 2018
Received:August 29, 2018 Revised:September 27, 2018
中文摘要: 由于微服务细粒度的服务拆分方式和去中心化的架构设计相比于传统SOA架构更适合当前互联网敏捷开发、快速迭代的需求,但是传统微服务的服务治理技术难以实现不同技术框架和通讯协议建设的服务之间互联互通,并且存在服务治理与服务高耦合的问题.本文基于服务网格思想实现一个具有服务注册发现、负载均衡、协议转换的网络代理作为微服务架构的服务治理独立组件,并通过Netty框架、protobuf序列化方式、Etcd注册中心和加权轮询的负载均衡算法最大化网络代理性能,实验结果表明本文的设计克服了传统微服务存在的问题,并且网络代理具备高可用、高并发、高吞吐量的性能.
Abstract:Because microservice fine-grained service splitting and decentralized architecture design is more suitable for current Internet agile development and rapid iteration than traditional SOA architecture, but traditional microservice service governance technology is difficult to realize the interconnection between services of different technical frameworks, and communication protocols, and there is a problem of high coupling between service governance and services. Based on the service mesh idea, this study implements a network proxy with service registration discovery, load balancing and protocol conversion as a service governance independent component of the microservice architecture, and maximize network proxy performance through Netty's framework, protobuf serialization, ETCD registry, and weighted polling load balancing algorithms. The experimental results show that the design of this study overcomes the problems of traditional microservice, and the network proxy has high availability, high concurrency, and high throughput performance.
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
郑俊褒,沈林强.基于服务网格的微服务架构服务治理研究.计算机系统应用,2019,28(2):55-61
ZHENG Jun-Bao,SHEN Lin-Qiang.Research on Service Governance of Microservice Architecture Based on Service Mesh.COMPUTER SYSTEMS APPLICATIONS,2019,28(2):55-61
郑俊褒,沈林强.基于服务网格的微服务架构服务治理研究.计算机系统应用,2019,28(2):55-61
ZHENG Jun-Bao,SHEN Lin-Qiang.Research on Service Governance of Microservice Architecture Based on Service Mesh.COMPUTER SYSTEMS APPLICATIONS,2019,28(2):55-61