alibaba / alibaba/jetcache

@Cached注解在debug模式下进行调试,出现问题

Open
#360 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

在调试一个并发调多个有 @Cached注解的方法的接口中,连续调或者调取一次后重启项目都会出现连续走实现类而不走缓存的情况,请问这是什么原因呢,而且大多数是小部分重复走缓存,因为我用的是lettuce客户端没用连接池的原因吗?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the concurrent interface calls containing @Cached methods and compare cache hits with calls that restart the project; inspect the Lettuce client configuration and the implementation-class path mentioned in the report. Reproduce the repeated implementation calls and document whether debug mode, restart timing, concurrency, or missing connection pooling consistently explains the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, redis, spring
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.