我有点混淆了Redis事务和管道之间的区别,以及最终如何使用带有Booksleeve的管道。我看到支持Redis (MULTI/EXEC),但是它的API/测试中没有提到管道特性。然而,在其他实现中很明显,管道和事务之间有区别,即在中,正如下面的redis-ruby版本所证明的那样,但是在一些中,这些术语似乎可以互换使用。redis-ruby实现: # these commands will be pipelined
at org.springframework.data.redis.connection.jedis.JedisClusterConnection.multi(JedisClusterConnection.java:608)
at org.springframework.data.redis.core.RedisTemplate$21.doInRedis(RedisTemplate.java:871)at org.springframework.data.redis.core.RedisTemplate.execute(RedisT