4 ms·
Does the pipelining in Redis allow you to have the second command depend on the result of the first command?
by ackfoobar 3y ago
Does the pipelining in Redis allow you to have the second command depend on the result of the first command?
- byroot 3y agoNo, but for that use case you have EVAL which execute an arbitrary lua script on the server. https://redis.io/commands/eval/ https://redis.io/commands/eval/
- jauntywundrkind 3y agoThat assumes you know & can generate the complete pipeline ahead of time. The elegance of promise pipelining is that your pipeline can also be asynchronously grown.