Sentinel icon indicating copy to clipboard operation
Sentinel copied to clipboard

热点限流每个簇点的要可以排除过老的参数统计,即map可以淘汰

Open jialianglinjl opened this issue 7 years ago • 1 comments

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

jialianglinjl avatar Jan 02 '19 02:01 jialianglinjl

The old value in map will be reset ,Currently . Refer the sliding window code:

com.alibaba.csp.sentinel.slots.statistic.base.LeapArray#currentWindow(long)

image com.alibaba.csp.sentinel.slots.statistic.data.ParamMapBucket#reset:

image

summerjava avatar Jan 15 '19 12:01 summerjava