Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RefreshSessions transfer from PostgreSQL to Redis #58

Open
neverovski opened this issue Dec 8, 2023 · 1 comment
Open

RefreshSessions transfer from PostgreSQL to Redis #58

neverovski opened this issue Dec 8, 2023 · 1 comment
Assignees
Labels

Comments

@neverovski
Copy link
Owner

Is your feature request related to a problem? Please describe.
Our current session management system relies on PostgreSQL, leading to potential performance bottlenecks and scalability challenges. To address this, I propose migrating session management to Redis for improved performance, scalability, and better support for features like session refreshing.

Describe the solution you'd like
Implement a session management system that uses Redis as the primary storage for user sessions. This includes a mechanism for refreshing sessions, ensuring that user sessions remain active and secure. The implementation should handle the migration of existing sessions from PostgreSQL to Redis seamlessly.

@neverovski neverovski self-assigned this Dec 8, 2023
@neverovski
Copy link
Owner Author

Redis should store a list of accessTokens with a mark on their relevance, and also store a refreshToken on their relevance too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant