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

Rivr app : Multiple instances (images) on Docker container #21

Open
D41138761 opened this issue Sep 22, 2021 · 1 comment
Open

Rivr app : Multiple instances (images) on Docker container #21

D41138761 opened this issue Sep 22, 2021 · 1 comment
Labels

Comments

@D41138761
Copy link

How to maintain session across multiple images for an application running in container. ?

@gawi
Copy link
Member

gawi commented Sep 22, 2021

Sessions can't be shared between instances. You absolutely need server stickiness.

Traditionally, what needs to be done is this:

  • Enable JSESSIONID session tracking cookie in RIVR by defining the com.nuecho.rivr.core.webappServerSessionTrackingEnabled servet init-arg
  • Tell the load-balancer to use the JSESSIONID cookie for server stickiness

Not exactly sure how this translates to a cloud environment.

@gawi gawi added the question label Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants