[feature request] Flow control by cpu usage is very sensitive, why not consider some smooth technique to make it work better?
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Issue Description
feature request
### Describe what happened (or what feature you want)
CPU usage data is collected every second, and if exceed the threshold in one second, will cause system flow control faliures, but in production enviroment, we found that even when average cpu usage is 30%, there would be times CPU peak reach very high in a short period (CPU jitter), this will cause faliures
### Describe what you expected to happen
Why not support some smooth technique such as the Low Pass Filter?
### How to reproduce it (as minimally and precisely as possible)
In production envrioments, CPU jitter will cause failures,which is not prefered...
### Tell us your environment
NA
### Anything else we need to know?
NA
Contributor guide
Research direction
The issue names no files, tests, or entry points. Begin by locating the CPU usage collection and threshold-based flow-control logic, then determine the smoothing behavior and acceptance criteria before implementing tests for short CPU peaks and sustained high usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100