esolve
V2EX  ›  问与答

用 redis 实现微服务单点登录,每次请求都要去 redis 查是否已登录,会不会性能太差?

  •  
  •   esolve · Sep 3, 2018 · 2134 views
    This topic created in 2838 days ago, the information mentioned may be changed or developed.
    tuntunxiong
        1
    tuntunxiong  
       Sep 3, 2018
    nginx hash + LocalCache, 即使用 redis 差个不到 10ms, 接口性能也可以接受呀
    LukeChien
        2
    LukeChien  
       Sep 3, 2018 via Android
    jwt 性能好
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3042 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 12:53 · PVG 20:53 · LAX 05:53 · JFK 08:53
    ♥ Do have faith in what you're doing.