search

Home  >  Q&A  >  body text

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

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

到网上搜索,结果如下:

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

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

阿神阿神2797 days ago699

reply all(5)I'll reply

  • 高洛峰

    高洛峰2017-04-22 09:02:00

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

    reply
    0
  • 黄舟

    黄舟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

    reply
    0
  • 怪我咯

    怪我咯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

    reply
    0
  • 阿神

    阿神2017-04-22 09:02:00

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

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-22 09:02:00

    I directly use redis as the carrier of session

    reply
    0
  • Cancelreply