Re:Ways to shoot yourself in the foot with Redis
by nicwolff on Monday July 31, 2023 @03:34PM
(#36947648)
Are you evicting or deleting large sets (or lists or sorted sets)? We use a Django ORM caching library that adds each resultset's cache key to a set of keys to invalidate when that table is updated – at which point it issues `DEL <set key>` and if that set has grown to hundreds of thousands – or millions! – of keys the main Redis process will block completely for as long as it takes to loop through and evict them.
[ Parent
| on HN ]
Re:Ways to shoot yourself in the foot with Redis
by jontonsoup on Friday August 11, 2023 @06:44PM
(#37094946)
nope!