大家过来谈谈-分布式session的存储问题?
到网上搜索,结果如下:
互联网分布式应用集中式session的实现方式?
http://www.zhihu.com/question/20130010
对这方面有经验的朋友谈谈实战经验,谢谢。
高洛峰2017-04-22 09:02:00
My experience is that the browser cannot support SESSION once it is closed...
黄舟2017-04-22 09:02:00
http://www.open-open.com/lib/view/open1326513753155.html
http://tendyming.iteye.com/blog/1815136
I'm just moving the bricks, my moral skills are too low, I'll wait for the experts to discuss
怪我咯2017-04-22 09:02:00
The common solutions are roughly divided into three types
1. Ensure that each user accesses the same server
2. Save all sessions in a public place, or have all sessions on each server
3. Bring the session back to the client, and bring it back to the server every time you visit
阿神2017-04-22 09:02:00
nginx
做负载均衡器,使用iphash
进行分流,可以保证每个用户每次访问都是统一服务器,也就不存在session
Distributed problem.