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

HTTP Session Management for Cloud Deployment #545

Open
phcollignon opened this issue Sep 19, 2024 · 0 comments
Open

HTTP Session Management for Cloud Deployment #545

phcollignon opened this issue Sep 19, 2024 · 0 comments

Comments

@phcollignon
Copy link
Contributor

To move the application to the cloud, HTTP sessions should not be stored locally on individual instances. I deployed EUSurvey in the cloud using the latest Helm pull request, and after terminating one pod, the login session was lost.

After reviewing the SessionService, I noticed that session management is handled through the request object, which means sessions are tied to the application server.

To avoid losing sessions during pod restarts or scaling, session data should be externalized to a persistent store, such as a database or a distributed cache like Redis. This would allow for more transparent session management and ensure seamless failover and scaling in a cloud environment.

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

No branches or pull requests

1 participant