debop / hibernate-redis

hibernate 2nd level cache privder using redis
Apache License 2.0
358 stars 182 forks source link

Support for Jedis client #81

Open ptahchiev opened 7 years ago

ptahchiev commented 7 years ago

Hello,

spring-platform bom includes the jedis dependency. Spring-session uses jedis to connect to a redis instance to keep user sessions, spring-boot-starter-redis again declares and uses jedis as a redis client. In a situation like this it would be really helpful if you could provide support for jedis client.

debop commented 7 years ago

hibernate-redis 1.6.x used Jedis. but it is slow. hibernate-redis 2.x migrate Jedis to Redisson I guess spring-boot will support redisson hopefully^^

ptahchiev commented 7 years ago

From the spring-boot gitter channel it looks like they are adding support for Lettuce alongside jedis from 1.5 onwards.

https://github.com/pivotalsoftware/pivotal-cla/issues/124

Do you think you can provide Lettuce support too?

debop commented 7 years ago

Sorry, No, I will just only support Redisson. (It support all features for newer redis)

debop commented 7 years ago

I try adopt lettuce ...

debop commented 7 years ago

Starting support lattuce ... please waiting ^^

mp911de commented 7 years ago

IMHO, only one of Jedis, Jedipus and Lettuce makes sense to be included as Redis driver. Redisson and other higher level libraries might be quite powerful but their primary intent is to provide additional functionality on top of Redis (such as distributed locks, web session replication, …).

Jedis wasn't updated for quite a while (no release since ~ 12 months).