Help Center/ Distributed Cache Service/ FAQs/ Memcached Usage/ What Policies Does DCS for Memcached Use to Deal with Expired Data?
Updated on 2024-09-24 GMT+08:00

What Policies Does DCS for Memcached Use to Deal with Expired Data?

DCS for Memcached allows you to set the expiration time for stored data based on service requirements. For example, you can set the expire time when performing the add operation.

By default, data is not evicted from DCS Memcached instances. You can change the eviction policy by configuring the Memcached instance parameter maxmemory-policy.

For details about data eviction policies and parameter configuration methods supported in Memcached instances, see Modifying Configuration Parameters of an Instance.