alibaba/sentinel-golang
Hotspot: enhance the LRU cache victim mechanism in hotspot module
Aperta
#254 aperta il 27 set 2020
area/flow-controlgood first issuekind/discussionkind/enhancement
Metriche repository
- Star
- (2957 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Issue Description
Currently, hotspot module use LRU cache to store and victim the frequency parameters. The LRU victim mechanism is okay but in some extreme scenario might work not well, such as: iteration, cold data can push out hot data
We might optimize the cache mechanism, such as java cache framework: caffeine: Type: feature request
Describe what feature you want
Additional context
Add any other context or screenshots about the feature request here.