English 中文(简体)
否 储蓄或储蓄的清洁过期钥匙?
原标题:Does Redis Clean expired keys on save or bgsave?
  • 时间:2011-10-26 15:12:01
  •  标签:
  • redis

redis.io。 据说,过期的关键不是立即删除,而是在取用上删除,或者在任意的情况下每删除一次。

是否重新拆除了所有已过期的、可节省或节省的钥匙? 或者,它是否写上了旧的钥匙以光盘的形式?

最佳回答

你们可以读到《原始来源法》,你们会看到,过期的关键不会拯救。

        /* Save the expire time */
        if (expiretime != -1) {
            /* If this key is already expired skip it */
            if (expiretime < now) continue;
问题回答

暂无回答




相关问题
How do you mix SQL DB vs. Key-Value store (i.e. Redis)

I m reviewing my code and realize I spend a tremendous amount of time taking rows from a database, formatting as XML, AJAX GET to browser, and then converting back into a hashed javascript object ...

Predis sharding (consistent hashing)

Predis claim to have Client-side sharding (support for consistent hashing of keys). http://github.com/nrk/predis I can do sharding using connect to an array of profiles (nodes) but it isn t ...

key value stores for extendable objects

http://www.infoq.com/presentations/newport-evolving-key-value-programming-model is a video about KV stores, and the whole premise is that redis promotes a column-based style for storing the attributes ...

nginx/redis and handling tracking params in url

I am using nginx and redis in my website. For several items on my site, I want to add tracking params to their urls so that when a user clicks on an item, I can collect statistics of user usage apart ...

热门标签