spring-data-redis icon indicating copy to clipboard operation
spring-data-redis copied to clipboard

Introduce configuration options for `ClusterCommandExecutor` via Jedis

Open xiaopeng-he opened this issue 3 years ago • 2 comments

see https://github.com/spring-projects/spring-data-redis/blob/125342f19a755e566e0b6b2f218d30cb0b235d43/src/main/java/org/springframework/data/redis/connection/ClusterCommandExecutor.java#L90 why use coreSize 1 by default? when exec unlink keys, will use the executor, it's single thread, so so so slowly!!

xiaopeng-he avatar Sep 15 '21 07:09 xiaopeng-he

We should also move off the thread pool when using Lettuce as lettuce is async out of the box.

mp911de avatar Sep 20 '21 14:09 mp911de

Good, I agree.

xiaopeng-he avatar Sep 22 '21 07:09 xiaopeng-he