does spring-data-redis support jedis sharding pool?

1.2k Views Asked by At

I am using spring-data-redis as the data access layer for Redis, for the data distribution, I tried to use the sharding feature of jedis, but looks spring-data-redis DOES NOT support sharding officially, is there any workaround or 3rd party library can support sharding by spring-data-reids?

thanks,
Emre

1

There are 1 best solutions below

2
On

I've used twemproxy successfully to shard data across several redis nodes.

I used spring-data-redis as well as others (non java) clients to access it. Since twemproxy 'speaks' the redis protocol, it is (almost) transparent for the clients.