China Naming Network - Ziwei Dou Shu - Tomcat+Redis+Nginx realizes load balancing and session***, does this belong to single sign-on?

Tomcat+Redis+Nginx realizes load balancing and session***, does this belong to single sign-on?

single sign-on and load balancing are completely different concepts.

Load balancing mainly means that you are afraid that a server will fail when running an application, which will lead to the service stopping or downtime. Therefore, you should use multiple machines to run the service, and use some mechanism to ensure that the application will not stop when a click-through problem occurs. The nginx you mentioned is a typical web application load balancing. When users access your application, It is ng's server that actually visits, and then ng distributes the user's request to a plurality of subsequent application services according to certain rules. If one of the applications has problems, ng will forward the user's request to other applications after discovering it, so as to ensure that the application services will not stop.

single sign-on means that when users log in to one system and then switch to other systems, they don't need to log in twice, so it's called single sign-on. The typical application is portal. For example, you have made an oa system and a performance appraisal system. When users log in to the oa system and click the link to jump to the performance appraisal system, the oa system and the performance appraisal system will make the performance appraisal system think that the users have logged in, no.