esolve
V2EX  ›  问与答

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

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