-
Notifications
You must be signed in to change notification settings - Fork 34
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
Distributed sessions #8125
Comments
Hazelcast distributed sessions are enabled by
LB sticky sessions are turned off:
LB sticky sessions are turned on on root context ( For performance reasons it may be good idea to minimize session persistence (this is default setting)
However any long living request (i.e. long-polling, SSE, websocket?) within a session may not allow session to be persisted and session may be lost when session-initiating server crashes. LB sticky sessions are turned on on specific path (i.e. Is currently not recommended, because XP supports session cookie only on root path. Session cookie can then be created when user visits Anyway to work properly persistence settings should be same as in case of sticky sessions turned off.
For configurations without long living requests it may be sufficient to persist sessions only on create
|
How does this relate to enabing Hazelcast + controlling which nodes may hold the actual distributed data (aka data=true) |
It doesn't. Why? |
Thanks to Hazelcast jetty sessions can be distributed.
Need to cover a few use cases:
/
/admin
)The text was updated successfully, but these errors were encountered: