does redis cluster support transactions ?

4.8k views Asked by At

i'm a newbie for redis, i've just been using redis for couple of months. Currently i'm using 2.8.x stable version but i'm trying to use 3.0.0 to import redis cluster funtions. i'm using java jedis as client,and here is my problem:i found that the latest version of Jedis client support redis cluster lua scripting(JedisCluster.evalsha), but nowhere i can find pipelining and transaction related functions, so i was wondering if it is Jedis that have not implement it(pipeline, transactions) yet or is it just redis cluster does not support pipelining and transactions at all?

1

There are 1 answers

9
Jungtaek Lim On BEST ANSWER

JedisCluster didn't implement Transaction and Pipeline since it is hard to implement. Redis can send MOVED or ASK while it's in cluster mode, and it means that we should take care of moving slot between nodes.

I was thinking about pipeline mode of JedisCluster, but no further research is being held. https://groups.google.com/d/msg/jedis_redis/u6j8slokO3E/Dh5Q94TRjJUJ

Currently Jedis team is focusing to stabilize / provide more APIs to JedisCluster.