esolve
V2EX  ›  问与答

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

  •  
  •   esolve · Sep 3, 2018 · 2130 views
    This topic created in 2834 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   ·   2891 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:29 · PVG 13:29 · LAX 22:29 · JFK 01:29
    ♥ Do have faith in what you're doing.