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

当 apcu 用满的时候,会直接丢弃所有数据?

  •  
  •   hheedat · Mar 12, 2018 · 2382 views
    This topic created in 2972 days ago, the information mentioned may be changed or developed.
    2 replies    2018-03-13 10:49:58 +08:00
    gouchaoer
        1
    gouchaoer  
       Mar 12, 2018 via Android
    cache 的意思就是任何时候都可能消失
    picone
        2
    picone  
       Mar 13, 2018
    系统设计的时候就应该想过 APCu 的数据会丢失,不应该过度依赖。
    查了一下源码,如果 pool 满了应该是直接返回失败的,APCu5.1.11
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1385 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 16:31 · PVG 00:31 · LAX 09:31 · JFK 12:31
    ♥ Do have faith in what you're doing.