session-replication

Sticky Sessions and Session Replication

会有一股神秘感。 提交于 2019-11-28 15:26:37
问题 I am evaluating the case of using sticky sessions with Session replication in tomcat. From my initial evaluation, I thought that if we enable Session replication, then session started in one tomcat node will be copied to all other tomcat nodes and thus we do not need sticky session to continue sessions and the request can be picked up by any node. But it seems that session replication is in general used with sticky sessions, otherwise the session id needs to be changed whenever the request