alibaba / alibaba/Sentinel

Replace deprecated concurrentlinkedhashmap-lru with Caffeine in param-flow-extension

Open
#2,871 4 comments 0 reactions 0 assignees View on GitHub
good first issue kind/enhancement
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description

Type: *bug report* or *feature request*

### Describe what happened (or what feature you want)
concurrentlinkedhashmap-lru 已经很老了,没有维护。

### Describe what you expected to happen
是不是可以考虑下使用Caffeine 替换。

[Caffeine](https://github.com/ben-manes/caffeine) is the Java 8 successor to ConcurrentLinkedHashMap and Guava's cache. Projects should prefer Caffeine and migrate when requiring JDK8 or higher. The previous caching projects are supported in maintenance mode.

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

1.
2.
3.

### Tell us your environment

### Anything else we need to know?

Contributor guide

Open the contributing guide

Research direction

Start in the param-flow-extension module by locating its concurrentlinkedhashmap-lru dependency and all cache usages. Review how those caches are configured, then run the module's existing tests; done means the extension uses Caffeine instead and its tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.