These are chat archives for spring-cloud/spring-cloud

Dec 2018
Bo Huang
Dec 29 2018 07:41
Dec 29 2018 10:15

Hi, I am using the Spring Redis Session in my cluster environment, for the authentication services also deployed in a cluster.
There is a problem, that is after user authenticated, the following requests maybe been routed to other nodes, but the redis session not flushed into redis in that time.

I've tried the configuration spring.session.redis.flush-mode=immediate , seems still not working.
Does anyone here know how to resolve it?

Or should I treat the services which using spring redis session as stateful services?
Dec 29 2018 12:22
Maybe I met another reason for the problem, because I have tested it in Jmeter, all the failures occurs at the endpoint to exchange the access token with code.