|
|
|
|
|
by mnutt
1405 days ago
|
|
There are workloads that will saturate a redis instance's CPU: using it as an LRU cache, eventually you will hit the configured memory limits and adding new keys will require finding old keys to delete. Eventually it may also require redis to do memory defragmentation which can be fairly intensive. |
|
I might imagine this scenario if you're excessively using smembers and a few other slow ops, but I have yet to see CPU issues outside of bad eval's.
> require finding old keys to delete
LRU/LFU eviction is not particularly CPU intensive.
> redis to do memory defragmentation which can be fairly intensive
Active defrag has relatively negligible overhead, and assuming jemalloc even more so.