Home  >  Q&A  >  body text

nginx - How does cas sso single sign-on achieve session persistence under load on multiple machines?

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.

天蓬老师天蓬老师2712 days ago796

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-05-16 17:25:43

    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.

    reply
    0
  • Cancelreply