EasyCaching icon indicating copy to clipboard operation
EasyCaching copied to clipboard

RemoveByPatternAsync process takes a long time.

Open hdiaz-woffu opened this issue 1 year ago • 2 comments

https://github.com/dotnetcore/EasyCaching/blob/266bec0e6825231e4c99196c2395f02364367bd7/src/EasyCaching.Core/EasyCachingAbstractProvider.cs#L723

We proceed to delete a list of records that share a pattern in the cache keys; the process takes 2 to 3 seconds to complete for a number of records << 100,000. Is there any configuration to make this process go faster?

hdiaz-woffu avatar Jan 08 '24 13:01 hdiaz-woffu

@hirandiazWoffu Thanks for your interest in this project.

Which provider do you use?

catcherwong avatar Jan 13 '24 06:01 catcherwong

@catcherwong EasyCaching.Redis

hdiaz-woffu avatar Jan 15 '24 09:01 hdiaz-woffu