redis - 专题:大家过来谈谈-分布式session的存储问题?
阿神
阿神 2017-04-22 09:00:00
0
5
704

大家过来谈谈-分布式session的存储问题?

到网上搜索,结果如下:

互联网分布式应用集中式session的实现方式?
http://www.zhihu.com/question/20130010

对这方面有经验的朋友谈谈实战经验,谢谢。

阿神
阿神

闭关修行中......

reply all(5)
小葫芦

My experience is that the browser cannot support SESSION once it is closed...

黄舟

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

刘奇

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

阿神

nginx做负载均衡器,使用iphash进行分流,可以保证每个用户每次访问都是统一服务器,也就不存在sessionDistributed problem.

Peter_Zhu

I directly use redis as the carrier of session

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