xredis icon indicating copy to clipboard operation
xredis copied to clipboard

Does it support pipeline commands?

Open PayneJoe opened this issue 8 years ago • 2 comments

Does it support pipeline commands, or how can we achieve the equivalent result as pipeline commands?

Much appreciated-)

PayneJoe avatar Nov 04 '17 13:11 PayneJoe

目前xredis的封装只支持一次执行一个命令并返回一个结果, 还不支持一个多命令的。

0xsky avatar Jan 05 '18 03:01 0xsky

不能支持一次多个命令是有原因的,主要是因为,xredis一开始是为多个redis节点设计的,不同的key很可能在不同的节点上,因此不能一次访问不同的节点。

0xsky avatar Jan 05 '18 03:01 0xsky