Degrade by RT should consider inflight request
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Issue Description
Type: *feature request*
### Describe what happened (or what feature you want)
Now degrading by RT only consider finished requests because rt stat is collected when exit, but it ingores inflight requests. I thinks it is not accurate:
When the count of inflight and overtime requests has exceeds threshold, but Sentinel will allow the below requests.
### Describe what you expected to happen
### Tell us your environment
### Anything else we need to know?
Contributor guide
Research direction
Start by tracing how RT statistics are collected when requests exit and how degradation thresholds are evaluated. Determine how inflight and overtime requests should affect the threshold decision, then add coverage for the described case and verify that Sentinel no longer allows requests when the combined count exceeds the threshold.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100