微服务自适应熔断和限流机制
首发时间:2023-03-15
摘要:服务架构的提出给服务设计架构领域带来了巨大的影响。越来越多的传统服务架构正在朝着微服务架构转变,微服务封装技术、微服务编排技术也随之得到了发展,并衍生出 Service Mesh服务网格架构,将基础通信交给服务网格去完成。虽然服务网格可以通过提供熔断、限流等方式去保证服务稳定,提供服务间通信以解决一般情况下微服务集群的服务质量的保证,但在不断变化的网络环境情况下当前的服务网格工具不足以保障服务的质量。针对不同网络环境情况下服务质量保证的问题以及当前流行的服务网格管理技术的现状,本文提出了一种新的熔断和限流机制,利用当前的系统资源动态的请求拒绝概率及限流阈值。实验表明,本文提出的自适应熔断和限流机制能有效的降低服务请求时延,提高请求成功率。
For information in English, please click here
Microservice adaptive circuit breaking and rate limiting mechanisms
Abstract:The proposal of service architecture has brought a great impact on the field of service design architecture. More and more traditional service architectures are transforming into microservice architectures. Microservice encapsulation technology and microservice orchestration technology have been developed, and Service Mesh service grid architecture has been derived to leave the basic communication to the service grid. Although Service Mesh can ensure service stability by providing circuit breaking, ratelimiting, etc., and provide inter-service communication to ensure the service quality of microservice clusters in general,the current Service Mesh tools are not sufficient to guarantee the service quality in the changing network environment. To address the problem of service quality assurance in different network environment situations and the current status of the popular service grid management technology, this paper proposes a new circuit breaking and rate limiting mechanisms that usethe current system resources to dynamically request rejection probability and ratelimiting threshold. Experiments show that the adaptive circuit breaking and rate limiting mechanisms in this paper can effectively reduce the service request latency and improve the request success rate.
Keywords: microservices cloud native circuit breaking rate limiting
基金:
引用
No.****
同行评议
勘误表
微服务自适应熔断和限流机制
评论
全部评论