V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
kelthuzadzbt
V2EX  ›  问与答

redis 主从服务器下,过期键的处理方式

  •  
  •   kelthuzadzbt · Sep 30, 2018 · 1739 views
    This topic created in 2778 days ago, the information mentioned may be changed or developed.

    redis 的过期策略是定期清理和惰性清理结合,而惰性清理按照主从配置时,只会作用于主库(这个对不对?)。假设主库只做写,从库只做读,那么惰性清理是否就失效了,过期键没有正常清理掉,而要等主库定时清理生效的时候才会清理掉从库的过期键呢

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1607 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:38 · PVG 00:38 · LAX 09:38 · JFK 12:38
    ♥ Do have faith in what you're doing.