nginx - How does cas sso single sign-on achieve session persistence under load on multiple machines?
天蓬老师
天蓬老师 2017-05-16 17:23:43
0
1
829

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.

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
大家讲道理

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template