javascript - express-session + redis, why do you need session persistence, what are the benefits?
怪我咯
怪我咯 2017-06-22 11:54:28
0
1
1005

express-session redis, why do we need to do session persistence? What are the benefits?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
刘奇

1. Improve the utilization of server memory and ensure that clients that have suspended activities continue their original sessions before the session times out.
2. In a cluster system where multiple web servers collaborate to provide external services, use Session persistence technology. One server can copy the changed Session object to other servers. It ensures that after a server stops working, other servers can take over its session with the client
3. When a web application is restarted, the server will also persist all HttpSession objects in the application to ensure that the client's session activities are still active. You can continue.

A brief introduction to the role and principle of Session persistence-Dongpo download http://www.uzzf.com/news/7573...

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