spring-projects / spring-projects/spring-session

spring session redis operate

Open
#1,734 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage type: enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.