Background of the problem:
1. A single sso system supports multiple business systems, and these business systems have two or more loads.
2. The load is completed through nginx. Now SSO can no longer support these business systems in terms of performance, and the system will hang. (tomcat automatically stops)
Question requirements:
1. I want to make a load for the current SSO system and apply it to two or more machines.
Final question:
That is, while loading, I need to persist the current session, but I don't know how to do this persistence.
In the long run, it is recommended to implement a token yourself to replace the session, and then store the token through distributed caches such as memcached and redis.