开发者

Memcached - How to prevent an item from being removed

开发者 https://www.devze.com 2023-02-09 16:57 出处:网络
I\'m开发者_如何学编程 using the beitmemcached client in my application. Is there a way of preventing a cached value from being removed when the cache grows too large? I got some values cached which ha

I'm开发者_如何学编程 using the beitmemcached client in my application. Is there a way of preventing a cached value from being removed when the cache grows too large? I got some values cached which have to stay in the cache no matter what. Is that possible?

Thanks in advance!


No, memcached does not work this way. It is not a data store. Redis and Couchbase are two products that do persistent storage with a memcached (like) interface.

0

精彩评论

暂无评论...
验证码 换一张
取 消