express-session redis, why do we need to do session persistence? What are the benefits?
怪我咯2017-06-22 11:56:28
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...