内存管理
Redis / Cache · 4 notes
- 5.1 Redis Key Expiration Strategyhistorical
Setting a Redis key's expiry also raises the question of when data is actually removed. These notes examine expiry handling starting with the expire command.
- 5.2 Redis Memory Managementhistorical
Redis memory usage can be divided into process overhead, objects, and buffers. These notes organize observation and analysis around those components.
- 5.3 Redis Memory Eviction Strategyhistorical
When Redis reaches its configured memory limit, the selected policy determines what happens next. These notes examine the behavior of different eviction policies.
- 5.4 Redis Memory Optimizationhistorical
Redis selects encodings according to data size and content, affecting memory usage. These notes examine memory reduction through configuration and compact encodings.