Does the pipelining in Redis allow you to have the second command depend on the result of the first command?
No, but for that use case you have EVAL which execute an arbitrary lua script on the server.
Re:Cap'n Proto 1.0
by jauntywundrkind on Friday July 28, 2023 @01:33PM
(#36910318)
That 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.
[1] https://redis.com/ebook/part-2-core-concepts/chapter-4-keepi...