Guidance Required: Recommended Databases and Configuration for Session Store in UAA (v78.0.2)

Open
#3,714 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, mysql, spring

Research direction

The issue concerns UAA 78.0.2 session data in SPRING_SESSION on MySQL Aurora Serverless v2, but it names no files, tests, or entry points. Start by investigating the session-store configuration and the reported table-lock behavior; done would be documented database recommendations, configuration practices, and mitigation guidance for reliable login flows.

Written by the indexing model from the issue text.

Description

We are using UAA version 78.0.2 with session data managed via SPRING_SESSION. Our current database is MySQL Aurora Serverless v2, and we have observed issues with table-level locks when deleting expired sessions. This is causing disruptions in the login flow and resulting in failed user authentication attempts.

Request for Guidance:

  1. Database Recommendations:
  • Which databases are best suited for storing session data to prevent locking issues and support high concurrency during login operations?
  1. Session Store Configuration Best Practices:
  • What are the recommended best practices for configuring the session store in UAA to ensure optimized performance and reliable session management?
  1. Mitigation of Locking/Blocking Issues:
  • Any specific strategies or configurations you recommend to resolve the current locking and blocking issues, particularly SPRING_SESSION

Thanks

Dominant language
Java
Stars
1.6k
Forks
847
Avg merge
2d 1h
Merged PRs (30d)
48

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from cloudfoundry/uaa

All issues in cloudfoundry/uaa

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.