Hi All, I have setup a tomcat cluster that store the session information in a mysql dB. I also have a load balancer in front of this cluster.
I have noticed a delay, in few seconds, before the session information is stored in the dB. Is there any way to reduce this delay and get tomcat to store the session information, in the dB, instantly? One of the threads in the tomcat archives talks about "synchronous session replication" ( ( https://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html#Cluster_Configuration_for_ReplicationTransmitter_(_synchronous_-_mode) ) ) . Is this still a valid configuration for tomcat8.0 ? My setup works fine when the load balancer is configured with sticky sessions. When sticky sessions are removed, i am facing issues in logging into the application thats hosted on my tomcat cluster. I believe this is due to the delay in storing the session information in dB. Is this right? -- --gibu