hheedat
V2EX  ›  PHP

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

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