educative.io

Session replication for nodes in a cluster

The course says that the session state is replicated by all nodes in the same cluster. My question is: do the nodes that didn’t process a particular request get the session state from the persistent session state storage, or do they get it from the leader node, or do they get it from whichever follower node that processed the request? Also, do the nodes maintain the session state until a custom expiration period is reached?

Hi Jason!
The session state is replicated to all the nodes in a cluster by WebLogicServer whenever a request is processed. The request is processed by a single node but the remaining other nodes’ states are updated to maximize the availability and durability.
I hope it will clear your confusion. If you still have any queries please let us know.
Thank you