redis 是如何删掉过期数据的
Issue 欢迎在 Gtihub Issue 中回答此问题: Issue 377 (opens in a new tab)
Author 回答者: shay-an (opens in a new tab)
懒删除:查询时删除 定时删除:通过定时任务删除
Author 回答者: liyihang (opens in a new tab)
Overview of Redis key eviction policies (LRU, LFU, etc.).details below https://redis.io/docs/manual/eviction/