Sentinel performance footprint, leading to frequent YGC
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
我用的网关是Gateway ,在没有集成Sentinel之前 ,一切正常。
但是 集成了Sentinel之后 ,发现YGC的次数每天都在增长
比如刚启动的时候 一天YGC是24次,第二天就变成了26次,第三天就变成了28次,第四天就是30次
然后就越来越频繁。总之呢就是年轻代被填满的速度越来越快。最后监控jvm的GC图填满整个年轻代几乎成了一条细线。STW次数越来越多,严重影响性能。希望能解决一下。
集成之前

集成之后

再往后

继续观察

最后

Contributor guide
Research direction
The report compares Gateway behavior before and after Sentinel integration and includes JVM YGC and STW monitoring screenshots. Start by reviewing those comparisons and the Sentinel integration context; no file, test, or entry point is named. Done means establishing a reproducible cause for the increasing young-generation collection frequency and confirming improved performance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100