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.
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
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.
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.
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.
Smart Images

Figure CN122420249A_ABST