Service fault tolerance protection method and system based on rust micro-service gateway and electronic equipment

By integrating flow control and circuit breaker/degradation components into the Rust microservice gateway, the problem of insufficient circuit breaker and rate limiting libraries in the Rust ecosystem is solved, achieving efficient service fault tolerance protection and improving system stability and response speed.

CN122420249APending Publication Date: 2026-07-17CHINA FAW CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA FAW CO LTD
Filing Date
2026-04-20
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

The existing Rust ecosystem lacks mature circuit breaker and rate limiting libraries, resulting in inflexible circuit breaker strategies, low rate limiting accuracy, inability to integrate efficiently with Rust gateways, and a lack of support for high concurrency in distributed systems. Existing solutions consume a lot of resources and have high latency.

Method used

Integrate traffic control and circuit breaker/degradation components into the Rust microservice gateway to achieve multi-layered verification, dynamic rule configuration, and real-time monitoring. Supports circuit breaker/degradation based on token bucket or leaky bucket algorithms, response time, and anomaly ratio, as well as adaptive system protection. Combines sliding window algorithm and hotspot rate limiting to update rules in real time and collect key metrics.

Benefits of technology

It effectively intercepts requests exceeding the threshold, prevents backend microservices from becoming overloaded, improves system stability and response speed, reduces the risk of memory leaks, supports improved operational efficiency and business continuity, and is adaptable to different business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122420249A_ABST
    Figure CN122420249A_ABST
Patent Text Reader

Abstract

本申请公开一种基于 Rust 微服务网关的服务容错保护方法、系统及电子设备,涉及微服务网关领域。该方法在Rust网关服务启动时,同步初始化流量控制与熔断降级组件;监听本地配置文件或远程配置中心的规则变更,规则修改时实现实时热更新并同步至网关内存;响应客户端请求后,组件拦截请求并绑定唯一资源标识,触发管控入口;组件依次执行多层校验,校验通过则由Rust网关将请求路由至后端微服务,校验失败则执行降级逻辑并返回预设响应;组件统计核心指标并通过接口暴露以供采集,基于采集的核心指标修改规则并推送至组件,形成闭环管控。本申请依托Rust语言特性保障网关高并发、低开销运行,有效避免后端微服务雪崩,保障微服务集群稳定运行。
Need to check novelty before this filing date? Find Prior Art