spring-projects / spring-projects/spring-session
spring session redis operate
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 1.2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 55
Description
spring session redis operate
Using jfr to sample for 5 minutes, I found that 4 minutes and 47 seconds of spring session are operating redis, which is a very heavy pressure for business applications. Hope to reduce the number and time in the future。
dump:
线程 持续时间 读取的字节数(字节) 读取数
springSessionRedisMessageListenerContainer-1 4分47秒351毫秒 393,782 2,693
Suggest merge operation
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are identified. Start by locating the springSessionRedisMessageListenerContainer and the Redis operations it performs, then reproduce the reported five-minute JFR sample. Done should mean fewer or shorter Redis operations without breaking Spring Session behavior, verified with comparable profiling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis, spring
- Domain
- backend, databases, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100