What are redis's memory elimination strategies?

Alibaba cloud Q & A 2022-02-13 08:31:04 阅读数:410

redis memory elimination strategies

Redis What are the memory retirement strategies of ?




Take the answer 1:

Redis The memory knockout strategy in Redis When you run out of memory for caching , How to deal with data that needs to be newly written and needs to apply for additional space . There are two main strategies : Global key space selective removal 、 Set expiration time for key space selective removal


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130831025296.html