缓存一致性问题
Open
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
场景:只用redis进行缓存,通过canal对mysql数据监控,有变化时如何主动使缓存失效,使用@CacheInvalidate注解的代价太大,所有缓存的方法都需要写一个对应失效方法。
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is identified. Start by tracing the Redis-only cache flow and current @CacheInvalidate usage, then examine how Canal would observe MySQL changes; done should define and verify a cache-invalidation approach that avoids requiring a paired invalidation method for every cached method.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mysql, redis, spring
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100